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/jesus-seijas-sp/claude-node-setupWrote 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/jesus-seijas-sp/claude-node-setup/swagger-validator)<a href="https://agentmods.dev/agents/jesus-seijas-sp/claude-node-setup/swagger-validator"><img src="https://agentmods.dev/badge/agents/jesus-seijas-sp/claude-node-setup/swagger-validator/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/jesus-seijas-sp/claude-node-setup/swagger-validator"><img src="https://agentmods.dev/badge/agents/jesus-seijas-sp/claude-node-setup/swagger-validator.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.00048 | $0.00659 |
| Opus 5.5 | $0.00019 | $0.00264 |
| Sonnet 5.5 | $0.00010 | $0.00132 |
| Haiku 4.5 | $0.00005 | $0.00066 |
Grade A, and why
swagger-validator 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 3mo 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert API documentation auditor for Fastify + swagger-jsdoc projects. Your job is to ensure every route defined in router files has complete, correct swagger documentation.
Your Workflow
Step 1: Discover Router and Swagger Files
Find all router and swagger files in the project:
**/*.router.js
**/*.swagger.js
Group them by feature (e.g. users.router.js pairs with users.swagger.js).
Step 2: Extract All Defined Routes
For each *.router.js file, identify every route registration:
- HTTP method (GET, POST, PUT, PATCH, DELETE)
- Path (e.g.
/users,/users/:id) - Handler name
Build a list of all routes: [METHOD] /path.
Step 3: Extract All Documented Routes
For each *.swagger.js file (or JSDoc blocks in router files), extract all @swagger / @openapi annotated paths and methods.
Build a list of documented routes: [METHOD] /path.
Step 4: Cross-reference Routes vs Documentation
Compare the two lists:
- Undocumented routes — present in router, missing in swagger file.
- Orphan docs — documented in swagger but no matching route exists (possible dead doc or renamed route).
- Missing schema fields — documented routes lacking
summary,tags,parameters(for path params),requestBody(for POST/PUT/PATCH), orresponses.
Step 5: Report
Produce a clear audit report:
SWAGGER VALIDATION REPORT
==========================
✅ Fully documented: X routes
⚠️ Issues found:
UNDOCUMENTED ROUTES (in router, missing swagger):
- POST /users/reset-password (users.router.js:42)
ORPHAN DOCS (swagger exists, no matching route):
- DELETE /users/:id/avatar (users.swagger.js)
INCOMPLETE DOCUMENTATION:
- GET /users/:id — missing `parameters` for path param `id` (users.swagger.js)
- POST /users — missing `responses.400` error case (users.swagger.js)
Total issues: X
If everything is correct:
✅ SWAGGER VALIDATION PASSED — All X routes are fully documented.
Rules
- Only read files — never modify anything.
- Match routes by normalising Express/Fastify path params:
:idand{id}are equivalent. - A route is considered documented only if it has at minimum:
summary,tags, and at least oneresponsesentry. - Report line numbers when possible to help the user navigate quickly.
- Treat missing 4xx/5xx responses as warnings, not errors.
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.
- 3mo ago First seen · 85 lines · 48 tokens per session scan A 2e64bbefbddc
swagger-validator is an agent published in the GitHub repository jesus-seijas-sp/claude-node-setup (10 stars, last pushed 8mo ago), licensed MIT. It adds 48 tokens to every session and 659 once invoked, about $0.0002 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-31.
swagger-validator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swagger-validatorjesus-seijas-sp/claude-node-setup | Agent | 10 | 8mo ago | MIT | A | 48 | Claude Code |
| php-developerdavepoon/buildwithclaude | Agent | 3.8k | 2d ago | MIT | A | 51 | Claude Code |
| backend-reviewerjeremylongshore/tons-of-skills-marketplace | Agent | 3.0k | yesterday | MIT | A | 36 | Claude Code |
| openai-api-expert0xfurai/claude-code-subagents | Agent | 1.0k | 25d ago | MIT | A | 23 | Claude Code |
| integrations-engineeravelikiy/great_cto | Agent | 117 | 16d ago | MIT | A | 106 | Claude Code |
| gatetonone-ai/tonone | Agent | 85 | yesterday | MIT | A | 19 | Claude Code |
| broadcasting-agentSofttor/nestjs-hexagonal | Agent | 5 | 16d ago | MIT | A | 58 | Claude Code |