Skip to content

Switch codex skills from deprecated custom prompts to ~/.agents/skills SKILL.md - #390

Merged
tildesrc merged 1 commit into
mainfrom
panopticon/codex-agent-skills
Aug 24, 2026
Merged

Switch codex skills from deprecated custom prompts to ~/.agents/skills SKILL.md#390
tildesrc merged 1 commit into
mainfrom
panopticon/codex-agent-skills

Conversation

@tildesrc

Copy link
Copy Markdown
Contributor

Summary

  • Custom prompts (~/.codex/prompts/) are deprecated upstream and are user-typed slash commands — the model never discovers them, so a codex task can never self-advance its workflow.
  • Switch to codex's model-discoverable skills mechanism: ~/.agents/skills/<name>/SKILL.md (user scope, so nothing reaches the task's working tree).
  • Adds write_agent_skills / write_agent_operation_skills in container/skills.py with the name+description frontmatter the skills surface requires.
  • Removes the now-unused PROMPTS_SUBDIR from CodexAgentCLI; updates test_codex.py path pins.

🤖 Generated with Claude Code

…s SKILL.md

Custom prompts (~/.codex/prompts/) are deprecated upstream and are only user-typed
slash commands — the model never discovers them, so a codex task cannot self-advance
its workflow. Switch to codex's model-discoverable skills mechanism:
~/.agents/skills/<name>/SKILL.md (user scope, so nothing reaches the working tree).

Adds write_agent_skills / write_agent_operation_skills to container/skills.py with the
name+description frontmatter the skills surface requires; updates CodexAgentCLI to
call them; removes the now-unused PROMPTS_SUBDIR; updates test_codex.py path pins.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tildesrc
tildesrc merged commit ece94ff into main Aug 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant