safe-build

safe-build is a command for Claude Code from ryo-ebata/cc-audit. It costs 0 tokens per session (87 once invoked), scanned A, original, MIT.

A command that installs dependencies, checks the code's types, and builds a JavaScript application for development or production.

In plain words
What is it for?
Run it to prepare a project build, verify types, and create production files in dist/.
Why use it?
It puts the required build checks in one repeatable sequence and reports the resulting files in the dist directory.

Command for Claude Code

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/ryo-ebata/cc-audit/safe-build
Clone the repo
git clone --depth 1 https://github.com/ryo-ebata/cc-audit

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ryo-ebata/cc-audit/safe-build.svg)](https://agentmods.dev/commands/ryo-ebata/cc-audit/safe-build)
Your own site
<a href="https://agentmods.dev/commands/ryo-ebata/cc-audit/safe-build"><img src="https://agentmods.dev/badge/commands/ryo-ebata/cc-audit/safe-build.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 87 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.00000 $0.00087
Opus 5 $0.00000 $0.00044
Sonnet 5 $0.00000 $0.00017
Haiku 4.5 $0.00000 $0.00009

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

Security

Grade A, and why

safe-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 5d 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.

examples/command/.claude/commands/safe-build.md · 29 lines

What it actually says

Build Command

Build the application for development or production.

Usage

Run this command to build the project.

Steps

  1. Install dependencies
  2. Run type checking
  3. Build for production
# Install dependencies
npm install

# Type check
npm run typecheck

# Build
npm run build

Output

Build artifacts will be placed in the dist/ directory.

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. 5d ago First seen · 29 lines · 0 tokens per session scan A 523ebbc1c40f

Subscribe to this mod's changes

safe-build is a command published in the GitHub repository ryo-ebata/cc-audit (24 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 87 tokens. 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.