Delegate coding/research tasks from Claude Code to external AI coding-agent CLIs (Codex, Gemini, Qwen, OpenClaude, OpenCode) and to Claude subagents. Umbrella router + per-agent driver skills + parallel/reconciliation patterns. Ported from the Nous Research hermes-agent autonomous-ai-agents skill.
Use when delegating a coding, refactoring, review, or research task to an external AI coding-agent CLI (Codex, Gemini, Qwen, OpenClaude, OpenCode) or to a Claude subagent, or when running multiple agents in parallel. Routes to the right delegation mechanism and the correct per-agent driver skill.
Use when delegating a task to a separate Claude Code process via the `claude` CLI (print mode or interactive tmux) — e.g. headless runs in an isolated worktree, a different account/settings, or nested orchestration. For ordinary Claude subagents prefer the built-in Agent tool. Load delegate-to-agents first.
Use when delegating a coding, refactoring, or code-review task to the OpenAI Codex CLI (`codex`) from Claude Code. Covers non-interactive `codex exec`, sandbox/approval flags, interactive tmux driving, resume, review, and parallel worktrees. Load delegate-to-agents first for the shared mechanism.
Use when delegating a coding or research task to the Google Gemini CLI (`gemini`) from Claude Code. Covers non-interactive `-p`, approval modes, output formats, sessions, worktrees, and tmux interactive driving. Load delegate-to-agents first for the shared mechanism.
Use when delegating a coding task to the OpenClaude CLI (`openclaude`) from Claude Code. OpenClaude is a Claude-Code-compatible agent CLI whose standout feature is --provider (anthropic/openai/gemini/github/bedrock/vertex/ollama). Covers print mode, permission modes, providers, and tmux. Load delegate-to-agents first.
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin for handing work to other AI agents. Use it to send a coding or research task to an external agent CLI (Codex, Gemini, Qwen, OpenClaude, OpenCode) or to a Claude subagent, run a few of them in parallel, and review what they hand back before you keep it.
It's a port of the
autonomous-ai-agents
skill from Nous Research's hermes-agent. Hermes drives other agents with its
own terminal(), process(), and delegate_task() tools. Claude Code already
has equivalents for all three, so this is mostly translation: the same patterns,
rewritten against Claude Code's native Bash (background mode), Monitor, tmux,
and the Agent tool. Nothing runs in the background as a daemon. It's plain
skill files on top of tools you already have.
Claude Code can already delegate. The Agent tool spawns Claude subagents, and
there are separate rescue plugins for Codex, Gemini, Qwen, and OpenClaude. What
was missing is a single place that ties it together: something that knows when to
reach for the Agent tool versus an external CLI, gives each agent a driver with
that agent's actual flags, and keeps the parallel and review patterns in one
spot. So instead of remembering six different CLIs and which rescue plugin does
what, you say "delegate this to Codex" and it routes.
delegate-to-agents — the router. Picks the mechanism and points you at the
right driver. Holds the Hermes-to-Claude-Code mechanism mapping so the rest of
the skills don't repeat it.drive-codex, drive-gemini, drive-qwen, drive-openclaude,
drive-claude-code, drive-opencode — one driver per agent. Each has that
CLI's flags, an auth preflight, the one-shot and interactive patterns, and the
gotchas worth knowing.multi-agent-lane — for when a driven patch needs reviewing before you trust
it. Isolate in a git worktree, read the diff, run the tests yourself, then
accept, partially accept, or reject. Generalized from Hermes' kanban-codex-lane.cli-delegate — a Bash-only subagent that drives a CLI to completion and
returns a summary, so a long or noisy run never floods your main context./delegate — a one-line entry point: /delegate codex fix the failing auth test.| Hermes | Claude Code |
|---|---|
terminal(command, background=true) | Bash(run_in_background=true) writing to a logfile |
terminal(pty=true) for a TUI | tmux driven through Bash |
process(poll / log / kill) | tail the logfile, or tmux capture-pane; kill the shell or session |
process(wait) | let the background Bash exit; the harness re-invokes you |
delegate_task(goal) | Agent(subagent_type, prompt) |
delegate_task(tasks=[...]) | several Agent calls in one message |
The delegate-to-agents skill has the full table.
/plugin marketplace add josephyaduvanshi/delegate-to-agents
/plugin install delegate-to-agents@delegate-to-agents
Or try it for a single session without installing, by cloning the repo and pointing Claude Code at the plugin directory:
git clone https://github.com/josephyaduvanshi/delegate-to-agents
claude --plugin-dir delegate-to-agents/plugins/delegate-to-agents
Plain language works once the plugin is installed:
delegate the auth refactor to Codex and keep my context clean
So does the command:
/delegate gemini review src/server.ts for security issues
/delegate --review codex migrate the tests to pytest
/delegate --bg qwen add integration tests for the API
--review runs the task in an isolated worktree and walks you through the
review-and-reconcile checklist before anything is kept. --bg runs it in the
background. Ask for several independent tasks at once and they go to separate
subagents, one git worktree each, so they don't step on each other.
Every flag in the drivers was checked against the CLI version installed when this
was written: Codex 0.133.0, Gemini 0.43.0, Qwen 0.15.6, OpenClaude 0.14.0, Claude
Code 2.1.150. These tools change quickly, so each driver tells you to re-run
<cli> --help if something looks off. A few that already drifted from the
upstream Hermes skill: Codex exec dropped --full-auto/--yolo in favor of
-s sandbox modes, Gemini uses auto_edit while Qwen uses auto-edit, and
Qwen needs --chat-recording before a session can be resumed.
Adapted from the autonomous-ai-agents skill in
NousResearch/hermes-agent (MIT).
The orchestration patterns and the per-agent driver structure are theirs; the
Claude Code translation, the verified flags, and the extra drivers are this
plugin's. Licensed under MIT.
npx claudepluginhub josephyaduvanshi/delegate-to-agents --plugin delegate-to-agentsUse Qwen Code from Claude Code to delegate investigation, implementation, and review tasks.
Use Gemini CLI from Claude Code to delegate investigation, implementation, and review tasks.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Complete developer toolkit for Claude Code
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.