api-gateway: Skill for Claude Code

.claude/skills/create-tutorial/SKILL.md

create-tutorial is a skill for Claude Code from membrane/api-gateway. It costs 97 tokens per session (2,809 once invoked), scanned A, original, Apache-2.0.

A workflow for creating runnable Membrane API Gateway tutorials. Membrane is software that sits between clients and APIs to route and manage requests; each tutorial combines a lesson, working configuration, support files, and usually an integration test.

In plain words
What is it for?
Use it to add numbered YAML or Markdown tutorial steps, category startup files, README links, and matching tests for Membrane Gateway examples.
Why use it?
It keeps tutorial instructions, startup files, and tests together, so examples can be run by readers and checked for breakage in continuous integration, automated checks that run when code changes.

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 →

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/create-tutorial/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 create-tutorial

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/membrane/api-gateway/create-tutorial"><img src="https://agentmods.dev/badge/skills/membrane/api-gateway/create-tutorial.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,809 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00097 $0.02809
Opus 5.5 $0.00039 $0.01124
Sonnet 5.5 $0.00019 $0.00562
Haiku 4.5 $0.00010 $0.00281

Measured 15d ago against content hash a8e6e40dfecc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-tutorial 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 15d 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.

Membrane config (e.g. a curl-only walkthrough against a hosted API). A `.md` step gets no
.claude/skills/create-tutorial/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create a Tutorial

In this repo a tutorial is usually a runnable, self-teaching YAML config. The leading comment block of the file is the lesson; the config below it is the working example the reader runs. A complete tutorial therefore has three parts, and they must stay in sync:

  1. The numbered YAML in distribution/tutorials/<category>/ — the lesson plus the config.
  2. Category support files — membrane.sh, membrane.cmd, a README.md (and run-docker.* where the category offers Docker), so the reader can actually start it.
  3. An integration test under distribution/src/test/java/com/predic8/membrane/tutorials/… so the tutorial can't silently rot. These tests unzip the built distribution and start Membrane against the tutorial's YAML, so a broken example fails CI.

A tutorial step can also be a plain .md file — use this when the step needs no local Membrane config (e.g. a curl-only walkthrough against a hosted API). A .md step gets no integration test; it just lives alongside the numbered YAMLs and is linked from the README.

Work through the steps below in order. The reader of a tutorial follows the file top-to-bottom with no other docs open, so the single most important thing is that the YAML teaches itself.

Step 1 — Choose the category and filename

Categories live under distribution/tutorials/: getting-started, json, xml, advanced, transformation, security, jwt, api-keys, oauth2, soap, soap-rest-converter, wsdl-to-openapi, orchestration, sse, mcp, llm-gateway. Pick the one that fits; only create a new category if nothing fits (see "New category" at the end).

Files are numbered NN-Title.yaml (e.g. 10-PathParameters.yaml). The number sets reading order. List the directory and pick the next gap — convention leaves room between numbers (10, 20, 30…) so steps can be inserted later. Match the existing PascalCase-with-hyphens title style.

Step 2 — Write the YAML (the lesson lives here)

Read the full file on GitHub · 234 lines

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. 15d ago Changed · +17 lines a8e6e40dfecc
  2. 1mo ago Changed · +2 lines 236f826f41cd
  3. 2mo ago First seen · 215 lines · 97 tokens per session scan A 860c09fc35b4

Subscribe to this mod's changes

create-tutorial is a skill published in the GitHub repository membrane/api-gateway (656 stars, last pushed yesterday), licensed Apache-2.0. It adds 97 tokens to every session and 2,809 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

Other skills, from other repositories