Skill: Verify CLI changes (example for Verify skill)

Skill: Verify CLI changes (example for Verify skill) is a skill for Claude Code, Codex from Piebald-AI/claude-code-system-prompts. It costs 25 tokens per session (547 once invoked), scanned A, original, MIT.

A workflow for checking command-line program changes by building the program, running commands, and comparing output and exit codes with expected results. An exit code is the value a command uses to report success or failure.

In plain words
What is it for?
Use it to verify new CLI flags, output formats, error handling, and non-regression behavior.
Why use it?
It provides direct evidence that a changed command works and that existing behavior has not been broken.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go build -o /tmp/tool ./cmd/tool.

About the project

claude-code-system-prompts is a repository that records the system prompts, tool descriptions, agent prompts, and utility prompts used by Claude Code. It serves people who want to inspect how Claude Code structures its built-in agents and tools across releases. The catalogue instruction provides access to material documenting that workflow.

Piebald-AI/claude-code-system-prompts · 12,585 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Piebald-AI/claude-code-system-prompts
agentmods
npx agentmods add skills/piebald-ai/claude-code-system-prompts/skill-verify-cli-changes-example-for-verify

Made for: Claude Code, Codex.

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 Skill: Verify CLI changes (example for Verify skill)

README.md
[![agentmods](https://agentmods.dev/badge/skills/piebald-ai/claude-code-system-prompts/skill-verify-cli-changes-example-for-verify.svg)](https://agentmods.dev/skills/piebald-ai/claude-code-system-prompts/skill-verify-cli-changes-example-for-verify)
Your own site
<a href="https://agentmods.dev/skills/piebald-ai/claude-code-system-prompts/skill-verify-cli-changes-example-for-verify"><img src="https://agentmods.dev/badge/skills/piebald-ai/claude-code-system-prompts/skill-verify-cli-changes-example-for-verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 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.1 $0.00025 $0.00547
Opus 5 $0.00013 $0.00273
Sonnet 5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00055

Measured yesterday against content hash 4de5c4518fb2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Skill: Verify CLI changes (example for Verify skill) 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 yesterday.

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

Copies of this mod

1 near-identical copy found in the catalogue:

system-prompts/skill-verify-cli-changes-example-for-verify-skill.md · 74 lines

What it actually says

Verifying a CLI change

The handle is direct invocation. The evidence is stdout/stderr/exit code.

Pattern

  1. Build (if the CLI needs building)
  2. Run with arguments that exercise the changed code
  3. Capture output and exit code
  4. Compare to expected

CLIs are usually the simplest to verify - no lifecycle, no ports.

Worked example

Diff: adds a --json flag to the status subcommand. New flag parsing in cmd/status.go, new output branch.

Claim (commit msg): "machine-readable status output."

Inference: tool status --json now exists, emits valid JSON with the same fields the human output shows. tool status without the flag is unchanged.

Plan:

  1. Build
  2. tool status -> human output, same as before (non-regression)
  3. tool status --json -> valid JSON, parseable
  4. JSON fields match human output fields

Execute:

go build -o /tmp/tool ./cmd/tool

/tmp/tool status
# -> Status: healthy
# -> Uptime: 3h12m
# -> Connections: 47

/tmp/tool status --json
# -> {"status":"healthy","uptime_seconds":11520,"connections":47}

/tmp/tool status --json | jq -e .status
# -> "healthy"
# (jq -e exits nonzero if the path is null/false - cheap validity check)

echo $?
# -> 0

Verdict: PASS - flag works, JSON is valid, fields line up.

What FAIL looks like

  • unknown flag: --json -> not wired up, or you're running a stale build
  • Output isn't valid JSON (jq errors) -> serialization bug
  • tool status (no flag) changed -> regression; the diff touched more than it should
  • JSON has different field names than expected -> claim/code mismatch, might be fine, note it

Reading from stdin, destructive commands

If the CLI reads stdin -> pipe in test data. If it writes files / hits a network / deletes things -> point it at a tmp dir / a mock / a dry-run flag. If there's no safe mode and the diff touches the destructive path, say so and verify what you can around it.

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. yesterday First seen · 74 lines · 25 tokens per session scan A 4de5c4518fb2

Subscribe to this mod's changes

Skill: Verify CLI changes (example for Verify skill) is a skill published in the GitHub repository Piebald-AI/claude-code-system-prompts (12,585 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 547 once invoked, about $0.0001 per session on Opus 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-09-05.

Related

Other skills, from other repositories

llm-testing-expert

Use this skill when user needs to design LLM evaluation strategies, build test datasets, or ensure model quality. Trigger keywords: LLM testing, model evaluation, prompt engineering, regression testing, red teaming, hallucination detection, RAG testing, Agent testing, A/B testing, LLM-as-a-Judge. Applicable to quality…

Miaoge-Ge/coding-agent-skills · 80 tokens

testing-expert

Expert software testing: unit/integration/e2e, TDD, test doubles, fixtures, and flakiness. Trigger keywords: testing, unit test, integration test, e2e, TDD, mock, stub, fake, spy, fixture, coverage, flaky test, assertion, test pyramid, snapshot. Use for writing tests, designing test strategy, or fixing…

Miaoge-Ge/coding-agent-skills · 87 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens