Skip to main content
reopt Handbook
reopt Handbook
Advanced Codex Usage

Foundation

Setup and LoginConfigMemories

Safety and Operations

ApprovalsSecurity

Workflow

Slash CommandsPrompts and SkillsExec and AutomationThread LifecycleCloud TasksMulti-Agent Workflows

Extensions and IDE

Codex App and IDEMCP IntegrationModels and ReasoningGovernance and Rollout

Verification

VerificationUpdates
Handbook›Advanced Codex Usage›Prompts and Skills
한국어English

Prompts and Skills

Design prompts, repository instructions, and reusable skills for repeatable Codex work.

Key takeaways

  • Treat prompts as workflow design: a good prompt states goal, context, constraints, ownership boundary, verification path, and expected output.
  • Structure the brief into Goal, Context, Constraints, Scope, Verification, and Handoff so acceptance criteria and out-of-scope items are explicit.
  • Reserve repository-level instructions for stable expectations like package manager, commands, architecture, and safety rules, never temporary project plans.
  • Turn repeated work into skills: setup and migration tasks, review checklists, SDK upgrade workflows, release and incident procedures, and documentation patterns.

Prompts are workflow design. A good prompt tells Codex the goal, context, constraints, ownership boundary, verification path, and expected output.

Prompt Brief

SectionContent
GoalUser outcome and acceptance criteria
ContextRelevant files, systems, prior decisions
ConstraintsStyle, security, compatibility, performance
ScopeWhat may be changed and what is out of scope
VerificationCommands, tests, manual checks
HandoffSummary format and known risks

Repository Instructions

Use repository-level instructions for stable expectations: package manager, commands, architecture, code style, safety rules, and review norms. Do not use them for temporary project plans.

Skill Candidates

  • Common setup and migration tasks.
  • Repeated code review checklists.
  • SDK installation or upgrade workflows.
  • Release and incident procedures.
  • Documentation authoring patterns.

Related docs

Agentic Development

Enterprise Project Architecture · Use AI agents in enterprise development with context packs, scoped tasks, and review gates.

Prompts Are Design Language

Developer Unlearning · Treat prompts as a new form of design specification, not just text sent to AI.

Skills Ecosystem

Enterprise Project Architecture · Build reusable agent skills, commands, and documents for repeated engineering workflows.

Templates

Agentic MVP · Reusable templates for agentic MVP planning, execution, and decision-making.

Why Documentation Must Change

Agentic Documentation · From documents that are read to documents that agents can operate from.

Slash Commands

Use Codex slash commands as an operating surface for sessions, review, models, and status.

Exec and Automation

Use Codex exec for non-interactive scripts, CI checks, and structured automation.

On this page

Prompt BriefRepository InstructionsSkill Candidates