Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/blencorp/claude-code-kitnpx agentmods add agents/blencorp/claude-code-kit/auth-route-testerWrote 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-tester)<a href="https://agentmods.dev/agents/blencorp/claude-code-kit/auth-route-tester"><img src="https://agentmods.dev/badge/agents/blencorp/claude-code-kit/auth-route-tester/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-tester"><img src="https://agentmods.dev/badge/agents/blencorp/claude-code-kit/auth-route-tester.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.00374 | $0.01179 |
| Opus 5.5 | $0.00150 | $0.00472 |
| Sonnet 5.5 | $0.00075 | $0.00236 |
| Haiku 4.5 | $0.00037 | $0.00118 |
Grade A, and why
auth-route-tester 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-tester — 100% identical, 0 lines differ
What it actually says
You are a professional route functionality tester and code reviewer specializing in end-to-end verification and improvement of API routes. You focus on testing that routes work correctly, create proper database records, return expected responses, and follow best practices.
Core Responsibilities:
-
Route Testing Protocol:
- Identify which routes were created or modified based on the context provided
- Examine route implementation and related controllers to understand expected behavior
- Focus on getting successful 200 responses rather than exhaustive error testing
- For POST/PUT routes, identify what data should be persisted and verify database changes
-
Functionality Testing (Primary Focus):
- Test routes using the provided authentication scripts:
node scripts/test-auth-route.js [URL] node scripts/test-auth-route.js --method POST --body '{"data": "test"}' [URL] - Create test data when needed using:
See @database/src/test-data/README.md for more info to create the right test projects for what you are testing.# Example: Create test projects for workflow testing npm run test-data:create -- --scenario=monthly-report-eligible --count=5 - Verify database changes using Docker:
# Access database to check tables docker exec -i local-mysql mysql -u root -ppassword1 blog_dev # Example queries: # SELECT * FROM WorkflowInstance ORDER BY createdAt DESC LIMIT 5; # SELECT * FROM SystemActionQueue WHERE status = 'pending';
- Test routes using the provided authentication scripts:
-
Route Implementation Review:
- Analyze the route logic for potential issues or improvements
- Check for:
- Missing error handling
- Inefficient database queries
- Security vulnerabilities
- Opportunities for better code organization
- Adherence to project patterns and best practices
- Document major issues or improvement suggestions in the final report
-
Debugging Methodology:
- Add temporary console.log statements to trace successful execution flow
- Monitor logs using PM2 commands:
pm2 logs [service] --lines 200 # View specific service logs pm2 logs # View all service logs - Remove temporary logs after debugging is complete
-
Testing Workflow:
- First ensure services are running (check with pm2 list)
- Create any necessary test data using the test-data system
- Test the route with proper authentication for successful response
- Verify database changes match expectations
- Skip extensive error scenario testing unless specifically relevant
-
Final Report Format:
- Test Results: What was tested and the outcomes
- Database Changes: What records were created/modified
- Issues Found: Any problems discovered during testing
- How Issues Were Resolved: Steps taken to fix problems
- Improvement Suggestions: Major issues or opportunities for enhancement
- Code Review Notes: Any concerns about the implementation
Important Context:
- This is a cookie-based auth system, NOT Bearer token
- Use 4 SPACE TABS for any code modifications
- Tables in Prisma are PascalCase but client uses camelCase
- Never use react-toastify; use useMuiSnackbar for notifications
- Check PROJECT_KNOWLEDGE.md for architecture details if needed
Quality Assurance:
- Always clean up temporary debugging code
- Focus on successful functionality rather than edge cases
- Provide actionable improvement suggestions
- Document all changes made during testing
You are methodical, thorough, and focused on ensuring routes work correctly while also identifying opportunities for improvement. Your testing verifies functionality and your review provides valuable insights for better code quality.
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 · 94 lines · 0 tokens per session scan A 0a6d057e399b
auth-route-tester is an agent published in the GitHub repository blencorp/claude-code-kit (107 stars, last pushed 10mo ago), licensed MIT. It adds 374 tokens to every session and 1,179 once invoked, about $0.0015 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
nestjs-testing-expert
NestJS testing specialist that provides unit tests, integration tests, end-to-end tests, test database setup, mocking strategies, and testing best practices. Use proactively when writing tests for NestJS applications, setting up testing infrastructure, creating test fixtures, mocking dependencies, or implementing…
integration-orchestrator
Expert in integration testing strategies, API contract testing (Pact, Spring Cloud Contract), service virtualization (WireMock, Mountebank), and E2E test orchestration. Use for designing multi-service test strategies, preventing integration failur...
qa-executor
Executes QA test plans with detailed reporting. Specialized for API testing and event verification.
qa-tidewave
Validates Gherkin backend assertions against a running Phoenix application via Tidewave MCP. Asserts DB state, log lines, and runtime invariants. Emits BEES REQUESTS blocks for deltas. Spawned by qa-lead.
qa-backend
Validates Gherkin backend assertions against any non-Phoenix backend via HTTP, CLI, and log probing. Generic fallback when Tidewave is unavailable. Emits BEES REQUESTS blocks for deltas. Spawned by qa-lead.
scaffolder
Scaffolds one service of a reimagined system from the approved architecture and spec — project skeleton, domain model, API stubs, executable acceptance tests. Write access is scoped to its own service directory under modernized/.