auth-route-tester

auth-route-tester is an agent for Claude Code from blencorp/claude-code-kit. It costs 374 tokens per session (1,179 once invoked), scanned A, original, MIT.

An automated reviewer for API routes, the URLs through which an application receives or returns data.

In plain words
What is it for?
Use it after implementing or changing routes to test authenticated requests, create required test data, inspect database changes, and suggest improvements.
Why use it?
It checks whether changed routes actually work, save the expected database records, and return the responses the application expects.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/test-auth-route.js [URL].

Good fit Use it after implementing or changing routes to test authenticated requests, create required test data, inspect database changes, and suggest improvements.

Compare 6 agents from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/blencorp/claude-code-kit
agentmods
npx agentmods add agents/blencorp/claude-code-kit/auth-route-tester

Made for: Claude Code.

Wrote 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.

agentmods badge for auth-route-tester

README.md
[![agentmods](https://agentmods.dev/badge/agents/blencorp/claude-code-kit/auth-route-tester/github.svg)](https://agentmods.dev/agents/blencorp/claude-code-kit/auth-route-tester)
Your own site
<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.

agentmods 80×15 button for auth-route-tester

Your own site · 80×15
<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>
Per session 374 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 0a6d057e399b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

cli/kits/express/agents/auth-route-tester.md · 94 lines

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:

  1. 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
  2. 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:
      # Example: Create test projects for workflow testing
      npm run test-data:create -- --scenario=monthly-report-eligible --count=5
      
      See @database/src/test-data/README.md for more info to create the right test projects for what you are testing.
    • 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';
      
  3. 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
  4. 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
  5. 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
  6. 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.

Changes

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.

  1. 1mo ago First seen · 94 lines · 0 tokens per session scan A 0a6d057e399b

Subscribe to this mod's changes

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.

Related

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…

giuseppe-trisciuoglio/developer-kit · 65 tokens

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...

SteveGJones/ai-first-sdlc-practices · 54 tokens

qa-executor

Executes QA test plans with detailed reporting. Specialized for API testing and event verification.

rlajous/claude-code-commands · 21 tokens

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.

vinnie357/claude-skills · 52 tokens

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.

vinnie357/claude-skills · 52 tokens

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/.

fuxicodex/Fuxi · 49 tokens