Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, and Gemini backends with file references (@syntax) and structured output.
Use the skills CLI to install this skill with one command. Auto-detects all installed AI assistants.
Method 1 - skills CLI
npx skills i cexll/myclaude/skills/codeagentMethod 2 - openskills (supports sync & update)
npx openskills install cexll/myclaudeAuto-detects Claude Code, Cursor, Codex CLI, Gemini CLI, and more. One install, works everywhere.
Installation Path
Download and extract to one of the following locations:
No setup needed. Let our cloud agents run this skill for you.
Select Provider
Select Model
Best for coding tasks
No setup required
Execute codeagent-wrapper commands with pluggable AI backends (Codex, Claude, Gemini). Supports file references via @ syntax, parallel task execution with backend selection, and configurable security controls.
HEREDOC syntax (recommended):
codeagent-wrapper --backend codex - [working_dir] <<'EOF'
<task content here>
EOFWith backend selection:
codeagent-wrapper --backend claude - . <<'EOF'
<task content here>
EOFSimple tasks:
codeagent-wrapper --backend codex "simple task" [working_dir]
codeagent-wrapper --backend gemini "simple task" [working_dir]| Backend | Command | Description | Best For |
|---|---|---|---|
| codex | --backend codex | OpenAI Codex (default) | Code analysis, complex development |
| claude | --backend claude | Anthropic Claude | Simple tasks, documentation, prompts |
| gemini | --backend gemini | Google Gemini | UI/UX prototyping |
Codex (default):
Claude:
Gemini:
Backend Switching:
task (required): Task description, supports @file referencesworking_dir (optional): Working directory (default: current)--backend (required): Select AI backend (codex/claude/gemini)
--dangerously-skip-permissions when explicitly enabledAgent response text here...
---
SESSION_ID: 019a7247-ac9d-71f3-89e2-a823dbd8fd14
# Resume with codex backend
codeagent-wrapper --backend codex resume <session_id> - <<'EOF'
<follow-up task>
EOF
# Resume with specific backend
codeagent-wrapper --backend claude resume <session_id> - <<'EOF'
<follow-up task>
EOFDefault (summary mode - context-efficient):
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
task content
---TASK---
id: task2
dependencies: task1
---CONTENT---
dependent task
EOFFull output mode (for debugging):
codeagent-wrapper --parallel --full-output <<'EOF'
...
EOFOutput Modes:
--full-output): Complete task messages. Use only when debugging specific failures.With per-task backend:
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
analyze code structure
---TASK---
id: task2
backend: claude
dependencies: task1
---CONTENT---
design architecture based on analysis
---TASK---
id: task3
backend: gemini
dependencies: task2
---CONTENT---
generate implementation code
EOFConcurrency Control:
Set CODEAGENT_MAX_PARALLEL_WORKERS to limit concurrent tasks (default: unlimited).
CODEX_TIMEOUT: Override timeout in milliseconds (default: 7200000 = 2 hours)CODEAGENT_SKIP_PERMISSIONS: Control Claude CLI permission checks
true/1 to add --dangerously-skip-permissions (default: disabled)CODEAGENT_MAX_PARALLEL_WORKERS: Limit concurrent tasks in parallel mode (default: unlimited, recommended: 8)Single Task:
Bash tool parameters:
- command: codeagent-wrapper --backend <backend> - [working_dir] <<'EOF'
<task content>
EOF
- timeout: 7200000
- description: <brief description>
Note: --backend is required (codex/claude/gemini)
Parallel Tasks:
Bash tool parameters:
- command: codeagent-wrapper --parallel --backend <backend> <<'EOF'
---TASK---
id: task_id
backend: <backend> # Optional, overrides global
workdir: /path
dependencies: dep1, dep2
---CONTENT---
task content
EOF
- timeout: 7200000
- description: <brief description>
Note: Global --backend is required; per-task backend is optional
NEVER kill codeagent processes. Long-running tasks are normal. Instead:
Check task status via log file:
# View real-time output
tail -f /tmp/claude/<workdir>/tasks/<task_id>.output
# Check if task is still running
cat /tmp/claude/<workdir>/tasks/<task_id>.output | tail -50Wait with timeout:
Why: codeagent tasks often take 2-10 minutes. Killing them wastes API costs and loses progress.
CODEAGENT_SKIP_PERMISSIONS=true or pass --skip-permissionsCODEAGENT_MAX_PARALLEL_WORKERS in production to prevent resource exhaustion# Use TaskOutput tool with block=true and timeout
TaskOutput(task_id="<id>", block=true, timeout=300000)Check process without killing:
ps aux | grep codeagent-wrapper | grep -v grep