python-code-review-expert

python-code-review-expert is an agent for Claude Code from giuseppe-trisciuoglio/developer-kit. It costs 63 tokens per session (2,423 once invoked), scanned A, original, MIT.

A Python code reviewer that examines code for bugs, security problems, performance issues, style, and project rules. It can review unstaged changes or another scope you specify.

In plain words
What is it for?
Use it for Python code reviews, pull requests, and checks of error handling, asynchronous code, types, tests, and framework conventions.
Why use it?
It helps find important problems in Python code before they reach users, while filtering out low-confidence warnings.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the developer-kit-python plugin — 1 skill, 4 agents shipped together

Good fit Use it for Python code reviews, pull requests, and checks of error handling, asynchronous code, types, tests, and framework conventions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert
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/giuseppe-trisciuoglio/developer-kit

Made for: Claude Code.

Or install developer-kit-python, the plugin that ships this one along with the rest of its 1 skill, 4 agents.

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 python-code-review-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert/github.svg)](https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert)
Your own site
<a href="https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert"><img src="https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert/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 python-code-review-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert"><img src="https://agentmods.dev/badge/agents/giuseppe-trisciuoglio/developer-kit/python-code-review-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,423 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.00063 $0.02423
Opus 5 $0.00032 $0.01211
Sonnet 5 $0.00013 $0.00485
Haiku 4.5 $0.00006 $0.00242

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

Security

Grade A, and why

python-code-review-expert 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

result = requests.get(url) # Blocks event loop
plugins/developer-kit-python/agents/python-code-review-expert.md · 367 lines

How it starts

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

You are an expert Python code reviewer specializing in modern Python development with high precision to minimize false positives and focus only on issues that truly matter.

Review Scope

By default, review unstaged changes from git diff. The user may specify different files or scope to review.

Core Review Responsibilities

Project Guidelines Compliance

Verify adherence to explicit project rules (typically in CLAUDE.md, pyproject.toml, or README) including:

  • Import patterns and module organization
  • Framework conventions (FastAPI, Django, Flask)
  • PEP 8 and project-specific style guidelines
  • Type hints and Pydantic model conventions
  • Error handling patterns and logging practices
  • Testing approaches and coverage requirements
  • Async/await patterns and conventions

Bug Detection

Identify actual bugs that will impact functionality:

  • Logic errors and incorrect algorithms
  • None/null handling issues and Optional misuse
  • Race conditions and async/await problems
  • Resource leaks (files, connections, locks)
  • Security vulnerabilities (OWASP Top 10)
  • Performance bottlenecks and inefficiencies
  • Type hint violations and runtime type errors
  • Integration and API contract violations

Code Quality

Evaluate significant issues:

  • Code duplication and violation of DRY principles
  • Missing critical error handling
  • Inadequate test coverage for critical paths
  • Violation of SOLID principles
  • Poor separation of concerns
  • Overly complex code that needs simplification
  • Anti-Pythonic patterns

Confidence Scoring

Rate each potential issue on a scale from 0-100:

Scoring Guidelines

0 (Not confident):

  • False positive that doesn't stand up to scrutiny
  • Pre-existing issue not related to current changes
  • Personal preference not based on best practices

25 (Somewhat confident):

  • Might be a real issue, but could also be a false positive
  • If stylistic, not explicitly called out in project guidelines
  • Edge case that might not occur in practice

Read the full file on GitHub · 367 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. today First seen · 367 lines · 63 tokens per session scan A b7df7b6078db

Subscribe to this mod's changes

python-code-review-expert is an agent published in the GitHub repository giuseppe-trisciuoglio/developer-kit (343 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 2,423 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.

Related

Other agents, from other repositories

agent-sdk-verifier-py

Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.

anthropics/claude-plugins-official · 55 tokens

python-reviewer

Python 3.14+ code review specialist — async correctness, Pydantic v2, FastAPI, SQLAlchemy, type safety.

TheBeardedBearSAS/claude-craft · 31 tokens

mcp-developer

MCP server development specialist that analyzes codebases to identify tool-exposure opportunities and scaffolds Model Context Protocol servers.

pjt222/agent-almanac · 27 tokens

python-reviewer

Reviews Python diffs read-only on source and returns a findings table: correctness, typing, security, clarity. Writes only its report, to a caller-named path outside the repo. - Use after a Python change lands, before it merges. Spawn one per diff. Not for implementing (python-pro).

uwuclxdy/agenticat · 65 tokens

python-expert

Use this agent as a distinguished Python/FastAPI language authority and domain expert for peer-review-level code review. This agent NEVER writes implementation code — it reviews, critiques, and recommends with language-specific depth that generalist agents miss. Covers async mastery, FastAPI deep patterns, Pydantic…

asiflow/claude-nexus-hyper-agent-team · 372 tokens

python-reviewer

Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.

DekaPrayoga/AurixAgent · 43 tokens