david-li0406/meta-skill-evloving/codex-coworker
Claude Code and agent skill by david-li0406/meta-skill-evloving
- community
Checking that the SKILL.md file is still in the repository.
Invoke Codex CLI as a coworker for implementation, brainstorming, specs, and reviews. Use when you want parallel thinking, cheap execution, or a second opinion. Codex tokens are cheaper than yours — delegate aggressively. Keywords: codex, delegate, implement, draft, review, brainstorm, write tests, code review.
Install
npx vskill@latest install david-li0406/meta-skill-evloving/codex-coworkerSKILL.md
The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/codex-coworker.
Codex as Coworker
Codex is a capable senior engineer you can delegate to. Think of it as having a coworker who can:
- Draft specs while you think through architecture
- Implement code based on patterns you've identified
- Review your work for bugs and edge cases
- Write tests for code you've written
- Brainstorm approaches to a problem
Your tokens are expensive and limited. Codex tokens are cheap. Delegate aggressively.
Invocation
Preferred: File output (minimizes your token consumption)
Quick tasks (output comes back to you):
Interactive session for complex problems:
Token Economics
Your output tokens cost 5x your input tokens. Codex tokens are separate.
- Codex generates 1000 tokens of code → costs Codex, not you
- You read Codex's output → input tokens (cheap)
- You generate same code yourself → output tokens (expensive)
Net savings: ~80% on code generation by delegating to Codex.
To maximize savings:
- Have Codex write to files directly
- Validate by running tests or checking
git diff --stat - Only read full output when debugging failures
Reasoning Effort
Always use gpt-5.2-codex. Vary reasoning effort based on task complexity:
| Task | Effort | Flag | |
|---|---|---|---|
| Simple edits, boilerplate, straightforward | medium | -c model_reasoning_effort=medium | |
| Most implementation work (default) | high | -c model_reasoning_effort=high | |
| Complex debugging, tricky logic, architecture | xhigh | -c model_reasoning_effort=xhigh |
Examples:
Default to high. Drop to medium for trivial work. Escalate to xhigh for genuinely hard problems.
When to Delegate
Good candidates:
- Implementation from a clear spec or pattern
- Writing tests for existing code
- Code review and analysis
- Drafting specs for you to refine
- Exploring multiple approaches in parallel
- Boilerplate and CRUD operations
- Refactoring with clear before/after
Keep for yourself:
- Novel architecture decisions
- Deep codebase reasoning you've already done
- Integration across unfamiliar systems
- Anything requiring context you already have loaded
- Quick one-liners where overhead isn't worth it
Parallel Work
You can think while Codex works:
- Have Codex draft code while you design the architecture
- Have Codex write tests while you implement
- Get Codex's review while you plan the next step
Trust but Verify
Always review Codex output before committing. Run tests. Check it fits codebase patterns. Codex is good but not infallible.
Context Passing
Give Codex enough context to succeed:
- Reference specific files or patterns to follow
- Include relevant constraints
- Be specific about what you want
Bad: "Write a user service" Good: "Implement a UserService class following the pattern in src/services/AuthService.ts. Include CRUD operations for users with proper error handling."
Pre-Delegation Checklist
Before delegating, ask yourself:
- Does this file have existing tests?
→ Add to prompt: "Don't break existing tests in [test file]"
- Should Codex ADD or REPLACE?
→ Be explicit: "ADD to this file" vs "REPLACE this file" → Default to ADD unless rewrite is intentional
- What quality gates should Codex run?
→ Include: "Run pnpm typecheck && pnpm lint after changes"
- What patterns should Codex follow?
→ Include: "Follow the pattern in [reference file]"
Prompt Templates
Adding to existing file (safest):
Replacing/rewriting (use cautiously):
New file from scratch:
With quality gates (recommended):
Post-Delegation Validation
After Codex completes:
- Check what changed:
``bash git diff --stat ``
- Run quality gates:
``bash pnpm typecheck && pnpm lint ``
- Run tests:
``bash pnpm test ``
- If tests broke:
- Check if Codex deleted/renamed functions tests depend on
- Look for wholesale file replacement when ADD was intended
- Review imports that may have been removed
- Review integration points:
- You handle complex integration across files
- Check redirects, configs, and cross-file dependencies
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-flow/data/skills-refined-36k/skillsmp/codex-coworker/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/codex-coworker)