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.5 $0.00012 $0.00082
Sonnet 5.5 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00020

Measured 1mo ago against content hash 8ab3b1ff3da6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 2d ago), licensed MIT. It adds 29 tokens to every session and 204 once invoked, about $0.0001 per session on Opus 5.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

build-app

Use when writing code that calls UnblockingAPI, or code that must fetch or scrape web pages from an app, script, backend, scheduled job or integration and UnblockingAPI is the chosen fetcher. Covers the REST API (POST /unblock), keeping the key server-side, timeouts and background jobs, concurrency, retries, credits…

unblockingapi/mcp · 76 tokens

templates

Use when code needs structured data (JSON fields) from a website through UnblockingAPI, for example search results, listings, products, prices or company records, or when the user asks about UnblockingAPI templates. Covers finding a published template for a URL, its output shape, calling it from an app, pinning…

unblockingapi/mcp · 80 tokens

graphql-mcp-server

Turns GraphQL APIs into MCP tools with the graphql2mcp CLI or the @graphql2mcp/lib library. Use when connecting a GraphQL endpoint to Claude Code, Claude Desktop, Cursor, VS Code or another MCP client; when serving a .graphql SDL file, schema glob or introspection JSON as an MCP server; when exposing selected GraphQL…

KKonstantinov/graphql2mcp · 99 tokens

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.clientCapabilities, ctx.enrich, ctx.content), and when to use each.

cyanheads/pubchem-mcp-server · 84 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-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