fastapi

fastapi is a skill for Claude Code, Codex from itechmeat/llm-code. It costs 66 tokens per session (2,070 once invoked), scanned A, original, MIT.

A Python framework for building web APIs, with tools for request validation, database access, dependencies, and login security.

In plain words
What is it for?
Use it to build REST APIs, define Pydantic data models, add dependency injection, and configure OAuth2 or JWT authentication.
Why use it?
It helps avoid piecing together common API behavior yourself and gives you documented patterns for handling inputs, errors, and authentication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build REST APIs, define Pydantic data models, add dependency injection, and configure OAuth2 or JWT authentication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itechmeat/llm-code/fastapi
Install

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.

Any agent
npx skills add itechmeat/llm-code --skill fastapi
Clone the repo
git clone --depth 1 https://github.com/itechmeat/llm-code

Made for: Claude Code, Codex.

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

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

agentmods 80×15 button for fastapi

Your own site · 80×15
<a href="https://agentmods.dev/skills/itechmeat/llm-code/fastapi"><img src="https://agentmods.dev/badge/skills/itechmeat/llm-code/fastapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,070 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00066 $0.02070
Opus 5.5 $0.00026 $0.00828
Sonnet 5.5 $0.00013 $0.00414
Haiku 4.5 $0.00007 $0.00207

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

Security

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 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.

skills/fastapi/SKILL.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FastAPI

This skill provides comprehensive guidance for building APIs with FastAPI.

Quick Navigation

Topic Reference
Getting started references/first-steps.md
Path parameters references/path-parameters.md
Query parameters references/query-parameters.md
Request body references/request-body.md
Validation references/validation.md
Body advanced references/body-advanced.md
Cookies/Headers references/cookies-headers.md
Pydantic models references/models.md
Forms/Files references/forms-files.md
Error handling references/error-handling.md
Path config references/path-config.md
Dependencies references/dependencies.md
Security references/security.md
Middleware references/middleware.md
CORS references/cors.md
Database references/sql-databases.md
Project structure references/bigger-applications.md
Background tasks references/background-tasks.md
Metadata/Docs references/metadata-docs.md
Testing references/testing.md
Advanced responses references/responses-advanced.md
WebSockets references/websockets.md
Templates references/templates.md
Settings/Env vars references/settings.md
Lifespan events references/lifespan.md
OpenAPI advanced references/openapi-advanced.md

When to Use

  • Creating REST APIs with Python
  • Adding endpoints with automatic validation
  • Implementing OAuth2/JWT authentication
  • Working with Pydantic models
  • Adding dependency injection
  • Configuring CORS, middleware
  • Uploading files, handling forms
  • Testing API endpoints

Read the full file on GitHub · 194 lines

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 · 194 lines · 66 tokens per session scan A cc9dd37f5c27

Subscribe to this mod's changes

fastapi is a skill published in the GitHub repository itechmeat/llm-code (24 stars, last pushed 24d ago), licensed MIT. It adds 66 tokens to every session and 2,070 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

fastapi-patterns

FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.

affaan-m/ECC · 35 tokens

stripe-projects

Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.

e2b-dev/E2B · 51 tokens

azure-mgmt-botservice-py

Azure Bot Service Management SDK for Python. Use for creating, managing, and configuring Azure Bot Service resources. Triggers: "azure-mgmt-botservice", "AzureBotService", "bot management", "conversational AI", "bot channels".

microsoft/skills · 59 tokens

azure-messaging-webpubsubservice-py

Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".

microsoft/skills · 64 tokens

django-pro

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.

rmyndharis/antigravity-skills · 52 tokens

fastapi-pro

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

rmyndharis/antigravity-skills · 57 tokens