Borrowing it
Nothing to install: this file belongs to membrane/api-gateway. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/membrane/api-gateway/master/.claude/skills/run-example-test/SKILL.mdgit clone --depth 1 https://github.com/membrane/api-gatewayWrote 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/membrane/api-gateway/run-example-test)<a href="https://agentmods.dev/skills/membrane/api-gateway/run-example-test"><img src="https://agentmods.dev/badge/skills/membrane/api-gateway/run-example-test/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.
<a href="https://agentmods.dev/skills/membrane/api-gateway/run-example-test"><img src="https://agentmods.dev/badge/skills/membrane/api-gateway/run-example-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00050 | $0.01148 |
| Opus 5.5 | $0.00020 | $0.00459 |
| Sonnet 5.5 | $0.00010 | $0.00230 |
| Haiku 4.5 | $0.00005 | $0.00115 |
Grade A, and why
run-example-test 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run Example Test
Runs one example/tutorial integration test from the distribution module in
~2 seconds, bypassing the hardcoded failsafe suite that would otherwise run the
entire example suite (~6 min, some tests need internet).
When to use
- The user wants to run / verify / check a specific example or tutorial test,
e.g.
JwtVerificationExampleTest,InterceptorChainsTutorialTest, a*ExampleTestundercom.predic8.membrane.examples.*, or a*TutorialTestundercom.predic8.membrane.tutorials.*.
The distribution must be built first
The base classes (DistributionExtractingTestcase) unzip
distribution/target/membrane-api-gateway-*.zip and start membrane from the
unzipped distribution — not from the source tree. So the tests only ever see
what was last built. Before running them the distribution must be built at the
repo root with:
mvn clean install -DskipTests
The script does this for you (see below). -DskipTests still compiles tests but
skips running them, which also dodges the German-locale annot test failure on
this machine.
How to run
Invoke the helper script with the test class (simple name, fully-qualified name, or path all work):
.claude/skills/run-example-test/run-example-test.sh JwtVerificationExampleTest # fast, ~2s
.claude/skills/run-example-test/run-example-test.sh -b JwtVerificationExampleTest # rebuild dist first, then run
With no argument it runs the full example IT suite via failsafe (slow, some tests need internet) — and always rebuilds the distribution first, because the suite runs from the built distribution.
The script:
- Distribution build. For the full suite it always runs
mvn clean install -DskipTestsat the root. For a single test it builds the.ziponly if it is missing, or if you pass-b. - Resolves the class name to its FQN by finding the
.javaunderdistribution/src/test/java. - Incrementally recompiles distribution test classes (offline) so edits to the test class are picked up.
- Runs just that class via a tiny JUnit Platform launcher (
RunOne.java), with the working directory set todistribution/(the tests resolve./target).
What ships with it
2 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.
- 8d ago Changed ba36e81ba409
- 2mo ago First seen · 101 lines · 50 tokens per session scan A 616053ceae4d
run-example-test is a skill published in the GitHub repository membrane/api-gateway (656 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 1,148 once invoked, about $0.0002 per session on Opus 5.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-30.
Other skills, from other repositories
dmr
Write django-modern-rest (dmr) code with the recommended patterns, covering controllers, routers, typed DTOs with msgspec or pydantic, auth, throttling, error handling, OpenAPI, and tests. Use whenever a project depends on django-modern-rest, imports dmr, or asks for a typed Django REST API, and when reviewing dmr…
horse-integration-tests
Guide for writing automated integration tests for Horse endpoints using DUnit/DUnitX and THTTPClient.
dmr-openapi-skeleton
Generate django-modern-rest transport-layer skeletons from OpenAPI 3.1+ specs. Use when asked to turn an OpenAPI file, URL, or pasted document into typed DTOs, controllers, routers, Django URL wiring, and minimal tests for this repository or similar projects built on dmr. Trigger on requests to scaffold APIs…
dmr-from-django-ninja
Migrate an existing Django API from django-ninja/ninja-extra to django-modern-rest while preserving routes, request/response contracts, auth, throttling, and test coverage. Use when replacing NinjaExtraAPI/apicontroller/http handlers/ninja.Schema with dmr controllers/routers and typed DTOs.
dmr-from-drf
Migrate an existing Django API from Django REST Framework to django-modern-rest while preserving routes, request/response contracts, auth, permissions, throttling, pagination, and test coverage. Use when replacing APIView/ViewSet/GenericAPIView and DRF serializers/routers with dmr controllers/routers and typed DTOs.
api-testing-patterns
Comprehensive API testing patterns including contract testing, REST/GraphQL testing, and integration testing. Use when testing APIs or designing API test strategies.