python-review

python-review is a skill for Claude Code, Codex from liuyanghejerry/Clausura. It costs 29 tokens per session (265 once invoked), scanned A, original, MIT.

A review checklist for older Python code covering swallowed errors, unsafe SQL, unsafe object loading, hard-coded secrets and leftover debug output.

In plain words
What is it for?
Reviewing changed Python code and reporting each issue with its rule, location and supporting code excerpt.
Why use it?
It points out common defects that can hide failures, expose systems or leave development-only code in production.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reviewing changed Python code and reporting each issue with its rule, location and supporting code excerpt.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/liuyanghejerry/clausura/python-review"><img src="https://agentmods.dev/badge/skills/liuyanghejerry/clausura/python-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 265 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00029 $0.00265
Opus 5.5 $0.00012 $0.00106
Sonnet 5.5 $0.00006 $0.00053
Haiku 4.5 $0.00003 $0.00026

Measured 1mo ago against content hash 53d81f1f3ca5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-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 1mo 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.

eval/scenarios/legacy-refactor/workspace/.clausura/skills/python-review/SKILL.md · 34 lines

What it actually says

Python 遗留代码审查

先用 git_diff(参数 {"base": "HEAD~1"})查看本次变更。

规则

bare-except(error)

  • 裸 except Exception: / except: 后静默吞掉错误(仅 pass 或无处理)
  • 有日志或显式处理的除外
  • rule_id: bare-except

sql-injection(error)

  • f-string / 字符串拼接构造 SQL
  • rule_id: sql-injection

unsafe-deserialization(error)

  • pickle.loads() 反序列化不可信输入
  • rule_id: unsafe-deserialization

hardcoded-secret(error)

  • 源码中硬编码的 API key、密码
  • rule_id: hardcoded-secret

debug-print(info)

  • 生产代码中遗留的 print() 调试输出
  • rule_id: debug-print

每个 finding 附带 location(文件 + 行号)与证据(代码片段)。

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. 1mo ago First seen · 34 lines · 29 tokens per session scan A 53d81f1f3ca5

Subscribe to this mod's changes

python-review is a skill published in the GitHub repository liuyanghejerry/Clausura (204 stars, last pushed 26d ago), licensed MIT. It adds 29 tokens to every session and 265 once invoked, about $0.0001 per session on Opus 5.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-08-30.