api-gateway: Skill for Claude Code

.claude/skills/find-interceptor-impl/SKILL.md

find-interceptor-impl is a skill for Claude Code from membrane/api-gateway. It costs 112 tokens per session (587 once invoked), scanned A, original, Apache-2.0.

A lookup tool for Membrane, which connects XML configuration names in proxies.xml to the Java classes that implement them.

In plain words
What is it for?
Use it to find the Java class behind a tag such as <groovy>, or to find the XML tag associated with a Java class.
Why use it?
It removes the need to search every source folder manually when you know an interceptor or configuration tag but not its implementation class.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is membrane/api-gateway's own configuration. It tells Claude Code how to work on api-gateway itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything api-gateway configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is GroovyInterceptor -> ./core/src/main/java/.../groovy/GroovyInterceptor.java.

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/membrane/api-gateway/master/.claude/skills/find-interceptor-impl/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/membrane/api-gateway

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 find-interceptor-impl

README.md
[![agentmods](https://agentmods.dev/badge/skills/membrane/api-gateway/find-interceptor-impl/github.svg)](https://agentmods.dev/skills/membrane/api-gateway/find-interceptor-impl)
Your own site
<a href="https://agentmods.dev/skills/membrane/api-gateway/find-interceptor-impl"><img src="https://agentmods.dev/badge/skills/membrane/api-gateway/find-interceptor-impl/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 find-interceptor-impl

Your own site · 80×15
<a href="https://agentmods.dev/skills/membrane/api-gateway/find-interceptor-impl"><img src="https://agentmods.dev/badge/skills/membrane/api-gateway/find-interceptor-impl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 587 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
SkillSpector: 1 finding, up to low

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • low Excessive Agency · line 23
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
How audits are shown
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.00112 $0.00587
Opus 5.5 $0.00045 $0.00235
Sonnet 5.5 $0.00022 $0.00117
Haiku 4.5 $0.00011 $0.00059

Measured 2mo ago against content hash 30febf44547b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

find-interceptor-impl 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (find-interceptor-impl.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/find-interceptor-impl/SKILL.md · 55 lines

What it actually says

Find Interceptor Implementation

In Membrane, every interceptor (and most config elements) is wired to an XML config tag by an @MCElement(name = "...") annotation on its Java class. The tag <groovy> in proxies.xml is implemented by the class annotated @MCElement(name = "groovy") — GroovyInterceptor. This skill maps between the two directions.

Name → implementation class (the common case)

Run the helper with the XML element name:

.claude/skills/find-interceptor-impl/find-interceptor-impl.sh groovy

It prints the class and file, searching every module's src/main/java (the annotation is not limited to core):

Implementation class for <groovy>:
  GroovyInterceptor  ->  ./core/src/main/java/.../groovy/GroovyInterceptor.java

Class → element name (reverse direction)

Given a class name, find its file and annotation in one shot — no need to know which module it lives in first:

grep -rn --include='GroovyInterceptor.java' '@MCElement' .

The name = "..." value is the tag used in proxies.xml. No match means the class isn't directly configurable — it's likely an abstract base or exposed under a parent element; check its subclasses for the nearest one carrying @MCElement, or grep distribution/examples / proxies.xml for how it's actually used.

Behaviour to trust

  • Several results — some names are declared on more than one class (a base plus an override, or per-module variants); the script lists all of them, pick by package/context.
  • No exact match — exits non-zero and suggests the closest declared names (handles typos like grovy → groovy); re-run with the corrected name.
  • Matching is lenient: name need not be the first annotation attribute (@MCElement(component = false, name = "...") is fine), and both name="x" and name = "x" spacings match.
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. 2mo ago First seen · 55 lines · 112 tokens per session scan A 30febf44547b

Subscribe to this mod's changes

find-interceptor-impl is a skill published in the GitHub repository membrane/api-gateway (656 stars, last pushed yesterday), licensed Apache-2.0. It adds 112 tokens to every session and 587 once invoked, about $0.0004 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.

Related

Other skills, from other repositories