codex-5-3-prompting

Constructs system prompts and instruction blocks for GPT-5.3-Codex agents.

569|55|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/nicobailon/pi-interactive-shell --skill codex-5-3-prompting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-5-3-prompting
Source: https://github.com/nicobailon/pi-interactive-shell/tree/main/examples/skills/codex-5-3-prompting
Command: npx skills add https://github.com/nicobailon/pi-interactive-shell --skill codex-5-3-prompting

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GPT-5.3-Codex moves fast and tends to skip reading files, over-refactor, drift beyond scope, and add backwards-compatibility shims unless prompts are tightly constrained. This Skill provides ready-to-use prompt blocks that prevent those failure modes.

Core Features & Use Cases

  • Modular prompt blocks: Copy-paste XML-tagged sections for output verbosity, scope constraints, context loading, plan-first mode, long-context handling, uncertainty management, user updates, and tool usage.
  • Reasoning effort guidance: A table mapping task types (simple generation, refactors, code review) to the appropriate model_reasoning_effort setting in Codex CLI.
  • Behavioral steering tactics: Quick-reference tips like using "cutover" to prevent compatibility hedging, forcing file reads before questions, and steering mid-task.
  • Use Case: You are writing a system prompt for a Codex 5.3 agent that refactors code across multiple files. Include the plan-first, scope constraints, and context loading blocks to keep it on task.

Quick Start

Ask the agent to draft a system prompt for GPT-5.3-Codex that enforces plan-first execution and strict scope constraints using the codex-5-3-prompting skill.

Frequently Asked Questions about codex-5-3-prompting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a system prompt for GPT-5.3-Codex?

Include modular blocks for output verbosity, scope constraints, and context loading at minimum. Add plan-first, long-context, uncertainty, user updates, and tool usage sections depending on the task type.

How do I stop GPT-5.3-Codex from over-refactoring code?

Add the design_and_scope_constraints block instructing it to implement exactly and only what is requested, with no extra features or UX embellishments. Use direct mid-task redirects like "Simplest valid implementation only."

What reasoning effort should I use for Codex 5.3 code review?

Set model_reasoning_effort to high or xhigh for thorough code review via Codex CLI with -c model_reasoning_effort="high". Simple generation tasks work with low or medium, while complex refactors benefit from xhigh.

Why does GPT-5.3-Codex keep adding backwards compatibility code?

The model hedges by default and interprets vague instructions weakly. Use the term "cutover" with explicit statements like "No backwards compatibility. Do not preserve legacy code, polyfills, or deprecated patterns."

How do I handle long documents in Codex 5.3 prompts?

Include the long_context_handling block for inputs over roughly 10k tokens. It instructs the model to outline key sections first, restate constraints, and anchor claims to specific document sections.