samotech/skills-tree/a2a-tool
Claude Code and agent skill by samotech/skills-tree
- community
Checking that the SKILL.md file is still in the repository.
Use agent-to-agent tool interfaces with explicit contracts, authorization boundaries, message validation, and observable outcomes.
Install
npx vskill@latest install samotech/skills-tree/a2a-toolSKILL.md
The same SKILL.md was published earlier as samotech/skills-tree/a2a-tool.
[Image: Dependency Status]
A2a Tool
Category: tool-use Skill Level: advanced Stability: stable Added: 2026-09
Description
Use agent-to-agent tool interfaces with explicit contracts, authorization boundaries, message validation, and observable outcomes. The invocation is contract-first: validate the tool interface and inputs before calling, and verify the observable outcome afterwards rather than trusting acknowledgements.
Inputs / Outputs
| Direction | Field | Type | Contract | |
|---|---|---|---|---|
| Input | a2a_contract | object | The target agent card or declared interface: skills, endpoints, auth requirements | |
| Input | request | object | Action, parameters, and idempotency key bounded to the declared contract | |
| Output | response | object | Validated, correlated response (request id matched, payload schema checked) | |
| Output | state_evidence | object | Independent evidence of the resulting state, not just an acknowledgement |
Procedure
- Inspect the target protocol surface (agent card, declared skills, auth scheme) before the first call.
- Validate the request against the declared contract; reject unknown actions and out-of-contract parameters.
- Send the call inside the authorization boundary; never widen scopes to make a call succeed.
- Correlate the response to the request (ids, task lifecycle state) and validate its schema.
- Verify the observable outcome independently; an acknowledgement is not completion.
- Record the interaction trace for auditing and retry decisions.
Example
Related Skills
- Tool Guardrails - boundary policy applied before the call
- Tool Output Validation - validate the response payload
- Tool Call Trace Capture - record the interaction for audit
Failure Modes
- Calling an undocumented interface or undeclared action.
- Sending incomplete or excessive data outside the contract.
- Treating an acknowledgement as proof of completion.
- Ignoring authorization boundaries or widening scopes to fit the call.
Changelog
- v2 (2026-11): Structural modernization; added the input/output contract table, a deterministic example, an execution procedure, and corpus-verified related links (replaced the non-corpus input-guardrails/AI_CONSTITUTION.md pointers where present).
- v1 (2026-09): Initial entry.
Evidence
- https://agentskills.io/specification
Evidence status: implementation guidance only; provider behavior must be checked against current provider documentation; no benchmark claim is made without reproducible evidence.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagent-skills/a2a-tool/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 2
- 7-day trend score
- 12
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
- Grok Build (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/samotech/skills-tree/a2a-tool)