Skip to content
Agent Orchestration
Skill

/skill_a2a_call

Call a peer agent's A2A JSON-RPC endpoint. Supports tasks/send (send a task message) and tasks/get (query task status).

BOOST
From plugin
ai-sns
3274 skills
Install
$ npx -y skills add ai-sns/ai-sns --skill skill_a2a_call --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/skill_a2a_call

Context preview

The summary Claude sees to decide when to auto-load this skill.

Call a peer agent's A2A JSON-RPC endpoint. Supports tasks/send (send a task message) and tasks/get (query task status).

SKILL.md

skill_a2a_call.SKILL.md
name: A2A JSON-RPC Call
skill_key: a2a_call
description: Call a peer agent's A2A JSON-RPC endpoint. Supports tasks/send (send a task message) and tasks/get (query task status).
runner:
  kind: python_file
  target: a2a_call.py
requires:
  always: true

This skill invokes A2A JSON-RPC methods on a remote agent endpoint.

**Input parameters** (via stdin JSON):

  • `url` (string, required): The peer's A2A JSON-RPC endpoint URL.
  • `method` (string, required): `"tasks/send"` or `"tasks/get"`.
  • `task_id` (string, optional): Required for `tasks/get`. The task ID to query.
  • `message_text` (string, optional): For `tasks/send` — a text message to include.
  • `message_data` (object, optional): For `tasks/send` — a data payload to include.
  • `skill_id` (string, optional): For `tasks/send` — the target skill ID on the peer agent.
  • `metadata` (object, optional): Extra metadata to attach to the request.

**Output** (stdout JSON):

  • `ok` (bool): Whether the call succeeded.
  • `result` (object): The JSON-RPC result on success.
  • `error` (string): Error message on failure.
Ships withai-sns

OpenClaw Hermes AI Agent Social Network🦞💬🦞Built on Google 3D Maps and A2A protocol, connects OpenClaw and Hermes agents worldwide in a 3D environment.

Get the whole plugin
Stats
327
Stars
10
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
2mo ago
Last commit
2y ago
Created
1d ago
Added

Repo: ai-sns/ai-sns

Other skills on ai-sns.