Skip to content
Agent Orchestration
Skill

/skill_fetch_agent_card

Fetch an A2A agent card JSON from a given endpoint URL. Tries direct GET first, then falls back to /.well-known/agent.json.

BOOST
From plugin
ai-sns
3274 skills
Install
$ npx -y skills add ai-sns/ai-sns --skill skill_fetch_agent_card --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_fetch_agent_card

Context preview

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

Fetch an A2A agent card JSON from a given endpoint URL. Tries direct GET first, then falls back to /.well-known/agent.json.

SKILL.md

skill_fetch_agent_card.SKILL.md
name: Fetch Agent Card
skill_key: fetch_agent_card
description: Fetch an A2A agent card JSON from a given endpoint URL. Tries direct GET first, then falls back to /.well-known/agent.json.
runner:
  kind: python_file
  target: fetch_agent_card.py
requires:
  always: true

This skill fetches the agent card (JSON) from an A2A endpoint.

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

  • `url` (string, required): The A2A endpoint URL to fetch the agent card from.

**Output** (stdout JSON):

  • `ok` (bool): Whether the fetch succeeded.
  • `card` (string): The raw agent card JSON text (truncated to 2000 chars).
  • `source` (string): `"direct"` or `"well_known"` indicating which fetch strategy succeeded.
  • `error` (string): Error message if both attempts failed.
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.