python-samples-fastapi-restful: Skill for Claude Code

.claude/skills/add-endpoint/SKILL.md

add-endpoint is a skill for Claude Code from nanotaboada/python-samples-fastapi-restful. It costs 19 tokens per session (189 once invoked), scanned A, original, MIT.

A step-by-step guide for adding web API endpoints or changing the data schema in a Python project. It covers models, services, routes, database migrations, and tests.

In plain words
What is it for?
Use it to add request and response models, service methods, routes, database migrations, error handling, rollback logic, and matching tests.
Why use it?
It reduces missed updates when one API or database change affects several parts of a codebase.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is nanotaboada/python-samples-fastapi-restful's own configuration. It tells Claude Code how to work on python-samples-fastapi-restful 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 python-samples-fastapi-restful configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nanotaboada/python-samples-fastapi-restful. 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/nanotaboada/python-samples-fastapi-restful/master/.claude/skills/add-endpoint/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nanotaboada/python-samples-fastapi-restful

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 add-endpoint

README.md
[![agentmods](https://agentmods.dev/badge/skills/nanotaboada/python-samples-fastapi-restful/add-endpoint/github.svg)](https://agentmods.dev/skills/nanotaboada/python-samples-fastapi-restful/add-endpoint)
Your own site
<a href="https://agentmods.dev/skills/nanotaboada/python-samples-fastapi-restful/add-endpoint"><img src="https://agentmods.dev/badge/skills/nanotaboada/python-samples-fastapi-restful/add-endpoint/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 add-endpoint

Your own site · 80×15
<a href="https://agentmods.dev/skills/nanotaboada/python-samples-fastapi-restful/add-endpoint"><img src="https://agentmods.dev/badge/skills/nanotaboada/python-samples-fastapi-restful/add-endpoint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 189 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 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.00019 $0.00189
Opus 5.5 $0.00008 $0.00076
Sonnet 5.5 $0.00004 $0.00038
Haiku 4.5 $0.00002 $0.00019

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

Security

Grade A, and why

add-endpoint 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 24d 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.

.claude/skills/add-endpoint/SKILL.md · 18 lines

What it actually says

Endpoint and schema recipes

Add an endpoint: Add Pydantic model in models/ if the request/response shape is new → add async service method in services/ with error handling and rollback → add route in routes/ with Depends(generate_async_session) → add tests following the naming pattern → run pre-commit checks.

Modify schema: Update schemas/player_schema.py → run uv run alembic revision --autogenerate -m "description" to generate a migration → review and adjust the generated file in alembic/versions/ → run uv run alembic upgrade head → update models/player_model.py if the API shape changes → update services and tests → run pytest.

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. 24d ago First seen · 18 lines · 19 tokens per session scan A eaf54a4526cd

Subscribe to this mod's changes

add-endpoint is a skill published in the GitHub repository nanotaboada/python-samples-fastapi-restful (141 stars, last pushed 4d ago), licensed MIT. It adds 19 tokens to every session and 189 once invoked, about $0.0001 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-10-14.

Related

add-endpoint compared with skills from other repositories

add-endpoint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-endpointnanotaboada/python-samples-fastapi-restfulSkill1414d agoMITA19Claude Code
FastAPI Customer Support Tech Enablementmanutej/luxor-claude-marketplaceSkill634mo agononeA36Claude Code
pydantic-resolve-3stepKLR-Pattern/pydantic-resolveSkill3261mo agoMITA56Claude Code
pythonMadAppGang/claude-codeSkill2877mo agoMITA34Claude Code
FastAPI Modern Web Developmentbobmatnyc/mcp-skillsetSkill208mo agoMITA41Claude Code, Codex
fastcrudbenavlabs/fastcrudSkill1.6k25d agoMITA147Claude Code, Codex
fastapi-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A49Claude Code