Claude Goal — Design skill for Claude Code
Codex-style /goal command for Claude Code.
How to install Claude Goal
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jthack/claude-goal and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Goal does
Codex-style /goal command for Claude Code.
Alternatives in Design
README
claude-goal
A Codex-style `/goal` command for Claude Code.
It gives Claude Code a persistent local goal state, Codex-inspired continuation instructions, pause/resume/clear/status controls, completion-audit guardrails, and a Stop hook that keeps Claude working while a goal is active.
Install
git clone https://github.com/jthack/claude-goal.git
cd claude-goal
./install.sh
This installs:
~/.claude/skills/goalas a symlink to this repo'sgoal/directory- a user-level Claude Code
Stophook in~/.claude/settings.json
The `goal/` directory is the Claude skill package. It contains `SKILL.md`, `scripts/claude_goal.py`, and reference notes.
State is stored at:
~/.claude/goal/goals.sqlite
Usage
/goal find and fix the flaky auth tests
/goal --tokens 250K do deep research and build the full prototype
/goal
/goal status
/goal pause
/goal resume
/goal clear
When a goal is active, the command returns a continuation prompt that wraps the goal text in `` and requires a completion audit before marking the goal complete.
Notes
Claude Code custom skills do not currently expose reliable live per-turn token usage to markdown commands. Token budgets are therefore stored and displayed as soft budgets. Elapsed-time tracking is local and persistent.
The Stop hook blocks Claude from stopping while the current goal is active. It stops blocking when you run `/goal pause`, `/goal clear`, or `/goal complete`.
By default, the runaway guard allows up to 500 Stop-hook continuations for a single active goal. That high default is intentional: `/goal` is meant for long-running work where Claude may need many turns to finish. If you want a stricter cap, set `CLAUDE_GOAL_MAX_STOP_CONTINUES` before launching Claude Code:
export CLAUDE_GOAL_MAX_STOP_CONTINUES=50
Test
python3 -m pytest tests
Related Skills
Foundry
Turn a goal into finished, tested and reviewed work. Foundry runs locally and orchestrates Claude Code or Open
UX Discover
The mandatory 10-field intake before any generation. Asks project type, audience, primary goal, tone, must-hav
New Loop
Design and scaffold a guardrailed agentic loop for a goal
Factory Init
Interactively design and scaffold an autonomous agent loop in this project (goal, gate, state, stop conditions
Syndicate
A Claude Code plugin that spins up a self-governing outfit to do a job. Give it a goal (build an app, write a
Prepr
Pre-PR readiness check. Reviews all changes on the current branch thoroughly — correctness, code quality, cons
Related Agents
GPT Astra High
External worker: gpt-6-astra at high effort, running in the codex CLI. Give it a self-contained brief with goa
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per
Fg Onboarding Specialist
Finance Guru Client Onboarding Specialist (James Cooper). Progressive client profiling, risk tolerance assessm