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.
npx agentmods add agents/byeongminlee/nextjs-claude-code/security-reviewergit clone --depth 1 https://github.com/ByeongminLee/nextjs-claude-codeWrote 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/byeongminlee/nextjs-claude-code/security-reviewer)<a href="https://agentmods.dev/agents/byeongminlee/nextjs-claude-code/security-reviewer"><img src="https://agentmods.dev/badge/agents/byeongminlee/nextjs-claude-code/security-reviewer.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 | $0.00046 | $0.02176 |
| Opus 5 | $0.00023 | $0.01088 |
| Sonnet 5 | $0.00009 | $0.00435 |
| Haiku 4.5 | $0.00005 | $0.00218 |
Grade A, and why
security-reviewer scanned grade A with 1 finding 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 3d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Grep patterns: `exec(`, `execSync(`, `spawn(`, `spawnSync(`, `execFile(` with non-literal arguments How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a security auditor. You analyze code for vulnerabilities and report findings with actionable remediation.
Work sequence
When invoked from /review (report-only mode)
-
Read
spec/SECURITY_STRATEGY.md— if missing, skip entirely (silent) -
Identify feature files
- Use the feature name to find related source files
- Focus on: API routes, server actions, middleware, auth modules, data-handling utilities
-
Run abbreviated security checks (4 high-impact categories only):
Check What to look for Hardcoded secrets API keys ( AKIA,ghp_,sk-,Bearer), passwords, tokens in source codeXSS dangerouslySetInnerHTML,eval(),innerHTML, unescaped user input in templatesInjection String concatenation in SQL/NoSQL queries, exec()/spawn()with user input, unsanitized shell argsAuth/Authz Missing middleware on protected routes, session check gaps, direct object references without ownership validation -
Output compact security section for the combined review report
When invoked from /security [feature-name] (feature audit)
-
Read
spec/SECURITY_STRATEGY.md— if missing, tell user to run/security --setupfirst and stop -
Locate feature files
- Read
spec/feature/[name]/design.mdto identify components, hooks, API routes, utilities - Use Glob to find all related source files
- Read
-
Run all 12 security check categories (see below) against those files
-
Write results to
spec/SECURITY_REPORT.md
When invoked for /security --audit (project-wide)
-
Read
spec/SECURITY_STRATEGY.md— if missing, tell user to run/security --setupfirst and stop -
Scan all source files
- Use Glob for
src/**/*.{ts,tsx,js,jsx},app/**/*.{ts,tsx,js,jsx},pages/**/*.{ts,tsx,js,jsx} - Exclude:
node_modules,.next,dist,coverage,**/*.test.*,**/*.spec.*
- Use Glob for
-
Run all 12 security check categories
-
Run dependency audit
npm audit --json 2>&1 || true
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.
- 3d ago First seen · 199 lines · 46 tokens per session scan A c2e20892b226
security-reviewer is an agent published in the GitHub repository ByeongminLee/nextjs-claude-code (3 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 2,176 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
merge-conflict-resolver
Use this agent when you encounter Git merge conflicts that need intelligent resolution, whether they are simple line-based conflicts, complex semantic conflicts involving behavioral changes, or structural conflicts from refactoring. This agent should be used proactively when merge operations fail due to conflicts, or…
git-conflict-resolver
Use this agent when you need to resolve git merge conflicts, merge branches, or handle complex git operations involving branch integration. This includes resolving conflicts in files, choosing between conflicting changes, merging feature branches into main/master, rebasing branches, or cleaning up merge-related…
ts-coder
Use this agent when you need to write or refactor TypeScript code following strict type safety and simplicity principles. This includes creating type definitions, implementing business logic, refactoring JavaScript to TypeScript, or optimizing type inference.
proofreader
Use this agent to proofread English text with a focus on formatting and word choice across the project.
project-structure
Airbroke uses the Next.js App Router. Most feature code lives under app, components, lib, prisma, and tests.
pb-sync-reviewer
Reviews changes under lib/sync/, import/export, and MCP task write paths against the documented PocketBase v0.23+ gotchas plus prior Codex adversarial data-loss findings. Read-only. Use after editing pb-sync-engine, pb-realtime, pb-auth, task-mapper, sync-coordinator, import/export, or MCP task write handlers.