Delegate to Specialist CLI
When the user uses @cli syntax (e.g., @kimi, @gemini, @codex), delegate the task to that CLI.
Syntax
@kimi <task> - Delegate to Kimi (frontend/design specialist)
@gemini <task> - Delegate to Gemini (research/search specialist)
@codex <task> - Delegate to Codex (large context specialist)
@k, @g, @c - Shorthand aliases
Execution Steps
When you see @cli syntax in a user message:
Parse the request: Extract CLI name and task
@kimi design a modal → cli=kimi, task="design a modal"
@k build a navbar → cli=kimi, task="build a navbar"
Check CLI availability: Run the registry check
${CLAUDE_PLUGIN_ROOT}/lib/registry.sh check <cli>
If available: Execute the delegation
${CLAUDE_PLUGIN_ROOT}/lib/process-manager.sh run <cli> "<task>" "$(pwd)"
Stream output: Show the CLI's response with attribution
Summarize: After completion, briefly summarize what the specialist did
CLI Specialties
| CLI |
Strengths |
Color |
| kimi |
Frontend, design, UI/UX, CSS, animations, React, Vue, Tailwind |
Magenta |
| gemini |
Research, search, documentation, explanations, comparisons |
Blue |
| codex |
Large context analysis, codebase-wide refactoring, legacy code |
Green |
Example Interaction
User: @kimi design a modern dashboard with charts
Response:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
kimi Starting...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[kimi] Creating Dashboard.tsx...
[kimi] Adding chart components...
[kimi] Styling with Tailwind...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
kimi ✓ Complete · 12s
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Summary: Kimi created a Dashboard component with LineChart and BarChart using Recharts, styled with Tailwind CSS dark theme.
Error Handling
If the CLI is not found:
[kimi:error] CLI not found. Is it installed?
To install Kimi CLI:
uv tool install kimi-cli
Or use a different specialist:
@gemini for research tasks
@codex for large codebase analysis
Notes
- Always use the process manager for execution to get proper streaming and attribution
- The working directory is passed to the CLI so it can access project files
- Timeout is CLI-specific (configured in registry.yaml)
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: delegate-33description: Explicitly delegate a task to a specialist CLI using @cli syntax Use when this capability is needed.4---56# Delegate to Specialist CLI78When the user uses @cli syntax (e.g., @kimi, @gemini, @codex), delegate the task to that CLI.910## Syntax1112- `@kimi <task>` - Delegate to Kimi (frontend/design specialist)13- `@gemini <task>` - Delegate to Gemini (research/search specialist)14- `@codex <task>` - Delegate to Codex (large context specialist)15- `@k`, `@g`, `@c` - Shorthand aliases1617## Execution Steps1819When you see @cli syntax in a user message:20211. **Parse the request**: Extract CLI name and task22 - `@kimi design a modal` → cli=kimi, task="design a modal"23 - `@k build a navbar` → cli=kimi, task="build a navbar"24252. **Check CLI availability**: Run the registry check26 ```bash27 ${CLAUDE_PLUGIN_ROOT}/lib/registry.sh check <cli>28 ```29303. **If available**: Execute the delegation31 ```bash32 ${CLAUDE_PLUGIN_ROOT}/lib/process-manager.sh run <cli> "<task>" "$(pwd)"33 ```34354. **Stream output**: Show the CLI's response with attribution36375. **Summarize**: After completion, briefly summarize what the specialist did3839## CLI Specialties4041| CLI | Strengths | Color |42|-----|-----------|-------|43| **kimi** | Frontend, design, UI/UX, CSS, animations, React, Vue, Tailwind | Magenta |44| **gemini** | Research, search, documentation, explanations, comparisons | Blue |45| **codex** | Large context analysis, codebase-wide refactoring, legacy code | Green |4647## Example Interaction4849**User:** `@kimi design a modern dashboard with charts`5051**Response:**52```53━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━54 kimi Starting...55━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━56[kimi] Creating Dashboard.tsx...57[kimi] Adding chart components...58[kimi] Styling with Tailwind...59━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━60 kimi ✓ Complete · 12s61━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━62```6364**Summary:** Kimi created a Dashboard component with LineChart and BarChart using Recharts, styled with Tailwind CSS dark theme.6566## Error Handling6768If the CLI is not found:69```70[kimi:error] CLI not found. Is it installed?7172To install Kimi CLI:73 uv tool install kimi-cli7475Or use a different specialist:76 @gemini for research tasks77 @codex for large codebase analysis78```7980## Notes8182- Always use the process manager for execution to get proper streaming and attribution83- The working directory is passed to the CLI so it can access project files84- Timeout is CLI-specific (configured in registry.yaml)8586---87> Converted and distributed by [TomeVault](https://tomevault.io/claim/syedadeel2) — claim your Tome and manage your conversions.88<!-- tomevault:4.0:skill_md:2026-04-14 -->