Sibling of
AGENTS.md,AGENTS-WORKFLOW.md,AGENTS-CI.md,AGENTS-RUNTIME.md. Split out of the monolithic AGENTS.md per soc-vuu6.3.
After changing ao command usage in any of these locations, refresh docs/cli-skills-map.md:
skills/*/SKILL.mdskills-codex/*/SKILL.md
Process:
- Update this map from current sources.
- Run
bash tests/docs/validate-doc-release.shandbash tests/docs/validate-skill-count.shbefore pushing.
Codex is a first-class runtime in this repo.
skills/<name>/SKILL.mdis the canonical behavior contract.skills-codex-overrides/<name>/is the Codex-specific tailoring layer.skills-codex-overrides/catalog.jsonis the machine-readable treatment map for the full catalog.skills-codex/<name>/is the checked-in Codex runtime artifact. It is manually maintained, while the legacy manifest/marker files remain part of the validation contract.
Editing an EXISTING skill needs a manual twin mirror — not just regen.
make regen-all/scripts/regen-codex-hashes.shonly refresh the twin's hash record (.agentops-generated.json), not its prose. If you editskills/<name>/references/*.md(orSKILL.md) and only run regen, the marker becomes self-consistent with the stale twin and a green✓ codex hasheslooks handled while the twin still says the old thing. You MUST manually copy the content change intoskills-codex/<name>/references/(runtime-native — no.claude/...tokens), THEN runscripts/regen-codex-hashes.sh --only <name>. Verify with a content diff (grep -c <new-token>on both copies), not the hash exit code. The content-divergence gate (scripts/validate-codex-generated-artifacts.sh) now blocks a sourcereferences/**edit that is not mirrored into the twin — a marker-only codex change no longer satisfies it (age-yxl). The same manual-mirror requirement the docs already state for new skills applies to edits of existing ones.
When a skill change affects Codex behavior, phrasing, orchestration, or UX:
- Update the source skill under
skills/when the shared contract changes. - Update
skills-codex/<name>/SKILL.mddirectly when the Codex runtime copy needs to change, or updateskills-codex-overrides/<name>/when the Codex experience should differ from Claude.- Prompt/operator-layer changes belong in
skills-codex-overrides/<name>/prompt.md. - Durable Codex-only body rewrites belong in
skills-codex-overrides/<name>/SKILL.md.
- Prompt/operator-layer changes belong in
- Run the semantic audit if the checked-in Codex body looks suspicious:
bash scripts/audit-codex-parity.sh # or target one skill bash scripts/audit-codex-parity.sh --skill <name>
- Validate the checked-in Codex artifacts:
bash scripts/audit-codex-parity.sh bash scripts/validate-codex-override-coverage.sh bash scripts/validate-codex-generated-artifacts.sh --scope worktree bash scripts/validate-codex-backbone-prompts.sh bash scripts/validate-codex-rpi-contract.sh bash scripts/validate-codex-lifecycle-guards.sh bash scripts/validate-headless-runtime-skills.sh
Think of skills/ as the shared contract, skills-codex-overrides/ as the durable Codex-only tailoring layer, and skills-codex/ as the checked-in Codex artifact shipped to users.