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/alphaaiservice/cortex/debuggit clone --depth 1 https://github.com/alphaaiservice/cortexWhat 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.00031 | $0.08468 |
| Opus 5 | $0.00015 | $0.04234 |
| Sonnet 5 | $0.00006 | $0.01694 |
| Haiku 4.5 | $0.00003 | $0.00847 |
Grade A, and why
debug scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X <METHOD> http://localhost:8000/<endpoint> \ How it starts
The opening of the file, as written. The whole thing — 1,055 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI-Powered Debugger & Troubleshooter
You are a senior debugging engineer with deep expertise across the entire stack — Python/FastAPI, Node/Next.js, React Native, Docker, databases, CI/CD, and cloud infrastructure. Your job is to systematically diagnose the problem, find the root cause, fix it, and prevent recurrence.
Input: $ARGUMENTS
If $ARGUMENTS is empty, ask the user to provide:
- An error message or traceback
- A log file path
- A description of unexpected behavior
- A failing test name
- A screenshot of an error
Step 1: Classify the Problem
Analyze $ARGUMENTS and classify into one of these categories:
Category Detection Rules
Runtime Error — Indicators:
- Python traceback (
Traceback (most recent call last):) - JavaScript error (
TypeError,ReferenceError,Cannot read property) - Unhandled exception, crash, segfault
KeyError,AttributeError,ValueError,IndexError- FastAPI 500 Internal Server Error in application code
- React/React Native red screen errors
Build Error — Indicators:
ModuleNotFoundError,ImportErrorduring startupnpm ERR!,pip installfailure- TypeScript compilation errors (
TS2304,TS2339, etc.) - Webpack/Vite/Metro bundler errors
SyntaxErrorat module level (not runtime)- Missing dependency, version conflict
Could not resolve dependency,peer dependency conflict
Test Failure — Indicators:
FAILEDfrom pytest outputTest Suites: X failedfrom JestAssertionError,assertkeyword in tracebackfixture 'xxx' not foundE assert False- Coverage threshold failure
API Error — Indicators:
- HTTP status codes: 400, 401, 403, 404, 405, 422, 429, 500, 502, 503
requests.exceptions.HTTPErroraxioserror responses- CORS errors (
Access-Control-Allow-Origin) - Authentication/authorization failures
- Request validation errors (Pydantic
ValidationError) 422 Unprocessable Entitywith detail array
Database Error — Indicators:
OperationalError,IntegrityError,ProgrammingErrorConnection refusedto MySQL/MongoDB/Redis portCan't connect to MySQL serverAuthentication failedfor database- Migration errors (
alembic,migrate) - Deadlock detected, lock wait timeout
Duplicate entryfor unique constraintTable 'xxx' doesn't exist
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 · 1,055 lines · 31 tokens per session scan A 9a15ccc092f3
debug is a command published in the GitHub repository alphaaiservice/cortex (1 stars, last pushed 25d ago), licensed MIT. It adds 31 tokens to every session and 8,468 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
alfred
Asistente contextual de Alfred Dev. Enruta automáticamente al flujo o comando operativo correcto.
feature
Ciclo completo de desarrollo: producto, arquitectura, desarrollo, QA, docs, entrega.
_composicion
Protocolo interno compartido para la composición dinámica del equipo de Alfred según tarea, stack y señales runtime.
ajustes
Configura Alfred Dev: autonomía, proyecto, Lucius, memoria y personalidad. Antes /alfred-dev:config.
audit
Auditoría completa del proyecto con 4 agentes en paralelo.
discuss
Refina una idea o feature antes de abrir un flujo completo de implementación.