Digest

From mikeprasad/aria-knowledge · View interactive version

Digest is an AI agent skill from the GitHub repository mikeprasad/aria-knowledge. NOTE: this skill requires connected ~~chat / ~~email / ~~project-tracker / ~~docs MCPs, which are typically only present in Cowork — the Code variant exists for parity but most users will want the Cowork variant. Cross-tool rollup of what's pending, what shipped, and what's blocked across chat / ema

How to use this skill

Skill file

/digest — Cross-Tool Weekly Rollup

Synthesize a digest of activity across connected MCPs into intake/digests/{YYYY-MM-DD}.md. Pulls from ~~chat + ~~email + ~~project tracker + ~~docs to produce a "what's pending / what shipped / what's blocked" rollup. Composite of all 4 categories — the most cross-tool of the v2.18.0 skills.

Runtime Gate (per ADR-094)

Canonical resolution: This is the Claude Code variant. When both plugin-claude-code and plugin-claude-cowork are loaded in the same session (most common in Claude Desktop), bare /digest resolves to this skill — aria-knowledge (Code) is the canonical owner of all 24 dual-port skills per ADR-094 §Part 1. The Cowork variant is namespaced-only: /aria-cowork:digest.

Before Step 0 — runtime self-correction. Check whether the Bash tool is available in this session. If Bash is NOT available (you are running in Claude Cowork or another non-Code runtime), this invocation reached the wrong variant for the runtime. Do not ask — redirect. Announce it in one line, then use the Skill tool to invoke aria-cowork:digest with the same arguments the user provided, and do not run this skill's steps:

↪️ Redirecting to /aria-cowork:digest — you invoked the aria-knowledge (Code) variant, but you are running in Claude Cowork or another non-Code runtime.

This skill requires connected ~~chat / ~~email / ~~project-tracker / ~~docs MCPs across 4 categories, which are typically only present in Cowork. The Cowork-native variant has working MCP access. Use /aria-cowork:digest.

⛔ The redirect is unconditional — every mode including auto, and no opt-out. Reaching this variant under that condition is always a mis-invocation, so there is nothing for the user to decide. Design record: docs/superpowers/specs/2026-08-28-runtime-gate-auto-redirect-design.md (D2 auto-redirect, D3 no escape hatch, D6 announce-don't-swap-silently).

If Bash is available, proceed to Step 0.

Step 0: Resolve Config

Read ~/.claude/aria-knowledge.local.md and extract knowledge_folder. If the file doesn't exist, stop: "aria-knowledge is not configured. Run /setup to get started."

Lazily create {knowledge_folder}/intake/digests/ if it doesn't exist.

Step 1: Probe Connected MCPs (all 4 categories)

Check Claude's available tool list for each ~~category. The digest runs with ANY non-zero set of connected MCPs — gather from whichever are connected, surface gaps for the rest.

| Category | MCP options | Status |

|---|---|---|

| ~~chat | slack, ms365 | <connected: list / not connected> |

| ~~email | gmail, ms365 | <connected: list / not connected> |

| ~~project tracker | linear, asana, atlassian, monday, clickup, notion | <connected: list / not connected> |

| ~~docs | notion, atlassian, box, egnyte, google docs | <connected: list / not connected> |

If NO MCPs in ANY category are connected, output the standard fallback notice and stop:

No required MCPs connected for /digest. Connect at least one of: Slack/MS365 (~~chat), Gmail/MS365 (~~email), Linear/Asana/etc. (~~project tracker), or Notion/Confluence/etc. (~~docs) via Claude Code's MCP config (or Cowork Settings → Connectors). See CONNECTORS.md. Skipping this run.

Per ADR-015 ({knowledge_folder}/projects/aria-cowork/decisions/015-capability-probe-pattern.md) — degrade gracefully for missing categories; don't fabricate.

Step 2: Parse Time Window

Determine the digest window from args:

| Arg | Window |

|---|---|

| (none) or --week | Last 7 days (today minus 7) |

| --since YYYY-MM-DD | From that date to today |

| --since YYYY-MM-DD --until YYYY-MM-DD | Closed range |

| --month | Last 30 days |

| --quarter | Last 90 days |

Default: 7-day window. State the window explicitly in the digest header.

Step 3: Gather per Connected Category

For each CONNECTED category, run the appropriate fetch. Skip disconnected categories (note as gaps in the digest output).

3a. `~~chat` (if connected)

For Slack: search for messages where the user is mentioned (@user) OR is the author, in the time window. Also fetch unresolved threads (the user posted and got no response after 24+ hours).

For MS365 Teams: similar — channel mentions + direct messages.

Gather:

3b. `~~email` (if connected)

For Gmail or MS365: search inbox for unread messages in the window, sent items in the window, and emails flagged/starred.

Gather:

3c. `~~project tracker` (if connected)

For Linear / Asana / Atlassian / Monday / ClickUp / Notion-as-tracker: query for issues assigned to the user with status changes in the window.

Gather (per tool, format-normalized):

3d. `~~docs` (if connected)

For Notion / Confluence / etc.: list docs touched by the user (created OR edited) in the window. List docs the user was @-mentioned in.

Gather:

Step 4: Synthesize the Digest

Compose a unified narrative from the gathered data. Sections:

  1. Window & sources — explicit time window + which MCPs were available + which were not
  2. What's pending — open items needing the user's action (from project tracker + threads owed responses + unread flagged emails)
  3. What shipped — closed/completed/moved items in the window (from project tracker + sent emails noting completion + docs marked done)
  4. What's blocked — items in Blocked status, stale items, threads waiting on others
  5. Cross-tool patterns — observations that span sources (e.g., "3 mentions of Project Phoenix across chat + tracker but no doc in ~~docs for it; consider creating one")
  6. Gaps surfaced — categories that weren't connected + what would be added by connecting them

Be conservative: rank by signal, not volume. A digest with 12 strong items beats 47 noisy ones.

Step 5: Write + Report

Filename: intake/digests/{YYYY-MM-DD}.md. Use today's date (the digest's creation date, not the window's end date). If a file with that name exists, append -2, -3 for multiple digests in one day.

Body template:

---
date: <YYYY-MM-DD>
window_start: <YYYY-MM-DD>
window_end: <YYYY-MM-DD>
sources_connected: [<list of connected MCP names>]
sources_unavailable: [<list of disconnected categories>]
tags: [digest, weekly|monthly|quarterly]
---

# Digest — <window_start> → <window_end>

## Sources

**Connected:** <list of MCPs that contributed data>
**Not connected:** <list of categories that would have added value> — to fill these gaps, connect the relevant MCP via Claude Code's MCP config or Cowork Settings → Connectors.

## What's pending

<bulleted list, grouped by source-of-priority. Each item includes a link back to the source if a URL is exposed by the MCP.>

## What shipped

<bulleted list of completed items in the window.>

## What's blocked

<bulleted list of stuck items + brief why.>

## Cross-tool patterns

<observations that span 2+ sources. Skip section if nothing notable.>

## Gaps surfaced

<categories that weren't connected + what they would have added. Skip if all 4 connected.>

---

## Reaction

<intentionally left empty — the user's reaction. /audit knowledge surfaces this for review.>

Report to user:

Digest written to intake/digests/<date>.md.

- Window: <start> → <end>
- Sources connected: <N>/4
- Pending items: <n>
- Shipped items: <n>
- Blocked items: <n>

Disconnected categories surfaced N gap callouts in the digest. Connect more MCPs to enrich next week's digest.

Rules

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.