loopx
loopx goal-mode setup (NOT Claude Code's built-in /goal). `/loopx <task>` sets up a goal + writes .claude/loop.md; drive the loop with native /loop. bare /loopx = arm; off | status.
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/loopx.md https://raw.githubusercontent.com/loopx-project/loopx/HEAD/loopx/claude_goal_mode/commands/loopx.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/loopx.md https://raw.githubusercontent.com/loopx-project/loopx/HEAD/loopx/claude_goal_mode/commands/loopx.mdFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
---
description: loopx goal-mode setup (NOT Claude Code's built-in /goal). `/loopx <task>` sets up a goal + writes .claude/loop.md; drive the loop with native /loop. bare /loopx = arm; off | status.
argument-hint: <task to do> | (no args = arm) | off | status
allowed-tools: Bash(python3:*)
---
Run the loopx setup helper and read its output:
!`python3 "${CLAUDE_PLUGIN_ROOT}/scripts/goalmode_cmd.py" $ARGUMENTS`
The output is loopx control-plane SETUP / status info — it is the COMPLETE,
user-facing result. Show it to the user VERBATIM and STOP. Do NOT do any work,
claim todos, write files, or loop here: the WORK runs when the user types Claude
Code's native `/loop` (which executes `.claude/loop.md`). Do not summarize a
multi-line `status` detail block into one line.
NOTE: this is `/loopx` (loopx control-plane SETUP), NOT a runtime and NOT Claude
Code's built-in `/goal`. The run loop is native `/loop`; loopx provides the
deterministic `should_run` protocol.