Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By frictionless-aiv0.1.0MITIn 1 marketplace
Codex-style /goal loops backed by a shell check that decides when the work is done.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A shell check, not agent prose, decides when the work is done.
Goal Loop is a small Cursor plugin and portable loop pattern. It gives your agent a /goal command that keeps working until a shell check passes.
The product is intentionally small:
/goal.cursor/goal/active.jsonUse it when you want an agent to keep going until npm test, npm run build, a smoke script, or another concrete command passes. Do not use it as a broad agent platform, a planning OS, or a marketplace of agent behaviors. That is outside what this project does.
| Command | Purpose |
|---|---|
/goal <objective> | Start an active check-backed goal loop. |
/plan [objective] | Draft objective and check before activation. |
/goal-status | Read the active goal and last check result. |
/goal-abort | Mark the active goal aborted, or remove it with --remove. |
/goal-pause | Pause the active goal; hook skips the check until resumed. |
/goal-resume | Resume a paused goal. |
Goal Loop turns a normal objective into a bounded loop:
/goal writes a contract to .cursor/goal/active.json.followup_message with the failure context and log path.completed and returns {}.That is the whole product.
It does not invent new agent thinking. It does not prove more than your check covers. It does not replace good scoping, good tests, or your own judgment.
The most effort Goal Loop will ever ask of you:
/add-plugin goal-loop
After marketplace publication. For local development with Cursor Agent CLI:
cursor-agent --plugin-dir "$PWD" --workspace /path/to/your/project
claude plugin install @bodecloud/goal-loop
Or use Git hooks directly: copy hooks/hooks-claude.json into ~/.claude/hooks.json and hooks/goal-stop-claude.sh into your PATH. Goal Loop reads .cursor/goal/active.json from the project root, the same file Cursor uses, so the loop state is portable across hosts.
clawhub install goal-loop
Installs Goal Loop as an OpenClaw skill from ClawHub. OpenClaw applies it on coding tasks and exposes the /goal commands. Without ClawHub, copy .openclaw/skills/ into ~/.openclaw/skills/.
codex plugin install @bodecloud/goal-loop
Goal Loop uses the same .cursor/goal/ state files that Cursor uses, so the contract is portable across editors and CLI agents.
gemini extensions install https://github.com/bodecloud/goal-loop
Loads the ruleset as always-on context every session. The skills/ ship too when a task needs them.
Qoder auto-loads AGENTS.md from the repo root as always-on context, so running Goal Loop from a checkout works with zero setup. For per-project rules, copy .qoder/rules/goal-loop.md into your project's .qoder/rules/.
Copy AGENTS.md into your project root. For the CLI, copy .github/copilot-instructions.md into your project. The stop-hook adapter (hooks/goal-stop-claude.sh) works for Claude Code, Grok, and Copilot CLI.
Which files map to which agent: Adapting Goal Loop to other agents.
| Host | Command |
|---|---|
| Cursor | Remove the plugin from Cursor settings |
| Claude Code | claude plugin remove goal-loop |
| OpenClaw | clawhub uninstall goal-loop |
| Cursor / Codex / Qoder / Copilot / Gemini | Delete the copied rule file |
These remove the plugin's own files. They leave behind project-local state in .cursor/goal/. To clean that up:
rm -rf .cursor/goal/active.json .cursor/goal/draft.json .cursor/goal/runs/
npx claudepluginhub frictionless-ai/goal-loop --plugin goal-loopBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground