goal
Skill9 starsChanged 3 months agoMITView on GitHub
Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.
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
- Sanexxxx777/curated-claude-code★ 16same name
- woxiangyangzhimao/skills★ 14same 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 repository3 other files it gives its agents.
- ambitiousSkill
- email-triage-proSkill
- save-10-percentSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 20 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
20
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not redesign the plan or reopen decisions unless a requirement is impossible or dangerously unclear.
- Distinctive: line 18
If no plan, spec, or task list is provided, ask the user to paste the plan.
- Distinctive: line 19
If a plan is provided, do not interview unless a critical blocker would make the goal unsafe or impossible.
- Distinctive: line 20
Keep one goal to one bounded outcome.
- Distinctive: line 22
Prefer the shortest contract that preserves every execution-relevant fact.
- Very specific: line 30
Treat packets as local runtime artifacts.
- Distinctive: line 35
Write a short goal title with no more than eight meaningful words.
- Very specific: line 42
Use the exact packet_dir, goal_path, progress_path, and goal_slug returned as JSON.
- Very specific: line 43
Read assets/goal.md.template, fill every token, and save the final goal.md.
- Very specific: line 45
Read assets/progress.md.template, fill every token including the saved goal hash, and save progress.md.
- Distinctive: line 47
Use absolute paths in the launcher.
- Very specific: line 53
Never rewrite owner-controlled sections of goal.md while executing.
- Distinctive: line 54
Use this authority order:
- Distinctive: line 60
Do not claim that editing the file interrupts a tool call already in flight.
- Distinctive: line 64
After creating the packet, return:
- Distinctive: line 73
Do not start the goal unless the user explicitly asks to start it.
- Very specific: line 77
Write goal.md as a concise operational brief:
- Distinctive: line 92
Prefer numbers, thresholds, parity targets, checklists, named artifacts, or pass/fail checks when supported by the source plan.
- Distinctive: line 96
After the same symptom or error repeats three times, inspect fresh state and change strategy.
- Distinctive: line 99
Before completion, require cleanup and review of failed attempts, temporary tools, dead code, reduced coverage, and leftover artifacts.
- Distinctive: line 100
Keep proof evaluator-visible.
- Distinctive: line 104
When the plan touches live systems, member data, payments, publishing, messages, calendar events, GitHub, production apps, or public copy:
- Distinctive: line 108
If authorization is unclear, stop with the exact prepared output and ask for approval.
- Distinctive: line 109
If credentials, CAPTCHA, passkey, SMS, OTP, recovery, password, or security prompts appear, stop and report the blocker.
- Distinctive: line 116
Use the user's plan as source truth.
- Distinctive: line 119
Keep the complete prompt at 4,000 characters or fewer, including headings and whitespace.
“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
Turn a user-provided plan into one bounded, verifiable goal.
- For Codex, create a durable goal packet and return its paste-ready
/goallauncher. - For Claude, return one paste-ready
/goalprompt no longer than 4,000 characters. - Return notes only when the user explicitly asks for rationale, alternatives, or critique.
Core contract
- Preserve the user's strategy, requirements, constraints, names, paths, dates, prices, gates, and stop rules.
- Do not redesign the plan or reopen decisions unless a requirement is impossible or dangerously unclear.
- If no plan, spec, or task list is provided, ask the user to paste the plan. Ask only that.
- If a plan is provided, do not interview unless a critical blocker would make the goal unsafe or impossible.
- Keep one goal to one bounded outcome. Route recurring or time-triggered routines to a scheduling or loop skill when one is available.
- Resolve Codex versus Claude from the request or destination. Ask only when the platform is genuinely ambiguous and changes the result.
- Prefer the shortest contract that preserves every execution-relevant fact.
- Reference accessible source files by exact path and reading order instead of duplicating them. Inline anything the executor cannot retrieve.
Codex goal packet
For Codex, treat native Goal Mode as the lifecycle authority. The packet is the durable contract and progress surface; it does not replace /goal status, pause, resume, or clear controls.
Store each packet at .codex/goals/<goal-slug>/ inside the resolved workspace root.
Treat packets as local runtime artifacts. Do not edit .gitignore, stage, or commit them unless the user explicitly asks.
Create the packet
- Resolve the workspace root to the Git root when one exists; otherwise use the current working directory.
- Write a short goal title with no more than eight meaningful words.
Reserve a unique packet directory with:
python3 "<skill-root>/scripts/goal_slug.py" --workspace-root "<workspace-root>" --title "<goal-title>" --reserve- Use the exact
packet_dir,goal_path,progress_path, andgoal_slugreturned as JSON. The helper normalizes lowercase ASCII slugs, keeps the final suffixed slug within 64 characters, and reserves collisions without overwriting an existing packet. - Read
assets/goal.md.template, fill every token, and save the finalgoal.md. - Compute the SHA-256 of that saved file.
- Read
assets/progress.md.template, fill every token including the saved goal hash, and saveprogress.md. - Confirm neither saved file contains a
{{...}}template token. - Use absolute paths in the launcher. Quote paths containing spaces.
Ownership and steering
goal.mdis owner-editable source truth for the outcome, constraints, permissions, exit criteria, and steering notes.progress.mdis Codex-owned runtime state. Codex updates it after every meaningful checkpoint and before stopping.- Never rewrite owner-controlled sections of
goal.mdwhile executing. If a user gives steering in the active thread, follow it immediately and record the accepted decision inprogress.md. - Use this authority order:
- latest explicit instruction in the active thread
- current
goal.md progress.md
- Re-read
goal.mdbefore each checkpoint, after resume or compaction, and before every live, irreversible, or externally visible action. - Record the SHA-256 of the last-read
goal.mdinprogress.md. When it changes, summarize the steering absorbed and adjust the next checkpoint before continuing. - Do not claim that editing the file interrupts a tool call already in flight. File steering takes effect at the next re-read.
Return the launcher
After creating the packet, return:
- A clickable link to
goal.md. - A copyable launcher in this shape:
/goal Execute the goal contract at "<absolute-path>/goal.md". Treat native /goal as the lifecycle authority. Re-read goal.md before every checkpoint, after resume or compaction, and before live or irreversible actions. Maintain "<absolute-path>/progress.md" after every meaningful checkpoint, including the current checkpoint, verified evidence, remaining work, blockers, accepted steering, and the SHA-256 of the last-read goal.md. Continue until the contract's exit criteria are proven or a hard blocker requires the owner.Do not start the goal unless the user explicitly asks to start it. Creating the packet and launcher does not itself prove Goal Mode is active.
Goal contract standard
Write goal.md as a concise operational brief:
- Outcome
- Workspace and source truth
- Success and loop criteria
- Autonomy
- Hard stop rules
- Required work
- Verification
- Steering notes
- Final report
Apply these rules:
- Define verifiable success criteria that Codex can evaluate after any turn.
- Prefer numbers, thresholds, parity targets, checklists, named artifacts, or pass/fail checks when supported by the source plan.
- Include known starting points, suspect areas, allowed tools, and acceptable limitations.
- Define what Codex must inspect, change, verify, and decide at each checkpoint.
- Require fresh progress evidence before continuing claims: changed files, passing checks, improved metrics, captured proof, or exact blocker text.
- After the same symptom or error repeats three times, inspect fresh state and change strategy. Stop with the exact blocker if the changed strategy still cannot progress.
- For indefinite-seeming work, include a turn, time, or checkpoint cap.
- For visual work, use feature checks, specs, design-system adherence, screenshots, or visual diffs instead of "pixel perfect" alone.
- Before completion, require cleanup and review of failed attempts, temporary tools, dead code, reduced coverage, and leftover artifacts.
- Keep proof evaluator-visible. Separate draft, local, staged, runtime-verified, delivered, and live/public states.
Live-action gates
When the plan touches live systems, member data, payments, publishing, messages, calendar events, GitHub, production apps, or public copy:
- Codex may inspect, draft, stage, screenshot, validate, and prepare.
- Codex may submit, send, publish, delete, charge, change access or pricing, deploy, merge, announce, or write production data only when the plan explicitly authorizes that exact action.
- If authorization is unclear, stop with the exact prepared output and ask for approval.
- If credentials, CAPTCHA, passkey, SMS, OTP, recovery, password, or security prompts appear, stop and report the blocker.
Claude mode
For Claude, keep the prompt-only behavior:
- Begin with
/goal. - Use the user's plan as source truth.
- Include outcome, sources, success and loop criteria, autonomy, hard stops, required work, verification, and final report.
- Preserve live-action gates and proof-state distinctions.
- Keep the complete prompt at 4,000 characters or fewer, including headings and whitespace.
- Return only the prompt unless the user asks for notes.
Quality check
Before returning:
- Confirm the goal is bounded and its stopping condition is objectively testable.
- Confirm every source requirement, permission boundary, blocker, and proof obligation survives.
- Confirm looped work says when to continue, change strategy, or stop.
- Confirm the goal packet contains no unresolved template tokens.
- Confirm
goal.mdandprogress.mdare in the same uniquely reserved packet directory. - Confirm the launcher uses the exact absolute paths and does not imply Goal Mode is already active.
- Confirm
progress.mdis agent-owned andgoal.mdremains owner-editable. - Confirm Claude output stays within 4,000 characters.
- Confirm no live action is authorized by implication.
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.

