code-review

code-review is a skill for Claude Code from wardawgmalvicious/agent-config. It costs 61 tokens per session (1,540 once invoked), scanned A, original, MIT.

A read-only code-quality review for Python, PySpark, SQL, KQL, DAX, and data-engineering code.

In plain words
What is it for?
Use it to review a file, function, diff, branch, or explicitly requested area of a repository.
Why use it?
It helps reveal correctness, security, scaling, error-handling, naming, style, and maintenance problems before code is changed or merged.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to review a file, function, diff, branch, or explicitly requested area of a repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wardawgmalvicious/agent-config/code-review
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.

Any agent
npx skills add wardawgmalvicious/agent-config --skill code-review
Clone the repo
git clone --depth 1 https://github.com/wardawgmalvicious/agent-config

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/code-review/github.svg)](https://agentmods.dev/skills/wardawgmalvicious/agent-config/code-review)
Your own site
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/code-review"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/code-review/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 code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/wardawgmalvicious/agent-config/code-review"><img src="https://agentmods.dev/badge/skills/wardawgmalvicious/agent-config/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00061 $0.01540
Opus 5.5 $0.00024 $0.00616
Sonnet 5.5 $0.00012 $0.00308
Haiku 4.5 $0.00006 $0.00154

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

Security

Grade A, and why

code-review 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 10d 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Overly broad permissions: `chmod 777`, `*` in IAM/RBAC, public storage containers

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/workflow/code-review/SKILL.md · 112 lines

How it starts

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

Code review

Surface findings on code quality across correctness, security, scaling, error handling, naming/style, and maintainability. Read-only — never modify code. Report findings; the user decides what to change.

Best invoked via /code-review for strict read-only enforcement. Natural-language invocation works for the audit pass, but adversarial follow-ups ("fix this") are not reliably refused under NL — slash command is the recommended path.

1. Determine review target

Pick the first that applies:

  1. User specified a target (file path, function name, branch/ref, "the changes I just made") — use that.
  2. In a git repo with uncommitted changes — run git status then git diff (and git diff --staged) to scope the review to working-tree changes.
  3. In a git repo, clean tree, on a feature branch — diff against the merge base: git diff main...HEAD (substitute master if that's the default).
  4. None of the above — ask the user what to review. Do not guess.

For repo-wide audits the user explicitly requests, narrow by language or directory rather than scanning everything.

2. Review checklist

Apply in priority order and report every finding with its severity. Cut a later category short only where an earlier finding makes it moot (unrunnable code makes style moot), and say so when you do.

Correctness

  • Logic errors: off-by-one, inverted boolean, wrong operator
  • Null / empty / missing-key handling — does it crash or silently produce wrong output?
  • Race conditions, concurrent mutation of shared state
  • Integer overflow, float comparison without tolerance, timezone-naive datetimes
  • Loop invariants that don't hold on first or last iteration
  • Return paths that don't return (implicit None, missing else)

Security

  • Hardcoded secrets, API keys, connection strings, tokens
  • Unparameterized SQL — f-strings, .format(), or + concatenation building queries
  • Unsafe deserialization: pickle.loads, yaml.load (without SafeLoader), eval, exec, compile on untrusted input
  • Path traversal: user input fed into open(), Path(), file I/O without validation
  • Overly broad permissions: chmod 777, * in IAM/RBAC, public storage containers
  • Subprocess with shell=True and string-interpolated arguments
  • TLS verification disabled (verify=False, InsecureRequestWarning suppressed)

Read the full file on GitHub · 112 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. 10d ago Changed · -6 lines 16938b2eb531
  2. 1mo ago Changed f3a49ac0ab1d
  3. 1mo ago Changed · +2 lines b0e40c829da6
  4. 1mo ago First seen · 116 lines · 61 tokens per session scan A 3c5faf2227b9

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository wardawgmalvicious/agent-config (1 stars, last pushed 2d ago), licensed MIT. It adds 61 tokens to every session and 1,540 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cosmos-pre-commit-validation

Run pre-commit checks for a specific set of crates. Use this when validating changes under sdk/cosmos before committing or during code review.

Azure/azure-sdk-for-rust · 35 tokens

fabric-cli

Expert guidance for the Fabric CLI (fab) and the Fabric and Power BI REST APIs: workspaces, items, lakehouses, notebooks, pipelines, semantic models, reports, capacities, OneLake, deployment and admin. Also estimates the capacity units (CU) an operation will consume and its impact on the capacity before running it.…

data-goblin/power-bi-agentic-development · 133 tokens

connect-pbid

TOM and ADOMD.NET guidance via PowerShell for connecting to Power BI Desktop's local Analysis Services instance. Covers model enumeration, DAX queries, metadata modification, annotations, calendar definitions, field parameters, query tracing, DAX library package management (daxlib.org), and the Desktop Bridge for…

data-goblin/power-bi-agentic-development · 221 tokens

pbir-cli

This skill should be used whenever the user mentions "pbir", "pbir-cli", "Power BI reports", or "PBI reports", works with .pbir, .pbip, or .pbix files, or wants to refresh, screenshot, or visually verify a report that is open in Power BI Desktop. Covers creating, exploring, formatting, validating, and publishing Power…

data-goblin/power-bi-agentic-development · 112 tokens

tmdl

Direct TMDL file authoring and BIM-to-TMDL conversion for semantic models in PBIP projects. Automatically invoke when the user asks to "edit TMDL", "add a measure in TMDL", "TMDL syntax", "fix formatString", "fix summarizeBy", "TMDL indentation", "convert BIM to TMDL", "add a column description", "create a calculated…

data-goblin/power-bi-agentic-development · 108 tokens

te-cli

Expert guidance for the cross-platform Tabular Editor CLI (the te binary, currently in preview) that manages Power BI / Analysis Services semantic models from the terminal on macOS, Linux, and Windows. Use when the user mentions the te CLI or "Tabular Editor CLI" (not the "2"), or runs a te to scaffold, inspect, edit…

data-goblin/power-bi-agentic-development · 119 tokens