Help us improve
Share bugs, ideas, or general feedback.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex:gpt-5-4-promptingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when `codex:codex-rescue` needs to ask Codex or another GPT-5.4-based workflow for help.
Internal guidance for composing Copilot prompts for coding, review, diagnosis, and research tasks across GPT-5.4, GPT-5.3-Codex, and Gemini 3.1 Pro inside the Copilot Claude Code plugin
Consults OpenAI Codex (GPT-5) via CLI for code investigation, debugging, or review. Runs read-only with full project access; activates on 'ask codex' phrases or /ask-codex.
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing
Share bugs, ideas, or general feedback.
Use this skill when codex:codex-rescue needs to ask Codex or another GPT-5.4-based workflow for help.
Prompt Codex like an operator, not a collaborator. Keep prompts compact and block-structured with XML tags. State the task, the output contract, the follow-through defaults, and the small set of extra constraints that matter.
Core rules:
Default prompt recipe:
<task>: the concrete job and the relevant repository or failure context.<structured_output_contract> or <compact_output_contract>: exact shape, ordering, and brevity requirements.<default_follow_through_policy>: what Codex should do by default instead of asking routine questions.<verification_loop> or <completeness_contract>: required for debugging, implementation, or risky fixes.<grounding_rules> or <citation_rules>: required for review, research, or anything that could drift into unsupported claims.When to add blocks:
completeness_contract, verification_loop, and missing_context_gating.grounding_rules, structured_output_contract, and dig_deeper_nudge.research_mode and citation_rules.action_safety so Codex stays narrow and avoids unrelated refactors.How to choose prompt shape:
review or adversarial-review commands when the job is reviewing local git changes. Those prompts already carry the review contract.task when the task is diagnosis, planning, research, or implementation and you need to control the prompt more directly.task --resume-last for follow-up instructions on the same Codex thread. Send only the delta instruction instead of restating the whole prompt unless the direction changed materially.Working rules:
Prompt assembly checklist:
<task>.Reusable blocks live in references/prompt-blocks.md. Concrete end-to-end templates live in references/codex-prompt-recipes.md. Common failure modes to avoid live in references/codex-prompt-antipatterns.md.