delegate

Delegates tasks to external agent CLIs like Gemini, Claude, or Codex with optional handoff context.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/hanh-nd/agent-kit --skill delegate-hanh-nd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: delegate
Source: https://github.com/hanh-nd/agent-kit/tree/main/plugins/agent-kit/.gemini/skills/delegate
Command: npx skills add https://github.com/hanh-nd/agent-kit --skill delegate-hanh-nd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating work across multiple AI agent CLIs requires manual context copying and command switching. This Skill routes a task to Gemini, Claude, or Codex directly from your current session, optionally passing a handoff folder as context. ## Core Features & Use Cases - Multi-Agent Dispatch: Send a task string to Gemini, Claude, or Codex via the kit_trigger_agent MCP tool. - Handoff Context Support: Pass a path to a handoff folder (e.g., .agent-kit/handoffs/feature-slug/plan) so the target agent receives full working context. - Raw Output Reporting: Streams the agent's output in real time and reports it verbatim without summarization or editing. - Use Case: You have a plan written in a handoff folder and want Claude to implement it while you stay in your current session—delegate the implementation task with the folder path and watch the streamed results. ## Quick Start Ask the assistant to delegate a task, for example: delegate to Gemini to scout the codebase and summarize key patterns.

Frequently Asked Questions about delegate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate a task to another AI agent CLI?▼

Provide the agent name (gemini, claude, or codex) followed by the task, such as '/delegate gemini scout the codebase'. The skill calls kit_trigger_agent with the agent and task, then reports the full output.

How do I pass handoff context to an external agent?▼

Replace the task message with a path to a handoff folder, for example '/delegate claude .agent-kit/handoffs/feature-slug/plan'. The target agent receives the folder path as its task context.

Which agent CLIs does task delegation support?▼

Delegation supports three agent CLIs: Gemini, Claude, and Codex. The first word of the arguments selects the target agent, and the remainder becomes the task or handoff path.

What happens if the delegated agent fails or times out?▼

If the agent fails due to a timeout or a missing CLI installation, the error is reported plainly and the skill stops. It never retries the request and never modifies the agent's output.

Does delegation summarize or edit the agent's output?▼

No. The skill reports the agent's output raw and verbatim. Post-processing, summarizing, or editing the returned output is explicitly prohibited by its rules.