生成涵盖所有关联来源的每日或每周活动汇总报告。适用于以下场景:在缺席一段时间后需要补上进度时;开始新的一天并希望了解提及内容和待办事项的概览时;或者按项目分类回顾一周内的决策和文档更新时。
...展开全部关于digest
digest 命令会扫描所有已连接数据源中的近期活动,并生成一份结构化的重要事项摘要。该命令旨在帮助用户在缺席一段时间后快速了解情况、通过提及内容和待办事项清单开启新的一天,或按项目分类回顾一周内的决策和文档更新。
时间范围由参数控制:--daily 覆盖过去 24 小时(默认),--weekly 覆盖过去 7 天,自定义的 --since 参数可接受“昨天”、“周一”或具体日期等输入。 该工具首先会检查已连接的 MCP 数据源(聊天、电子邮件、云存储、项目跟踪器、CRM 和知识库),若未连接任何数据源,则会引导用户至少连接一个。 随后,系统会按数据源汇总活动,例如聊天中的提及和对话线程、邮件收件箱中的回复、云存储中修改或共享的文档、项目跟踪器中分配的任务、CRM 中的商机和客户账户更新,以及知识库中更新的维基页面。
收集到的项目被分类为待办事项、决策、提及和更新,随后按主题或项目而非按来源进行分组,相关跨来源活动会被合并并去重,因此同一项决策若同时出现在聊天和邮件中,仅计为一次。 输出结果首先列出待办事项,随后是决策、主题组、提及和文档更新,最后以统计摘要收尾。如果某个来源无法访问,digest 仍会基于成功获取的来源生成报告,并注明被跳过的来源;它还可以使用CLAUDE.md等记忆系统来解析人员和项目引用。
常见问题
digest 支持哪些时间范围?
使用 --daily 获取过去 24 小时的数据(默认),使用 --weekly 获取过去 7 天的数据,或使用 --since 并指定值(如 yesterday、Monday 或具体日期)。
它可以从哪些来源提取活动数据?
任何已连接的 MCP 数据源,包括聊天、电子邮件、云存储、项目跟踪器、CRM 以及知识库。
如果某个数据源无法访问会怎样?
digest 仍会根据成功获取数据的来源生成,并标注无法访问的来源;单个来源的故障绝不会阻塞整个digest 的生成。
输出内容是如何组织的?
按主题或项目而非按数据源进行组织,首先列出待办事项,接着是决策、主题组、提及内容和文档更新,最后以统计摘要收尾。
它会避免重复列出同一事件吗?
是的,跨来源的活动会进行去重处理,因此同一项决策若同时出现在聊天和电子邮件中,系统会将其作为单条记录报告。
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Scan recent activity across all connected sources and generate a structured digest highlighting what matters.
Instructions
1. Parse Flags
Determine the time window from the user's input:
--daily— Last 24 hours (default if no flag specified)--weekly— Last 7 days
The user may also specify a custom range:
--since yesterday--since Monday--since 2025-01-20
2. Check Available Sources
Identify which MCP sources are connected (same approach as the search command):
- ~~chat — channels, DMs, mentions
- ~~email — inbox, sent, threads
- ~~cloud storage — recently modified docs shared with user
- ~~project tracker — tasks assigned, completed, commented on
- ~~CRM — opportunity updates, account activity
- ~~knowledge base — recently updated wiki pages
If no sources are connected, guide the user:
To generate a digest, you'll need at least one source connected.Check your MCP settings to add ~~chat, ~~email, ~~cloud storage, or other tools.3. Gather Activity from Each Source
~~chat:
- Search for messages mentioning the user (
to:me) - Check channels the user is in for recent activity
- Look for threads the user participated in
- Identify new messages in key channels
~~email:
- Search recent inbox messages
- Identify threads with new replies
- Flag emails with action items or questions directed at the user
~~cloud storage:
- Find documents recently modified or shared with the user
- Note new comments on docs the user owns or collaborates on
~~project tracker:
- Tasks assigned to the user (new or updated)
- Tasks completed by others that the user follows
- Comments on tasks the user is involved with
~~CRM:
- Opportunity stage changes
- New activities logged on accounts the user owns
- Updated contacts or accounts
~~knowledge base:
- Recently updated documents in relevant collections
- New documents created in watched areas
4. Identify Key Items
From all gathered activity, extract and categorize:
Action Items:
- Direct requests made to the user ("Can you...", "Please...", "@user")
- Tasks assigned or due soon
- Questions awaiting the user's response
- Review requests
Decisions:
- Conclusions reached in threads or emails
- Approvals or rejections
- Policy or direction changes
Mentions:
- Times the user was mentioned or referenced
- Discussions about the user's projects or areas
Updates:
- Status changes on projects the user follows
- Document updates in the user's domain
- Completed items the user was waiting on
5. Group by Topic
Organize the digest by topic, project, or theme rather than by source. Merge related activity across sources:
## Project Aurora- ~~chat: Design review thread concluded — team chose Option B (#design, Tuesday)- ~~email: Sarah sent updated spec incorporating feedback (Wednesday)- ~~cloud storage: "Aurora API Spec v3" updated by Sarah (Wednesday)- ~~project tracker: 3 tasks moved to In Progress, 2 completed## Budget Planning- ~~email: Finance team requesting Q2 projections by Friday- ~~chat: Todd shared template in #finance (Monday)- ~~cloud storage: "Q2 Budget Template" shared with you (Monday)6. Format the Digest
Structure the output clearly:
# [Daily/Weekly] Digest — [Date or Date Range]Sources scanned: ~~chat, ~~email, ~~cloud storage, [others]## Action Items (X items)- [ ] [Action item 1] — from [person], [source] ([date])- [ ] [Action item 2] — from [person], [source] ([date])## Decisions Made- [Decision 1] — [context] ([source], [date])- [Decision 2] — [context] ([source], [date])## [Topic/Project Group 1][Activity summary with source attribution]## [Topic/Project Group 2][Activity summary with source attribution]## Mentions- [Mention context] — [source] ([date])## Documents Updated- [Doc name] — [who modified, what changed] ([date])7. Handle Unavailable Sources
If any source fails or is unreachable:
Note: Could not reach [source name] for this digest.The following sources were included: [list of successful sources].Do not let one failed source prevent the digest from being generated. Produce the best digest possible from available sources.
8. Summary Stats
End with a quick summary:
---[X] action items · [Y] decisions · [Z] mentions · [W] doc updatesAcross [N] sources · Covering [time range]Notes
- Default to
--dailyif no flag is specified - Group by topic/project, not by source — users care about what happened, not where it happened
- Action items should always be listed first — they are the most actionable part of a digest
- Deduplicate cross-source activity (same decision in ~~chat and email = one entry)
- For weekly digests, prioritize significance over completeness — highlight what matters, skip noise
- If the user has a memory system (CLAUDE.md), use it to decode people names and project references
- Include enough context in each item that the user can decide whether to dig deeper without clicking through





首页
