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.
npx agentmods add skills/sei-newbear/xp-harness/e2e-api-wiremocknpx skills add sei-newbear/xp-harness --skill e2e-api-wiremockgit clone --depth 1 https://github.com/sei-newbear/xp-harnessWrote 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/sei-newbear/xp-harness/e2e-api-wiremock)<a href="https://agentmods.dev/skills/sei-newbear/xp-harness/e2e-api-wiremock"><img src="https://agentmods.dev/badge/skills/sei-newbear/xp-harness/e2e-api-wiremock.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.00085 | $0.00512 |
| Opus 5 | $0.00043 | $0.00256 |
| Sonnet 5 | $0.00017 | $0.00102 |
| Haiku 4.5 | $0.00009 | $0.00051 |
Grade A, and why
e2e-api-wiremock 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 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.
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.
What it actually says
API E2E の流儀 (WireMock)
api/test 配下の E2E は、API を実際に動かし、外部依存を WireMock でモックして、エンドポイントの振る舞いを仕様書として検証する。
外部 API モックは「全パラメータ」を検証する
外部 API をモックするとき、モックのリクエストマッチ(または記録リクエストの検証)は、その外部 API の仕様書 (api/docs/) に載っている全パラメータを対象にする。URL や一部の識別子といった主要パラメータだけでマッチさせて済ませない。
理由: 一部のパラメータしか見ないと、API が誤った内容(項目の欠落・値の誤り)を外部へ送ってもテストが通ってしまい、「外部 API に意図どおりのリクエストを送れているか」を検証できない。仕様書の全項目が正しく送られることまで verify して初めて、E2E として意味を持つ。
モックの対象は仕様書を出典にする
マッチ・検証するパラメータは思いつきで決めず、対応する外部 API の仕様書 (api/docs/<api>.md) を参照して全項目を洗い出す。
モック定義とテストの置き場
- spec は
api/test/<シナリオ名>.e2e.test.ts - WireMock の mappings は
api/wiremock/mappings/配下
テスト独立性
- 各テストは単独で完結させる。前提となる状態はテスト内で自分で用意する
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 · 27 lines · 85 tokens per session scan A 145392477170
e2e-api-wiremock is a skill published in the GitHub repository sei-newbear/xp-harness (9 stars, last pushed 29d ago), licensed MIT. It adds 85 tokens to every session and 512 once invoked, about $0.0004 per session on Opus 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-31.
Other skills, from other repositories
use-agent-browser-for-airi
Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…
run-integration-tests
Build, pack, and run .NET MAUI integration tests locally. Validates templates, samples, and end-to-end scenarios using the local workload.
cli-e2e-testcase-writer
Use when adding or updating Go CLI E2E coverage for one tests/clie2e/{domain} domain of the compiled lark-cli, especially when the work requires live --help or schema exploration, scenario-based clie2e.RunCmd workflows, and per-domain coverage.md maintenance.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
__SKILL_ID__
This fixture verifies that skill content can be written into the target sandbox and queried back immediately.
agent-device-evidence
Records iOS/Android native MP4 evidence for test/repro flows extracted from an Expensify GitHub PR or issue. Use when the user asks to "record the flow for PR.