review-python

review-python is a skill for Claude Code, Codex from existential-birds/beagle. It costs 43 tokens per session (3,012 once invoked), scanned A, a copy of review-tui, Apache-2.0.

A checklist for reviewing Python and FastAPI backend code. FastAPI is a Python framework for building web APIs, and the checklist requires evidence from tools and source code before reporting issues.

In plain words
What is it for?
Use it to review Python services and FastAPI routes for style, types, asynchronous code, error handling, and framework-specific problems.
Why use it?
It reduces unfounded review comments by checking the changed files, running available linters and type checks, and verifying each finding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to review Python services and FastAPI routes for style, types, asynchronous code, error handling, and framework-specific problems.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/existential-birds/beagle/review-python"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/review-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,012 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 89% copy Near-identical to another mod 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.00043 $0.03012
Opus 5.5 $0.00017 $0.01205
Sonnet 5.5 $0.00009 $0.00602
Haiku 4.5 $0.00004 $0.00301

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

Security

Grade A, and why

review-python 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 4d 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.

Origin

This is a copy

89% identical to review-tui — 214 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/review-python/SKILL.md · 273 lines

How it starts

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

Python Backend Code Review

Hard gates (sequence)

Advance only when each pass condition is objectively satisfied (prevents linter-owned false positives and ungrounded findings):

Gate Pass condition
G1 — Diff scope Step 1 command has been run; the changed .py paths are enumerated in writing (list may be empty — if empty, state that explicitly and do not invent Python findings).
G2 — Linters before manual style/type For ruff and mypy: either no project config exists for that tool, or it was run on the changed files and you captured pass/fail (exit code or clear tool output). Do not add manual style or type findings for rules those tools already enforce when configured.
G3 — Protocol and domain skills Load review-verification-protocol (review-verification-protocol) and fastapi-code-review (fastapi-code-review) (when FastAPI is used) plus any detected domain skills before Step 6 substantive review.
G4 — Evidence per issue Step 7 checks are satisfied for each reported issue before it appears in the final list (re-read source, search references for "unused", confirm framework handling for "missing", verify syntax against current docs).
G5 — Output contract Findings use sequential numbering, every issue has FILE:LINE, and the Verdict follows Step 8 (Critical/Major only block; Minor/Informational do not).

Arguments

  • --parallel: If the agent supports subagents, run a specialized subagent per technology area (otherwise reviews run sequentially with identical output)
  • Path: Target directory (default: current working directory)

Step 1: Identify Changed Files

Pass (G1): Capture the command output (or equivalent) as your authoritative changed-.py set before Steps 2–3.

git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.py$'

Step 2: Verify Linter Status

Read the full file on GitHub · 273 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. 4d ago Changed · +30 lines · +27 tokens per session 1194961ed314
  2. 2mo ago First seen · 243 lines · 16 tokens per session scan A 92b80327fba2

Subscribe to this mod's changes

review-python is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 43 tokens to every session and 3,012 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to review-tui, differing in 214 lines, and is treated as a copy.

Related

review-python compared with skills from other repositories

review-python next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-pythonexistential-birds/beagleSkill914d agoApache-2.0A43Claude Code, Codex
isolating-product-facade-contractsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex
python-servicesiliaal/whetstoneSkill37yesterdayMITA48Claude Code, Codex
functions-developmentCrowdStrike/foundry-skillsSkill3810d agoMITA195Claude Code
video-provider-capabilitiesmanishiitg/coding-agent-loopSkill132mo agoMITA94Claude Code, Codex
django-forgevikisingh23/neuraforge-aiSkill44d agoApache-2.0A22Claude Code
python-coreadonai-labs/agent-runwaySkill24d agoMITA76Claude Code, Codex