From peterfile-devpilot-agents
Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, and Gemini backends with file references (@syntax) and structured output.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-1 --plugin peterfile-devpilot-agentsThis skill uses the workspace's default tool permissions.
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.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
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 - [working_dir] <<'EOF'
<task content here>
EOF
Sanity check (verify CLI is current):
codeagent-wrapper --version
codeagent-wrapper --help
With backend selection:
codeagent-wrapper --backend claude - <<'EOF'
<task content here>
EOF
Simple tasks:
codeagent-wrapper "simple task" [working_dir]
codeagent-wrapper --backend gemini "simple task"
| Backend | Command | Description | Best For |
|---|---|---|---|
| codex | --backend codex | OpenAI Codex (default) | Code implementation, code review, complex analysis, orchestration |
| claude | --backend claude | Anthropic Claude | Simple tasks, documentation, prompts |
| gemini | --backend gemini | Google Gemini | UI/UX development, frontend components |
| opencode | --backend opencode | OpenCode CLI (opencode run) | Agent-driven runs, inner-loop orchestration decisions |
โ ๏ธ opencode backend does NOT support stdin input; prompts are passed as CLI args. Prefer short prompts + @path file references.
Codex (default, recommended for code + review):
Claude:
Gemini (recommended for UI):
For orchestrated workflows, use this backend assignment:
| Task Type | Backend | Reason |
|---|---|---|
| Code Implementation | codex | Primary code implementation agent |
| UI/Frontend | gemini | Specialized for visual components |
| Code Review | codex | Deep analysis, quality assessment |
Backend Switching:
task (required): Task description, supports @file referencesworking_dir (optional): Working directory (default: current)--backend (optional): Select AI backend (codex/claude/gemini, default: codex)
--dangerously-skip-permissions when explicitly enabled--skip-permissions / --dangerously-skip-permissions: For Claude backend only; disables permission prompts (use sparingly)--tmux-session (optional): Enable tmux visualization mode for parallel execution--tmux-attach (optional): Attach to tmux session after completion--tmux-no-main-window (optional): Remove default main window in tmux sessions--window-for (optional): Single-task mode only; route output to an existing task window--state-file (optional): Path to AGENT_STATE.json for real-time status updates--review (optional): Mark tasks as review tasks for state updates--cleanup: Remove old wrapper logsAgent response text here...
---
SESSION_ID: 019a7247-ac9d-71f3-89e2-a823dbd8fd14
# Resume with default backend
codeagent-wrapper resume <session_id> - <<'EOF'
<follow-up task>
EOF
# Resume with specific backend
codeagent-wrapper --backend claude resume <session_id> - <<'EOF'
<follow-up task>
EOF
Default (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
EOF
Full output mode (for debugging):
codeagent-wrapper --parallel --full-output <<'EOF'
...
EOF
Output Modes:
--full-output): Complete task messages. Use only when debugging specific failures.With per-task backend (orchestration pattern):
codeagent-wrapper --parallel --tmux-session orch-session --state-file AGENT_STATE.json <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
target_window: backend
---CONTENT---
Implement user authentication module
---TASK---
id: task2
backend: gemini
workdir: /path/to/dir
target_window: frontend
---CONTENT---
Create login form component with validation
---TASK---
id: task3
backend: codex
dependencies: task1, task2
target_window: review
---CONTENT---
Review implementation for security issues
EOF
Task metadata fields:
id: Unique task identifier (required)backend: AI backend to use (codex/claude/gemini)workdir: Working directory for the taskdependencies: Comma-separated task IDs that must complete firsttarget_window: tmux window name for grouping related tasksConcurrency Control:
Set CODEAGENT_MAX_PARALLEL_WORKERS to limit concurrent tasks (default: unlimited).
CODEX_TIMEOUT: Override timeout in milliseconds (default: 7200000 = 2 hours)CODEAGENT_ASCII_MODE: Use ASCII symbols instead of Unicode (PASS/WARN/FAIL)CODEAGENT_SKIP_PERMISSIONS: Control Claude CLI permission checks
true/1 to add --dangerously-skip-permissions (default: disabled)CODEAGENT_OPENCODE_AGENT: OpenCode agent name (used by --backend opencode)CODEAGENT_OPENCODE_MODEL: OpenCode model name (used by --backend opencode)CODEAGENT_MAX_PARALLEL_WORKERS: Limit concurrent tasks in parallel mode (default: unlimited, recommended: 8)๐ CODEX_BYPASS_SANDBOX=true (Codex backend): bypasses approvals/sandbox in Codex CLI. Use only in trusted environments.
Single Task:
Bash tool parameters:
- command: codeagent-wrapper --backend <backend> - [working_dir] <<'EOF'
<task content>
EOF
- timeout: 7200000
- description: <brief description>
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>
CODEAGENT_SKIP_PERMISSIONS=true or pass --skip-permissionsCODEAGENT_MAX_PARALLEL_WORKERS in production to prevent resource exhaustion--tmux-session flag for visual parallel execution--state-file flag for AGENT_STATE.json real-time updatesThis skill integrates with the multi-agent-orchestrator skill for full orchestration workflows:
multi-agent-orchestrator
โ
โ dispatch_batch.py
โผ
codeagent-wrapper --parallel --tmux-session <session> --state-file AGENT_STATE.json
โ
โโโ codex (code tasks)
โโโ gemini (UI tasks)
โโโ codex (review tasks)
See multi-agent-orchestrator skill for complete orchestration workflow.