automagik-hive: Command for Claude Code

.claude/commands/wish-review.md

wish-review is a command for Claude Code from namastexlabs/automagik-hive. It costs 0 tokens per session (614 once invoked), scanned A, original, MIT.

A command that audits whether a development task, called a wish, is ready to close. It combines test results, recent changes, linked planning records, and a score from 0 to 100.

In plain words
What is it for?
Use it to run specified tests, collect related artefacts and logs, identify blockers, and get next-step recommendations.
Why use it?
It gathers completion evidence in one report, so people do not have to inspect tests, commits, and task records separately.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is namastexlabs/automagik-hive's own configuration. It tells Claude Code how to work on automagik-hive 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 automagik-hive configures →

Reuse

Borrowing it

Nothing to install: this file belongs to namastexlabs/automagik-hive. 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/namastexlabs/automagik-hive/main/.claude/commands/wish-review.md
Clone the repo
git clone --depth 1 https://github.com/namastexlabs/automagik-hive

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 wish-review

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/namastexlabs/automagik-hive/wish-review"><img src="https://agentmods.dev/badge/commands/namastexlabs/automagik-hive/wish-review.svg" alt="Reviewed on agentmods" width="80" 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 614 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.00000 $0.00614
Opus 5 $0.00000 $0.00307
Sonnet 5 $0.00000 $0.00123
Haiku 4.5 $0.00000 $0.00061

Measured 12d ago against content hash 76325972c340, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wish-review 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 12d 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/wish-review.md · 54 lines

What it actually says

/wish-review – Wish Completion Audit


description: Execute an end-to-end review loop for a wish, combining test execution, Death Testament aggregation, and scoring.

[CONTEXT]

  • Designed for branches where multiple forge tasks have landed and the wish is nearing closure.
  • Runs a standardized audit so humans can iterate until the wish earns a 100/100 readiness score.
  • Operates outside the sandbox: command may trigger UV tests, diff inspection, and report generation.

[SUCCESS CRITERIA] ✅ Parses the wish file for status, success criteria, and linked artefacts. ✅ Aggregates latest commits plus Death Testament references into the audit report. ✅ Executes each --tests command (default set provided below) via uv run … and captures pass/fail. ✅ Emits a structured review summary, including completion score (0–100), blockers, and next-step recommendations. ✅ Records evidence paths (wish, forge plan, DTs, test logs) for traceability.

[DEFAULT TEST MATRIX]

  • uv run pytest tests/lib/auth/test_credential_service.py -q
  • uv run pytest tests/integration/auth/test_single_credential_integration.py -q
  • uv run pytest tests/cli/test_docker_manager.py -q

[COMMAND SIGNATURE]

/wish-review @path/to/wish.md \
    [--tests "<command>"]... \
    [--score-only]
  • Required first argument: wish file, referenced with @ so the report can link back.
  • --tests may be repeated to override or extend the default matrix.
  • --score-only skips command execution and recomputes score using cached results (for fast follow-up after minor doc edits).

[OUTPUT]

  • Human-readable report (markdown) summarizing:
    • Wish metadata (status, phases, success criteria)
    • Commits since last review (with task IDs)
    • Test results table (pass/fail + command output snippet)
    • Completion score (0–100) with rubric: implementation, validation, outstanding risks
    • Recommended follow-up forge tasks (auto-generated when score < 100)
  • Optional JSON payload for scripts integrating with future automation.

[PROCESS BREAKDOWN]

  1. Discovery – Load wish, forge plan, and latest Death Testaments; compute change summary.
  2. Validation – Run queued test commands (unless --score-only), capture logs.
  3. Scoring – Apply rubric; highlight blockers and residual risks.
  4. Recommendation – Suggest new forge task groups or close-out actions based on score.
  5. Report – Emit markdown + JSON (under tmp/wish-review-<timestamp>.json).

[NOTES]

  • Always use uv run … for Python tooling.
  • Completion score of 100/100 requires: all success criteria met, tests passing, no unresolved risks.
  • When blockers exist, include evidence and reference any new Forge tasks created in response.
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. 12d ago First seen · 54 lines · 0 tokens per session scan A 76325972c340

Subscribe to this mod's changes

wish-review is a command published in the GitHub repository namastexlabs/automagik-hive (24 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 614 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.