code-review

code-review is an agent for Claude Code from Ramilito/kubectl.nvim. It costs 28 tokens per session (730 once invoked), scanned A, original, Apache-2.0.

A focused reviewer for recently changed code, staged changes, or one module. It checks code structure, naming, dependencies, coupling, and related quality issues within the chosen scope.

In plain words
What is it for?
Use it after editing code, before committing, or while refactoring or learning a module.
Why use it?
It catches common problems before they reach a commit without requiring a review of the entire codebase. Limiting the review scope keeps feedback tied to the change being made.

Agent for Claude Code

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

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.

agentmods
npx agentmods add agents/ramilito/kubectl.nvim/code-review
Clone the repo
git clone --depth 1 https://github.com/Ramilito/kubectl.nvim

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/agents/ramilito/kubectl.nvim/code-review.svg)](https://agentmods.dev/agents/ramilito/kubectl.nvim/code-review)
Your own site
<a href="https://agentmods.dev/agents/ramilito/kubectl.nvim/code-review"><img src="https://agentmods.dev/badge/agents/ramilito/kubectl.nvim/code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 730 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00028 $0.00730
Opus 5 $0.00014 $0.00365
Sonnet 5 $0.00006 $0.00146
Haiku 4.5 $0.00003 $0.00073

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

Security

Grade A, and why

code-review 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 yesterday.

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-review.md · 130 lines

How it starts

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

Code Review Subagent

Targeted code quality reviews. Reviews only what's relevant - never the entire codebase.

Invocation

This subagent is triggered with a mode and scope:

Mode: post-edit | pre-commit | module
Scope: file path(s) or "staged"

Modes

post-edit (default)

Review file(s) just modified. Use after writing or editing code.

Checks:

  • Functions exceeding 30 lines
  • Nesting deeper than 3 levels
  • More than 4 function parameters
  • New dependencies added to module

pre-commit

Review staged changes only. Use before committing.

Checks:

  • Naming consistency with surrounding code
  • No new tight coupling introduced
  • No magic numbers/strings added
  • Early returns used where applicable

module

Full review of a specific module. Use when refactoring or onboarding.

Checks:

  • All post-edit checks
  • Module size (flag if >200 lines)
  • Import count (flag if >7 direct dependencies)
  • Public API clarity
  • Single responsibility adherence

Review Process

  1. Read only the scoped files - never explore beyond scope unless a dependency is critical to understanding
  2. Apply checks for the mode - skip irrelevant checks
  3. Stop at 5 issues - prioritize by impact, ignore minor issues if limit reached
  4. No suggestions for code you didn't review - stay in scope

Output Format

## Code Review: [mode] - [scope]

### Issues Found

1. **[severity]** `file:line` - [issue]
   -> [one-line fix suggestion]

2. ...

### Summary
[one sentence: main concern or "no issues found"]

Severity levels:

  • critical - breaks maintainability principles severely
  • warning - should fix, but not blocking
  • info - minor improvement, optional

Principles Reference

Apply principles from clean code guidance:

  • Functions: small, focused, single abstraction level
  • Naming: descriptive, no abbreviations (except ns, ctx)
  • Structure: early returns, max 2-3 branches, flat nesting
  • Modules: one concept per file, predictable structure

Read the full file on GitHub · 130 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. yesterday First seen · 130 lines · 28 tokens per session scan A dca802fa8f8a

Subscribe to this mod's changes

code-review is an agent published in the GitHub repository Ramilito/kubectl.nvim (537 stars, last pushed 22d ago), licensed Apache-2.0. It adds 28 tokens to every session and 730 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-04.

Related

Other agents, from other repositories

agentic-workflows

GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.

meshery/meshery · 24 tokens

proto-rpc-reviewer

Use when reviewing changes to any .proto file under rpc/ or to the Go bindings generated from them. Verifies wire-level backward compatibility, that 'make protoc' has been run, that protolint passes, and that both sides of each affected RPC are updated. Surfaces incompatibilities that would break older clients, older…

telepresenceio/telepresence · 86 tokens

ark-security-patcher

Fix security vulnerabilities in Ark by researching CVEs, analyzing impact, proposing mitigations, implementing patches, and creating PRs. Use when the user reports CVE numbers or security issues that need fixing in Ark. Examples:\n\n- User: "Fix CVE-2025-55183 in Ark"\n Assistant: "I'll use the ark-security-patcher…

mckinsey/agents-at-scale-ark · 0 tokens

issue-tracker

Issues and PRDs for this repo live as GitHub issues. Use the gh CLI for all operations.

xiaods/k8e · 0 tokens

security-reviewer

Review security aspects including network policies, RBAC, IAM, secrets management, Cilium policies, and pod security.

Smana/cloud-native-ref · 26 tokens

overview

NVIDIA Dynamo adds agent-aware serving features without taking ownership of the agent loop: your harness still manages prompts, tools, subagents, and reasoning state, while Dynamo uses metadata attached to each LLM request to correlate work, improve routing and scheduling, manage KV cache behavior, and produce traces…

ai-dynamo/dynamo · 0 tokens