create-goal
Skill1 starsChanged 6 months agoMITView on GitHub
Create a spec-kit-native Codex GOAL.md from an existing spec-kit feature directory. Adapted from AB Method's create-goal concept, but uses spec.md, plan.md, tasks.md, and constitution/checklist artifacts as the source of truth.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- EvolutionAPI/evo-nexustheir own version, first seen Oct 8, 2026
- shravankapavarapu/claude-skillstheir own version, first seen Jul 9, 2026
- Luis85/agentic-workflowtheir own version, first seen May 9, 2026
- evolution-foundation/evo-nexustheir own version, first seen Apr 20, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- EvolutionAPI/evo-nexus★ 545same name
- evolution-foundation/evo-nexus★ 535same name
- Luis85/agentic-workflow★ 0same name
- shravankapavarapu/claude-skills★ 0same name
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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- brainstormingSkill
- diagnoseSkill
- grill-with-docsSkill
- install-merlin-skillsSkill
- merlin-skills-routingSkill
- playwright-cliSkill
- playwright-skillSkill
- gstack-qaSkill
- gstack-shipSkill
- speckit-analyzeSkill
- speckit-checklistSkill
- speckit-clarifySkill
- speckit-cliSkill
- speckit-constitutionSkill
- speckit-implementSkill
- speckit-planSkill
- speckit-specifySkill
- speckit-tasksSkill
- speckit-taskstoissuesSkill
- tddSkill
- to-prdSkill
- zoom-outSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
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
- Very specific: line 8
Create a durable Codex /goal contract from spec-kit artifacts.
- Very specific: line 20
Do not use when the idea has no spec yet.
- Distinctive: line 31
If multiple plausible directories exist, choose the one most clearly referenced by the user or current branch.
- Distinctive: line 41
Read these if present:
- Very specific: line 53
Do not write GOAL.md if:
- Distinctive: line 55
no feature directory can be found.
- Very specific: line 72
Do not write a separate docs/goals/ tree for spec-kit projects.
- Distinctive: line 86
Stop condition: all tasks complete, checks pass, acceptance scenarios satisfied, no unresolved gates.
- Very specific: line 89
Use templates/GOAL.md as the shape.
- Distinctive: line 97
Stop and report the output path plus any unresolved risks.
- Very specific: line 99
Do not start implementation from this skill.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Create Goal
Create a durable Codex /goal contract from spec-kit artifacts.
This skill is the Merlin-owned bridge from Spec Kit artifacts to Codex /goal. It keeps AB Method's useful idea of a persistent GOAL.md, but replaces AB Method project structure with spec-kit feature directories.
When To Use
Use when:
- the user wants to run Codex
/goal; - a feature has
spec.md,plan.md, andtasks.md; - autonomous implementation needs a stop condition, verification loop, and stable source-of-truth list.
Do not use when the idea has no spec yet. Route to speckit-specify or brainstorming first.
Locate The Feature Directory
Find the active feature directory in this order:
.specify/feature.jsonfieldfeature_directory;- environment variable
SPECIFY_FEATURE_DIRECTORY; - the only or newest
specs/<feature>/directory; - a branch-matching
specs/<number>-<slug>/directory.
If multiple plausible directories exist, choose the one most clearly referenced by the user or current branch. Ask only if choosing would materially risk writing the wrong goal.
Required Inputs
The feature directory must contain:
spec.mdplan.mdtasks.md
Read these if present:
research.mddata-model.mdcontracts/quickstart.mdchecklists/memory/constitution.md.specify/memory/constitution.md
Refusal Conditions
Do not write GOAL.md if:
- no feature directory can be found;
- any required input is missing;
spec.mdcontains unresolved[NEEDS CLARIFICATION];plan.mdlacks a concrete technical approach or verification plan;tasks.mdis not executable as a checklist;- constitution or checklist gates are unresolved.
Report the blocking files and exact fixes needed.
Output Path
Write or update:
specs/<feature>/GOAL.mdDo not write a separate docs/goals/ tree for spec-kit projects.
GOAL.md Contract
The goal must include:
- Title and short objective.
- Source-of-truth artifact list with relative paths.
- Success criteria tied to
spec.md. - Execution rules tied to
tasks.md. - Implementation plan summary tied to
plan.md. - Verification loop: tests, quickstart, Playwright/browser proof, QA, review.
- Progress protocol: mark tasks in
tasks.md, keep evidence current. - Safety boundaries: do not change unrelated scope, preserve user-story independence, follow constitution.
- Stop condition: all tasks complete, checks pass, acceptance scenarios satisfied, no unresolved gates.
- Resume note: if interrupted, re-read this
GOAL.md,tasks.md, and latest proof before continuing.
Use templates/GOAL.md as the shape. Keep it concise enough to paste into Codex /goal.
Process
- Inspect the feature directory and required artifacts.
- Validate refusal conditions.
- Extract objective, acceptance scenarios, constraints, tasks, and verification commands.
- Write
GOAL.md. - Stop and report the output path plus any unresolved risks.
Do not start implementation from this skill. The next step is Codex /goal.
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.

