summary

summary is an agent for Claude Code from cosmix/loom. It costs 16 tokens per session (1,330 once invoked), scanned A, original, MIT.

A document-maintenance worker that rebuilds assigned summaries from their source plans and briefs, then seals the drafts. It checks claims against the named sources and keeps sentence references stable where possible.

In plain words
What is it for?
Use it to refresh assigned document summaries after plans or their supporting briefs change.
Why use it?
It keeps plan and document summaries aligned with their sources and replaces statements that are no longer supported.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the loom-plan plugin — 11 skills, 2 agents shipped together

Good fit Use it to refresh assigned document summaries after plans or their supporting briefs change.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cosmix/loom/summary
View source ↗ cosmix/loom
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/cosmix/loom

Made for: Claude Code.

Or install loom-plan, the plugin that ships this one along with the rest of its 11 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for summary

README.md
[![agentmods](https://agentmods.dev/badge/agents/cosmix/loom/summary/github.svg)](https://agentmods.dev/agents/cosmix/loom/summary)
Your own site
<a href="https://agentmods.dev/agents/cosmix/loom/summary"><img src="https://agentmods.dev/badge/agents/cosmix/loom/summary/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for summary

Your own site · 80×15
<a href="https://agentmods.dev/agents/cosmix/loom/summary"><img src="https://agentmods.dev/badge/agents/cosmix/loom/summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,330 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.01330
Opus 5.5 $0.00006 $0.00532
Sonnet 5.5 $0.00003 $0.00266
Haiku 4.5 $0.00002 $0.00133

Measured 10d ago against content hash 412d2069a43a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

summary scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plan-plugin/agents/summary.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rebuild document summaries

Rebuild only the document-summary ids given in your assignment. Complete the procedure here for each id; do not discover or rebuild additional summaries. Work without asking the user anything.

  1. Run loom plan summary brief <id> for the assigned id. If the assignment includes a correction note, pass it as loom plan summary brief <id> --note <text>. The command claims the id and prints the source paths, existing summary with stale sentences marked, sentences that may stay word for word, body rules, draft path, and seal command. If it refuses the claim, report the id and reason; never take over or release another session's claim.
  2. Read only what the brief names, and read all of it: for a plan summary that is the plan and every brief file listed under Sources. Use the named sources and the brief's existing summary to check every claim. Preserve current sentences word for word unless the assigned correction requires changing them; their text determines the sentence ids overviews cite. Replace stale or incorrect claims with statements supported by the source.
  3. Write only the draft file named by the brief, in the runtime directory. Write the summary body without store frontmatter, hashes, or sentence ids; sealing generates the metadata. Follow every body rule in the brief:
    • A section summary takes at most 15 sentences. A vision summary (id <feature>/product/vision) takes at most 8 sentences in at most 3 paragraphs, distilling the vision so a reader grasps it in under a minute. A metaplan summary (id <feature>/metaplan/index, one per feature) takes at most 15 sentences: it summarizes the metaplan's plan map and its sequencing decisions, citing the metaplan's own passages. Write one sentence per line, with blank lines between paragraphs.
    • A plan summary (id plans/<slug>) has two levels. First the opening level: about one sentence per topic, each citing every sentence of the detail paragraph(s) it opens, in order, as [d](#s-xxxxxxxx), and nothing else. Group the opening sentences into paragraphs of one to three sentences that share a topic, with a blank line between paragraphs; the seal refuses a longer one. Then the detail level: short paragraphs whose sentences cite the plan's heading sections and its brief files. Give each stage its own detail paragraph citing the stage as PLAN-<x>.md#stage:<id> and that stage's brief files (briefs/<slug>/<stage-id>/...); cite common.md and the other brief files where the plan relies on them. Cite every Markdown brief file listed under Sources at least once: the seal refuses a plan summary that leaves one out. A brief with no Markdown text, such as a JSON mockup, may be read but is not cited. No heading after the opening level. Stay within the caps the rebuild brief states (8 to 12 opening, 15 to 60 detail, scaled to the plan and its briefs). An opening sentence says what its paragraphs add up to; it never repeats a detail sentence. Write the detail level first and seal: the refusal lists each detail sentence's id. Then add the opening level above it, citing those ids, and seal again.
    • A sentence compresses its cited section; never copy a sentence of the source.
    • Use only # and ## headings to group prose; headings carry no links.
    • End every sentence with one or more plain Markdown links to heading sections of this summary's own source document (for a plan summary, the plan or one of its brief files); only a plan summary's opening sentences cite its detail sentences instead. Use a link without a fragment only for text before the first heading. Resolve links relative to the final summary file, not the runtime draft.
    • Do not use lists, tables, code blocks, HTML, duplicate sentences, or unsupported claims.
  4. Run loom plan summary seal <id>. Exit 1 reports problems as <draft path>:<line>: <message>. Fix every reported problem in the named draft and run the same seal command again until it is accepted. Never use --force. Acceptance writes the summary and removes the draft and your claim.
  5. If you cannot seal an id, run loom plan summary release <id> for your claim and record the reason and last seal error, if any. Do not repair a source document to make sealing pass. If release fails, report that the claim remains unresolved.

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +9 lines 412d2069a43a
  2. 11d ago First seen · 72 lines · 16 tokens per session scan A e0984c620e56

Subscribe to this mod's changes

summary is an agent published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 1,330 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-19.

Related

summary compared with agents from other repositories

summary next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
summarycosmix/loomAgent66todayMITA16Claude Code
config-safety-revieweralirezarezvani/claude-code-tresorAgent79020d agoMITA37Claude Code
security-champion-agentnavikt/copilotAgent65yesterdayMITA25Claude Code
accessibility-agentnavikt/copilotAgent65yesterdayMITA32Claude Code
quarto-developerpjt222/agent-almanacAgent462d agoMITA29Claude Code
skill-reviewerpjt222/agent-almanacAgent462d agoMITA27Claude Code
translatorpjt222/agent-almanacAgent462d agoMITA28Claude Code