Agent Skill Guide
The A2A-Ask CLI includes a SKILL.md file that teaches AI coding assistants (GitHub Copilot CLI, Claude Code, VS Code Copilot, Cursor, etc.) how to use the tool effectively.
What is a Skill?
A skill is a structured document that gives AI assistants domain knowledge about a tool — its commands, workflows, decision trees, and error handling. When installed, the AI assistant can:
- Discover A2A agents and understand their capabilities
- Send messages and interpret responses
- Handle multi-turn conversations automatically
- Manage authentication requirements
- Stream responses and poll for status
- Handle errors and edge cases
Installing the Skill
GitHub Copilot CLI (personal)
mkdir -p ~/.copilot/skills/a2a-ask-cli
cp skill/SKILL.md ~/.copilot/skills/a2a-ask-cli/SKILL.md
GitHub Copilot CLI (project)
mkdir -p .github/skills/a2a-ask-cli
cp skill/SKILL.md .github/skills/a2a-ask-cli/SKILL.md
git add .github/skills/
git commit -m "Add A2A-Ask CLI agent skill"
Claude Code (personal)
mkdir -p ~/.claude/skills/a2a-ask-cli
cp skill/SKILL.md ~/.claude/skills/a2a-ask-cli/SKILL.md
Claude Code (project)
mkdir -p .claude/skills/a2a-ask-cli
cp skill/SKILL.md .claude/skills/a2a-ask-cli/SKILL.md
VS Code / Cursor (project)
mkdir -p .github/skills/a2a-ask-cli
cp skill/SKILL.md .github/skills/a2a-ask-cli/SKILL.md
From the SpecWorks Plugins Marketplace
The skill is also available via the SpecWorks plugins repository:
# Using GitHub Copilot CLI plugin system
copilot plugins add spec-works
After installing, restart your agent session to pick up the new skill.
What the Skill Teaches
The SKILL.md covers:
- Agent Discovery — How to fetch and interpret agent cards
- Message Sending — Text, file, and structured data messages
- Streaming — Real-time status updates and partial results
- Multi-Turn Conversations — Following up with
--task-id - Task Management — Polling, listing, and canceling tasks
- Authentication — Decision tree for API keys, bearer tokens, OAuth2
- Error Handling — Common errors and recovery strategies
- A2A Protocol Reference — Task states, protocol versions, key concepts
View the Full Skill
The complete SKILL.md is available in the skill/ folder of the repository.