npx claudepluginhub lgqyhm2010/loop-goalDiscipline rules for long-running agent tasks — recurring loops and run-until-done goals. Checkpoint to .loopgoal/state.json, isolate each iteration in a fresh subagent, and write an explicit exit condition.
English · 简体中文 · 繁體中文 · 日本語 · Español · Français · العربية · हिन्दी · Português (BR) · Русский · বাংলা
A discipline skill for running long tasks reliably — tasks that either repeat on a schedule (loops) or run until a goal is met (goals).
loop-goal is a single SKILL.md under skills/loop-goal/. Pick your tool below —
it installs into Claude Code, Codex, and GitHub Copilot.
The skills CLI installs the skill —
no clone, no manual copy:
npx skills add lgqyhm2010/loop-goal -a claude-code -a codex -a github-copilot -y
Drop any -a … target you don't need. Add -g to install for every project
instead of just the current one.
npx skills add lgqyhm2010/loop-goal -a claude-code (-g for global)/plugin marketplace add lgqyhm2010/loop-goal
then /plugin install loop-goal@lgqyhm2010skills/loop-goal/ into .claude/skills/npx skills add lgqyhm2010/loop-goal -a codex — installs into
.agents/skills/loop-goal/. Project-level install is recommended.AGENTS.md into your own
repo's AGENTS.md (or ~/.codex/AGENTS.md) so the discipline is always loaded.npx skills add lgqyhm2010/loop-goal -a github-copilot — installs
into .agents/skills/loop-goal/..github/copilot-instructions.md into your own
repo's .github/copilot-instructions.md.Notes. For Codex, prefer a project-level install or the
AGENTS.mdroute — the CLI's global (-g) path (~/.codex/skills/) may not match where Codex reads global skills. For Copilot, the.github/copilot-instructions.mdroute is the most reliable way to keep the discipline always-on.
Once installed, just describe a looping or run-until-done task — the skill triggers on its own (see When it triggers).
Long-running agent tasks fail in three quiet ways:
The fixes are well known (checkpoint to a file, isolate context per iteration, write the exit condition down). The trouble is they rely on the agent remembering to do them — and discipline drifts over a long run. This skill turns the three fixes into enforced rules.
When invoked, the skill:
.loopgoal/state.json holds the
single recoverable state; git commits hold history.It is pure discipline: it writes no code, runs no commands, and
does not wrap /loop or /schedule — it constrains how you run them.
Phrases like "loop", "goal", "keep running", "run in a loop", "until X", "run autonomously" — or their Chinese equivalents "持续做", "每隔", "循环跑", "直到…为止", "自主跑", "跑个 loop" — or an explicit "use the loop-goal skill".
Works in any project. It depends only on built-in tools (Agent, git)
and harness mechanisms (/loop, ScheduleWakeup). The superpowers
plugin is an optional companion, never a requirement.
skills/loop-goal/SKILL.md — the skill itself: mode detection, the checkpoint
format, the six rules.skills/loop-goal/templates/state.json — the checkpoint skeleton, copied into
a project by rule R1..claude-plugin/ — Claude Code plugin + marketplace manifests.AGENTS.md, .github/copilot-instructions.md — thin always-on pointers for
Codex and Copilot.DESIGN.md — design rationale and decisions.7-day visitors to each marketplace page
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.
tasteskill 2.5.1: professional company websites at the figma.com and x.ai level, checked in a real browser.