speckit.summary.run

speckit.summary.run is a command for Claude Code from opsmill/infrahub-mcp. It costs 35 tokens per session (1,371 once invoked), scanned A, a copy of speckit.opsmill.summary, Apache-2.0.

A command that writes a short summary of the current Claude Code work session, including its main purpose, timeline, and results, beside the active feature documents. It summarizes the overall work rather than every tool call or file change.

In plain words
What is it for?
Use it at the end of a session or for a selected time or commit range to document the workflow and its outcomes.
Why use it?
It gives teammates or your future self a quick understanding of what happened and what was achieved.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

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/opsmill/infrahub-mcp/speckit.summary.run
Clone the repo
git clone --depth 1 https://github.com/opsmill/infrahub-mcp

Made for: Claude Code.

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 speckit.summary.run

README.md
[![agentmods](https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/speckit.summary.run.svg)](https://agentmods.dev/commands/opsmill/infrahub-mcp/speckit.summary.run)
Your own site
<a href="https://agentmods.dev/commands/opsmill/infrahub-mcp/speckit.summary.run"><img src="https://agentmods.dev/badge/commands/opsmill/infrahub-mcp/speckit.summary.run.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 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,371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod 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.00035 $0.01371
Opus 5 $0.00017 $0.00685
Sonnet 5 $0.00007 $0.00274
Haiku 4.5 $0.00003 $0.00137

Measured 6d ago against content hash 8fcf90789b76, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

speckit.summary.run 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 6d 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.

Origin

This is a copy

97% identical to speckit.opsmill.summary — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/commands/speckit.summary.run.agent.md · 144 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Supported argument: --since <commit|time> to bound the summary window. Examples:

  • --since HEAD~10 — limit the timeline to phases that began after the 10th-most-recent commit on this branch.
  • --since 14:00 — only include phases that occurred after 2 PM local time in the active session.

If no argument is given, summarize the entire live session.

Goal

Produce a single markdown document that lets a teammate (or future-you) understand the flow of the session in under 60 seconds. The unit of output is the working session, not any one artifact. Different granularity from speckit.archive (per-feature, permanent) and speckit.reconcile.run (drift-fixing).

Operating Constraints

STAY AT THE FLOW LEVEL. This summary is a narrative, not a transcript. Do NOT include any of the following:

  • Per-tool-call narration ("called Read on X.py, then called Edit on...")
  • Diffs or hunks of any size
  • Line numbers
  • Code snippets longer than a single line
  • File-by-file change logs (those belong in PR descriptions and git log)
  • Step-by-step reproductions of debugging
  • Quotes from the conversation buffer longer than one short clause

STRICTLY ADDITIVE. Do not modify spec.md, plan.md, tasks.md, or any source files. The only file this command writes is the session summary itself.

IDEMPOTENT IN SPIRIT. A second invocation in the same session must produce a comparable summary, not a summary of summaries. Ignore previously generated session files when composing the new one.

Outline

  1. Run .specify/scripts/bash/check-prerequisites.sh --json --paths-only from repo root and parse FEATURE_DIR from the JSON output. All paths must be absolute.

    • If FEATURE_DIR is missing, empty, or the resolved directory does not exist, fail fast with a clear error such as: No feature directory resolved from current branch — /speckit.summary.run requires an active feature branch. Suggest the user switch to a feature branch and re-run.

Read the full file on GitHub · 144 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. 6d ago First seen · 144 lines · 35 tokens per session scan A 8fcf90789b76

Subscribe to this mod's changes

speckit.summary.run is a command published in the GitHub repository opsmill/infrahub-mcp (10 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 1,371 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to speckit.opsmill.summary, differing in 6 lines, and is treated as a copy.