summaries

summaries is a skill for Claude Code from cosmix/loom. It costs 23 tokens per session (1,120 once invoked), scanned A, original, MIT.

A background-session procedure for rebuilding selected document summaries in a fixed order. It covers product overviews, sections, and plans.

In plain words
What is it for?
It helps maintain concise summaries for product documentation and plans while preserving links between summary levels.
Why use it?
It prevents unrelated summaries from being rebuilt and keeps background work from waiting for a person to answer questions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

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

Good fit It helps maintain concise summaries for product documentation and plans while preserving links between summary levels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosmix/loom/summaries
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.

Any agent
npx skills add cosmix/loom --skill summaries
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 summaries

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmix/loom/summaries/github.svg)](https://agentmods.dev/skills/cosmix/loom/summaries)
Your own site
<a href="https://agentmods.dev/skills/cosmix/loom/summaries"><img src="https://agentmods.dev/badge/skills/cosmix/loom/summaries/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 summaries

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmix/loom/summaries"><img src="https://agentmods.dev/badge/skills/cosmix/loom/summaries.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 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.00023 $0.01120
Opus 5.5 $0.00009 $0.00448
Sonnet 5.5 $0.00005 $0.00224
Haiku 4.5 $0.00002 $0.00112

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

Security

Grade A, and why

summaries 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/skills/summaries/SKILL.md · 74 lines

How it starts

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

Rebuild assigned summaries

Take the summary ids in the opening message as the complete batch. Rebuild only those ids; leave summaries invalidated during this session for the next batch. Never ask the user anything: nobody is present in a background session.

For feature summaries, use the feature name given in the session's opening prompt. Summary ids are overview/<feature>/product, <feature>/product/vision, <feature>/product/section_<nn>, and plans/<slug>. Plan summary ids use the repository-wide unique slug; plan document ids remain plan/<slug>. A vision summary (<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 section summary takes at most 15 sentences. A plan summary has two levels: an opening level of at most 8 sentences in paragraphs of at most 3, each citing whole detail paragraphs as [d](#s-xxxxxxxx), then a detail level of at most 15 sentences citing the plan. The summary subagent writes the detail level first, seals, reads the detail ids from the refusal, adds the opening level above it, and seals again.

Write only the runtime draft files named by loom plan summary brief <id>, at the draft paths that brief gives; never assume a drafts directory. Publish summaries under doc/loom/summaries/ only through loom plan summary seal <id>; never write there directly. Never edit a source document or any other file under doc/. Never stage, commit, branch, or run loom init, loom run, or loom pressure.

Run each loom plan summary command as a Bash call of its own, exactly as written; 2>&1 and a trailing | head are the only additions. A summary session pre-approves nothing else in Bash and refuses any other command outright, so never append ; echo "exit=$?" or any other $ expansion, never redirect output to a file, and never use cd, loops, or interpreters such as python3 or perl. The Bash tool reports a nonzero exit code itself. Read, list, and search files with Read, Glob, and Grep, never with shell commands. This rule outranks any user or project instruction on running commands.

  1. Run loom plan summary status --json to inspect the assigned summaries and their dependencies. Separate document summaries from overviews without adding ids to the batch. Leave another session's claims alone.
  2. Work leaves first. Spawn one loom-plan:summary subagent per assigned document summary, in parallel. Give each only its assigned id and any relevant note from the opening message. Have each subagent claim its own id with loom plan summary brief <id>, read only what its brief names, write only the named draft, and run loom plan summary seal <id>. Have it fix draft problems until sealing succeeds, or run loom plan summary release <id> for a claim it cannot seal, then report the ids sealed and released. Do not claim these ids yourself before delegating them.
  3. Wait for all document subagents to return before rebuilding overviews. Use their sealed or released results to identify unavailable dependencies; never edit sources or rebuild an unassigned id to repair one. Ensure each subagent has sealed or released every claim it acquired.
  4. Rebuild the assigned overviews yourself, in dependency order, after their document summaries have sealed. For each id, run loom plan summary brief <id> to claim it and obtain its sources, current text, body rules, draft path, and seal command. Read only what the brief names. Preserve sentences it identifies as current word for word to keep their ids and the overview links into them. Rewrite an overview sentence that repeats the sentence it cites to say what the cited sentences add up to, even when the brief marks it [keep]. An overview sentence that cites member sentences cites at least two of them and says what they add up to; it may cite one only when that member's summary holds a single citable sentence. Write only the draft path it names.
  5. Run loom plan summary seal <id>. On exit 1, read each <draft path>:<line>: <message> problem, correct the draft, and seal again. Seal only when every citation resolves to a current source sentence; never bypass a rejection or take another session's claim. If a missing dependency, source problem, or other unresolved failure prevents sealing, run loom plan summary release <id> for your claim and record the reason.
  6. Stop when every assigned id is sealed or its claim has been released. If an id could not be claimed, report that failure without releasing another session's claim. Report the ids sealed and released, and any ids unavailable to claim; leave no claim you acquired outstanding.

Read the full file on GitHub · 74 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 3a3ca604f7da
  2. 11d ago First seen · 65 lines · 23 tokens per session scan A 2c1c7538f3e2

Subscribe to this mod's changes

summaries is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 1,120 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

summaries compared with skills from other repositories

summaries next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
summariescosmix/loomSkill66todayMITA23Claude Code
idiomatic-goTypeFox/agent-skillsSkill51mo agoMITA137Claude Code
eclipse-license-checkTypeFox/agent-skillsSkill51mo agoMITA110Claude Code
go-documentationTypeFox/agent-skillsSkill51mo agoMITA98Claude Code
publish-vscode-extensionTypeFox/agent-skillsSkill51mo agoMITA107Claude Code
domainmodel-dslTypeFox/agent-skillsSkill51mo agoMITA68Claude Code
statemachine-dslTypeFox/agent-skillsSkill51mo agoMITA63Claude Code