Repository navigation
feat(codex): optimize generated skills for Codex host - #1162
Closed
giaphutran12 wants to merge 2 commits into
Closed
giaphutran12 wants to merge 2 commits into
giaphutran12 wants to merge 2 commits into
Conversation
Co-Authored-By: OpenAI Codex <[email protected]>
Contributor
|
Related: #1175 Add gpt-5.5 model overlay alongside gpt-5.4 |
Contributor
|
@16francej — recommend closing this PR. The changes combine stale defaults with generated churn, while #1163 separates the remaining Codex work into a clearer scope. Please preserve attribution from #1162 for the model-default and no-self-invocation requirements in #1163. |
ashcharus-hue
added a commit
to ashcharus-hue/gstack
that referenced
this pull request
Jul 16, 2026
Codex uses AGENTS.md as its project instruction file, but the codex host config's pathRewrites omit the CLAUDE.md -> AGENTS.md rewrite that hosts/hermes.ts already has. Generated Codex-host skills therefore still reference CLAUDE.md: the routing preamble checks `[ -f CLAUDE.md ]`, and the routing-injection step can create and `git commit` a CLAUDE.md in a Codex repo (auto-applied in spawned/headless runs). Mirrors the hermes.ts pattern. Refs garrytan#1163. Complements garrytan#1162 (Codex model/tool rewrites, which did not include this filename rewrite). Co-Authored-By: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gpt-5.4model overlay instead of the Claude overlay./freeze,/careful,/guard,/unfreeze, and/gstack-upgrade.Agent tool,Claude subagent,subagent_type: "general-purpose") into Codex-native guidance (Codex subagent,agent_type: "default", shell/native edit tool mapping).SKILL.mdbefore reviewing.1.6.2.0and update CHANGELOG.Verification
bun run gen:skill-docs --host allbun run skill:checkbun test test/gen-skill-docs.test.tsbun test test/host-config.test.ts test/gen-skill-docs.test.tsbun test~/.codex/skills/gstack-ship/SKILL.mdhasMODEL_OVERLAY: gpt-5.4andHost Runtime Patch (OpenAI Codex CLI);~/.codex/skills/gstack-freeze/SKILL.mdhas the same Codex/GPT patches.