codex-goals
БесплатноБез исполняемых скриптовНе проверенPatterns and anti-patterns for using OpenAI Codex Goals — the persistent objectives feature introduced in Codex 0.128.0. Use this skill whenever writing…
от pproenca★ 231 звезда на GitHubОб этом скилле
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
/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 E
Установить codex-goals в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл codex-goals?
Patterns and anti-patterns for using OpenAI Codex Goals — the persistent objectives feature introduced in Codex 0.128.0. Use this skill whenever writing, reviewing, or debugging a `/goal` invocation, deciding whether a task should be a Goal at all, drafting a research Goal that needs an evidence ledger, or diagnosing a Goal that completed against the wrong surface. Triggers on `/goal`, "Codex Goal", "Codex goals", "persistent objective", "evidence-based completion", "iteration policy", "blocked stop condition", or any user message describing a multi-turn Codex task with a defined finish line. Trigger even if the user doesn't explicitly mention Goals — if they're typing "/goal" or asking Codex to "keep going until X", this skill applies.
Как установить скилл codex-goals?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл codex-goals запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic