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 agentmods add skills/dongduong2001/pudo-code-system/fastapinpx skills add DongDuong2001/pudo-code-system --skill fastapigit clone --depth 1 https://github.com/DongDuong2001/pudo-code-systemWrote 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/dongduong2001/pudo-code-system/fastapi)<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/fastapi"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/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 | $0.00000 | $0.00381 |
| Opus 5 | $0.00000 | $0.00191 |
| Sonnet 5 | $0.00000 | $0.00076 |
| Haiku 4.5 | $0.00000 | $0.00038 |
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 3d 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
Python FastAPI PUDO Checklist
1. PLAN (Architecture & Strategy)
- API Design: Define RESTful endpoints, path parameters, and query parameters.
- Data Validation: Plan Pydantic models for request (In) and response (Out) schemas.
- Database & ORM: Select the async DB driver and ORM (e.g., SQLAlchemy 2.0 with async engine, SQLModel).
- Authentication: Plan dependency injection for Auth (OAuth2, JWT tokens).
2. UNDERSTAND (Context & Auditing)
- Dependencies: Review the existing dependency injection (
Depends()) tree. - Sync vs Async: Audit for blocking I/O calls within
async defendpoints. Ensure CPU-bound tasks usedefor thread pools. - Middleware: Review CORS, rate limiting, and custom middleware configurations.
3. DEVELOP (Implementation)
- Schemas: Implement strict Pydantic v2 models with
Fieldvalidation constraints. - Endpoints: Create routers (
APIRouter) to group related endpoints. - Dependency Injection: Use
Depends()for database sessions, current user retrieval, and pagination parameters. - Error Handling: Implement custom Exception Handlers for consistent JSON error responses.
4. OPTIMIZE (Performance & Review)
- Concurrency: Ensure database calls are utilizing
awaitproperly without deadlocks. - Serialization: Profile Pydantic serialization speeds; consider
orjsonif JSON parsing is a bottleneck. - Documentation: Enrich OpenAPI docs with endpoint descriptions, tags, and summary response models.
- Security: Verify that sensitive models do not leak password hashes via
response_modelconstraints.
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.
- 3d ago First seen · 24 lines · 0 tokens per session scan A eaa201e2e899
fastapi is a skill published in the GitHub repository DongDuong2001/pudo-code-system (5 stars, last pushed 27d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 381 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.
Other skills, from other repositories
scale-to-millions
Use this skill whenever the user is designing, reviewing, debugging, or answering interview questions about system/software architecture and scalability — e.g. "scale my app", "how do I handle more traffic", "design a URL shortener / news feed / chat system", "my API is slow under load", "should I shard my database"…
marimo-notebook
Author interactive reactive Python notebooks with marimo. Covers interactive cell execution, reactive UI, SQL, state management, deployment, and export. For interactive notebooks, NOT Cell.run() API.
pytest-expert
Pytest fixtures, parametrize, mock/monkeypatch, async testing with pytest-asyncio, and coverage reporting.
python-dev
Python backend conventions for this project. Use when implementing or modifying API endpoints, database models/migrations, services, schemas, or backend tests.
architecture-python-backend
Master of Python backend architecture. Enforces layered architecture, BFRI risk assessment, and strict error boundaries. Use when designing or reviewing core Python backend services.
flet-best-practices
Idiomatic guide for Flet 1.0 applications. Covers declarative UI, hooks, observable state, services, async execution model, and breaking API changes from v0.x. Use this skill to write modern Flet code, migrate imperative apps to reactive patterns, apply breaking changes correctly, and avoid common pitfalls.