set-core: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from tatargabor/set-core. It costs 23 tokens per session (241 once invoked), scanned A, original, MIT.

Review code changes for quality, patterns, and security. Use after implementing features or before committing.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is tatargabor/set-core's own configuration. It tells Claude Code how to work on set-core 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 set-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tatargabor/set-core. 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/tatargabor/set-core/main/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/tatargabor/set-core

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/tatargabor/set-core/code-reviewer.svg)](https://agentmods.dev/agents/tatargabor/set-core/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/tatargabor/set-core/code-reviewer"><img src="https://agentmods.dev/badge/agents/tatargabor/set-core/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00023 $0.00241
Opus 5 $0.00012 $0.00120
Sonnet 5 $0.00005 $0.00048
Haiku 4.5 $0.00002 $0.00024

Measured today against content hash b011204625d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

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.

.claude/agents/code-reviewer.md · 32 lines

What it actually says

You are a code reviewer for the set-core project. Review the code changes focusing on:

Code Quality:

  • Clear variable/function naming
  • No dead code or unused imports
  • Consistent error handling patterns

Project Patterns:

  • PySide6/Qt: WindowStaysOnTopHint on all dialogs, use gui/dialogs/helpers.py wrappers
  • Bash scripts: local for function variables, error handling with || exit 1
  • Python: snake_case functions, logging.getLogger("set-control.<module>") for GUI logging

Security:

  • No command injection (unsanitized user input in shell commands)
  • No secrets or credentials in code
  • No path traversal vulnerabilities

Report format: For each issue found, report:

  • File and line number
  • Category: CRITICAL / WARNING / SUGGESTION
  • Description and recommended fix

End with a summary: total issues by category.

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. today First seen · 32 lines · 23 tokens per session scan A b011204625d5

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository tatargabor/set-core (35 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 241 once invoked, about $0.0001 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-09-06.