Skip to content

[codex] Migrate skills usage guidance to model instructions#28944

Draft
ani-oai wants to merge 2 commits into
mainfrom
codex/skills-prompt-model-guidance
Draft

[codex] Migrate skills usage guidance to model instructions#28944
ani-oai wants to merge 2 commits into
mainfrom
codex/skills-prompt-model-guidance

Conversation

@ani-oai

@ani-oai ani-oai commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • make the skills catalog renderer conditionally include client-owned How to use skills guidance
  • retain that guidance for compatible model slugs
  • omit it for new or otherwise unlisted models and for extension-generated catalogs

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@rhan-oai

Copy link
Copy Markdown
Collaborator

can you double check the token budgeting for the alias case?

Comment thread codex-rs/ext/skills/src/fragments.rs Outdated

fn body(&self) -> String {
render_available_skills_body(&[], &self.skill_lines)
render_available_skills_body(&[], &self.skill_lines, false)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we always passing false? doesn't this need to be aligned with the migration as well

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed the booleans with separate functions for legacy & future models -- render_legacy_available_skills_body and render_available_skills_body. Call these separately in each case.

@ani-oai ani-oai force-pushed the codex/skills-prompt-model-guidance branch 2 times, most recently from 30ed120 to 73585ec Compare June 18, 2026 19:53
@ani-oai ani-oai force-pushed the codex/skills-prompt-model-guidance branch from 73585ec to 8e315ac Compare June 18, 2026 20:21
@ani-oai

ani-oai commented Jun 18, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Jun 18, 2026
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.

2 participants