samotech/skills-tree/a2a-tool

Claude Code and agent skill by samotech/skills-tree

Trust tier 2
  • community
LLM review pending
Source check pending

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-tool

SKILL.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
DirectionFieldTypeContract
Inputa2a_contractobjectThe target agent card or declared interface: skills, endpoints, auth requirements
InputrequestobjectAction, parameters, and idempotency key bounded to the declared contract
OutputresponseobjectValidated, correlated response (request id matched, payload schema checked)
Outputstate_evidenceobjectIndependent evidence of the resulting state, not just an acknowledgement
Procedure
  1. Inspect the target protocol surface (agent card, declared skills, auth scheme) before the first call.
  2. Validate the request against the declared contract; reject unknown actions and out-of-contract parameters.
  3. Send the call inside the authorization boundary; never widen scopes to make a call succeed.
  4. Correlate the response to the request (ids, task lifecycle state) and validate its schema.
  5. Verify the observable outcome independently; an acknowledgement is not completion.
  6. Record the interaction trace for auditing and retry decisions.
Example
python
request = {'action': 'inspect', 'target': 'repository', 'request_id': 'r-1'}
contract_actions = {'inspect', 'query', 'subscribe'}
assert request['action'] in contract_actions
assert request['request_id'] != ''
print('a2a request validated against the declared contract')
Related Skills

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/samotech/skills-tree/a2a-tool/badge)](https://verified-skill.com/skills/samotech/skills-tree/a2a-tool)

Something wrong with this skill or its page? Tell us.