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/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.
<a href="https://agentmods.dev/skills/andresquirogadev/skillsense/fastapi"><img src="https://agentmods.dev/badge/skills/andresquirogadev/skillsense/fastapi.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00000 | $0.00227 |
| Sonnet 5.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 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.
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.
- 1mo 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 6mo 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
fastapi
Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is python), NOT engine-level SQL (that is…
django
Use when building, reviewing, securing, testing or shipping a Django app — models, migrations, QuerySets/managers, FBV/CBV views, forms, the admin, settings split, and Django REST Framework (serializers, ModelViewSet, permissions). NOT async FastAPI/Pydantic services (that is fastapi), NOT Postgres schema/index work…
developing-with-python
Python 3.11+ development with type hints, async patterns, FastAPI, and pytest. Use for backend services, CLI tools, data processing, and API development.
developing-with-typescript
TypeScript 5.x development with type system, generics, utility types, and strict mode patterns. Use when writing TypeScript code or adding types to JavaScript projects.
plugin-system
Generic plugin system for Python applications. Auto-discovery, validation, fault tolerance. Zero dependencies (Python stdlib only).
codegen
Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.