ECC is a toolkit that organizes and improves how coding agents work through skills, memory, security checks, research practices, and related extensions. It is for developers using agents such as Claude Code, Codex, OpenCode, and Cursor.
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/affaan-m/ecc/fastapi-reviewgit clone --depth 1 https://github.com/affaan-m/ECCWrote 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/affaan-m/ecc/fastapi-review)<a href="https://agentmods.dev/commands/affaan-m/ecc/fastapi-review"><img src="https://agentmods.dev/badge/commands/affaan-m/ecc/fastapi-review.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.00027 | $0.00230 |
| Opus 5 | $0.00014 | $0.00115 |
| Sonnet 5 | $0.00005 | $0.00046 |
| Haiku 4.5 | $0.00003 | $0.00023 |
Grade A, and why
fastapi-review 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 2d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- fastapi-review — 100% identical, 0 lines differ
- fastapi-review — 100% identical, 0 lines differ
What it actually says
FastAPI Review
Invoke the fastapi-reviewer agent for a focused FastAPI review.
Usage
/fastapi-review [file-or-directory]
Review Areas
- App factory, router boundaries, middleware, and exception handlers.
- Pydantic request and response schema separation.
- Dependency injection for database sessions, auth, pagination, and settings.
- Async database and external HTTP patterns.
- CORS, auth, rate limits, logging, and secret handling.
- OpenAPI metadata and documented response models.
- Test client setup and dependency overrides.
Expected Output
[SEVERITY] Short issue title
File: path/to/file.py:42
Issue: What is wrong and why it matters.
Fix: Concrete change to make.
Related
- Agent:
fastapi-reviewer - Skill:
fastapi-patterns - Command:
/python-review - Skill:
security-scan
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.
- 2d ago First seen · 40 lines · 27 tokens per session scan A 758f6c55befc
fastapi-review is a command published in the GitHub repository affaan-m/ECC (250,130 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 230 once invoked, about $0.0001 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 commands, from other repositories
code-review
Code review a pull request.
lfe-improve-architecture
Find deepening opportunities in the codebase — turn shallow modules into deep ones. Use in Phase 5 (Hygiene sub-pipeline) or when scheduled by session count.
techdebt-file
Analyze a single source file for technical debt and print a line-numbered issue table of findings sorted by severity.
t00-perf-check
检查 Claude 效率配置:自动加载量、token 估算、skills、hooks,输出优化建议.
t00-playwright-test
Playwright UI 测试 — 在真实浏览器中测试本地运行的 Web App,验证登录流程、功能路径、边缘案例。PJ90 等前端项目适用。.
t00-status
Command "t00-status" from maysunAI/T00-zh, covering step 1:文件状态, step 2:任务状态, step 3:resume 摘要 and 输出格式.