agntcy/agentic-apps/a2acli
Claude Code and agent skill by agntcy/agentic-apps
- community
Checking that the SKILL.md file is still in the repository.
Interact with A2A protocol agents — list available agents, inspect their capabilities, send messages, and retrieve task results. Use when you need to communicate with or delegate work to another A2A-compatible AI agent, query an agent's skills, or check the status of an async task.
Install
npx vskill@latest install agntcy/agentic-apps/a2acliSKILL.md
a2acli — A2A Protocol CLI
a2acli is a command-line tool for interacting with agents that expose the A2A (Agent-to-Agent) protocol. It supports both standard HTTP transports (JSON-RPC, REST) and SLIM RPC for agents deployed behind a SLIM messaging node.
Setup
1. Build the binary
From the skill directory:
2. Add AgentCard files
AgentCard JSON files must be placed in a .a2aagents directory. The CLI searches:
.a2aagents/in the current working directory~/.a2aagents/in the home directory
You can override this with --agents-dir <path>.
Each agent is identified by the SHA256 digest of its AgentCard JSON file (e.g. sha256:3f7a2c1b...). You can use the full digest or any unambiguous prefix.
Commands
scripts/a2acli list
List all available agents.
Output:
scripts/a2acli get-card --agent <digest>
Print the full AgentCard JSON for an agent, including all skills, capabilities, and supported interfaces.
Example:
Output: Pretty-printed AgentCard JSON, for example:
Use this command when you need to understand what an agent can do before sending it a message.
scripts/a2acli send-message --agent <digest> [--return-immediately] "<message>"
Send a text message to an agent.
Flags:
--return-immediately— Instruct the agent to return a Task immediately without waiting for completion. The Task ID and initial status are printed; no polling is performed. Without this flag the CLI polls every 2 seconds until the task reaches a terminal state.
Example — synchronous response (agent replies with a Message):
Example — async response, poll until done (default):
Example — return immediately, retrieve result later:
scripts/a2acli get-task --agent <digest> "<task-id>"
Retrieve the current state of a task, including its status, history, and any artifacts.
Example:
Output: The full task as JSON:
Global Flags
| Flag | Description | |
|---|---|---|
--agents-dir <path> | Override the agents directory (default: .a2aagents in CWD, then ~/.a2aagents) |
Common Workflows
Discover and query an agent
Fire-and-forget a long-running task
Use a non-default agents directory
Task States
| State | Meaning | |
|---|---|---|
TASK_STATE_SUBMITTED | Task has been received, awaiting execution | |
TASK_STATE_WORKING | Agent is actively working on the task | |
TASK_STATE_COMPLETED | Task finished successfully | |
TASK_STATE_FAILED | Task failed due to an error | |
TASK_STATE_CANCELED | Task was canceled | |
TASK_STATE_REJECTED | Task was rejected by the agent | |
TASK_STATE_INPUT_REQUIRED | Agent needs more input (send a follow-up message) | |
TASK_STATE_AUTH_REQUIRED | Agent requires authentication |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingslim-multicluster/a2acli-skill/a2acli/SKILL.md
Popularity
- Repository stars
- 123
- Repository forks
- 59
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/agntcy/agentic-apps/a2acli)