codex-delegator

Delegate code generation tasks to the Codex CLI for implementation and test writing.

18|1|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/nexus-substrate/nexus-agents --skill codex-delegator-nexus-substrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-delegator
Source: https://github.com/nexus-substrate/nexus-agents/tree/main/skills/codex-delegator
Command: npx skills add https://github.com/nexus-substrate/nexus-agents --skill codex-delegator-nexus-substrate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Codex-delegator removes the friction of choosing the right coding CLI by routing code-focused tasks to the Codex CLI for fast, production-quality generation.

Core Features & Use Cases

  • Route-to-Codex delegation: Sends implementation, test generation, refactoring, and code completion requests to Codex via an MCP delegation tool and routing logic.
  • Task profiling for better matches: Uses signals like code-generation keywords, reasoning simplicity, and budget sensitivity to prefer Codex for the right workload.
  • Operational guardrails and fallback: Provides routing-audit guidance and a documented fallback behavior if Codex is unavailable, including outcome recording for adaptive learning.

Quick Start

Delegate your request to Codex by asking an agent to route to codex to implement, generate tests, or refactor the specified code changes.

Frequently Asked Questions about codex-delegator

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

FAQPage Schema
How do I delegate code generation tasks to Codex for faster implementation?

To delegate code generation to Codex, route implementation, test generation, and refactoring requests through the delegate_to_model flow or explicit codex exec invocation with appropriate timeouts and sandbox safety.

Can I use codex-delegator for bulk code modifications and unit test writing?

Yes, codex-delegator handles bulk code modifications, unit and integration test writing, refactoring, and code completion by routing those code-focused tasks to the Codex CLI.

What happens if the Codex CLI is unavailable during task routing?

If Codex is unavailable, codex-delegator applies documented fallback behavior to alternative CLIs and records the outcome for adaptive learning and routing-audit guidance.

How does codex-delegator decide which code generation tasks to route to Codex?

Codex-delegator uses task profiling signals like code-generation keywords, reasoning simplicity, and budget sensitivity to match the right workload to the Codex CLI.

Do I need MCP delegation tools to route refactoring tasks to Codex?

Yes, codex-delegator sends refactoring and implementation requests to Codex via an MCP delegation tool and routing logic to achieve production-quality generation.

What are the limitations of using codex-delegator for code completion?

Codex-delegator requires appropriate timeouts and sandbox safety for code completion tasks, and relies on documented failover to alternative CLIs when the Codex CLI is unavailable.