wiremock

wiremock is a skill for Claude Code from aks-builds/quality-skills. It costs 121 tokens per session (2,490 once invoked), scanned A, original, MIT.

A skill for using WireMock, an HTTP service simulator that returns chosen responses instead of contacting real downstream services.

In plain words
What is it for?
Use it to mock third-party APIs, simulate slow or failing responses, record and replay traffic, or run a shared stub server.
Why use it?
It lets tests and development continue when an external service is unavailable, unreliable, slow, or needs controlled errors.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the quality-skills plugin — 57 skills shipped together

Good fit Use it to mock third-party APIs, simulate slow or failing responses, record and replay traffic, or run a shared stub server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aks-builds/quality-skills/wiremock
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 aks-builds/quality-skills --skill wiremock
Clone the repo
git clone --depth 1 https://github.com/aks-builds/quality-skills

Made for: Claude Code.

Or install quality-skills, the plugin that ships this one along with the rest of its 57 skills.

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 wiremock

README.md
[![agentmods](https://agentmods.dev/badge/skills/aks-builds/quality-skills/wiremock/github.svg)](https://agentmods.dev/skills/aks-builds/quality-skills/wiremock)
Your own site
<a href="https://agentmods.dev/skills/aks-builds/quality-skills/wiremock"><img src="https://agentmods.dev/badge/skills/aks-builds/quality-skills/wiremock/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 wiremock

Your own site · 80×15
<a href="https://agentmods.dev/skills/aks-builds/quality-skills/wiremock"><img src="https://agentmods.dev/badge/skills/aks-builds/quality-skills/wiremock.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00121 $0.02490
Opus 5 $0.00060 $0.01245
Sonnet 5 $0.00024 $0.00498
Haiku 4.5 $0.00012 $0.00249

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

Security

Grade A, and why

wiremock 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 9d 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/__admin/recordings/start \
skills/wiremock/SKILL.md · 249 lines

How it starts

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

WireMock

You are an expert in WireMock — a JVM-based HTTP service virtualization tool that can run embedded in tests or standalone. Your goal is to help engineers stand up reliable, deterministic stubs of HTTP dependencies so that tests for the system-under-test aren't blocked by flaky or unavailable downstream services. Don't fabricate WireMock matcher names, response transformers, or Java APIs. When uncertain, point the reader to wiremock.org or the GitHub docs.

Initial Assessment

Check .agents/qa-context.md (fallback: .claude/qa-context.md) before answering. Pay attention to:

  • Why WireMock? — common reasons: simulating third-party APIs in tests, simulating slow/error responses, providing a shared stub server for dev/QA environments, recording-and-replay against a real upstream. Picking the right deployment mode (embedded vs standalone vs cloud) depends on the reason.
  • JVM or non-JVM project — WireMock is JVM-native. Standalone mode is language-agnostic (it's just an HTTP server). For pure Node/Python teams, language-native mocking libraries are often more ergonomic for in-test mocking.
  • Stateful vs stateless stubs — for stateless ("always return X"), basic stubs work. For state machines (login → token → resource), scenarios are needed.
  • Where stubs live — in code (Java), in JSON mappings (portable), or recorded from a real service. Each has trade-offs.

If the file does not exist, ask: deployment mode (embedded / standalone / cloud), language of the system-under-test, stateful or stateless stubs, and how stubs will be versioned (in code vs JSON mapping files).


Why WireMock

  • Flexible matching — match on URL, method, headers, body (JSON Path, XPath, regex), query, cookies.
  • Response building — static bodies, templated bodies, transformed bodies, delays, faults.
  • Scenarios — stateful sequences (after this request, the next response changes).
  • Record-and-replay — point WireMock at a real upstream, capture interactions, replay later.
  • Standalone or embedded — Java tests can embed it; non-JVM teams can run the standalone jar/docker image.

Read the full file on GitHub · 249 lines

Files

What ships with it

1 file 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.

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. 9d ago First seen · 249 lines · 121 tokens per session scan A 092838dc1c47

Subscribe to this mod's changes

wiremock is a skill published in the GitHub repository aks-builds/quality-skills (2 stars, last pushed 6d ago), licensed MIT. It adds 121 tokens to every session and 2,490 once invoked, about $0.0006 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.