
WireMock Mock Server Control
Lets an agent create, inspect and reset HTTP mock stubs on a WireMock server from the command line.
- Repository
- HKUDS/CLI-Anything
- Stars
- 58,084
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill teaches an agent to drive a WireMock server, a tool that pretends to be a real web API during testing. Once installed, the agent can set up fake API responses, check which requests a system under test actually sent, switch stateful test scenarios, and record traffic from a real backend to turn into fake responses. It does this by running a command-line program, cli-anything-wiremock, that wraps WireMock's admin interface.
Great for
- Developers writing integration tests that depend on external HTTP APIs
- QA engineers verifying that an application calls an endpoint the expected number of times
- Teams who want an agent to set up and tear down mock backends for a test run
Skip it if
- Production systems: the tool administers a mock server and can reset or shut it down, so pointing it at a live environment could disrupt real traffic
- Anyone who wants to test with real backend data without first checking what the recording feature captures, since recorded requests and responses may include secrets or personal data
Try asking
- “Set up a mock for POST /api/payment that returns success, then check that it was called exactly once”
- “Create a stub for GET /api/users returning a sample list of users for my test run”
- “Start recording traffic to a staging API, then turn the captured calls into reusable stubs”
- “Reset all WireMock stubs and scenarios after my tests finish”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
cli-anything-wiremock.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip cli-anything-wiremock.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip cli-anything-wiremock.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Point the environment variables at a local or test WireMock instance only, and never at production
- Always use the --json flag in agent calls so results are machine-readable, and check for the status error field
- Reset stubs and the request journal between test runs so earlier results do not leak into later ones
What's inside
- SKILL.md
Redistributed unmodified from HKUDS/CLI-Anything under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.