generate-agent-card

generate-agent-card is a skill for Claude Code from agentic-community/mcp-gateway-registry. It costs 50 tokens per session (2,782 once invoked), scanned A, original, Apache-2.0.

A tool that reads an AI agent's source code and creates an A2A agent card, a JSON file describing how the agent works and what it offers to other agents.

In plain words
What is it for?
Use it to document an agent from a local folder or GitHub repository and produce a standard A2A description file.
Why use it?
It removes the need to inspect a multi-file project and write the description by hand. It gathers details such as tools, skills, authentication, and communication protocol from the code.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it to document an agent from a local folder or GitHub repository and produce a standard A2A description file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentic-community/mcp-gateway-registry/generate-agent-card
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agentic-community/mcp-gateway-registry --skill generate-agent-card
Clone the repo
git clone --depth 1 https://github.com/agentic-community/mcp-gateway-registry

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for generate-agent-card

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/generate-agent-card/github.svg)](https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/generate-agent-card)
Your own site
<a href="https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/generate-agent-card"><img src="https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/generate-agent-card/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate-agent-card

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentic-community/mcp-gateway-registry/generate-agent-card"><img src="https://agentmods.dev/badge/skills/agentic-community/mcp-gateway-registry/generate-agent-card.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.02782
Opus 5 $0.00025 $0.01391
Sonnet 5 $0.00010 $0.00556
Haiku 4.5 $0.00005 $0.00278

Measured 12d ago against content hash 4ab8b0807d18, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

generate-agent-card scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/generate-agent-card/SKILL.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate A2A Agent Card

Generate an A2A (Agent-to-Agent) protocol agent card JSON file by analyzing the source code at $ARGUMENTS.

Steps

1. Carefully study the source code

Do NOT just skim the top-level files. Agents can be complex, multi-file projects. You MUST thoroughly explore the entire folder structure before generating the card.

If $ARGUMENTS is a local folder path, use Glob to find ALL Python files, YAML/JSON configs, and README files in the folder and its subfolders. Read every relevant file.

If $ARGUMENTS is a GitHub URL, use WebFetch to read the raw file contents. Follow imports to discover additional files.

Where to look (agents are not always a single file):

  • Entrypoints: main.py, app.py, agent_entrypoint.py, server.py, __main__.py
  • Tool definitions: tools may be in separate files like tools/, skills/, functions/, or registered via decorators (@tool, @function_tool, @mcp_tool)
  • Multi-agent setups: look for orchestrator/supervisor patterns, multiple agent classes, agent registries, sub-agent folders
  • Prompts and system messages: may be in separate files like prompts/, templates/, system_prompt.txt, or as string constants
  • MCP server connections: look for MCP client configs, mcp_servers, MCPClient, tool imports from MCP servers - these are skills the agent can use
  • Config files: pyproject.toml, requirements.txt, .bedrock_agentcore.yaml, agent_config.yaml, docker-compose.yml
  • Sub-folders: check ALL subdirectories for additional agents, tools, or shared utilities

From the code, detect:

  • Agent name: from constants, CLI args, config files, class names
  • Description: from docstrings, README, module-level comments
  • Skills/tools: from @tool decorators, tool lists, function definitions passed to agent frameworks (Strands, LangChain, CrewAI, AutoGen, etc.), MCP tool connections, imported tool modules
  • Multi-agent skills: if there are multiple agents (orchestrator, sub-agents), each agent's capabilities should be represented as skills
  • MCP-sourced tools: if the agent connects to MCP servers, list those tools as skills too (read the MCP server configs to find tool names and descriptions)
  • Input/output modes: text, images, files, structured data - check what the agent accepts and returns
  • Protocol: HTTP (HTTP+JSON), A2A (JSONRPC), MCP
  • Auth mechanism: IAM/SigV4, Cognito/JWT, API key, OAuth2
  • Streaming support: from framework config, capabilities flags
  • Version: from constants, pyproject.toml, or default to 1.0.0
  • Endpoint URL: from .bedrock_agentcore.yaml or deployment config if available

Read the full file on GitHub · 263 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 263 lines · 50 tokens per session scan A 4ab8b0807d18

Subscribe to this mod's changes

generate-agent-card is a skill published in the GitHub repository agentic-community/mcp-gateway-registry (909 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 2,782 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens