api-mock-generator

api-mock-generator is a skill for Claude Code from nek1987/auto-agent-harness. It costs 64 tokens per session (430 once invoked), scanned A, original, no licence file.

An API mock generator for creating pretend API responses during development. An API is a way for software systems to exchange data.

In plain words
What is it for?
Use it when building APIs, testing API clients, or developing software integrations.
Why use it?
It lets you develop and test integrations before the real API or service is available.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when building APIs, testing API clients, or developing software integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nek1987/auto-agent-harness/api-mock-generator
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 nek1987/auto-agent-harness --skill api-mock-generator
Clone the repo
git clone --depth 1 https://github.com/nek1987/auto-agent-harness

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 api-mock-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/api-mock-generator.svg)](https://agentmods.dev/skills/nek1987/auto-agent-harness/api-mock-generator)
Your own site
<a href="https://agentmods.dev/skills/nek1987/auto-agent-harness/api-mock-generator"><img src="https://agentmods.dev/badge/skills/nek1987/auto-agent-harness/api-mock-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 430 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 unknown 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.00064 $0.00430
Opus 5 $0.00032 $0.00215
Sonnet 5 $0.00013 $0.00086
Haiku 4.5 $0.00006 $0.00043

Measured 8d ago against content hash 3e239d0dbf67, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

api-mock-generator 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 8d 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.

allowed-tools: "Read, Write, Edit, Bash(curl:*), Grep"
.claude/skills/api-mock-generator/SKILL.md · 73 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago First seen · 73 lines · 64 tokens per session scan A 3e239d0dbf67

Subscribe to this mod's changes

api-mock-generator is a skill published in the GitHub repository nek1987/auto-agent-harness (5 stars, last pushed 5mo ago), with no licence file. It adds 64 tokens to every session and 430 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

api-debugging

Systematic approach to debugging REST APIs, HTTP errors, authentication issues, and network problems. Use when the user has API errors, status code issues, timeout problems, or needs help troubleshooting HTTP requests.

ownpilot/OwnPilot · 44 tokens

api-design-reviewer

Use when reviewing a PR that adds or changes API endpoints, auditing an existing API for v2 migration, or establishing REST API standards. Triggers on "API review", "REST design review", "breaking change check", "OpenAPI audit", "endpoint review", or "API consistency".

tmj-90/gaffer · 63 tokens

backend-service

Use when a ticket asks for backend business logic that isn't itself an endpoint or a migration — a service/use-case, a domain operation, a background job, or orchestration across repositories. Invoke for "add a service to do X", "implement the use-case", or "extract the business logic out of the handler".

tmj-90/gaffer · 67 tokens

add-api-endpoint

Use when a ticket asks to add or extend an HTTP/API endpoint — a new route, handler, or RPC method — with request validation and a defined response. Invoke for "add a POST /things endpoint", "expose a list API", or "add a field to the X response".

tmj-90/gaffer · 64 tokens

doc-generator

Auto-generate API reference documentation from Python code.

XSpoonAi/spoon-awesome-skill · 13 tokens

claude-api

Use this skill when the user is building against Anthropic APIs or SDKs, including @anthropic-ai/sdk, anthropic, or Agent SDK integrations.

lk19940215/claude-coder · 0 tokens