metadome-link: Skill for Claude Code

.claude/skills/fastapi-route-change/SKILL.md

fastapi-route-change is a skill for Claude Code from berntpopp/metadome-link. It costs 29 tokens per session (204 once invoked), scanned A, a copy of fastapi-route-change, MIT.

A project-specific workflow for changing FastAPI, a Python framework for building web APIs, including its routes, dependencies, middleware, and responses.

In plain words
What is it for?
Use it when adding, renaming, or modifying backend endpoints or their behavior. It also guides service-layer structure, response models, security checks, and local CI verification.
Why use it?
It helps keep API changes consistent and safer by validating inputs, protecting upstream connections, avoiding sensitive logs, and updating tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is berntpopp/metadome-link's own configuration. It tells Claude Code how to work on metadome-link 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 metadome-link configures →

Reuse

Borrowing it

Nothing to install: this file belongs to berntpopp/metadome-link. 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/berntpopp/metadome-link/main/.claude/skills/fastapi-route-change/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/berntpopp/metadome-link

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 fastapi-route-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/berntpopp/metadome-link/fastapi-route-change/github.svg)](https://agentmods.dev/skills/berntpopp/metadome-link/fastapi-route-change)
Your own site
<a href="https://agentmods.dev/skills/berntpopp/metadome-link/fastapi-route-change"><img src="https://agentmods.dev/badge/skills/berntpopp/metadome-link/fastapi-route-change/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 fastapi-route-change

Your own site · 80×15
<a href="https://agentmods.dev/skills/berntpopp/metadome-link/fastapi-route-change"><img src="https://agentmods.dev/badge/skills/berntpopp/metadome-link/fastapi-route-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 204 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.
Origin 92% copy Near-identical to another mod 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.00029 $0.00204
Opus 5 $0.00015 $0.00102
Sonnet 5 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00020

Measured 9d ago against content hash 8ab3b1ff3da6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fastapi-route-change 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 9d 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.

Origin

This is a copy

92% identical to fastapi-route-change — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/fastapi-route-change/SKILL.md · 19 lines

What it actually says

FastAPI Route Change

Follow AGENTS.md first.

Workflow

  1. Inspect neighboring route / service modules under metadome_link/ and follow their structure.
  2. Keep route handlers thin; put behavior in the service / manager layer.
  3. Use Pydantic models for public request/response shapes; validate identifiers (gene / variant / HGVS / build / accession) before calling upstream.
  4. The upstream base URL is a fixed config constant — never construct it from user input (SSRF).
  5. Never log full query payloads or identifiers that may be patient-derived (PHI); log correlation id + route + timings only.
  6. Don't pair CORS allow_origins=* with allow_credentials=True.
  7. Add / refresh route tests, then run make ci-local.
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. 9d ago First seen · 19 lines · 29 tokens per session scan A 8ab3b1ff3da6

Subscribe to this mod's changes

fastapi-route-change is a skill published in the GitHub repository berntpopp/metadome-link (0 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 204 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to fastapi-route-change, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

api-context

Canonical reference for the unified Context object passed to every tool and resource handler in @cyanheads/mcp-ts-core. Covers the full interface, its RequestContext base, all sub-APIs (ctx.log, ctx.state, ctx.requestInput, ctx.inputs, ctx.enrich, ctx.content), and when to use each.

cyanheads/pubchem-mcp-server · 79 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/pubchem-mcp-server · 54 tokens

add-service

Scaffold a new service integration. Use when the user asks to add a service, integrate an external API, or create a reusable domain module with its own initialization and state.

cyanheads/pubchem-mcp-server · 38 tokens

api-workers

Cloudflare Workers deployment using createWorkerHandler from @cyanheads/mcp-ts-core/worker. Covers the full handler signature, binding types, CloudflareBindings extensibility, runtime compatibility guards, and wrangler.toml requirements.

cyanheads/pubchem-mcp-server · 51 tokens

add-app-tool

Scaffold an MCP App tool + UI resource pair. Use when the user asks to add a tool with interactive UI, create an MCP App, or build a visual/interactive tool.

cyanheads/pubchem-mcp-server · 41 tokens

api-auth

Authentication, authorization, and multi-tenancy patterns for @cyanheads/mcp-ts-core. Use when implementing auth scopes on tools/resources, configuring auth modes (none/jwt/oauth), working with JWT/OAuth env vars, or understanding how tenantId flows through ctx.state.

cyanheads/pubchem-mcp-server · 58 tokens