capture

capture is a command for coding agents from irachrist1/claude-code-workflow-os. It costs 15 tokens per session (282 once invoked), scanned A, original, MIT.

A command that creates a short handoff document describing the current state of software work. A handoff lets another coding-agent session or teammate continue without reconstructing the context.

In plain words
What is it for?
Use it at the end of a session to record progress, relevant files, unfinished tasks, and recommended checks.
Why use it?
It preserves recent changes, open risks, next steps, and verification instructions when work changes hands.

Command

Part of the memory-handoff plugin — 1 skill, 2 commands shipped together

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.

agentmods
npx agentmods add commands/irachrist1/claude-code-workflow-os/capture
Clone the repo
git clone --depth 1 https://github.com/irachrist1/claude-code-workflow-os

Or install memory-handoff, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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 capture

README.md
[![agentmods](https://agentmods.dev/badge/commands/irachrist1/claude-code-workflow-os/capture.svg)](https://agentmods.dev/commands/irachrist1/claude-code-workflow-os/capture)
Your own site
<a href="https://agentmods.dev/commands/irachrist1/claude-code-workflow-os/capture"><img src="https://agentmods.dev/badge/commands/irachrist1/claude-code-workflow-os/capture.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 282 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00015 $0.00282
Opus 5 $0.00008 $0.00141
Sonnet 5 $0.00003 $0.00056
Haiku 4.5 $0.00002 $0.00028

Measured 3d ago against content hash 54158da7f67d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

capture 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 3d 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/memory-handoff/commands/capture.md · 44 lines

What it actually says

Capture Handoff

Create a new handoff file in context/handoffs/.

Use $ARGUMENTS as a short status if provided. Otherwise infer the status from current work.

Required behavior

  1. Ensure context/handoffs/ exists.
  2. Read these files when present:
    • context/todo.md
    • context/log.md
    • context/lessons.md
    • context/bugs.md
    • AGENTS.md
  3. Create a new markdown file named:
    • context/handoffs/YYYY-MM-DD-HHMM-latest.md
  4. Use the handoff template from ../templates/handoff.template.md.
  5. Fill it with concrete information, not placeholders.

Required sections

  • Objective
  • Current status
  • What changed recently
  • Files to read first
  • Open risks
  • Next actions
  • Recommended verification

Rules

  • Keep it concise and operational.
  • Prefer bullets over long prose.
  • Do not copy entire logs into the handoff.
  • End by telling the user which handoff file was created.
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. 3d ago First seen · 44 lines · 15 tokens per session scan A 54158da7f67d

Subscribe to this mod's changes

capture is a command published in the GitHub repository irachrist1/claude-code-workflow-os (2 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 282 once invoked, about $0.0001 per session on Opus 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-08-31.