Install
$ agentstack add skill-mmccalla-coding-agent-skill-library-inter-agent-communication-a2a ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Inter-Agent Communication (A2A)
When to use
Use this skill when multiple agents must collaborate across process, service, framework, repository or organisation boundaries. Apply it for delegation, capability discovery, task status tracking, streaming results and standardised hand-offs.
Objective
Define safe, interoperable contracts for agent identity, delegation, task exchange, and result hand-off.
Procedure
- Define each agent as an opaque service with a clear public contract.
- Publish an agent card describing identity, endpoint, version, capabilities, skills, input/output modes and authentication.
- Represent work as tasks with unique identifiers and explicit states.
- Exchange messages containing metadata and content parts.
- Return artefacts as structured outputs, files or streamed parts.
- Preserve context using a context identifier where multi-step collaboration is required.
Task lifecycle
Use a minimal lifecycle unless the domain needs more detail:
submitted -> working -> input_required -> completed | failed | cancelled
Every state transition should include timestamp, actor, reason and optional artefact references.
Implementation guidance
For coding agents, keep payloads structured:
{
"task_id": "task-123",
"context_id": "ctx-456",
"skill": "run_tests",
"input": {"path": "tests/"},
"constraints": ["no network", "read-only except reports/"],
"expected_output": "test_report"
}
Guardrails
- Do not expose internal prompts, secrets or private state through agent cards.
- Authenticate server endpoints and restrict discovery where capabilities are sensitive.
- Treat remote agents as untrusted until validated.
- Use timeouts and cancellation for long-running tasks.
OWASP ASI mapping
Use skills_docs/security/OWASP_ASI_CROSSWALK.md for the shared risk map.
| ASI risk | A2A control | | --- | --- | | ASI04 Agentic Supply Chain Vulnerabilities | Verify agent cards, versions, endpoints and allowed capabilities before delegation. | | ASI07 Insecure Inter-Agent Communication | Authenticate peers, version message schemas and treat peer output as untrusted. | | ASI08 Cascading Failures | Use fan-out limits, cancellation, bounded retries and explicit failure states. | | ASI10 Rogue Agents | Add containment, revocation and audit trails for agents that deviate from declared scope. |
References
Verification
- [ ] Agent card exists.
- [ ] Task states are explicit.
- [ ] Message schema is versioned.
- [ ] Authentication and authorisation are defined.
- [ ] Failure and cancellation paths are implemented.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: mmccalla
- Source: mmccalla/coding-agent-skill-library
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.