/goal for Claude Code: persistent tasks with adversarial review

✍️ OpenClawRadar📅 Published: May 11, 2026🔗 Source
/goal for Claude Code: persistent tasks with adversarial review
Ad

The /goal command for Claude Code lets you set a persistent long task that keeps Claude working across many turns without stopping, and then double-checks the work at the end. By default, a second, independent Claude session reviews the result — so Claude can't just claim it's done.

Use Cases

  • Building something from a spec: paste the requirements, walk away, come back when every item is actually implemented.
  • "Keep going until the tests pass": Claude can't cheat by deleting failing tests, because the reviewer compares the repo against the original goal.
  • Long research or prototype sessions: one goal keeps Claude going for hours instead of stopping after each turn.
Ad

Configuration

You can set an optional soft token budget, e.g. --tokens 250K, to tell Claude to wrap up when that budget is spent.

Audit strictness is configurable:

  • adversarial (default) — a separate Claude session reviews the work
  • self — Claude reviews itself (faster and free)
  • off — no review

Switch with: /goal config set audit.mode <value>

Installation

From the plugin marketplace:

./plugin marketplace add balakumardev/claude
/plugin install claude-code-goal

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also