gencc-link: Skill for Claude Code

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

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

A workflow guide for changing routes in FastAPI, a Python framework for building web APIs. It covers route code, dependencies, middleware, response behavior, validation, security, logging, and tests.

In plain words
What is it for?
Use it when adding, renaming, or changing FastAPI endpoints, request or response data, middleware, dependencies, or their tests.
Why use it?
It helps prevent unsafe API changes, such as building upstream URLs from user input or exposing patient-related data in logs. It also keeps route handlers and service code organized.

Skill for Claude Code

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to berntpopp/gencc-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/gencc-link/main/.claude/skills/fastapi-route-change/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/berntpopp/gencc-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/gencc-link/fastapi-route-change/github.svg)](https://agentmods.dev/skills/berntpopp/gencc-link/fastapi-route-change)
Your own site
<a href="https://agentmods.dev/skills/berntpopp/gencc-link/fastapi-route-change"><img src="https://agentmods.dev/badge/skills/berntpopp/gencc-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/gencc-link/fastapi-route-change"><img src="https://agentmods.dev/badge/skills/berntpopp/gencc-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 203 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 94% 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.00203
Opus 5 $0.00015 $0.00102
Sonnet 5 $0.00006 $0.00041
Haiku 4.5 $0.00003 $0.00020

Measured 8d ago against content hash c5bcfd3cdea0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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

94% 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 gencc_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. 8d ago First seen · 19 lines · 29 tokens per session scan A c5bcfd3cdea0

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

form-list-layout

Configure what a form and a list look like — sysuiform, sysuisection and sysuielement for forms; sysuilist, sysuilistelement and sysuirelatedlist for lists; sysfilter for saved filters. Views, why a field must exist in the dictionary first, and what snowcreatemenu really writes.

serac-labs/serac · 70 tokens

run402

Provision Postgres + REST API + auth + content-addressed storage + serverless functions + email — paid with x402 USDC on Base. Prototype tier is free on testnet. Use when the user asks to build a webapp, deploy a site, create a database, generate images, or mentions Run402.

kychee-com/run402 · 67 tokens

run402

Provision Postgres + REST API + auth + content-addressed storage + serverless functions + email — paid with x402 USDC on Base. Prototype tier is free on testnet.

kychee-com/run402 · 40 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.enrich, ctx.content), and when to use each.

cyanheads/uniprot-mcp-server · 79 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/uniprot-mcp-server · 38 tokens

add-resource

Scaffold a new MCP resource definition. Use when the user asks to add a resource, expose data via URI, or create a readable endpoint.

cyanheads/uniprot-mcp-server · 32 tokens