goal-loop
Draft and explain persistent goal-loop prompts for long-running agent work with clear stop conditions.
npx skills add sickn33/agentic-awesome-skills --skill goal-loop --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent `/goal` Loop ## What `/goal` is `/goal` is a slash command that turns an agent prompt into a **persistent agent** looping `plan → act → test → review → iterate` until a stop condition is met, the user pauses, or the token budget runs out. Internally called the "Ralph loop." Agents with the `/goal` feature right now: **Codex, Claude Code, and Hermes Agent**. Key difference from a normal prompt: when a turn ends but the goal isn't met, the agent **auto-continues** instead of waiting for input. **Lifecycle states:** `pursuing`, `paused`, `achieved`, `unmet`, `budget-limited`. When monitoring a running `/goal`, every check should include a one-line update to the user: what the agent is doing and whether it is on track. Keep it extremely concise. **Not:** a budget command, a safety boundary, "run forever", or a replacement for `/plan`. It's a contract enforcer with a verification loop. ## Requirements - An agent with the `/goal` feature — right now: Codex, Claude Code, or Hermes Agent - The goals feature enabled in the agent's config - **Subscription auth** — API-key auth does **not** work. A pro-tier plan is the realistic minimum for long runs. ## When to Use it Use only when *
- What /goal is
- Requirements
- When to Use it
- The 5-part contract (every goal needs this)
- Writing a goal (the core deliverable)
- Example (migration)
- Example (coverage lift)
- Writing rules
- Meta-prompting trick (highest-leverage)
- Self-goal setting
- Launching
- Controlling a running goal
- When a goal drifts
- Operational tips
What does the goal-loop skill do?
Draft and explain persistent goal-loop prompts for long-running agent work with clear stop conditions.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill goal-loop --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.