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 AmariahAK/atlarix-skills --skill fastapigit clone --depth 1 https://github.com/AmariahAK/atlarix-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/amariahak/atlarix-skills/fastapi)<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/fastapi"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/fastapi.svg" alt="Measured on agentmods" 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.00003 | $0.00371 |
| Opus 5 | $0.00002 | $0.00186 |
| Sonnet 5 | $0.00001 | $0.00074 |
| Haiku 4.5 | $0.00000 | $0.00037 |
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 4d 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.
What it actually says
FastAPI Patterns
When to use this skill
Use this skill when building Python APIs with FastAPI and you want consistent boundary validation, async correctness, and maintainable dependency injection patterns.
Core patterns
Pydantic at boundaries
- validate request/response models explicitly
- avoid returning raw dicts from endpoints
- keep internal domain models separate from API schemas
Async correctness
- prefer async DB/HTTP libraries when using async endpoints
- avoid blocking calls inside
async def
Dependencies (DI)
- use dependencies for auth, DB sessions, feature flags
- keep dependencies small and composable
Error handling
- raise HTTPException for boundary errors
- wrap lower-level errors with context; log server-side details, keep user messages safe
Testing
- unit tests for pure logic
- integration tests with TestClient / httpx
- test error paths explicitly
Atlarix tool notes
- Explore: map routers and dependencies; locate schema models.
- Build: run
pytest; keep endpoint changes small and typed. - Debug: reproduce with a single request; inspect validation errors first.
- Review: check schema correctness, authz, and async blocking.
Common mistakes to avoid
- Mixing domain logic into endpoint functions
- Returning raw dicts everywhere
- Blocking IO in async endpoints
Mini-checklist
- Typed schemas at boundaries
- DI used intentionally
- Error paths tested
- Async is consistent
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.
- 4d ago First seen · 56 lines · 3 tokens per session scan A c84ded161922
FastAPI Patterns is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 3 tokens to every session and 371 once invoked, about $0.0000 per session on Opus 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.
Other skills, from other repositories
fastapi-expert
Expert-level FastAPI development for high-performance Python APIs with async support. Use when the user mentions Python, API, async, REST, OpenAPI, or Pydantic, or when the task involves FastAPI Features.
fastapi
FastAPI best practices + Pydantic. Use when building or reviewing FastAPI APIs.
python
Use when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.
fastapi-patterns
FastAPI production patterns — routing, dependency injection, background tasks, streaming, error handling, and async. Use when building or reviewing a FastAPI service.
fastapi
Operational skill for FastAPI: Pydantic models, dependency injection, async routes, OpenAPI, authentication hooks, and TestClient-based testing.
FastAPI Customer Support Tech Enablement
Comprehensive FastAPI skill for building modern Python web APIs with focus on customer support systems, ticket management, real-time chat, and backend operations.