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 commands/dewtech-technologies/dare-method/skill-fastapi-apigit clone --depth 1 https://github.com/dewtech-technologies/dare-methodWrote 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/commands/dewtech-technologies/dare-method/skill-fastapi-api)<a href="https://agentmods.dev/commands/dewtech-technologies/dare-method/skill-fastapi-api"><img src="https://agentmods.dev/badge/commands/dewtech-technologies/dare-method/skill-fastapi-api.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.01406 |
| Opus 5 | $0.00000 | $0.00703 |
| Sonnet 5 | $0.00000 | $0.00281 |
| Haiku 4.5 | $0.00000 | $0.00141 |
Grade A, and why
skill-fastapi-api 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 yesterday.
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 — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/skill-fastapi-api
Padrões DARE para APIs REST em Python + FastAPI + Pydantic v2 + SQLAlchemy 2.0 async. Routers, dependency injection, schemas Pydantic, OAuth2+JWT, slowapi rate limit, pytest+httpx, OpenAPI auto-gerado.
Como usar
/skill-fastapi-api # audita projeto FastAPI
/skill-fastapi-api scaffold users # gera router + service + repo + schemas
/skill-fastapi-api migrate-validation # extrai validação manual para Pydantic
Stack canônica
- Python 3.11+ com type hints obrigatórios
- FastAPI 0.115+ (async/await)
- Pydantic v2
- SQLAlchemy 2.0 async + asyncpg
- alembic (migrations)
- passlib + argon2
- python-jose ou PyJWT
- slowapi (rate limit)
- pytest + pytest-asyncio + httpx
- ruff + mypy
Estrutura
app/
├── main.py
├── core/{config.py, security.py}
├── api/{deps.py, v1/{users.py, auth.py}}
├── services/
├── repositories/
├── models/ ← SQLAlchemy ORM
├── schemas/ ← Pydantic DTOs
└── tests/
Router (Handler)
@router.post("/users", response_model=UserOut, status_code=201)
async def create_user(
payload: UserCreate,
service: RegisterUser = Depends(),
_current: User = Depends(get_current_user),
):
try:
return await service.execute(payload)
except UserAlreadyExistsError:
raise HTTPException(409, "User already exists")
Schemas (Pydantic v2)
class UserCreate(BaseModel):
email: EmailStr
name: str = Field(min_length=1, max_length=255)
password: str = Field(min_length=12)
class UserOut(BaseModel):
id: int
email: EmailStr
name: str
created_at: datetime
model_config = {"from_attributes": True}
Service
class RegisterUser:
def __init__(self, repo: UsersRepository = Depends()):
self.repo = repo
async def execute(self, payload: UserCreate) -> User:
if await self.repo.exists_by_email(payload.email):
raise UserAlreadyExistsError()
return await self.repo.create(
email=payload.email,
name=payload.name,
password_hash=hash_password(payload.password),
)
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.
- yesterday First seen · 206 lines · 0 tokens per session scan A fb65677e3fea
skill-fastapi-api is a command published in the GitHub repository dewtech-technologies/dare-method (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,406 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-09-03.
Other commands, from other repositories
python-review
Comprehensive Python code review for PEP 8 compliance, type hints, security, and Pythonic idioms. Invokes the python-reviewer agent.
app-factory
Create a scalable Flask application using the factory pattern with blueprints and configuration management.
views
Create Django views with proper structure and best practices.
blueprint
Create organized Flask blueprints for modular application structure.
flask-route
Create Flask routes with proper structure and error handling.
review-python-code
审查 Python 代码的 PEP 8 合规性、类型安全、工程健壮性和宪法一致性.