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 andresquirogadev/skillsense --skill fastapigit clone --depth 1 https://github.com/andresquirogadev/skillsenseWrote 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/andresquirogadev/skillsense/fastapi)<a href="https://agentmods.dev/skills/andresquirogadev/skillsense/fastapi"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/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.00000 | $0.00568 |
| Opus 5 | $0.00000 | $0.00284 |
| Sonnet 5 | $0.00000 | $0.00114 |
| Haiku 4.5 | $0.00000 | $0.00057 |
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 6d 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FastAPI Skill
You are working on a FastAPI project. Apply these conventions.
Project Structure
app/
├── main.py # FastAPI app creation, router inclusion
├── routers/ # APIRouter groupings by domain
├── models/ # SQLAlchemy / database models
├── schemas/ # Pydantic request/response schemas
├── dependencies/ # Reusable Depends() functions
├── services/ # Business logic layer
└── core/ # Settings, security, database session
App Setup
- Create the FastAPI app once and include routers:
app.include_router(users.router, prefix="/users", tags=["users"]). - Use
lifespanfor startup/shutdown logic (not deprecatedon_event):from contextlib import asynccontextmanager @asynccontextmanager async def lifespan(app: FastAPI): # startup yield # shutdown app = FastAPI(lifespan=lifespan)
Pydantic Models (v2)
- Use Pydantic v2 —
model_config = ConfigDict(from_attributes=True)replacesclass Config: orm_mode = True. - Separate schemas for creation (
UserCreate), update (UserUpdate), and response (UserResponse). - Use
model_validatorandfield_validator(not@validator— that's v1 syntax).
Dependency Injection
- Create reusable dependencies with
Depends():async def get_current_user(token: str = Depends(oauth2_scheme), db: Session = Depends(get_db)) -> User: - Inject database sessions via
Depends(get_db)— never create sessions inside route handlers.
Async
- Use
async deffor route handlers that perform I/O (DB, HTTP). - Use
def(synchronous) for CPU-bound handlers — FastAPI runs them in a thread pool. - Use
asyncpgorSQLAlchemyasync engine for async DB operations.
Error Handling
- Raise
HTTPException(status_code=404, detail="Not found")for expected errors. - Use exception handlers for global errors:
@app.exception_handler(RequestValidationError). - Return consistent error shapes — define a base
ErrorResponsePydantic schema.
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.
- 6d ago First seen · 64 lines · 0 tokens per session scan A 455d11b13c95
fastapi is a skill published in the GitHub repository andresquirogadev/skillsense (2 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 568 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
python-backend-patterns
Guides version-aware implementation, debugging, review, and planning for server-side Python services, including FastAPI, Django, Flask, data access, integrations, and focused backend tests.
mainframe-python-backend
Implement, debug, review, or plan server-side Python in FastAPI, Django, Flask, and established Python services. Use for HTTP APIs, business logic, authentication, PostgreSQL, SQLAlchemy, migrations, workers, realtime behavior, caching, object storage, external integrations, generated documents, observability, and…
async-python-patterns
Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
cross-sdk-parity
Keep TypeScript and Python SDK behavior, generated client usage, public API naming, and docs examples aligned. Use when a change affects both SDKs, when generated client pins move, when comparing TS/Python behavior, or when a backend API contract changed. Do not use for single-language internal-only changes.
supabase-python
FastAPI with Supabase and SQLAlchemy/SQLModel.
backend-development
A general guide for building backend services, which are the server-side programs that handle data, business rules, and APIs. It switches between Python, Node.js, Go, and Java guidance based on the requested technology.