AI-Gateway: Skill for Claude Code

.github/skills/lab-creator/SKILL.md

lab-creator is a skill for Claude Code, Codex from Azure-Samples/AI-Gateway. It costs 64 tokens per session (3,761 once invoked), scanned A, original, MIT.

A guide to creating AI Gateway labs in a repository. Each lab demonstrates a scenario using files such as a Jupyter notebook, Azure deployment template, API policy, documentation, and cleanup notebook.

In plain words
What is it for?
Use it when creating a new lab folder, notebook, Azure Bicep deployment, APIM policy, README, and resource-cleanup notebook.
Why use it?
It gives new labs a consistent structure so they are easier to build, document, run, and clean up.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is Azure-Samples/AI-Gateway's own configuration. It tells Claude Code and Codex how to work on AI-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 AI-Gateway configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ![flow](../../images/<lab-name>.gif).

About the project

AI Gateway Labs is a collection of hands-on examples for using an AI gateway built with Azure API Management and Microsoft Foundry to manage AI models, tools, and agents. Developers use the labs to explore policies for security, request routing, monitoring, caching, and cost control, with notebooks and deployable infrastructure templates. The catalogue entries provide skills and instructions for working through these gateway examples.

Azure-Samples/AI-Gateway · 1,008 stars · on GitHub · aka.ms

Reuse

Borrowing it

Nothing to install: this file belongs to Azure-Samples/AI-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/Azure-Samples/AI-Gateway/main/.github/skills/lab-creator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Azure-Samples/AI-Gateway

Made for: Claude Code, Codex.

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 lab-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/azure-samples/ai-gateway/lab-creator/github.svg)](https://agentmods.dev/skills/azure-samples/ai-gateway/lab-creator)
Your own site
<a href="https://agentmods.dev/skills/azure-samples/ai-gateway/lab-creator"><img src="https://agentmods.dev/badge/skills/azure-samples/ai-gateway/lab-creator/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 lab-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/azure-samples/ai-gateway/lab-creator"><img src="https://agentmods.dev/badge/skills/azure-samples/ai-gateway/lab-creator.svg" alt="Reviewed on agentmods" width="80" 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 3,761 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
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.00064 $0.03761
Opus 5.5 $0.00026 $0.01504
Sonnet 5.5 $0.00013 $0.00752
Haiku 4.5 $0.00006 $0.00376

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

Security

Grade A, and why

lab-creator 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.

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.

.github/skills/lab-creator/SKILL.md · 409 lines

How it starts

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

Lab Creator

This skill provides guidance for creating new labs in the AI Gateway repository.

Lab Structure

Every lab follows a consistent structure under labs/<lab-name>/:

labs/<lab-name>/
├── <lab-name>.ipynb          # Main Jupyter notebook (required)
├── main.bicep                # Azure Bicep deployment template (required)
├── policy.xml                # Azure API Management policy (required)
├── README.md                 # Lab documentation (required)
├── clean-up-resources.ipynb  # Cleanup notebook (required)
├── params.json               # Auto-generated, not committed
└── src/                      # Supporting source code (optional)

Creating a New Lab

Step 1: Create Lab Directory

Create a new folder under labs/ with a descriptive kebab-case name:

labs/<your-lab-name>/

Step 2: Create the Main Jupyter Notebook

Create <lab-name>.ipynb with these standard sections:

Header Cell (Markdown)
# APIM ❤️ Microsoft Foundry

## <Lab Title> lab
![flow](../../images/<lab-name>.gif)

<Brief description of what this lab demonstrates>

### Prerequisites

- [Python 3.12 or later version](https://www.python.org/) installed
- [VS Code](https://code.visualstudio.com/) installed with the [Jupyter notebook extension](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter) enabled
- [uv](https://docs.astral.sh/uv/) — run `uv sync` from the repo root to install dependencies
- [An Azure Subscription](https://azure.microsoft.com/free/) with [Contributor](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/privileged#contributor) + [RBAC Administrator](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/privileged#role-based-access-control-administrator) or [Owner](https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/privileged#owner) roles
- [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli) installed and [Signed into your Azure subscription](https://learn.microsoft.com/cli/azure/authenticate-azure-cli-interactively)

▶️ Click `Run All` to execute all steps sequentially, or execute them `Step by Step`...

Read the full file on GitHub · 409 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. 2mo ago First seen · 409 lines · 64 tokens per session scan A ecd05ce630c2

Subscribe to this mod's changes

lab-creator is a skill published in the GitHub repository Azure-Samples/AI-Gateway (1,008 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 3,761 once invoked, about $0.0003 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

lab-creator compared with skills from other repositories

lab-creator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lab-creatorAzure-Samples/AI-GatewaySkill1.0kyesterdayMITA64Claude Code, Codex
playwrightopenai/openai-agents-pythonSkill31ktodayMITA19Claude Code, Codex
opengeni-helpCloudgeni-ai/opengeniSkill216todayApache-2.0C72Claude Code, Codex
FinOps Enablement LeadCletrics/finops-agentsSkill486mo agoMITA45Claude Code, Codex
expense-review-policyopenai/openai-cookbookSkill77kyesterdayMITA17Claude Code, Codex
show-mehumanlayer/humanlayerSkill13kyesterdayApache-2.0A25Claude Code
azure-kusto-irql-graphmicrosoft/skillsSkill3.2kyesterdayMITA155Claude Code