fastapi-patterns

fastapi-patterns is a skill for Claude Code, Kiro from masrisystems/dot-agents. It costs 35 tokens per session (2,024 once invoked), scanned A, original, no licence file.

A guide to building FastAPI web APIs in Python, including asynchronous code, request validation, security, tests, and generated API documentation. FastAPI is a Python framework for creating web services.

In plain words
What is it for?
Use it when creating or reviewing FastAPI endpoints, data models, API documentation, and application setup.
Why use it?
It helps keep API inputs and outputs clear while covering common concerns for testing and production use.

Skill for Claude CodeKiro

Written for Claude Code and Kiro: shipped in a Claude Code plugin, but also installed under .kiro/.

Part of the ecc plugin — 70 skills, 71 commands, 55 agents, 1 MCP server shipped together

Good fit Use it when creating or reviewing FastAPI endpoints, data models, API documentation, and application setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masrisystems/dot-agents/fastapi-patterns
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 masrisystems/dot-agents --skill fastapi-patterns
Clone the repo
git clone --depth 1 https://github.com/masrisystems/dot-agents

Made for: Claude Code, Kiro.

Or install ecc, the plugin that ships this one along with the rest of its 70 skills, 71 commands, 55 agents, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/masrisystems/dot-agents/fastapi-patterns"><img src="https://agentmods.dev/badge/skills/masrisystems/dot-agents/fastapi-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,024 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 unknown 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.00035 $0.02024
Opus 5.5 $0.00014 $0.00810
Sonnet 5.5 $0.00007 $0.00405
Haiku 4.5 $0.00003 $0.00202

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

Security

Grade A, and why

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

catalogs/ecc/.kiro/skills/fastapi-patterns/SKILL.md · 328 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 328 lines · 35 tokens per session scan A 6e809a690fbe

Subscribe to this mod's changes

fastapi-patterns is a skill published in the GitHub repository masrisystems/dot-agents (0 stars, last pushed 1mo ago), with no licence file. It adds 35 tokens to every session and 2,024 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-09-03.

Related

Other skills, from other repositories

async-python-patterns

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

sickn33/agentic-awesome-skills · 34 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

fastapi-templates

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

rmyndharis/antigravity-skills · 37 tokens

python-programming-expert

Expert-level skill for Python programming (Python 3.13/3.14+). Covers type safety, generic syntax (PEP 695), async/await TaskGroups, FastAPI 0.115+, Pydantic v2, uv package manager, Ruff, and pytest in English and Indonesian.

roedyrustam/vibes-plug · 68 tokens

fastapi-async-microservices

Design and develop production-grade asynchronous microservices using FastAPI, Python 3.12+, Pydantic v2 Settings and Schemas, SQLAlchemy 2.0 async sessions, dependency injection, lifespan state management, structured JSON logging, and connection pooling. Trigger when building async Python APIs, microservices, or…

hamzabellouch/agent-skills · 77 tokens