Skip to content
Agent Orchestration
Skill

/codeagent

Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, Gemini, and OpenCode backends with agent presets, skill injection, file references (@syntax), worktree isolation, parallel execution, and structured output.

From plugin
myclaude
2.8k11 skills19 agents13 commands2 hooks

Claude Code

$ npx -y skills add stellarlinkco/myclaude --skill codeagent --agent claude-code

SKILL.md

codeagent.SKILL.md
name: codeagent
description: Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, Gemini, and OpenCode backends with agent presets, skill injection, file references (@syntax), worktree isolation, parallel execution, and structured output.

Codeagent Wrapper Integration

Overview

Execute `codeagent-wrapper` commands with pluggable AI backends (Codex, Claude, Gemini, OpenCode), agent presets, auto-detected skill injection, and parallel task orchestration. Default to background execution, and prefer `--parallel` whenever work can be split into independent tasks.

When to Use

  • Complex code analysis requiring deep understanding
  • Large-scale refactoring across multiple files
  • Multi-agent orchestration (explore → design → implement → review)
  • Automated code generation with backend/agent selection
  • Parallel task execution with dependency management

Quick Reference

codeagent-wrapper [flags] <task|-> [workdir]
codeagent-wrapper [flags] resume <session_id> <task|-> [workdir]
codeagent-wrapper --parallel [flags] < tasks_config

CLI Flags

| Flag | Description | Default | |------|-------------|---------| | `--backend <name>` | Backend: codex, claude, gemini, opencode | codex | | `--agent <name>` | Agent preset (from models.json or agents/ dir) | none | | `--model <name>` | Model override for any backend | backend default | | `--skills <names>` | Comma-separated skill names to inject | auto-detected | | `--reasoning-effort <level>` | Reasoning level: low, medium, high | backend default | | `--prompt-file <path>` | Custom prompt file (restricted to ~/.claude or ~/.codeagent/agents/) | none | | `--output <path>` | Write structured JSON output to file | none | | `--worktree` | Execute in isolated git worktree (branch: do/{task_id}) | false | | `--skip-permissions` | Skip Claude backend permission prompts | false | | `--parallel` | Enable parallel task execution from stdin | false | | `--full-output` | Include full messages in parallel output (default: summary) | false | | `--config <path>` | Config file path | ~/.codeagent/config.* | | `--cleanup` | Clean up old logs and exit | — | | `-v`, `--version` | Print version and exit | — |

Backends

| Backend | Flag | Best For | |---------|------|----------| | **Codex** | `--backend codex` (default) | Deep code analysis, complex logic, algorithm optimization, large-scale refactoring | | **Claude** | `--backend claude` | Documentation, prompt engineering, clear-requirement features | | **Gemini** | `--backend gemini` | UI/UX prototyping, design system implementation | | **OpenCode** | `--backend opencode` | Lightweight tasks, minimal feature set |

Agent Presets

Agent presets bundle backend, model, prompt, and tool control into a reusable name. Use `--agent <name>` to select.

**Sources (checked in order):** 1. `~/.codeagent/models.json` → `agents.<name>` object 2. `~/.codeagent/agents/<name>.md` → markdown file becomes the prompt

**Agent config fields** (in models.json):

{
  "agents": {
    "develop": {
      "backend": "codex",
      "model": "gpt-4.1",
      "prompt_file": "~/.codeagent/prompts/develop.md",
      "reasoning": "high",
      "yolo": true,
      "allowed_tools": ["Read", "Write", "Bash"],
      "disallowed_tools": ["WebFetch"]
    }
  }
}

**Common agent presets:**

| Agent | Purpose | Read-Only | |-------|---------|-----------| | `code-explorer` | Trace code, map architecture, find patterns | Yes | | `code-architect` | Design approaches, file plans, build sequences | Yes | | `code-reviewer` | Review for bugs, simplicity, conventions | Yes | | `develop` | Implement code, run tests, make changes | No |

Skill Injection

Auto-Detection

When `--skills` is not specified, skills are auto-detected from the working directory:

| Detected Files | Injected Skills | |---|---| | `go.mod` / `go.sum` | `golang-base-practices` | | `Cargo.toml` | `rust-best-practices` | | `pyproject.toml` / `setup.py` / `requirements.txt` | `python-best-practices` | | `package.json` | `vercel-react-best-practices`, `frontend-design` | | `vue.config.js` / `vite.config.ts` / `nuxt.config.ts` | `vue-web-app` |

Manual Override

codeagent-wrapper --agent develop --skills golang-base-practices,frontend-design - . <<'EOF'
Implement full-stack feature...
EOF

Skills are loaded from `~/.claude/skills/{name}/SKILL.md`, stripped of YAML frontmatter, and injected into the task prompt.

Usage Patterns

Single Task (HEREDOC recommended)

codeagent-wrapper --backend codex - [workdir] <<'EOF'
<task content here>
EOF

Default execution mode is background. Run in foreground only when the next step requires the full response immediately.

When running in foreground, `codeagent-wrapper` emits liveness frames on stdout before the final answer:

[codeagent-progress] status=started ...
[codeagent-progress] status=streaming ...
[codeagent-progress] status=running ...
[codeagent-progress] status=completed ...

Treat these lines as progress only. Do not conclude "no data returned" and do not start doing the task yourself while progress frames are still arriving.

With Agent Preset

codeagent-wrapper --agent develop --skills golang-base-practices - . <<'EOF'
Implement the authentication middleware following existing patterns.
EOF

Simple Task (short prompts only)

codeagent-wrapper --backend codex "simple task description" [workdir]

**Auto-stdin detection**: When task length exceeds 800 characters or contains special characters (`\n`, `\`, `"`, `'`, `` ` ``, `$`), stdin mode is used automatically. Use `-` to force stdin mode explicitly.

Resume Session

codeagent-wrapper --backend codex resume <session_id> - <<'EOF'
<follow-up task>
EOF

# Or with agent preset
codeagent-wrapper --agent develop resume <session_id> - <<'EOF'
<follow-up task>
EOF

Worktree Isolation

Execute in an isolated git worktree to keep c

Read more
@stellarlinkco
Ships withmyclaude

AI-powered development automation with multi-backend execution (Codex/Claude/Gemini/OpenCode)

2.8k11 skills19 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of stellarlinkco/myclaude on GitHub, a chart by star-history.com

Other skills on myclaude.

browser

browser

This skill should be used for browser automation tasks using Chrome DevTools Protocol (CDP). Triggers when users need to launch…

dev

dev

Extreme lightweight end-to-end development workflow with requirements clarification, intelligent backend selection, parallel…

do

do

This skill should be used for structured feature development with codebase understanding. Triggers on /do command. Provides a…

harness

harness

This skill should be used for multi-session autonomous agent work requiring progress checkpointing, failure recovery, and task…

omo

omo

Use this skill when you see `/omo`. Multi-agent orchestration for "code analysis / bug investigation / fix planning /…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

clawdis2w393k
@steipete@steipeteInstall Skill
computer-use

computer-use

Drives the GUI of a visible local app window through `orca computer`: accessibility tree, clicks, typing, menus, dialogs, and…

orca2w111k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2w109k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about codeagent.

Which coding agents can use codeagent?
codeagent installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.