infobip-openapi-mcp: Agent for Claude Code

.claude/agents/openapi-specialist.md

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

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

This is infobip/infobip-openapi-mcp's own configuration. It tells Claude Code how to work on infobip-openapi-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything infobip-openapi-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to infobip/infobip-openapi-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/infobip/infobip-openapi-mcp/main/.claude/agents/openapi-specialist.md
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/github.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/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 openapi-specialist

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.00436 $0.01590
Opus 5.5 $0.00174 $0.00636
Sonnet 5.5 $0.00087 $0.00318
Haiku 4.5 $0.00044 $0.00159

Measured 2mo ago against content hash a5b48079446c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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: OpenApiRegistry → OpenApiFilterChain → ToolRegistry → InputSchemaComposer
  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. 2mo 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 (44 stars, last pushed 4d ago), licensed MIT. It adds 436 tokens to every session and 1,590 once invoked, about $0.0017 per session on Opus 5.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

openapi-specialist compared with agents from other repositories

openapi-specialist next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openapi-specialistinfobip/infobip-openapi-mcpAgent444d agoMITA436Claude Code
schemajeremylongshore/tons-of-skills-marketplaceAgent2.9kyesterdayMITA77Claude Code
api-designerChanningLua/prax-agentAgent2721mo agoMITA12Claude Code
jentic-api-improvejentic/jentic-api-scorecardAgent222d agoApache-2.0A56Claude Code
openapi-expertNickCrew/Claude-CortexAgent664mo agoMITA22Claude Code
api-documenterNickCrew/Claude-CortexAgent664mo agoMITA41Claude Code
openai-api-expert0xfurai/claude-code-subagentsAgent1.0k1y agoMITA23Claude Code