project-init: Command for Claude Code

.claude/commands/test-all.md

test-all is a command for Claude Code from whchoi98/project-init. It costs 8 tokens per session (111 once invoked), scanned A, original, MIT.

A command that runs the project’s complete automated checks and validates the plugin structure. It covers hooks, secret-detection patterns, file and manifest structure, and reference documentation.

In plain words
What is it for?
Use it to run the full test suite or only the hook, secret, structure, or reference-documentation checks when diagnosing a failure.
Why use it?
It gathers many health checks in one run, making it easier to catch broken scripts, missing files, invalid configuration, and documentation problems before release.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is whchoi98/project-init's own configuration. It tells Claude Code how to work on project-init itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything project-init configures →

Reuse

Borrowing it

Nothing to install: this file belongs to whchoi98/project-init. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/whchoi98/project-init/main/.claude/commands/test-all.md
Clone the repo
git clone --depth 1 https://github.com/whchoi98/project-init

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 test-all

README.md
[![agentmods](https://agentmods.dev/badge/commands/whchoi98/project-init/test-all/github.svg)](https://agentmods.dev/commands/whchoi98/project-init/test-all)
Your own site
<a href="https://agentmods.dev/commands/whchoi98/project-init/test-all"><img src="https://agentmods.dev/badge/commands/whchoi98/project-init/test-all/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 test-all

Your own site · 80×15
<a href="https://agentmods.dev/commands/whchoi98/project-init/test-all"><img src="https://agentmods.dev/badge/commands/whchoi98/project-init/test-all.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 111 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.00008 $0.00111
Opus 5.5 $0.00003 $0.00044
Sonnet 5.5 $0.00002 $0.00022
Haiku 4.5 $0.00001 $0.00011

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

Security

Grade A, and why

test-all 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.

.claude/commands/test-all.md · 11 lines

What it actually says

Test All

Run bash tests/run-all.sh, or bash tests/run-all.sh <hooks|secret|structure|reference> for one category.

The runner prints every failing assertion with expected and actual values. Fix the root cause rather than the assertion, unless the assertion encodes a stale count or path. Re-run, then report totals and any remaining failures.

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 Changed · -68 lines · -1 tokens per session scan B → A cc7c7ab941f7
  2. 2mo ago First seen · 79 lines · 9 tokens per session scan B 91725581aaae

Subscribe to this mod's changes

test-all is a command published in the GitHub repository whchoi98/project-init (2 stars, last pushed 5d ago), licensed MIT. It adds 8 tokens to every session and 111 once invoked, about $0.0000 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.