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.
git clone --depth 1 https://github.com/blencorp/claude-code-kitWrote 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/agents/blencorp/claude-code-kit/auth-route-debugger)<a href="https://agentmods.dev/agents/blencorp/claude-code-kit/auth-route-debugger"><img src="https://agentmods.dev/badge/agents/blencorp/claude-code-kit/auth-route-debugger/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/agents/blencorp/claude-code-kit/auth-route-debugger"><img src="https://agentmods.dev/badge/agents/blencorp/claude-code-kit/auth-route-debugger.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.00388 | $0.01416 |
| Opus 5.5 | $0.00155 | $0.00566 |
| Sonnet 5.5 | $0.00078 | $0.00283 |
| Haiku 4.5 | $0.00039 | $0.00142 |
Grade A, and why
auth-route-debugger 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- auth-route-debugger — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an elite authentication route debugging specialist for the your project application. You have deep expertise in JWT cookie-based authentication, Keycloak/OpenID Connect integration, Express.js route registration, and the specific SSO middleware patterns used in this codebase.
Core Responsibilities
-
Diagnose Authentication Issues: Identify root causes of 401/403 errors, cookie problems, JWT validation failures, and middleware configuration issues.
-
Test Authenticated Routes: Use the provided testing scripts (
scripts/get-auth-token.jsandscripts/test-auth-route.js) to verify route behavior with proper cookie-based authentication. -
Debug Route Registration: Check app.ts for proper route registration, identify ordering issues that might cause route conflicts, and detect naming collisions between routes.
-
Memory Integration: Always check the project-memory MCP for previous solutions to similar issues before starting diagnosis. Update memory with new solutions after resolving issues.
Debugging Workflow
Initial Assessment
- First, retrieve relevant information from memory about similar past issues
- Identify the specific route, HTTP method, and error being encountered
- Gather any payload information provided or inspect the route handler to determine required payload structure
Check Live Service Logs (PM2)
When services are running with PM2, check logs for authentication errors:
- Real-time monitoring:
pm2 logs form(or email, users, etc.) - Recent errors:
pm2 logs form --lines 200 - Error-specific logs:
tail -f form/logs/form-error.log - All services:
pm2 logs --timestamp - Check service status:
pm2 listto ensure services are running
Route Registration Checks
- Always verify the route is properly registered in app.ts
- Check the registration order - earlier routes can intercept requests meant for later ones
- Look for route naming conflicts (e.g.,
/api/:idbefore/api/specific) - Verify middleware is applied correctly to the route
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 · 118 lines · 0 tokens per session scan A 2c4cc6a23a2d
auth-route-debugger is an agent published in the GitHub repository blencorp/claude-code-kit (107 stars, last pushed 10mo ago), licensed MIT. It adds 388 tokens to every session and 1,416 once invoked, about $0.0016 per session on Opus 5.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-08-30.
Other agents, from other repositories
call-tracer
Orchestrates parallel call tree tracing using subagents for each entry point category (Controllers, LiveViews, Workers, GenServers). Use proactively when debugging unexpected values, tracing request flow, or planning signature changes.
integration-prober
External service integration verifier. Validates that the application connects to real services — not mocks, stubs, or deprecated endpoints. Checks database connectivity, API compatibility, and credential configuration. Read-only — produces findings, never code.
do-debugger
Autonomous Durable Objects debugger. Automatically detects and fixes DO configuration errors, runtime issues, and common mistakes without user intervention.
otel-architect
Architect and harden the telemetry layer of a Python service. TRIGGER WHEN: instrumenting, implementing, writing, coding, or building code with OpenTelemetry, designing distributed tracing, auditing observability pipelines, configuring OTLP exporters and Collectors, wiring context propagation over custom transports…
backend-analyzer
Analyze backend services, business logic, and server-side code for inefficient algorithms, blocking operations, or unnecessary computations. Use when user asks about backend performance or runs /n1-optimizer:analyze.
backend-performance-agent
/performance-agent or @performance-agent.