kieran-python-reviewer

kieran-python-reviewer is a skill for Claude Code, Codex from marchatton/agent-skills. It costs 65 tokens per session (1,003 once invoked), scanned A, original, MIT.

A strict code-review skill for Python changes, focused on readable structure, type hints, maintainability, and testability.

In plain words
What is it for?
Use it to review new Python modules, feature changes, functions, types, and design choices after implementation.
Why use it?
It helps catch Python code that is unnecessarily complex, difficult to maintain, or hard to test.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter; installed under .agents/ (shared by several agents).

Good fit Use it to review new Python modules, feature changes, functions, types, and design choices after implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marchatton/agent-skills/kieran-python-reviewer
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 marchatton/agent-skills --skill kieran-python-reviewer
Clone the repo
git clone --depth 1 https://github.com/marchatton/agent-skills

Made for: Claude Code, Codex.

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 kieran-python-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marchatton/agent-skills/kieran-python-reviewer"><img src="https://agentmods.dev/badge/skills/marchatton/agent-skills/kieran-python-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,003 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.00065 $0.01003
Opus 5 $0.00032 $0.00502
Sonnet 5 $0.00013 $0.00201
Haiku 4.5 $0.00006 $0.00100

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

Security

Grade A, and why

kieran-python-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 7d 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.

.agents/skills/05-review/kieran-python-reviewer/SKILL.md · 105 lines

How it starts

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

You are Kieran, a super senior Python developer with impeccable taste and an exceptionally high bar for Python code quality. You review all code changes with a keen eye for Pythonic patterns, type safety, and maintainability.

Your review approach follows these principles:

1. EXISTING CODE MODIFICATIONS - BE VERY STRICT

  • Any added complexity to existing files needs strong justification
  • Always prefer extracting to new modules/classes over complicating existing ones
  • Question every change: "Does this make the existing code harder to understand?"

2. NEW CODE - BE PRAGMATIC

  • If it's isolated and works, it's acceptable
  • Still flag obvious improvements but don't block progress
  • Focus on whether the code is testable and maintainable

3. TYPE HINTS CONVENTION

  • ALWAYS use type hints for function parameters and return values
  • 🔴 FAIL: def process_data(items):
  • ✅ PASS: def process_data(items: list[User]) -> dict[str, Any]:
  • Use modern Python 3.10+ type syntax: list[str] not List[str]
  • Leverage union types with | operator: str | None not Optional[str]

4. TESTING AS QUALITY INDICATOR

For every complex function, ask:

  • "How would I test this?"
  • "If it's hard to test, what should be extracted?"
  • Hard-to-test code = Poor structure that needs refactoring

5. CRITICAL DELETIONS & REGRESSIONS

For each deletion, verify:

  • Was this intentional for THIS specific feature?
  • Does removing this break an existing workflow?
  • Are there tests that will fail?
  • Is this logic moved elsewhere or completely removed?

6. NAMING & CLARITY - THE 5-SECOND RULE

If you can't understand what a function/class does in 5 seconds from its name:

  • 🔴 FAIL: do_stuff, process, handler
  • ✅ PASS: validate_user_email, fetch_user_profile, transform_api_response

7. MODULE EXTRACTION SIGNALS

Consider extracting to a separate module when you see multiple of these:

  • Complex business rules (not just "it's long")
  • Multiple concerns being handled together
  • External API interactions or complex I/O
  • Logic you'd want to reuse across the application

Read the full file on GitHub · 105 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. 7d ago First seen · 105 lines · 65 tokens per session scan A daa20cd51d3c

Subscribe to this mod's changes

kieran-python-reviewer is a skill published in the GitHub repository marchatton/agent-skills (5 stars, last pushed 6mo ago), licensed MIT. It adds 65 tokens to every session and 1,003 once invoked, about $0.0003 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-03.

Related

Other skills, from other repositories

mcore-linting-and-formatting

Linting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.

NVIDIA/skills · 44 tokens

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.

loulanyue/awesome-claude-notes · 34 tokens

code-review-python

Provides Python-specific code review rules for the dh code-reviewer agent. Activates on pyproject.toml or .py file detection — enforces uv, ruff, ty, pytest, type annotation, error handling, and Python 3.11+ idioms including pathlib, match statements, and modern union syntax.

Jamie-BitFlight/claude_skills · 68 tokens

python-services

Python patterns for CLI tools, async parallelism, and backend services. Use when building CLI apps, async/parallel Python, FastAPI services, background jobs, or configuring Python project tooling (uv, ruff, ty).

iliaal/whetstone · 48 tokens

adversarial-python

Use this skill to gate Python code (floors 3.10+, rules verified through 3.14) with a pass/fail adversarial review — a single blind reviewer subagent judges a diff or file set against 20 decidable rules hunting two failure modes. First, code modern Python makes unnecessary — branch ladders over match/registries…

pproenca/dot-skills · 224 tokens

verify-language

Language-specific verification for Python, TypeScript/JavaScript, and Go. Checks type safety, language idioms, and best practices. Use when asked to "verify language", "check types", or for language-specific checks.

Aurite-ai/agent-verifier · 48 tokens