Loading...
Loading...
Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, and Gemini backends with file references (@syntax) and structured output.
npx skill4agent add cexll/myclaude codeagent@codeagent-wrapper --backend codex - [working_dir] <<'EOF'
<task content here>
EOFcodeagent-wrapper --backend claude - . <<'EOF'
<task content here>
EOFcodeagent-wrapper --backend codex "simple task" [working_dir]
codeagent-wrapper --backend gemini "simple task" [working_dir]| Backend | Command | Description | Best For |
|---|---|---|---|
| codex | | OpenAI Codex (default) | Code analysis, complex development |
| claude | | Anthropic Claude | Simple tasks, documentation, prompts |
| gemini | | Google Gemini | UI/UX prototyping |
task@fileworking_dir--backend--dangerously-skip-permissionsAgent 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>
EOFcodeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
task content
---TASK---
id: task2
dependencies: task1
---CONTENT---
dependent task
EOFcodeagent-wrapper --parallel --full-output <<'EOF'
...
EOF--full-outputcodeagent-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
EOFCODEAGENT_MAX_PARALLEL_WORKERSCODEX_TIMEOUTCODEAGENT_SKIP_PERMISSIONStrue1--dangerously-skip-permissionsCODEAGENT_MAX_PARALLEL_WORKERSBash 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)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# 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 -50# Use TaskOutput tool with block=true and timeout
TaskOutput(task_id="<id>", block=true, timeout=300000)ps aux | grep codeagent-wrapper | grep -v grepCODEAGENT_SKIP_PERMISSIONS=true--skip-permissionsCODEAGENT_MAX_PARALLEL_WORKERS