Skill fetch agent card
Skill ai-sns/ai-sns/aisns_backend/skills/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.From its SKILL.md
npx -y skills add ai-sns/ai-sns --skill skill_fetch_agent_cardAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.7 KB, 125 tokens by cl100k_base, as published. Nobody here has run it
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.
What ships with it: 1 file
3.2 KB alongside SKILL.md, 1 of them executable
- fetch_agent_card.pyruns3.2 KB