factory-recap

factory-recap is a command for Claude Code from watt-mind/factory. It costs 19 tokens per session (1,356 once invoked), scanned A, original, Apache-2.0.

A read-only project recap command that finds what changed since the operator last checked and lists decisions still waiting for them. It checks current repository, pull-request, ticket, and run status before reporting.

In plain words
What is it for?
It summarizes recent work and creates decision cards for unresolved human actions. It does not modify code, Git data, trackers, pull requests, or running services.
Why use it?
It reduces the effort of reconstructing work after an absence and avoids presenting stale chat information as current. It makes pending choices explicit and self-contained.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit It summarizes recent work and creates decision cards for unresolved human actions. It does not modify code, Git data, trackers, pull requests, or running services.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/watt-mind/factory/factory-recap
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/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

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 factory-recap

README.md
[![agentmods](https://agentmods.dev/badge/commands/watt-mind/factory/factory-recap/github.svg)](https://agentmods.dev/commands/watt-mind/factory/factory-recap)
Your own site
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-recap"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-recap/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 factory-recap

Your own site · 80×15
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-recap"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-recap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 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,356 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.00019 $0.01356
Opus 5.5 $0.00008 $0.00542
Sonnet 5.5 $0.00004 $0.00271
Haiku 4.5 $0.00002 $0.00136

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

Security

Grade A, and why

factory-recap 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 14d 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.

plugins/core/commands/factory-recap.md · 61 lines

How it starts

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

Catch the operator up on what happened while they were away or busy, verify current state, and hand them self-contained decision cards for every call waiting on them.

Strictly read-only — make zero code, git, tracker, or PR mutations, and never start servers, daemons, or background jobs.

1. Resolve scope window

Choose one of two windows from $ARGUMENTS and the current conversation:

  1. Active session delta (default when invoked bare in an active chat with prior work turns):
    • Cover everything that happened after the last message the human personally wrote prior to /factory-recap.
    • System wakeups, background task or subagent notifications, and earlier /factory-recap or /factory-recap-video invocations do not reset this window.
    • Include any unresolved decision or human action from earlier in the chat that is still waiting on the operator.
    • Cross-check live status (gh pr view, CI check-runs via REST, factory ticket get) on every PR, ticket, or run touched in the window. Explicitly correct any stale chat numbers or states rather than repeating outdated turn output.
  2. AFK / Control-plane delta (when $ARGUMENTS passes --repo <name>, --all, or --since <window>, or when invoked cold in a fresh chat with no prior work turns):
    • Run the read-only control-plane gatherer (forwarding any --repo, --all, or --since flags, e.g. overnight, 12h, or an ISO timestamp):
      factory recap --json $ARGUMENTS
      
    • factory recap --json inspects origin/<base> and origin/<deploy_branch> deltas, merged PRs and their ## Handoff Risks (autonomous reversible engineering assumptions), ux-screenshot artifacts, open escalated (ai:escalated / Never auto-merge) PRs, ai:blocked tracker holds, and read-only event-runtime runs and open inbox_items.
    • Fail-closed Checkout Freshness: if git fetch or forge queries fail for a repo, report its freshness or PR state as "unknown" — never fall back to a stale working tree or report "clean".

Read the full file on GitHub · 61 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. 14d ago First seen · 61 lines · 19 tokens per session scan A 23103bd74971

Subscribe to this mod's changes

factory-recap is a command published in the GitHub repository watt-mind/factory (24 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 1,356 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-16.

Related

factory-recap compared with commands from other repositories

factory-recap next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-recapwatt-mind/factoryCommand24todayApache-2.0A19Claude Code
swarm-initruvnet/rufloCommand83ktodayMITA0Claude Code
release-swarmruvnet/rufloCommand83ktodayMITA0Claude Code
release-managerruvnet/rufloCommand83ktodayMITA0Claude Code
repo-architectruvnet/rufloCommand83ktodayMITA0Claude Code
sync-coordinatorruvnet/rufloCommand83ktodayMITA0Claude Code
issue-trackerruvnet/rufloCommand83ktodayMITA0Claude Code