cli-a2a — Claude Code skill: what it does, how to install
Use this skill to control the OmniRoute A2A server from the CLI, send tasks, inspect execution history, and test JSON-RPC 2.0.
npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a claude-codeWhat cli-a2a does
cli-a2a gives the agent instructions for working with the OmniRoute A2A server through its CLI. It can check server status, print the Agent Card, list available skills, and invoke a skill with JSON input or an input file.
The CLI also exposes task listing and detail views, filters by status or skill, cancellation, watching, event streaming, and logs. Install the command first with npm install -g omniroute, or run it through npx omniroute; these operations depend on the omniroute command being available.
What it helps with
- check the A2A server status
- print the Agent Card and available skills
- invoke a skill with JSON input
- follow a task and inspect its logs
Example prompts for the agent
- Check the OmniRoute A2A server status and return the result as JSON.
- Invoke
<skill>with the data from<path>and wait for the response. - List tasks for
<s>and show the details for task<id>.
How to install cli-a2a
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a claude-code2Manually: put the files in place
~/.claude/skills/cli-a2a/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cli-a2a/
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a codex2Manually: put the files in place
.agents/skills/cli-a2a/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a cursor2Manually: put the files in place
.cursor/skills/cli-a2a/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cheaper-inference/OmniRoute cli-a2a2Manually: put the files in place
.github/skills/cli-a2a/SKILL.md1Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a gemini-cli2Platform CLI
gemini skills install https://github.com/cheaper-inference/OmniRoute --path skills/cli-a2aManually: put the files in place
.devin/skills/cli-a2a/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cli-a2a
How do I install cli-a2a in Claude Code?
Run npx skills add cheaper-inference/OmniRoute --skill cli-a2a -a claude-code. The skill will be available at ~/.claude/skills/cli-a2a/SKILL.md.
What does cli-a2a do?
It helps the agent use the OmniRoute A2A server from the CLI: check status, discover skills, send tasks, and inspect task execution.
Which task operations does cli-a2a support?
It can list and inspect tasks, filter them by status, skill, limit, or time, cancel a task, watch it, stream events, and read logs.
Source text
SKILL.md · MIT
--- name: cli-a2a description: Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively. --- <!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## Overview Interact with the OmniRoute A2A server from the CLI. Send tasks, inspect skill execution history, and test the JSON-RPC 2.0 agent-to-agent protocol interactively. ## Quick install ```bash npm install -g omniroute # or: npx omniroute omniroute --version ``` ## Subcommands ### `a2a` Agent-to-Agent (A2A) server **Example:** ```bash omniroute a2a ``` ### `a2a status` Show A2A server status **Flags:** - `--json` **Example:** ```bash omniroute a2a status ``` ### `a2a card` Print the Agent Card JSON **Example:** ```bash omniroute a2a card ``` ### `a2a skills` **Example:** ```bash omniroute a2a skills ``` ### `a2a invoke <skill>` **Flags:** - `--input <json>` - `--input-file <path>` - `--wait` - `--timeout <ms>` **Example:** ```bash omniroute a2a invoke <skill> ``` ### `a2a tasks` **Example:** ```bash omniroute a2a tasks ``` ### `a2a list` **Flags:** - `--status <s>` - `--skill <s>` - `--limit <n>` - `--since <ts>` **Example:** ```bash omniroute a2a list ``` ### `a2a get <id>` **Example:** ```bash omniroute a2a get <id> ``` ### `a2a cancel <id>` **Flags:** - `--yes` **Example:** ```bash omniroute a2a cancel <id> ``` ### `a2a watch <id>` **Example:** ```bash omniroute a2a watch <id> ``` ### `a2a stream <id>` **Example:** ```bash omniroute a2a stream <id> ``` ### `a2a logs <id>` **Example:** ```bash omniroute a2a logs <id> ```
© cheaper-inference · MIT · cheaper-inference/OmniRoute