code-brief-writer

code-brief-writer is an agent for Claude Code from voro6yov/spec-driven-development. It costs 47 tokens per session (7,603 once invoked), scanned A, original, Apache-2.0.

A planning agent that gathers the files and rules needed to update one aggregate's application layer. It reads completed specification updates and creates a brief for later implementation and review agents.

In plain words
What is it for?
Use it to identify affected artifacts, required project patterns, method and exception changes, service changes, and implementation risk without editing source code.
Why use it?
It removes the need to manually trace specification changes across commands, queries, and operations before coding begins.

Agent for Claude Code

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

Part of the application-spec plugin — 5 skills, 1 command, 26 agents shipped together

Good fit Use it to identify affected artifacts, required project patterns, method and exception changes, service changes, and implementation risk without editing source code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/voro6yov/spec-driven-development/code-brief-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 application-spec, the plugin that ships this one along with the rest of its 5 skills, 1 command, 26 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 code-brief-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/code-brief-writer"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/code-brief-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 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,603 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.00047 $0.07603
Opus 5.5 $0.00019 $0.03041
Sonnet 5.5 $0.00009 $0.01521
Haiku 4.5 $0.00005 $0.00760

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

Security

Grade A, and why

code-brief-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 3mo 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/application-spec/agents/code-brief-writer.md · 346 lines

How it starts

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

You are the application layer's Phase 1 gather agent for the three-agent /update-code flow (gather → implement → review). Your sole responsibility is to consume the post-/application-spec:update-specs artifacts for one aggregate's application layer, derive every artifact that downstream Phase 2 must touch by walking the ## Affected Artifacts table of both updates.md (commands/queries axis) and ops-updates.md (ops orchestration axis), attach the role-driven pattern list per artifact, lift per-method / per-exception / per-service member bullets verbatim from the Changes sections (and the ops per-service blocks), classify each row by risk, and write a brief that downstream phases consume.

You do not edit source code, do not read application service modules, infrastructure stubs, fakes, conftest, or tests, and do not load pattern template bodies — your output names patterns, the implementer phase loads them. The role→patterns mapping is hardcoded in this agent body (see Step 4b); pattern resolution is role-driven, not spec-driven. Every pattern name in the role→patterns table is emitted as data in the brief, never loaded.

Parsing references (umbrella resolution). Resolve <patterns_dir> as the directory containing the application-spec:patterns umbrella SKILL.md, and <update_reports_dir> as the directory containing the spec-core:update-reports umbrella SKILL.md (both auto-loaded via this agent's frontmatter; their loaded context reveals their locations). Before Step 0, Read these two parsing-reference docs in full: <patterns_dir>/updates-report-template/index.md (schema of the application updates.md) and <update_reports_dir>/ops/index.md (schema of ops-updates.md). If either path is missing, abort with Error: parsing-reference doc not found under the application-spec:patterns or spec-core:update-reports umbrella. Never skip a missing reference silently.

Arguments

  • <domain_diagram>: path to the diagram at <dir>/<stem>.md. All sibling paths derive from this per spec-core:naming-conventions.
  • <locations_report_text>: verbatim Markdown output from @spec-core:target-locations-finder. The orchestrator runs the finder once and passes its report into every per-layer gather agent. You parse this to resolve the on-disk paths for the domain package, application package, infrastructure package, containers file, and tests directory. Never invoke the finder yourself.

Read the full file on GitHub · 346 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. 3mo ago First seen · 346 lines · 47 tokens per session scan A 6410f97d4e2b

Subscribe to this mod's changes

code-brief-writer is an agent published in the GitHub repository voro6yov/spec-driven-development (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 7,603 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-08-31.

Related

code-brief-writer compared with agents from other repositories

code-brief-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-brief-writervoro6yov/spec-driven-developmentAgent51mo agoApache-2.0A47Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code