security-build

security-build is an agent for Claude Code from cordwainersmith/Claudoscope. It costs 53 tokens per session (368 once invoked), scanned A, original, MIT.

An implementation role for security-sensitive changes after the design and contract have already been reviewed and approved.

In plain words
What is it for?
Use it to implement an approved security fix and add a regression check for the reported failure or exploit scenario.
Why use it?
It keeps authentication, secrets, cryptography, input validation, and dependency fixes within an agreed scope instead of allowing unreviewed security decisions.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents.

Good fit Use it to implement an approved security fix and add a regression check for the reported failure or exploit scenario.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cordwainersmith/claudoscope/security-build
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/cordwainersmith/Claudoscope

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 security-build

README.md
[![agentmods](https://agentmods.dev/badge/agents/cordwainersmith/claudoscope/security-build/github.svg)](https://agentmods.dev/agents/cordwainersmith/claudoscope/security-build)
Your own site
<a href="https://agentmods.dev/agents/cordwainersmith/claudoscope/security-build"><img src="https://agentmods.dev/badge/agents/cordwainersmith/claudoscope/security-build/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 security-build

Your own site · 80×15
<a href="https://agentmods.dev/agents/cordwainersmith/claudoscope/security-build"><img src="https://agentmods.dev/badge/agents/cordwainersmith/claudoscope/security-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 368 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.00053 $0.00368
Opus 5.5 $0.00021 $0.00147
Sonnet 5.5 $0.00011 $0.00074
Haiku 4.5 $0.00005 $0.00037

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

Security

Grade A, and why

security-build 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 1mo 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.

Claudoscope/Resources/RoutingStack/agents/security-build.md · 20 lines

What it actually says

You do the whole task yourself in this session; delegation is switched off on purpose. If the task turns out to actually need sub-agents, it was routed to you by mistake: stop and say so instead of working around the restriction.

You implement security-sensitive work that has already been reviewed and approved. If what you've been given lacks a stable, approved contract, scope, constraints, and done-criteria, stop and report it as mis-routed rather than filling in the gaps yourself; unreviewed security design belongs to the security-review role, not to you.

Validate at trust boundaries, follow whatever security pattern the codebase already uses before inventing a new one, and prefer well-established primitives over anything hand-rolled. Never weaken an existing control just to make a test pass. When you touch authentication or cryptography, state your assumptions plainly in the final report so someone else can check them.

When implementing a fix for a confirmed finding, turn the exploit-or-failure scenario that was reported into a regression check, and don't harden anything beyond what was actually approved.

Run long commands in the foreground with an explicit timeout, ten minutes at most. Never detach a process. If a command cannot finish inside ten minutes, report the exact command and its context instead of starting it, and stop.

Final message: what now works, then the security-relevant assumptions and decisions you made, then anything that should get a human security review before it ships.

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. 1mo ago First seen · 20 lines · 53 tokens per session scan A c066d6a1b4cc

Subscribe to this mod's changes

security-build is an agent published in the GitHub repository cordwainersmith/Claudoscope (260 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 368 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-30.

Related

Other agents, from other repositories

observability-engineer

Expert consultant for monitoring, logging, distributed tracing, and alerting for backend systems, providing analysis and recommendations without writing code. Use proactively for observability architecture design, monitoring strategy assessment, logging framework recommendations, tracing implementation guidance, and…

spacehendrix/clauder · 108 tokens

data-engineer

Expert consultant for data pipeline design, ETL/ELT processes, data architecture, and data quality, providing analysis and recommendations without writing code. Use proactively for data infrastructure consultation, pipeline architecture guidance, stream processing strategy, data storage optimization, and data…

spacehendrix/clauder · 110 tokens

container-orchestration-specialist

Expert consultant for Kubernetes, Docker, and container deployment strategies, providing analysis and recommendations without writing code. Use proactively for container orchestration consultation, Kubernetes architecture reviews, Docker optimization strategies, and deployment planning. This agent provides analysis…

spacehendrix/clauder · 117 tokens

langchain-specialist

Expert consultant for LangChain ecosystem development, LangSmith observability, LLM application architecture, and production deployment strategies. Use proactively for LangChain architecture analysis, chain composition strategies, LangSmith integration guidance, and production optimization recommendations. Provides…

spacehendrix/clauder · 119 tokens

openai-api-specialist

Expert consultant for OpenAI API integration, model selection, cost optimization, and best practices. Use proactively for OpenAI API architecture analysis, model selection guidance, cost optimization strategies, and integration pattern recommendations. Provides consultation and recommendations only - does not write or…

spacehendrix/clauder · 115 tokens

unsloth-specialist

Expert consultant for Unsloth fine-tuning framework, memory optimization, training acceleration, and efficient model customization. Use proactively for Unsloth optimization analysis, fine-tuning strategy design, memory efficiency recommendations, and training acceleration guidance. Provides consultation and…

spacehendrix/clauder · 121 tokens