About codex-goals
A Codex skill for deciding when to use persistent Goals and writing, reviewing, and managing them. Its 31 prioritized rules focus on measurable outcomes, runnable verification, evidence, and Goal lifecycle.
Key features
- 0131 rules across 8 priority categories
- 02Guidance on Goals versus prompts
- 03Measurable outcome and verification design
- 04Boundary, iteration, and budget policies
- 05Lifecycle commands and evidence-based completion
- 06Research Goal practices and anti-patterns
Use cases
- 01Deciding whether a task warrants a Goal
- 02Strengthening or reviewing a Goal before activation
- 03Diagnosing incorrect verification or budget exhaustion
- 04Planning evidence standards for research Goals
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ pproenca/ dot-skills --skill codex-goalsAfter installing, type/codex-goalsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.mdgotchas.mdmetadata.jsonassets/templates/_template.mdreferences/_sections.mdbound-blocked-stop-condition.mdbound-iteration-policy.mdbound-respect-budget.mdbound-tools-and-files.mdcraft-let-codex-draft-it.mdcraft-six-components.mdcraft-strengthen-weak-goals.mdcraft-template-pattern.mdevidence-audit-before-completion.mdevidence-budget-is-not-completion.mdevidence-honest-blockers.mdfit-prompt-vs-goal.mdfit-skip-for-vague-targets.mdfit-three-required-properties.mdfit-when-to-use.mdlife-clear-stale-goals.mdlife-inspect-with-slash-goal.mdlife-pause-during-detours.mdlife-set-with-slash-goal.mdoutcome-measurable-end-state.mdoutcome-name-the-artifact.mdoutcome-narrow-but-discoverable.mdoutcome-quantify-thresholds.mdresearch-anti-patterns.mdresearch-build-claim-inventory.mdDetails
From the project READMEOpenAI Codex Goals Best Practices
Reference for writing and managing Codex Goals — the persistent objective feature introduced in Codex 0.128.0. "Best practices" here means the patterns and anti-patterns that determine whether a Goal completes against the right evidence vs. silently against the wrong surface. Contains 31 rules across 8 categories, ordered by how much they affect whether a Goal completes correctly. Derived from the official OpenAI cookbook article "Using Goals in Codex".
When to Apply
Reference these guidelines when:
- Deciding whether a task warrants a
/goalor a normal prompt - Drafting or strengthening a
/goalinvocation - Reviewing a Goal someone else wrote before activating it
- Debugging a Goal that completed against the wrong verification surface
- Setting up a research Goal where exact proof may not be available
- Managing Goal lifecycle (pause, resume, clear) across thread sessions
- Writing the iteration policy or blocked stop condition for a long-running Goal
- Diagnosing a Goal that hit its budget without completing
Rule Categories by Priority
| Priority | Category | Impact (worst rule) | Prefix |
|---|---|---|---|
| 1 | Goal Fit Decisions | CRITICAL | fit- |
| 2 | Outcome Definition | CRITICAL / HIGH | outcome- |
| 3 | Verification Surface | CRITICAL / HIGH | verify- |
| 4 | Boundaries & Iteration | HIGH | bound- |
| 5 | Lifecycle Commands | HIGH | life- |
| 6 | Evidence-Based Completion | HIGH | evidence- |
| 7 | Crafting Strong Goals | MEDIUM | craft- |
| 8 | Research Goals & Anti-Patterns | MEDIUM | research- |
Individual rule impacts are listed inline in the per-rule frontmatter.
Quick Reference
1. Goal Fit Decisions (CRITICAL)
fit-when-to-use— Use a Goal When the Finish Line Is Clear but the Path Is Uncertainfit-three-required-properties— Require Three Properties Before Setting a Goal — Durable Objective, Evidence Finish Line, Multi-Turn Pathfit-prompt-vs-goal— Choose a Prompt for Single-Turn Work, a Goal for Outcome-Driven Continuationfit-skip-for-vague-targets— Skip a Goal When the Finish Line Is Vague
2. Outcome Definition (CRITICAL)
outcome-measurable-end-state— State the Outcome as a Measurable End State, Not an Activityoutcome-quantify-thresholds— Pin Thresholds with Numbers, Not Relative Comparativesoutcome-narrow-but-discoverable— Make the Outcome Narrow Enough to Audit, Broad Enough to Allow Discoveryoutcome-name-the-artifact— For Generated Artifacts, Name the Artifact and Its Validity Conditions
3. Verification Surface (CRITICAL)
verify-name-the-surface— Always Name the Verification Surface Inside the Goalverify-include-constraints— Include Constraints That Must Not Regress Alongside the Primary Metricverify-multiple-checks-when-needed— Use Multiple Verification Surfaces When a Single Check Is Insufficientverify-surface-must-be-runnable— The Verification Surface Must Be Something Codex Can Actually Run or Inspect
4. Boundaries & Iteration (HIGH)
bound-tools-and-files— Bound the Files, Tools, and Repositories Codex May Usebound-iteration-policy— Define an Iteration Policy — How Codex Chooses the Next Experiment Between Turnsbound-blocked-stop-condition— Define a Blocked Stop Condition — What to Report When No Defensible Path Remainsbound-respect-budget— Treat the Budget Limit as Halt-and-Summarize, Not Extend
5. Lifecycle Commands (HIGH)
life-set-with-slash-goal— Set a Goal with/goal <text>— Available from Codex 0.128.0life-pause-during-detours— Pause the Goal Before Unrelated Detours, Resume When Returninglife-clear-stale-goals— Clear Stale Goals on Resumed Threadslife-inspect-with-slash-goal— Use Bare/goalto Inspect Current Objective and State Before Continuation
6. Evidence-Based Completion (HIGH)
evidence-audit-before-completion— Audit the Objective Against Concrete Evidence Before Marking a Goal Completeevidence-budget-is-not-completion— Reaching the Budget Limit Is Not the Same as Completing the Objectiveevidence-honest-blockers— Surface Blockers Explicitly — Never Substitute a Proxy for the Asked Claim
7. Crafting Strong Goals (MEDIUM)
craft-six-components— Define Six Components in Every Strong Goal — Outcome, Verification, Constraints, Boundaries, Iteration Policy, Blocked Stopcraft-template-pattern— Use the Canonical "verified by … while preserving … Use … Between iterations … If blocked …" Patterncraft-let-codex-draft-it— Ask Codex to Draft the Goal from a Plain-Language Description, Then Tightencraft-strengthen-weak-goals— Strengthen a Weak Goal by Naming the End State, Verification Surface, and Constraints
8. Research Goals & Anti-Patterns (MEDIUM)
research-define-evidence-standard-first— For Research Goals, Define the Evidence Standard Before Investigation Beginsresearch-build-claim-inventory— Decompose Research Goals into a Claim Inventory Mapped to Evidence Channelsresearch-preserve-epistemic-ledger— Final Report Must Preserve Epistemic Levels Per Claim — Use a Structured Ledger Entryresearch-anti-patterns— Avoid the Three Common Goal Anti-Patterns — Keep-Going Wishes, Hidden Uncertainty, Overclaim on Proxy
How to Use
Read individual reference files for detailed explanations and worked examples comparing weak vs strong Goal text:
- Section definitions — Category structure and impact levels
- Rule template — Template for adding new rules
Each rule file contains:
- A 2-4 sentence explanation of WHY the rule matters
- An "Incorrect" example of a weak Goal or anti-pattern
- A "Correct" example showing how to strengthen it
- Reference back to the cookbook section it derives from
Reference Files
| File | Description |
|---|---|
| AGENTS.md | Compiled TOC built by build-agents-md.js |
| references/_sections.md | Category definitions and impact ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
| gotchas.md | Failure points discovered through use |