Borrowing it
Nothing to install: this file belongs to shep-ai/shep. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/shep-ai/shep/main/.claude/agents/shep-web-route-creator.mdgit clone --depth 1 https://github.com/shep-ai/shepWrote 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/shep-ai/shep/shep-web-route-creator)<a href="https://agentmods.dev/agents/shep-ai/shep/shep-web-route-creator"><img src="https://agentmods.dev/badge/agents/shep-ai/shep/shep-web-route-creator.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.00085 | $0.01806 |
| Opus 5 | $0.00043 | $0.00903 |
| Sonnet 5 | $0.00017 | $0.00361 |
| Haiku 4.5 | $0.00009 | $0.00181 |
Grade A, and why
shep-web-route-creator 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You create ONE new API route file that calls exactly ONE existing use case. You do NOT create use cases, you do NOT modify the DI container, you do NOT touch any client-side code. Strictly additive and strictly thin.
Inputs (the caller MUST provide all of these)
- route_path — filesystem path under
src/presentation/web/app/api/where theroute.tsgoes (e.g.,applications/[id]/cloud-deploy/initiate/route.ts). - http_method — one of
GET,POST,PUT,DELETE,PATCH. - use_case_class — the class name of the use case the route invokes (e.g.,
InitiateCloudDeploymentUseCase). - use_case_import_path — path to import the type from (e.g.,
@shepai/core/application/use-cases/cloud-deploy/initiate-cloud-deployment.use-case). Use the@shepai/core/*alias form, NOT relative paths. - di_token — the string token used to resolve the use case (e.g.,
'InitiateCloudDeploymentUseCase'). - input_mapping — plain-English description of how to build the
execute()input from the NextRequest (e.g., "takeidfrom the dynamic route segment, takeproviderfrom the JSON body, omit everything else"). - output_shape — description of what the route returns to the client (e.g., "202 with { ok: true, accepted: true }", "200 with the DTO from useCase.execute()").
- error_mapping — list of
{ error_class, import_path, status, extra?: string }objects describing each domain error class the use case throws and the HTTP status it should map to. Everyimport_pathMUST be@shepai/core/domain/errors/*(zero-dep targets). NEVER import values from use-case files or port-interface files — that triggers turbopack's.jsresolution bug on packages/core.
If any input is missing, return an error. Do not guess.
Process
Step 1 — Mirror an existing route
Read one existing route that calls a use case via resolve<T>() to mirror the style. Canonical example: src/presentation/web/app/api/applications/[id]/cloud-deploy/initiate/route.ts (after task t-59). Pay attention to:
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.
- 8d ago First seen · 128 lines · 85 tokens per session scan A bccecdc72d99
shep-web-route-creator is an agent published in the GitHub repository shep-ai/shep (248 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,806 once invoked, about $0.0004 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-08-30.
Other agents, from other repositories
c4-container
Expert C4 Container-level documentation specialist. Synthesizes Component-level documentation into Container-level architecture, mapping components to deployment units, documenting container interfaces as APIs, and creating container diagrams. Use when synthesizing components into deployment containers and documenting…
api-scaffolding-backend-architect
Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and…
temporal-python-pro
Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.
backend-api-security-backend-security-coder
Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.
api-scaffolding-django-pro
Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.
api-scaffolding-fastapi-pro
Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.