run

run is a command for Claude Code from koolamusic/claudefiles. It costs 26 tokens per session (437 once invoked), scanned A, original, MIT.

A command that runs one or more Warden acceptance-test plans through the project's `.warden/run.sh` script. Acceptance tests check whether a system behaves as required.

In plain words
What is it for?
Use it to run every plan, selected plans, or plans in a phase. It also supports stopping after the first failure and options for confirmed destructive checks.
Why use it?
It provides one entry point for running all plans, selected plans, or a single phase, while clearly reporting when Warden has not been set up.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash .warden/run.sh $ARGUMENTS.

Part of the warden plugin — 5 commands shipped together

Good fit Use it to run every plan, selected plans, or plans in a phase. It also supports stopping after the first failure and options for confirmed destructive checks.

Compare 6 commands from other repositories ↓
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/koolamusic/claudefiles
agentmods
npx agentmods add commands/koolamusic/claudefiles/run

Made for: Claude Code.

Or install warden, the plugin that ships this one along with the rest of its 5 commands.

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 run

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/run"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 437 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.00026 $0.00437
Opus 5.5 $0.00010 $0.00175
Sonnet 5.5 $0.00005 $0.00087
Haiku 4.5 $0.00003 $0.00044

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

Security

Grade A, and why

run 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.

plugins/warden/commands/run.md · 48 lines

What it actually says

Execute one or more warden plans.

Parse the input

$ARGUMENTS is passed through to the runner unchanged. Supported forms:

  • (empty): run every plan in phase order
  • <plan-id> (one or many): run only those plans by basename match
  • phase:<phase-name>: run all plans in one phase
  • --strict: abort the suite on the first failing plan
  • --destructive / --yes / --force: skip the destructive countdown
  • Any combination

Precondition: .warden/ must exist

if [ ! -f .warden/run.sh ]; then
  echo "warden is not initialized in this project."
  echo "Run /warden:design to bootstrap .warden/ from the plugin templates."
  exit 1
fi

If the runner is missing, do not try to recover or fall back to copying templates. Surface the missing init to the user and stop.

Execute

bash .warden/run.sh $ARGUMENTS

Forward the runner's stdout and stderr unchanged. Capture the exit code.

Report the outcome

The runner writes its own summary banner. Do not duplicate it. After the runner exits:

  • If exit 0: confirm green and point at the run summary (.warden/runs/<id>.md).
  • If exit 1: state the suite failed; list the failing plans by reading the runner output. Suggest /warden:triage to classify the failures and write remediation files.
  • If exit 2: a destructive suite refused to run non-interactively. Tell the user to re-run with --destructive if they meant it.

Do not analyse failures here; that is /warden:triage's job. The contract for this command is "execute and surface."

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 · 48 lines · 26 tokens per session scan A 8795ee3c4078

Subscribe to this mod's changes

run is a command published in the GitHub repository koolamusic/claudefiles (130 stars, last pushed 4d ago), licensed MIT. It adds 26 tokens to every session and 437 once invoked, about $0.0001 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.