How to delegate implementation tasks to Codex workers via MCP. Use when executing tasks that require code implementation by GPT Codex workers.
View on GitHubDUTSTECH/ceoralph
ceo-ralph
skills/codex-delegation/SKILL.md
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/DUTSTECH/ceoralph/blob/main/skills/codex-delegation/SKILL.md -a claude-code --skill codex-delegationInstallation paths:
.claude/skills/codex-delegation/# Codex Delegation Skill
This skill defines how the CEO (Claude) delegates tasks to Codex workers.
## When to Delegate
Delegate to Codex workers when:
- Task is implementation-focused (writing code)
- Task has clear acceptance criteria
- Task doesn't require strategic decisions
- Task is scoped to specific files
Do NOT delegate when:
- Task requires architecture decisions
- Task is a [VERIFY] checkpoint
- Task requires user interaction
- Task involves research or analysis
## Preparing Context Packages
### Minimal Context Package
```json
{
"taskId": "1.1",
"task": {
"title": "Task title",
"do": "What to do",
"doneWhen": "Completion criteria",
"acceptance": ["Criterion 1", "Criterion 2"]
}
}
```
### Full Context Package
```json
{
"taskId": "1.1",
"task": {
"title": "Implement user login form",
"do": "Create login form component at src/components/Login.tsx",
"doneWhen": "Form renders with email/password fields and validation",
"acceptance": [
"Form has email input with validation",
"Form has password input with masking",
"Submit button triggers onSubmit handler",
"Shows validation errors"
]
},
"files": {
"src/components/Form.tsx": {
"path": "src/components/Form.tsx",
"content": "// Existing form component for reference...",
"language": "typescript",
"relevantSections": [
{ "startLine": 10, "endLine": 50, "description": "Form pattern" }
]
}
},
"design": {
"architecture": "React functional component with hooks",
"patterns": ["controlled inputs", "form validation", "error display"]
},
"constraints": [
"Follow existing Form component pattern",
"Use project's validation library (zod)",
"Match existing styling approach"
],
"workingDirectory": "/path/to/project",
"commitPrefix": "feat(auth)"
}
```
## Context Optimization
### File Selection
1. Include files directly mentioned in task
2. Include pattern files from