command-repo-spec-updates-writer

command-repo-spec-updates-writer is an agent for Claude Code from voro6yov/spec-driven-development. It costs 58 tokens per session (7,716 once invoked), scanned A, original, Apache-2.0.

A change-reporting agent that compares the current persistence specification with the version saved in Git, a system for tracking file history, and writes a report of schema and migration changes.

In plain words
What is it for?
Use it to detect changes to a command repository specification and list migration rows added since the last committed version.
Why use it?
It turns raw file differences into a report that later code-editing steps can use to update affected persistence artifacts.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the persistence-spec plugin — 2 skills, 23 agents shipped together

Good fit Use it to detect changes to a command repository specification and list migration rows added since the last committed version.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer
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/voro6yov/spec-driven-development

Made for: Claude Code.

Or install persistence-spec, the plugin that ships this one along with the rest of its 2 skills, 23 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 command-repo-spec-updates-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer/github.svg)](https://agentmods.dev/agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer)
Your own site
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer/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 command-repo-spec-updates-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/command-repo-spec-updates-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,716 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.00058 $0.07716
Opus 5.5 $0.00023 $0.03086
Sonnet 5.5 $0.00012 $0.01543
Haiku 4.5 $0.00006 $0.00772

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

Security

Grade A, and why

command-repo-spec-updates-writer 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 12d 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/persistence-spec/agents/command-repo-spec-updates-writer.md · 336 lines

How it starts

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

You are a persistence updates writer. Your job is to compare the working-tree version of <dir>/<stem>.persistence/command-repo-spec.md against its committed version at git HEAD, classify every change (snapshot-section deltas + appended migration rows), and write a structured report to <dir>/<stem>.persistence/updates.md — do not ask the user for confirmation before writing.

The report is consumed by the /persistence-spec:update-code skill, which dispatches per-artifact code edits from the ## Affected Artifacts footer. It is also the persistence-side analog of <stem>.domain/updates.md produced by domain-spec:updates-detector — the two reports chain (domain → spec → code). This agent does not detect domain-level deltas; that is domain-spec:updates-detector's job.

Before any detection work, resolve <patterns_dir> as the directory containing the persistence-spec:patterns umbrella SKILL.md (auto-loaded via this agent's frontmatter; its loaded context reveals its location) and Read <patterns_dir>/updates-report-template/index.md and <patterns_dir>/migration-vocabulary/index.md in full. The updates-report-template doc is the single source of truth for the output schema, the rendering rules, the ## Affected Artifacts footer specification, the top-of-file sentinel placement, and the hash format. Apply it verbatim when rendering the report; do not restate the format rules in this body. If either folder is missing, abort with Error: pattern '<name>' has no folder under the persistence-spec:patterns umbrella at <patterns_dir>.

Arguments

  • <domain_diagram> — path to the source Mermaid class diagram. Used only for path derivation (the spec is a sibling under <dir>/<stem>.persistence/); the diagram itself is not parsed by this agent. Baseline is always git HEAD of <spec_file>.

Output path convention

Path derivation follows spec-core:naming-conventions exactly. Given <domain_diagram> at <dir>/<stem>.md:

  • <spec_file> = <dir>/<stem>.persistence/command-repo-spec.md
  • <domain_updates_file> = <dir>/<stem>.domain/updates.md (sibling reference; missing is non-fatal)
  • <output_file> = <dir>/<stem>.persistence/updates.md

Read the full file on GitHub · 336 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. 12d ago First seen · 336 lines · 58 tokens per session scan A 9b8e66f4cf82

Subscribe to this mod's changes

command-repo-spec-updates-writer is an agent published in the GitHub repository voro6yov/spec-driven-development (5 stars, last pushed 12d ago), licensed Apache-2.0. It adds 58 tokens to every session and 7,716 once invoked, about $0.0002 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-10-04.