# Goal Loop

> Advance a concrete goal in bounded verified rounds.

- Skill: `darknesskiller/goal-loop` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add darknesskiller/goal-loop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/darknesskiller/goal-loop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: darknesskiller (https://skillmd.com/u/darknesskiller)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/darknesskiller/goal-loop

---


# Goal Loop

## Steps

1. Parse goal. Read `max_rounds` (default `5`). Reject non-positive integer.
2. Infer completion criteria from goal and repo context. Record uncertainty as blocker only when it prevents safe next action.
3. Choose smallest useful next action. Route through existing skill when one fits.
4. Verify with narrowest useful check: test, diff, command output, artifact.
5. Critique: what proves or disproves completion? What remains? Smallest next action?
6. Criteria evidenced: stop `completed`. max_rounds reached: stop `max_rounds`. Else repeat from 3.

## Rules

A round = one state-changing action + verification. Tool calls are not rounds. Do not spend rounds restating goal, polling without change, or speculative cleanup. Pause before commits, pushes, PR, deploy, production, credentials, irreversible ops.

## Status

End with exactly one: `completed`, `blocked` (name unblocker), `max_rounds` (name remaining criteria).

