/goal for Claude Code: persistent tasks with adversarial review

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.
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
👀 See Also

Agent Memory Protocol (AMP): Open Spec for Interoperable AI Agent Memory on Top of MCP
AMP defines a standard interface for persistent memory in MCP-compatible agents with six core verbs: encode, recall, forget, consolidate, pin, and stats. Includes compliance test suite and reference implementation.

HTML Artifacts Replace Google Docs for Technical Docs, but Lack Commenting
Claude-generated HTML artifacts are replacing Google Docs for long-form technical content like spike readouts and architecture notes, but the sandboxed iframe nature prevents inline commenting and review features.

PRECC Tool Cuts Claude Code API Costs with Pre-Tool-Call Compression
A developer built PRECC, an open source tool that intercepts Claude Code tool calls and compresses payloads using RTK (Redundancy-aware Token Kompression), reducing input tokens by 40-66% with no perceptible latency impact.

OpenClaw Browser Relay Chrome Extension Alternative to Manual Configs
A Reddit user reports success with a Chrome extension for OpenClaw browser relay after manual configuration attempts caused system crashes and debugging headaches.