mcpField
C
codex-goals

codex-goals

github.com/pproencaAgent workflows218146 installsUpdated 11w ago
Repository

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

  1. 0131 rules across 8 priority categories
  2. 02Guidance on Goals versus prompts
  3. 03Measurable outcome and verification design
  4. 04Boundary, iteration, and budget policies
  5. 05Lifecycle commands and evidence-based completion
  6. 06Research Goal practices and anti-patterns

Use cases

  1. 01Deciding whether a task warrants a Goal
  2. 02Strengthening or reviewing a Goal before activation
  3. 03Diagnosing incorrect verification or budget exhaustion
  4. 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-goals

After installing, type/codex-goalsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
gotchas.md
metadata.json
assets/templates/
_template.md
references/
_sections.md
bound-blocked-stop-condition.md
bound-iteration-policy.md
bound-respect-budget.md
bound-tools-and-files.md
craft-let-codex-draft-it.md
craft-six-components.md
craft-strengthen-weak-goals.md
craft-template-pattern.md
evidence-audit-before-completion.md
evidence-budget-is-not-completion.md
evidence-honest-blockers.md
fit-prompt-vs-goal.md
fit-skip-for-vague-targets.md
fit-three-required-properties.md
fit-when-to-use.md
life-clear-stale-goals.md
life-inspect-with-slash-goal.md
life-pause-during-detours.md
life-set-with-slash-goal.md
outcome-measurable-end-state.md
outcome-name-the-artifact.md
outcome-narrow-but-discoverable.md
outcome-quantify-thresholds.md
research-anti-patterns.md
research-build-claim-inventory.md

Details

From the project README

OpenAI 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 /goal or a normal prompt
  • Drafting or strengthening a /goal invocation
  • 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

PriorityCategoryImpact (worst rule)Prefix
1Goal Fit DecisionsCRITICALfit-
2Outcome DefinitionCRITICAL / HIGHoutcome-
3Verification SurfaceCRITICAL / HIGHverify-
4Boundaries & IterationHIGHbound-
5Lifecycle CommandsHIGHlife-
6Evidence-Based CompletionHIGHevidence-
7Crafting Strong GoalsMEDIUMcraft-
8Research Goals & Anti-PatternsMEDIUMresearch-

Individual rule impacts are listed inline in the per-rule frontmatter.

Quick Reference

1. Goal Fit Decisions (CRITICAL)
2. Outcome Definition (CRITICAL)
3. Verification Surface (CRITICAL)
4. Boundaries & Iteration (HIGH)
5. Lifecycle Commands (HIGH)
6. Evidence-Based Completion (HIGH)
7. Crafting Strong Goals (MEDIUM)
  • craft-six-components — Define Six Components in Every Strong Goal — Outcome, Verification, Constraints, Boundaries, Iteration Policy, Blocked Stop
  • craft-template-pattern — Use the Canonical "verified by … while preserving … Use … Between iterations … If blocked …" Pattern
  • craft-let-codex-draft-it — Ask Codex to Draft the Goal from a Plain-Language Description, Then Tighten
  • craft-strengthen-weak-goals — Strengthen a Weak Goal by Naming the End State, Verification Surface, and Constraints
8. Research Goals & Anti-Patterns (MEDIUM)

How to Use

Read individual reference files for detailed explanations and worked examples comparing weak vs strong Goal text:

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

FileDescription
AGENTS.mdCompiled TOC built by build-agents-md.js
references/_sections.mdCategory definitions and impact ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information
gotchas.mdFailure points discovered through use

Comments

Markdown supported