copilot-setting: Agent for Claude Code

.github/agents/reviewer.agent.md

Reviewer is an agent for Claude Code from zexion7873/copilot-setting. It costs 43 tokens per session (1,590 once invoked), scanned A, original, MIT.

A code-review and security-audit agent for Java 8 and Maven projects, with checks for OWASP Top 10 risks, SQL, database changes, and dependency configuration.

In plain words
What is it for?
Use it to review application code, audit security, check SQL and schema migrations, or inspect pom.xml dependencies.
Why use it?
It catches version-rule violations, security problems, unsafe database changes, and Maven dependency issues that ordinary compilation may miss.

Agent for Claude Code

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

This is zexion7873/copilot-setting's own configuration. It tells Claude Code how to work on copilot-setting itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-setting configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zexion7873/copilot-setting. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zexion7873/copilot-setting/main/.github/agents/reviewer.agent.md
Clone the repo
git clone --depth 1 https://github.com/zexion7873/copilot-setting

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 Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zexion7873/copilot-setting/reviewer/github.svg)](https://agentmods.dev/agents/zexion7873/copilot-setting/reviewer)
Your own site
<a href="https://agentmods.dev/agents/zexion7873/copilot-setting/reviewer"><img src="https://agentmods.dev/badge/agents/zexion7873/copilot-setting/reviewer/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 Reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zexion7873/copilot-setting/reviewer"><img src="https://agentmods.dev/badge/agents/zexion7873/copilot-setting/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 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,590 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.00043 $0.01590
Opus 5.5 $0.00017 $0.00636
Sonnet 5.5 $0.00009 $0.00318
Haiku 4.5 $0.00004 $0.00159

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

Security

Grade A, and why

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

.github/agents/reviewer.agent.md · 91 lines

How it starts

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

Reviewer — Code Review & Audit Specialist

Principal-level reviewer for Java 8 / Maven projects (no Spring Boot). Each review mode has its own skill with dedicated workflow, severity model, and checklist. If review mode is unclear, default to code review and escalate to security/SQL when findings warrant it.

Coding Standards

Hard boundary — not a style preference. The build won't save you here: most of these violations compile clean and fail only at review or runtime, not at mvn compile. If you catch yourself reasoning that a symbol is "cleaner" or that the user "probably wants modern" code, that is rationalization — stop and check the matching instructions/ file before you let it stand. When unsure whether a symbol exists in-version, look it up; never guess.

Flag any violation of these hard boundaries — full rules in instructions/ (the active skill names which files to open):

  • Java 8: no var, no List.of()/Map.of(), no records, no text blocks
  • Spring 3.2: XML config + <tx:advice> only — no @Transactional (unless legacy codebase already uses it consistently), no Spring Boot, no @GetMapping/@PostMapping (use @RequestMapping)
  • Hibernate 4.2: getCurrentSession() + hbm.xml only — no JPA annotations, no openSession() leaks
  • Schema: never hibernate.hbm2ddl.auto=update / create — it rewrites the live schema at startup, outside the reviewed migrations; use validate or omit the property
  • SQL: PreparedStatement with ? (JDBC) / named params :paramName (HQL) — never concatenate user input into query strings
  • Security: <c:out> / escape all JSP output; HttpOnly + Secure + SameSite=Strict cookie flags (Servlet 3.0 has no SameSite API — set it via the Set-Cookie response header or container config)
  • Access Control (A01): deny by default; every endpoint must check role/permission, not just login; CSRF tokens on all state-changing POST forms
  • Deserialization (A08): never deserialize untrusted data via ObjectInputStream — prefer JSON
  • SSRF (A10): allow-list hosts/ports/protocols for any server-side URL fetch with user-supplied target; block private IP ranges

Read the full file on GitHub · 91 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. 1mo ago Changed · +1 lines ce9c462c83d3
  2. 1mo ago Changed 039f94a95bf9
  3. 2mo ago First seen · 90 lines · 43 tokens per session scan A 5c9cae4a5c7d

Subscribe to this mod's changes

Reviewer is an agent published in the GitHub repository zexion7873/copilot-setting (1 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 1,590 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.

Related

Reviewer compared with agents from other repositories

Reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Reviewerzexion7873/copilot-settingAgent11mo agoMITA43Claude Code
Electron Code Review Mode Instructionsgithub/awesome-copilotAgent41kyesterdayMITA51Claude Code
gem-reviewergithub/awesome-copilotAgent41kyesterdayMITA28Claude Code
SE: Securitygithub/awesome-copilotAgent41kyesterdayMITA27Claude Code
gem-code-simplifiergithub/awesome-copilotAgent41kyesterdayMITA21Claude Code
Java MCP Expertgithub/awesome-copilotAgent41kyesterdayMITA26Claude Code
CAST Imaging Impact Analysis Agentgithub/awesome-copilotAgent41kyesterdayMITA23Claude Code