goal
Skill16 starsChanged 5 months agoMITView on GitHub
Autonomous goal loop — give it ONE goal plus how to verify it, the agent runs check→fix→check itself and comes back only with the finished result (code with audit, research with fact-check, content with critique, audit/backtest). Self-verification instead of constant supervision, with hard safety guards. Vary the loop with a verification rubric designed before it runs. Triggers — "work autonomously to the result", "don't come back until it's done", "run the loop yourself", "drive it to done".
- Commits and pushes
47 other projects use a version of this.
Adopted by
Most recently taken up by
- caidanw/skillstheir own version, first seen Nov 8, 2026
- Dariusplayer09/adaptive-skillstheir own version, first seen Nov 8, 2026
- anthony-chaudhary/faktheir own version, first seen Nov 3, 2026
- iurysza/agent-skillstheir own version, first seen Nov 1, 2026
- crsmithdev/alephtheir own version, first seen Nov 1, 2026
- menot-you/n-soultheir own version, first seen Nov 1, 2026
Used with
Projects with it also use origin, update-cli-config and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
0mlkrizzz655335vSkillorigin
origin CLI 管理。安装、登录、更新、修复 origin.cursor.com 的 CLI。"disabled-environments:
Also in 3 projects that use this
PandelisZSkillupdate-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
Also in 4 projects that use this
0mlkrizzz655335vSkillreview-bugbot
缺陷导向代码审查。用 Bugbot 子代理找 bug。
Also in 3 projects that use this
32103210Skillmigrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.
Also in 4 projects that use this
32103210Skillupdate-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Also in 4 projects that use this
MicrosoftSkillautomate
Propose an automation from a completed task or a new idea, then create it after approval. Use when the user asks to create an automation or wants scheduled local or cloud agent work.
Also in 4 projects that use this
- +1 more from 32103210
- +3 more from 0mlkrizzz655335v
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 47
- PrimeIntellect-ai/prime-agent★ 23ksame name
- coco-research/coco★ 797same name
- cwinvestments/memstack★ 425same name
- jthack/claude-goal★ 113same name
- svy04/ballast★ 73same name
- anthony-chaudhary/fak★ 47same name
- Infinite-Labs-AI/infinite-skills★ 43same name
- manusco/resonance★ 38same name
- woxiangyangzhimao/skills★ 14same name
- caidanw/skills★ 11same name
37 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- konsiliumSkill
- longreadSkill
- pre-pushSkill
- proofSkill
- ship-secureSkill
- system-healthSkill
- teachSkill
- vetSkill
- workflow-upgradeSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
NOT for: trivial work (just do it), pure discussion, and ⚠️ NOT for irreversible/production mutations without confirmation (see guards).
- Distinctive: line 40
Failed → read logs, fix, retry: Don't stop after the first failure.
- Distinctive: line 46
Result honesty = blocking gate: NEVER fake a "green" — real runs, not mocks.
- Distinctive: line 56
If STOP — what blocks it + what's already done + what's needed from the user.
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/goal — autonomous goal loop
You prompt yourself a proactive executor: state a GOAL plus how to verify it, and the agent runs check→fix→check on its own, returning ONLY with the finished result. Frees you from sitting at the monitor nudging every step.
This instruments four principles (think before code · simplicity · surgical edits · drive through a verifiable target) into a reusable loop. Not a replacement for a heavy decomposing orchestrator — /goal is for ONE mid-sized goal. The design phase (goal / verification / control rubrics) is cherry-picked from Looper (ksimback) — the framework wasn't installed, the techniques were.
When to use
- A clear goal with a verifiable done-criterion: a bug (test reproduces → green), research (facts verified), content (critic ≥ threshold), audit (findings adversarially checked), refactor (tests + lint green).
- NOT for: trivial work (just do it), pure discussion, and ⚠️ NOT for irreversible/production mutations without confirmation (see guards).
Goal template (fill in BEFORE starting — design phase, don't skip)
Goal: <a concrete OUTCOME + the artifact/state that proves completion; NOT "improve X">
Sharpness test: what counts as "done" if two competent agents disagreed? Subjective → measurable proxy.
Scope: included <…> / excluded <…> / max depth <…>
Context: <path to project/data, symptoms, logs — what to READ, not assume>
Checks (typed, programmatic FIRST — see "Verification"):
- [programmatic] <test / compile / run script / grep an invariant / critic ≥ N>
- [judge] <rubric for semantics — judged by a SEPARATE pass, not the author>
- [human] <user sign-off: taste / business / money / legal risk>
Done-criterion: <all programmatic green AND judge=pass AND human (if any)>
Budget (whichever hits first = STOP): cycles N=3-5 · time <if relevant> · tokens <if relevant>Verification — types (programmatic → judge → human)
- programmatic (preferred WHENEVER possible): a command returns pass/fail — test/build/lint/schema/grep/script. Deterministic goes FIRST.
- judge (semantics code can't cheaply check — content/research/design quality): scored against a SPECIFIC rubric (measurable dimensions, not "high quality"). ⚠️ the agent does NOT judge its own semantics (a host grading its own work tends to declare it done = the failure mode of naive autonomy) → a DIFFERENT pass / different model judges. Verdict as strict JSON:
{verdict: pass|revise, blocking_issues: […], confidence}; if it doesn't parse → treat asrevise. - human: taste / business judgment / private knowledge / legal risk / money — the user signs off (= the mutation guard, the loop does not bypass it).
- Anti-patterns: "no errors" as the only criterion; all judge/human when a programmatic check exists; a rubric with no dimensions; a judge given hidden context it never received.
Loop rules
- Reproduce/understand BEFORE editing — find root cause, don't patch blindly (blind patching burns context).
- Minimal surgical edit — only what moves toward the goal.
- Run REAL checks — commands/script/run, not "looks right".
- Failed → read logs, fix, retry. Don't stop after the first failure.
- Don't ask while you can move yourself — but don't invent missing facts (unknown API/version → look it up, don't guess).
- STOP only when: external access/secret/confirmation of a production mutation is needed, OR ≥N failed cycles on the same error (anti-stall), OR no-progress (M cycles with no metric/artifact advance even if errors differ — spinning burns context), OR budget (time/tokens) exhausted → escalate.
⚠️ Guards (the difference from "just autonomous" when real money/irreversible actions are in play)
- Production/irreversible mutation = ALWAYS confirm; the loop does not bypass it: process restart, order, deploy, rm, git push, kill — the loop reaches the mutation point and STOPS for confirmation. Read-only/code/backtest/content cycle freely.
- Result honesty = blocking gate: NEVER fake a "green" — real runs, not mocks; no faked test/result. Can't reach it → STOP + escalate, NOT fake.
- Back up BEFORE editing + verify AFTER by checking (not on faith): no "it works" without a live run; positive evidence (the feature fired in logs); "no errors" ≠ working.
- Numeric stop-criterion — ≥3-5 cycles on the same error/file = STOP, don't force it.
- Durable trail for a long loop —
run-log.md(each step/decision/check result/blocker) +state.json(latest state): survives a context compaction / session break, resume at a gate boundary, not from scratch. Optional for short loops. - Side-effect after restart = idempotency/duplicate-check — an effectful action (order/deploy/notification/write) must not duplicate when the loop restarts. Before repeating an action, check whether it already happened.
Final report (only when the goal is reached OR on STOP)
- Root cause briefly (what was actually wrong, not the symptom).
- Diff summary — what changed and why (each edit ← from the goal).
- The real check commands and their RESULT (the output, not "passed").
- If STOP — what blocks it + what's already done + what's needed from the user.
Anti-actions
- ❌ Don't bypass confirmation of a production mutation "because it's autonomous mode".
- ❌ Don't fake check results to exit the loop.
- ❌ Don't patch blindly without root cause (≥3 blind = STOP).
- ❌ Don't grind >N cycles on the same error — it burns context, escalate.
- ❌ Don't return "seems done" without checks actually run.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

