From enterprise-search
Generate a daily or weekly digest of activity across all connected sources. Use when catching up after time away, starting the day and wanting a summary of mentions and action items, or reviewing a week's decisions and document updates grouped by project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/enterprise-search:digest [--daily | --weekly | --since <date>][--daily | --weekly | --since <date>]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).
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.
Lark-native execution (depth core: LARK-PATTERNS, LARK-RECIPES, LARK-FUSION). Gather activity by fanning out the
lark_*reads in parallel, each with ajqprojection (P3); pull meeting action items fromlark_minutes_searchinstead of re-deriving them (P6); resolve any name to anopen_idwithlark_contact_search(P1). Deliver the digest as an interactive card vialark_im_card_send(P4) — action items asitemrows with side buttons, decisions/updates in collapsiblepanelsections — not a wall of text. A daily digest overlaps heavily with the installeddaily-digestskill, and a start-of-day version withmorning-brief; prefer delegating to those for the polished card, using this command's structure as the outline.
Determine the time window from the user's input:
--daily — Last 24 hours (default if no flag specified)--weekly — Last 7 daysThe user may also specify a custom range:
--since yesterday--since Monday--since 2025-01-20On Lark every source resolves to the lark MCP server (same mapping as the search command):
lark_im_search (groups, DMs, mentions)lark_api mail search (inbox, threads)lark_doc_search (recently modified docs shared with user)lark_task_my, lark_base_search (tasks assigned/completed, tracker rows)lark_base_search (opportunity/account activity, P5)lark_doc_search (updated Wiki pages), lark_minutes_search (new meeting artifacts, P6)lark_calendar_agenda (today's/upcoming events)If the lark MCP server isn't authenticated, guide the user:
To generate a digest, the lark MCP server needs to be authenticated.
Run `auth login` (see the lark-shared skill) to connect your workspace.
Fire these in one batched turn, each with a jq projection scoped to the time window (P3):
~~chat — lark_im_search:
jq=".data.messages[] | {chat, sender, text, create_time}".~~email — lark_api mail search:
~~cloud storage — lark_doc_search:
jq to title/url/edit_time.~~project tracker — lark_task_my + lark_base_search:
lark_task_my(jq=".data.items[] | {id, summary, due, completed}") (new/updated/due-soon).lark_base_search.~~CRM — CRM Base (lark_base_search, P5):
jq to the changed fields.Meetings — lark_minutes_search (P6):
lark_minutes_search(participant_ids="me", query=..., jq=".data.items[] | {title, summary, action_items}")
— pull AI summaries/action items directly; don't re-summarize. lark_vc_search for past-meeting envelopes.~~knowledge base — lark_doc_search:
Calendar — lark_calendar_agenda:
From all gathered activity, extract and categorize:
Action Items:
Decisions:
Mentions:
Updates:
Organize the digest by topic, project, or theme rather than by source. Merge related activity across sources:
## Project Aurora
- IM: Design review thread concluded — team chose Option B (design group, Tuesday)
- Mail: Sarah sent updated spec incorporating feedback (Wednesday)
- Docs: "Aurora API Spec v3" updated by Sarah (Wednesday)
- Tasks: 3 tasks moved to In Progress, 2 completed
- Minutes: "Aurora Sync" AI summary — owner assigned for rollout (Tuesday)
## Budget Planning
- Mail: Finance team requesting Q2 projections by Friday
- IM: Todd shared template in finance group (Monday)
- Docs: "Q2 Budget Template" shared with you (Monday)
Deliver as an interactive card (P4) via lark_im_card_send — this is the Lark superpower for a
digest. Structure: a colored header ("Daily Digest — "), an Action Items section as item
rows each with a side button (e.g. Open / Complete → lark_task_complete), Decisions/Updates in
collapsible panel sections, a note footer with the summary stats. Always print_json: true to
validate the spec, then dry_run: true, then send (P2). Card grammar: the lark-im skill
(references/spec-reference.md). For the polished implementation, delegate to daily-digest /
morning-brief. Fall back to the markdown layout below only if the user wants it inline:
# [Daily/Weekly] Digest — [Date or Date Range]
Sources scanned: IM, Mail, Docs, Tasks, Minutes [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])
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.
End with a quick summary:
---
[X] action items · [Y] decisions · [Z] mentions · [W] doc updates
Across [N] sources · Covering [time range]
--daily if no flag is specifiedlark_im_card_send, P4); pull meeting items from lark_minutes_search (P6); for a polished daily/start-of-day card, delegate to daily-digest / morning-briefnpx claudepluginhub larkcowork/lark-cowork-plugins --plugin enterprise-searchCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.