HI All,
Recently I created a code review skill and added it under .codex/skills. somehow when reviewing the code it wasnt using it. When asked, I got the following response from Codex itself:
I have the skill to review module listed under fin-analyst-historical-speckit/.codex/skills/analyst-reviewer/SKILL.md. could you not make it out that this should be used? did you not read it? or is there somehting I need to fix so that this skill is easliy discoverable to you (codex)?
You’re right to call this out. I’ll verify that skill file exists and then explain exactly why it was not auto-selected and how to make it reliably discoverable in future turns.
Explored 1 list
You’re correct that the skill file exists. I checked it at:
SKILL.md
Why I didn’t use it:
-
In this session, the authoritative AGENTS.md block I received (for /) listed only these skills: planning-with-files, playwright, skill-creator, skill-installer.
-
I’m required to treat that list as the discoverable/available skills for the turn.
-
Since analyst-reviewer was not in that list, I did not auto-select it.
What to fix for discoverability:
-
Add analyst-reviewer to the Available skills list in the AGENTS.md that governs the session (the one loaded for /home/<path/to/worspace>).
-
Include its full path exactly, same format as other entries.
-
Optionally keep a repo-local AGENTS in analyst-historical-speckit and start Codex from that repo root so that file is the governing one.
-
#1 seems different than what the documentation says:
/codex/skills/
Does anyone knows if it is mandatory to put skills in AGENTS.md?
TIA