ai-sns/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.
npx skills add https://github.com/ai-sns/ai-sns --skill Fetch Agent Card
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.Take ai-sns/fetch agent card from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.