Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/skills/emmanuelperu/microcks-skills/microcks-openapi-mocking)<a href="https://agentmods.dev/skills/emmanuelperu/microcks-skills/microcks-openapi-mocking"><img src="https://agentmods.dev/badge/skills/emmanuelperu/microcks-skills/microcks-openapi-mocking.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.02734 |
| Opus 5 | $0.00023 | $0.01367 |
| Sonnet 5 | $0.00009 | $0.00547 |
| Haiku 4.5 | $0.00005 | $0.00273 |
Grade A, and why
microcks-openapi-mocking scanned grade A with 1 finding 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 6d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X POST http://localhost:8080/api/mocks/User%20API/1.0.0/users \ How it starts
The opening of the file, as written. The whole thing — 405 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microcks OpenAPI Mocking
Help write and configure OpenAPI specifications with examples that work correctly in Microcks.
When to Use This Skill
Use this skill when:
- Writing or editing named examples in an OpenAPI spec for Microcks mocking
- Adding a new endpoint to an OpenAPI spec with multiple example scenarios (success, errors)
- Configuring a dispatcher to control how Microcks routes requests to different responses
- Debugging a mock response that isn't returning the expected data
- Setting up example pairing between request and response examples in OpenAPI
Core Rules
Microcks mocking depends on correct example pairing and dispatcher configuration. Here are the key rules:
Rule 1: Example Names Must Match Across Locations
Every named example in path/query parameters and request body must have a corresponding response example with the same name.
paths:
/pets/{petId}:
get:
parameters:
- name: petId
examples:
success: # ← example name
value: 1
not_found: # ← example name
value: 999
responses:
'200':
content:
application/json:
examples:
success: # ← same name
value: { id: 1, name: Fluffy }
'404':
content:
application/json:
examples:
not_found: # ← same name
value: { error: Not found }
Details: See example-pairing.md
Rule 2: No-Body Responses Need Content Block with value: null
Responses with no body (204, 304) must still have a content block with explicit value: null:
delete:
responses:
'204':
description: Deleted
content:
application/json:
examples:
success:
value: null # ← Required for no-body responses
Rule 3: All Error Examples Need Input Examples
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 405 lines · 47 tokens per session scan A 13c4f11afc08
microcks-openapi-mocking is a skill published in the GitHub repository emmanuelperu/microcks-skills (4 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 2,734 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
prepare-release
Prepare a release (phases 1-6). Usage: /prepare-release [version]. If version omitted, infers from conventional commits. Coordinates agents for review, runs prepare-release.sh, then enhances release notes with rich formatting.
prereview
Review unpushed commits before pushing for code quality, bugs, security issues, and error handling. Use when preparing to push commits, want pre-push code review, or need to validate changes before pushing. Runs comprehensive analysis using specialized review agents.
explore-api
Explore an OpenAPI spec's structure using parse and walk tools.
gen-test
Generate test scaffolding for a Go file following oastools conventions. Usage: /gen-test [function names...].
publish-release
Publish a prepared release (phase 7). Usage: /publish-release . Requires version argument. Wraps publish-release.sh for deterministic execution.
diff-specs
Compare two OpenAPI spec versions, highlight breaking changes, and suggest migration steps.