goal
Skill0 starsChanged 5 months agoMITView on GitHub
Use for "/goal <task>", "loop until it passes", "keep trying until X works", "give it success criteria", or any task phrased as a target state rather than a list of steps. Turns an imperative task into verifiable success criteria, then loops attempt-verify with a hard 5-try cap.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- OlaPietka/easy-tigertheir own version, first seen Nov 15, 2026
- 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
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 versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- PrimeIntellect-ai/prime-agent★ 23ksame name
- coco-research/coco★ 797same name
- cwinvestments/memstack★ 433same name
- jthack/claude-goal★ 113same name
- svy04/ballast★ 73same name
- anthony-chaudhary/fak★ 49same name
- lennoxsaint/Skills★ 48same name
- Infinite-Labs-AI/infinite-skills★ 43same name
- manusco/resonance★ 38same name
- Sanexxxx777/curated-claude-code★ 16same name
38 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- annotateSkill
- debug-loop-breakerSkill
- deploy-checklistSkill
- growth-playbookSkill
- security-scannerSkill
- seo-auditSkill
- svg-diagramSkill
- tdd-disciplineSkill
- teaching-modeSkill
- verify-frontend-changeSkill
- SKILL_NAMESkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 44 edited versions we read keep these.
8
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 18
Every criterion must be a runnable, observable check — a command, a test, a curl, a browser behavior.
- Distinctive: line 26
If the task can't be made verifiable, stop and ask — don't start looping on a vague goal.
- Distinctive: line 30
Before the first attempt, write the numbered plan the user will see if this escalates:
- Distinctive: line 36
Keep it short. The plan can change try-to-try (see Step 3) but it must exist before try #1.
- Distinctive: line 45
Only then change something.
- Distinctive: line 47
Never re-run an unchanged fix hoping for a different result — that is not a new try, it's the same try with a wasted cycle.
- Distinctive: line 61
Never declare success unless the verification actually ran and passed in this session.
- Distinctive: line 72
"5 tries" is per-goal, not per-session: If the goal is re-scoped into a genuinely different goal, the counter resets — but say so out loud …
“Common” is measured: kept by at least 6 in 10 of the 44 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
Skill: Goal-Driven Execution
Don't tell it what to do — give it success criteria and watch it go. But bounded: max 5 tries, hard cap, always.
Purpose
Transform an imperative task ("fix the bug", "add validation") into a runnable success criterion, then loop attempt -> verify until green or the cap is hit. This trades open-ended agent looping (which drifts and rationalizes "close enough") for a bounded, falsifiable contract.
This is an original implementation inspired by Andrej Karpathy's LLM-coding-pitfalls observations (via multica-ai/andrej-karpathy-skills) — not a copy of that work.
Step 1 — Lock success criteria BEFORE building
Every criterion must be a runnable, observable check — a command, a test, a curl, a browser behavior. Not "works", not "faster", not "should be fine now".
| Imperative task | Verifiable criterion |
| "Fix the bug" | A test that reproduces it exists and passes |
| "Add validation" | These 3 invalid inputs return 422; 2 valid inputs return 200 |
| "Make it faster" | p95 latency < 200ms on a named benchmark script, measured before and after |
If the task can't be made verifiable, stop and ask — don't start looping on a vague goal. A criterion you can't run is not a criterion.
Step 2 — State the try plan
Before the first attempt, write the numbered plan the user will see if this escalates:
- [action] — verify: [exact command/check]
- [action] — verify: [exact command/check]
- ...
Keep it short. The plan can change try-to-try (see Step 3) but it must exist before try #1.
Step 3 — The loop
Each cycle: attempt -> run verification -> on fail, diagnose first.
On failure:
- State the delta between expected and actual output — exactly, not "it didn't work".
- Form a new hypothesis for why.
- Only then change something.
Never re-run an unchanged fix hoping for a different result — that is not a new try, it's the same try with a wasted cycle.
The 5-try hard cap (non-negotiable)
A "try" = one attempt at making the criteria pass, ended by actually running the verification.
On the 5th failed try: STOP. Do not attempt a 6th. Switch to the debug-loop-breaker protocol (also in this collection) and report:
- A table: try # / hypothesis / what changed / result
- Current best hypothesis
- What information or decision is needed from the user to continue
Honesty rule
Never declare success unless the verification actually ran and passed in this session. A partial pass is not done — say plainly which criteria are still red.
Model delegation note
When a stronger orchestrator model delegates a build to a cheaper builder model, the orchestrator locks the success criteria up front and judges the verification output; the builder model executes the tries against those locked criteria. The builder does not get to renegotiate criteria on its own — see the Gotcha below on stating renegotiations explicitly.
Gotchas
- Vacuous criteria prove nothing. A check that passes even before the change (a test that asserts nothing, a grep that matches pre-existing text) is not a criterion. When feasible, confirm the check FAILS before implementing.
- A failed verification counts as a full try even if the change was one line. Cheap edits don't earn extra attempts.
- Don't silently weaken criteria mid-loop to make them pass. Renegotiating criteria is allowed but must be stated explicitly — e.g. "relaxing criterion 2 because [reason]".
- "5 tries" is per-goal, not per-session. If the goal is re-scoped into a genuinely different goal, the counter resets — but say so out loud when it happens.
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.

