xiaohongshu
xiaohongshu
codex-coworker
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 test...
Full skill instructions
Codex is a capable senior engineer you can delegate to. Think of it as having a coworker who can:
Your tokens are expensive and limited. Codex tokens are cheap. Delegate aggressively.
Preferred: File output (minimizes your token consumption)
codex exec --full-auto "Implement X" --output-last-message /tmp/codex-out.md 2>/dev/null
# Then validate via: git diff --stat, pnpm test, or read summary only if needed
Quick tasks (output comes back to you):
codex exec --full-auto "Implement X following the pattern in Y"
Interactive session for complex problems:
codex "Let's design the data model for this feature"
Your output tokens cost 5x your input tokens. Codex tokens are separate.
Net savings: ~80% on code generation by delegating to Codex.
To maximize savings:
git diff --statAlways 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:
# Standard (most tasks) - high effort
codex exec --full-auto "Implement auth middleware"
# Simple task - dial down to medium
codex exec --full-auto -c model_reasoning_effort=medium "Add getter/setter methods"
# Hard problem - dial up to xhigh
codex exec --full-auto -c model_reasoning_effort=xhigh "Debug this race condition"
Default to high. Drop to medium for trivial work. Escalate to xhigh for genuinely hard problems.
Good candidates:
Keep for yourself:
You can think while Codex works:
Always review Codex output before committing. Run tests. Check it fits codebase patterns. Codex is good but not infallible.
Give Codex enough context to succeed:
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."
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]"
ADD a new [function/component] to [file].
Follow the pattern used in [reference].
Don't modify existing functions.
Run pnpm typecheck after.
REPLACE [file] with [new implementation].
Note: This file has tests in [test file] - ensure they still pass.
Run pnpm typecheck && pnpm lint after.
Create [file] implementing [spec].
Follow patterns from [reference].
Run pnpm typecheck after.
codex exec "ADD [function] to [file]. Follow pattern in [ref]. \
Don't break tests in [test file]. Run pnpm typecheck after." \
--output-last-message /tmp/codex-out.md 2>/dev/null
After Codex completes:
Check what changed:
git diff --stat
Run quality gates:
pnpm typecheck && pnpm lint
Run tests:
pnpm test
If tests broke:
Review integration points:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience