Skip to main content

Module codex_session

Module codex_session 

Source
Expand description

Codex-specific rendering of the skills surface.

Codex exposes skills with a name, description, and file path in its initial skills list. Kept separate from Claude Code’s Skill-tool wording so dispatch prompts mirror the harness being evaluated.

Functions§

render_codex_available_skills_block
Render the discoverable skills the way Codex surfaces them in its initial skills list: a ## Skills heading followed by - name: description (file: path) bullets. Returns an empty string when no skills are staged.
render_codex_plan_mode_context
Render a Codex plan-mode profile as an operating-context reminder. Codex’s non-interactive exec surface has no documented real plan-mode switch, so this mirrors the portable approximation: text injected ahead of the task.