Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add rishapgandhi/python-skills --skill fastapigit clone --depth 1 https://github.com/rishapgandhi/python-skillsWrote 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.
[](https://agentmods.dev/skills/rishapgandhi/python-skills/fastapi)<a href="https://agentmods.dev/skills/rishapgandhi/python-skills/fastapi"><img src="https://agentmods.dev/badge/skills/rishapgandhi/python-skills/fastapi/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.
<a href="https://agentmods.dev/skills/rishapgandhi/python-skills/fastapi"><img src="https://agentmods.dev/badge/skills/rishapgandhi/python-skills/fastapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01907 |
| Opus 5.5 | $0.00000 | $0.00763 |
| Sonnet 5.5 | $0.00000 | $0.00381 |
| Haiku 4.5 | $0.00000 | $0.00191 |
Grade A, and why
fastapi 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 302 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FastAPI Skill
Load this file when working on a FastAPI project. Use alongside all
skills/common/files.
Stack
| Layer | Library |
|---|---|
| Framework | FastAPI 0.111+ |
| ASGI Server | Uvicorn with Gunicorn workers (prod) |
| ORM | SQLAlchemy 2.x async + Alembic |
| Validation | Pydantic v2 |
| Auth | python-jose / PyJWT + passlib |
| HTTP Client | httpx (async) |
| Task Queue | Celery + Redis (or ARQ for lighter workloads) |
| Settings | pydantic-settings |
Project Structure (FastAPI-specific additions)
app/
├── main.py ← App factory: create_app()
├── core/
│ ├── config.py
│ ├── security.py
│ ├── exceptions.py
│ └── logging.py
├── api/
│ ├── deps.py ← Shared FastAPI dependencies
│ ├── v1/
│ │ ├── __init__.py
│ │ ├── router.py ← Aggregates all v1 routers
│ │ ├── users.py
│ │ ├── auth.py
│ │ └── health.py
├── models/ ← SQLAlchemy ORM models
├── schemas/ ← Pydantic request/response models
├── repositories/
├── services/
└── workers/ ← Background task definitions
App Factory Pattern
# app/main.py
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from app.core.config import settings
from app.core.logging import configure_logging
from app.core.exceptions import AppBaseException, app_exception_handler
from app.api.v1.router import v1_router
def create_app() -> FastAPI:
"""Application factory."""
configure_logging(log_level=settings.log_level, json_logs=not settings.debug)
app = FastAPI(
title=settings.app_name,
version=settings.app_version,
docs_url="/docs" if settings.debug else None, # hide Swagger in prod
redoc_url="/redoc" if settings.debug else None,
)
app.add_middleware(CORSMiddleware, allow_origins=settings.allowed_origins, ...)
app.add_exception_handler(AppBaseException, app_exception_handler)
app.include_router(v1_router, prefix="/api/v1")
return app
app = create_app()
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.
- 3mo ago First seen · 302 lines · 0 tokens per session scan A 32b13697fc8f
fastapi is a skill published in the GitHub repository rishapgandhi/python-skills (7 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,907 tokens. 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-31.
fastapi compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fastapirishapgandhi/python-skills | Skill | 7 | 6mo ago | MIT | A | 0 | Claude Code, Codex |
| upgrade-djangoPhaedra-Solutions/cursor-rules | Skill | 4 | 1mo ago | MIT | A | 132 | Claude Code, Codex |
| fastapiericrisco/rsc-harness | Skill | 701 | today | MIT | A | 94 | Claude Code, Codex |
| djangoericrisco/rsc-harness | Skill | 701 | today | MIT | A | 84 | Claude Code, Codex |
| supabase-pythonalinaqi/maggy | Skill | 713 | 6d ago | MIT | A | 15 | Claude Code |
| reddit-apialinaqi/maggy | Skill | 713 | 6d ago | MIT | B | 20 | Claude Code |
| beautifulsoup-parsingMindrally/skills | Skill | 325 | 1mo ago | Apache-2.0 | A | 32 | Claude Code |