mcpbeat

Fetch Agent Card

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.

1k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
336
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/ai-sns/ai-sns --skill Fetch Agent Card

The instruction itself

as written by the author

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.

How to use it

Copy the folder

Take ai-sns/fetch agent card from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

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.