Fetch Agent Card

SkillAI & models

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

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Fetch Agent Card skill

What this skill tells your AI

The instructions your AI receives, as published by ai-sns/ai-sns in aisns_backend/skills/skill_fetch_agent_card/SKILL.md and read by ahel’s review.

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.

Signals

GitHub stars
339
Forks
10
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
fetch-agent-card
Source
github.com/ai-sns/ai-sns