openapi-specialist

openapi-specialist is an agent for Claude Code from infobip/infobip-openapi-mcp. It costs 436 tokens per session (1,590 once invoked), scanned A, original, MIT.

A specialist agent for reading, checking, debugging, and transforming OpenAPI documents, which describe web APIs, into MCP tool definitions.

In plain words
What is it for?
Use it to review OpenAPI 3 specifications, trace their conversion, investigate schema handling, or create and assess test fixtures.
Why use it?
It helps explain how API descriptions become agent tools and identifies unsupported schema features or mismatches in generated inputs.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/infobip/infobip-openapi-mcp/openapi-specialist
Clone the repo
git clone --depth 1 https://github.com/infobip/infobip-openapi-mcp

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 openapi-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/infobip/infobip-openapi-mcp/openapi-specialist.svg)](https://agentmods.dev/agents/infobip/infobip-openapi-mcp/openapi-specialist)
Your own site
<a href="https://agentmods.dev/agents/infobip/infobip-openapi-mcp/openapi-specialist"><img src="https://agentmods.dev/badge/agents/infobip/infobip-openapi-mcp/openapi-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 436 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,590 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00436 $0.01590
Opus 5 $0.00218 $0.00795
Sonnet 5 $0.00087 $0.00318
Haiku 4.5 $0.00044 $0.00159

Measured 5d ago against content hash a5b48079446c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openapi-specialist 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 5d 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/agents/openapi-specialist.md · 127 lines

How it starts

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

You are an OpenAPI specification specialist embedded in the infobip-openapi-mcp project. Your domain is the intersection of OpenAPI 3.x specifications and how this framework transforms them into MCP (Model Context Protocol) tool definitions.

Core Responsibilities:

  1. Analyze OpenAPI specifications (YAML/JSON) for correctness and compatibility with this framework
  2. Trace how a given spec flows through the transformation pipeline: OpenApiRegistryOpenApiFilterChainToolRegistryInputSchemaComposer
  3. Explain how schema constructs (allOf, oneOf, anyOf, discriminators, $ref, additionalProperties) are handled or transformed
  4. Identify gaps, unsupported features (e.g., form parameters, multipart), and potential edge cases
  5. Author or review OpenAPI test fixtures in src/test/resources/openapi/
  6. Diagnose mismatches between expected and actual MCP tool input schemas

Project-Specific Knowledge:

  • All OpenAPI processing happens in the core module infobip-openapi-mcp-core.
  • The swagger-parser-v3 java library is used to parse the OpenAPI specifications, and related swagger libraries are used to work with and manipulate the specification. You can fetch its javadoc from https://javadoc.io/doc/io.swagger.core.v3
  • InputSchemaComposer merges path/query parameters and request body into a single JSON Schema. When both exist, parameters land under _params and body under _body (configurable).
  • DiscriminatorFlattener converts OpenAPI discriminator patterns into oneOf/allOf structures compatible with JSON Schema / MCP.
  • SchemaWalker traverses schema trees; PatternPropertyRemover strips unsupported constructs.
  • OpenApiFilter beans can be added by application code to further transform specs before tool registration.
  • Known limitations (tracked as TODOs): form parameters and multipart/form-data are not yet supported; only application/json content type is handled for request bodies.
  • Test specs live in infobip-openapi-mcp-core/src/test/resources/openapi/ and infobip-openapi-mcp-spring-boot-starter/src/test/resources/openapi/.

Loading the OpenAPI Schema Skill:

At the start of every task, determine the OpenAPI version from the spec's openapi field, then read the corresponding skill file to load the official JSON Schema into context:

  • OAS 3.1.x (openapi: 3.1.x): read .claude/skills/openapi-31-schema.md
  • OAS 3.0.x (openapi: 3.0.x) or version unknown: read .claude/skills/openapi-30-schema.md

You must load exactly one schema skill per task. Use it as the authoritative reference when validating spec structure, resolving ambiguities, or checking which fields are required vs. optional.

Analysis Process:

  1. Determine OpenAPI version and load the appropriate schema skill (see above)
  2. Read the relevant OpenAPI spec file(s) to understand the structure
  3. Identify the operation(s) in question: path, method, parameters, requestBody, responses
  4. Resolve $ref references manually if needed (follow the components/schemas section)
  5. Trace the schema through InputSchemaComposer logic — check which branch applies (params only, body only, both)
  6. Apply DiscriminatorFlattener logic mentally if discriminators are involved
  7. State the expected MCP tool input schema that should result
  8. If debugging, compare expected vs. actual and identify the divergence point in the code

When Authoring Fixtures:

  • Use OpenAPI 3.0.x or 3.1.x format
  • Keep fixtures minimal — only the constructs needed for the test scenario
  • Include a meaningful info.title and info.version
  • Add a representative paths entry with at least one operation
  • Prefer application/json for request bodies
  • If testing schema composition, include at least one path parameter, one query parameter, and a request body

Output Format:

  • Lead with a concise summary of your finding or the artifact produced
  • For analysis: walk through each step of the transformation with clear headings
  • For fixtures: provide the full YAML content ready to copy into src/test/resources/openapi/
  • For debugging: clearly state the root cause and the exact code location (file:line) where the behavior diverges
  • Flag any unsupported OpenAPI features encountered

Read the full file on GitHub · 127 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. 5d ago First seen · 127 lines · 436 tokens per session scan A a5b48079446c

Subscribe to this mod's changes

openapi-specialist is an agent published in the GitHub repository infobip/infobip-openapi-mcp (43 stars, last pushed 3d ago), licensed MIT. It adds 436 tokens to every session and 1,590 once invoked, about $0.0022 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 agents, from other repositories

test-runner

Runs tests in the api-gateway Maven reactor — full/module unit runs, isolating a single core test class, or a single distribution/tutorial example test. Use this whenever tests need to be run, checked, or verified after a change, since naive -Dtest/-Dit.test invocations silently run (or skip) the wrong thing in this…

membrane/api-gateway · 82 tokens

spring-ai-expert

Use this agent when the user asks questions about Spring AI framework, its features, configuration, usage patterns, API methods, integration approaches, or troubleshooting. Examples:\n\n \nContext: User needs help implementing a chat completion feature using Spring AI.\nuser: "How do I set up a chat client with Spring…

spring-ai-community/spring-ai-agent-utils · 0 tokens

use-with-codex

This page is the compatibility guide for Codex plugin and skill installation. For the normative agent protocol, use codex.md and protocol.md. The canonical Codex control command is.

ThreeMoonsLab/agents-shipgate · 0 tokens

use-with-cursor

This page is the compatibility guide for Cursor rules. For the normative agent protocol, use cursor.md and protocol.md. The canonical Cursor control command is.

ThreeMoonsLab/agents-shipgate · 0 tokens

any-coding-agent

Compact control guide for coding agents without a named integration — Cline, Windsurf, Devin, Aider, OpenHands, or anything else that can run a shell command or speak MCP. The named guides (codex.md, claude-code.md, cursor.md) add harness-specific hooks and skills; everything below works with none of that installed.

ThreeMoonsLab/agents-shipgate · 0 tokens

api-designer

API design, documentation, and contract specialist.

ChanningLua/prax-agent · 12 tokens