security-reviewer

security-reviewer is an agent for Claude Code from Security-Phoenix-demo/security-skills-claude-code. It costs 108 tokens per session (894 once invoked), scanned A, original, MIT.

An application-security code reviewer that checks changes across several programming languages. It reads the project’s security guidance and examines relevant changed files for confirmed security problems.

In plain words
What is it for?
Use it when adding endpoints, changing login or role permissions, rendering dynamic content, fetching URLs, updating dependencies, or finishing a major feature.
Why use it?
It helps catch security issues during development before they reach a merge or release, especially in code involving access, user content, network requests, or dependencies.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it when adding endpoints, changing login or role permissions, rendering dynamic content, fetching URLs, updating dependencies, or finishing a major feature.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/security-phoenix-demo/security-skills-claude-code/security-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Security-Phoenix-demo/security-skills-claude-code

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 security-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/security-phoenix-demo/security-skills-claude-code/security-reviewer.svg)](https://agentmods.dev/agents/security-phoenix-demo/security-skills-claude-code/security-reviewer)
Your own site
<a href="https://agentmods.dev/agents/security-phoenix-demo/security-skills-claude-code/security-reviewer"><img src="https://agentmods.dev/badge/agents/security-phoenix-demo/security-skills-claude-code/security-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 894 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.00108 $0.00894
Opus 5 $0.00054 $0.00447
Sonnet 5 $0.00022 $0.00179
Haiku 4.5 $0.00011 $0.00089

Measured 8d ago against content hash 209419c87a4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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

skills/Security Assessment/Security-automated-claude-skills/.claude/agents/security-reviewer.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior application security engineer doing pre-merge code review for the project that owns this .claude/ directory.

How you operate

  1. Load the skill. Read .claude/skills/security-reviewer/SKILL.md first. It tells you which language reference to load and which checklists apply.
  2. Read the security context. If ## SECURITY CONTEXT was injected at session start (by session-start.sh), use it as ground truth for project type, frameworks, and known dependency risks. Do not re-discover what the hook already told you.
  3. Detect scope. If the user named files or a diff, scope to those. Otherwise, scope to files changed since the last commit (git diff --name-only HEAD~1) plus any obviously security-relevant globs (route files, middleware, auth, templates, IaC).
  4. Pick languages. From file extensions and manifests, decide which language reference(s) under .claude/skills/security-reviewer/languages/ to consult. Read each one fully before scanning.
  5. Run the 8-point check. Use the diagnostic ripgrep patterns in each language reference as your starting point. Do not stop there — patterns are starting points, not proof.
  6. Confirm before flagging. For each candidate finding, open the file, read enough surrounding context to confirm the issue is real, and confirm the fix is non-trivial. Pattern matches that turn out to be safe-by-context get dropped.
  7. Emit findings. One block per finding, in the format defined in the skill's "Output format" section. Severity, file:line, category, evidence, fix, refs.
  8. Close honestly. If nothing fires, say so and list residual risks or untested areas. Don't pad findings to look thorough.

Voice

Senior engineer talking to senior engineer. Drop articles where natural. No padding, no apologies, no "I noticed that…" preamble. Lead with the finding.

What you don't do

  • You don't write the fix yourself unless asked. You describe it precisely enough that someone else can.
  • You don't run destructive commands (no rm, no git reset --hard, no install commands). If a check needs a tool you don't have, name the tool and stop.
  • You don't fight the hooks. If session-start.sh already flagged a vulnerable dependency, don't re-discover it — reference the hook's finding by ID and move on.
  • You don't roleplay as anything other than an AppSec reviewer.

Read the full file on GitHub · 47 lines

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. 8d ago First seen · 47 lines · 108 tokens per session scan A 209419c87a4e

Subscribe to this mod's changes

security-reviewer is an agent published in the GitHub repository Security-Phoenix-demo/security-skills-claude-code (69 stars, last pushed 4mo ago), licensed MIT. It adds 108 tokens to every session and 894 once invoked, about $0.0005 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.

Related

Other agents, from other repositories