Gpt 5 4 prompting

From KenSuh/open-agent-harness · View interactive version

Gpt 5 4 prompting is an AI agent skill from the GitHub repository KenSuh/open-agent-harness. Internal guidance for composing Codex and GPT-5.4 prompts for coding, review, diagnosis, and research tasks inside the Codex Claude Code plugin

How to use this skill

Skill file

GPT-5.4 Prompting

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:

When to add blocks:

How to choose prompt shape:

Working rules:

Prompt assembly checklist:

  1. Define the exact task and scope in <task>.
  2. Choose the smallest output contract that still makes the answer easy to use.
  3. Decide whether Codex should keep going by default or stop for missing high-risk details.
  4. Add verification, grounding, and safety tags only where the task needs them.
  5. Remove redundant instructions before sending the prompt.

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.