/engineering-advanced-skills:agent-protocolfrom engineering-advanced-skills
Designs AI agent communication protocols including MCP tool schemas, Google A2A, OpenAI Function Calling, and inter-agent messaging. Useful when building multi-agent systems or defining tool interfaces.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The agent designs tool schemas for MCP, Google A2A, and OpenAI Function Calling protocols. It implements transport selection, capability discovery, authentication flows (OAuth 2.1, API keys), structured error handling, rate limiting, and protocol bridges for heterogeneous agent ecosystems.
Before designing the protocol, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
What are you building?
│
├─ Tools for a single LLM client (Claude, Cursor, Copilot)
│ └─ Use MCP — it's the native protocol for tool serving
│
├─ Agent-to-agent communication across organizations
│ └─ Use A2A — designed for cross-boundary agent discovery and delegation
│
├─ Tools for OpenAI models specifically
│ └─ Use OpenAI Function Calling — tightest integration
│
├─ Python pipeline with multiple chained tools
│ └─ Use LangChain Tools — simplest for in-process orchestration
│
└─ Heterogeneous agent ecosystem (multiple protocols)
└─ Use Protocol Bridge pattern — translate between protocols at boundaries
# 1. Generate a schema from flags (or --from-python FILE --function NAME, or --from-config FILE)
python scripts/schema_generator.py --name search_docs \
--desc "Search internal docs by keyword and return the top matches" \
--param "query:string:required:Search terms" --param "limit:integer:optional:Max results" \
--protocol openai --strict --output /tmp/search_docs.json
# 2. Validate it (auto-detects MCP, A2A agent card, OpenAI single tool / tools list / functions list)
python scripts/protocol_validator.py assets/sample_mcp_tool.json assets/sample_openai_tool.json --strict # PASS, exit 0
python scripts/protocol_validator.py assets/sample_mcp_tool_flawed.json --strict # 2 errors, exit 1
# 3. Map capabilities across files: inventory, duplicate names, compatibility matrix, quality gaps
python scripts/capability_mapper.py assets/sample_mcp_tool.json assets/sample_openai_tool.json
| Tool | Purpose | Key flags |
|---|---|---|
schema_generator.py | MCP tool, OpenAI tool ({"type": "function", ...}) or A2A agent card from flags, a Python signature or a config file | --param name:type[:required|optional][:desc], --protocol, --strict (OpenAI strict mode: all params required, no extra properties), --output |
protocol_validator.py | Naming, description quality, types, required-vs-properties consistency, strict-mode rules | --protocol auto|mcp|a2a|openai, --strict, --json |
capability_mapper.py | Inventory and duplicate detection across protocols; reads everything the generator writes | --detect-conflicts, --compatibility-matrix, --gap-analysis, --scan-dir, --json |
Exit codes. protocol_validator.py: 0 no errors, 1 validation errors, 2 missing file or
invalid JSON. capability_mapper.py: 0 clean, 1 an unreadable protocol file or a likely
duplicate tool (same name and description in two places, as in step 3), 2 missing file or
directory. schema_generator.py: 0 written, 2 bad arguments.
Done when: every schema passes protocol_validator.py --strict, each tool description says
what it does, when to use it and what it returns, and the mapper shows no unintended duplicates
across the protocols you serve.
Mistake: "Search tool" as the whole description. Why it happens: The name feels self-explanatory to the author. Instead: The model chooses tools from descriptions alone. Say what it does, when to use it instead of its neighbours, and what comes back.
Mistake: Copy-editing the MCP schema into an OpenAI schema and letting them drift.
Why it happens: Each integration was added by a different person.
Instead: Keep one source (a config file or the Python signature) and generate each protocol's schema from it with schema_generator.py.
Mistake: A single input: string parameter that the tool parses itself.
Why it happens: It avoids designing the interface.
Instead: Typed, described parameters with enums and limits. Validation then happens before the call, and the model makes fewer malformed calls.
scripts/schema_generator.py, scripts/protocol_validator.py, scripts/capability_mapper.py — the three CLIs above.assets/sample_mcp_tool.json, assets/sample_openai_tool.json (valid, generated by step 1), assets/sample_mcp_tool_flawed.json (bad name, missing types, required field not in properties).references/ — protocol selection, MCP implementation, A2A and bridges, errors and testing.Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
This skill does NOT cover:
engineering/mcp-server-builderengineering/agent-workflow-designerengineering/agent-designerengineering/senior-devops| Skill | Integration | Data Flow |
|---|---|---|
engineering/mcp-server-builder | Protocol schemas defined here feed directly into MCP server scaffolding | Tool definitions and inputSchema objects flow into server code generation |
engineering/agent-workflow-designer | Workflow orchestrators consume protocol interfaces to dispatch tasks | Agent-protocol defines the transport contract; workflow-designer defines execution order and branching |
engineering/agent-designer | Agent identity and capability profiles reference protocol-level skill declarations | Agent cards and capability metadata from protocol design inform agent persona configuration |
engineering/senior-security | Security review of auth flows, token scoping, and rate limiting configurations | OAuth 2.1 flows, API key rotation policies, and audit logging patterns flow into security assessments |
engineering/api-design-reviewer | REST and JSON-RPC endpoint design review for A2A and MCP HTTP transports | API schema and endpoint contracts feed into design review checklists |
engineering/observability-designer | Monitoring and tracing for inter-agent calls, latency tracking, and error budgets | Tool call logs with agent ID, latency, and error codes flow into observability dashboards |
assets/sample_mcp_tool.json (opens in a new tab)assets/sample_mcp_tool_flawed.json (opens in a new tab)assets/sample_openai_tool.json (opens in a new tab)references/a2a-and-bridges.md (opens in a new tab)references/errors-testing-and-quality.md (opens in a new tab)references/mcp-implementation.md (opens in a new tab)references/protocol-selection.md (opens in a new tab)scripts/capability_mapper.py (opens in a new tab)scripts/protocol_validator.py (opens in a new tab)scripts/schema_generator.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mcp, a2a, function-calling, tool-schemas, multi-agent, agent-protocol
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job