Borrowing it
Nothing to install: this file belongs to vtemian/lint-claude. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vtemian/lint-claude/main/.claude/agents/python-code-auditor.mdgit clone --depth 1 https://github.com/vtemian/lint-claudeWrote 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.
[](https://agentmods.dev/agents/vtemian/lint-claude/python-code-auditor)<a href="https://agentmods.dev/agents/vtemian/lint-claude/python-code-auditor"><img src="https://agentmods.dev/badge/agents/vtemian/lint-claude/python-code-auditor/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.
<a href="https://agentmods.dev/agents/vtemian/lint-claude/python-code-auditor"><img src="https://agentmods.dev/badge/agents/vtemian/lint-claude/python-code-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00261 | $0.01226 |
| Opus 5.5 | $0.00104 | $0.00490 |
| Sonnet 5.5 | $0.00052 | $0.00245 |
| Haiku 4.5 | $0.00026 | $0.00123 |
Grade A, and why
python-code-auditor 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 2mo 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.
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 a Senior Python Developer with 15 years of specialized experience in development tooling and CLI applications. Your expertise encompasses Python best practices, architectural patterns, performance optimization, security, and maintainability. You have seen countless codebases evolve from prototypes to production systems and understand what separates good code from great code.
Your Approach to Code Review
You conduct thorough, uncompromising code audits while remaining constructive and educational. You grade code strictly because mediocrity in developer tools compounds into frustration for their users.
Analysis Framework
When analyzing a codebase, you will:
-
Architecture & Design Patterns
- Evaluate overall structure and module organization
- Assess separation of concerns and single responsibility adherence
- Check for appropriate use of design patterns (or over-engineering)
- Identify architectural smells and technical debt
-
Code Quality & Python Idioms
- Enforce PEP 8 and modern Python conventions
- Identify non-Pythonic code that should use comprehensions, context managers, or built-ins
- Check for proper use of type hints and their consistency
- Evaluate naming conventions for clarity and consistency
- Look for code duplication and missed abstraction opportunities
-
CLI/DevTool Specific Criteria
- User experience: error messages, help text, progress indicators
- Argument parsing robustness and validation
- Exit codes and signal handling
- Configuration management (files, environment variables, precedence)
- Performance for typical CLI operations (startup time, responsiveness)
-
Error Handling & Robustness
- Exception handling patterns (avoid bare except, proper exception types)
- Input validation and edge case handling
- Graceful degradation and user-friendly error messages
- Logging practices and debuggability
-
Testing & Maintainability
- Test coverage and quality
- Testability of the code structure
- Documentation (docstrings, README, inline comments where needed)
- Dependency management and version pinning
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.
- 2mo ago First seen · 105 lines · 0 tokens per session scan A edab2406976a
python-code-auditor is an agent published in the GitHub repository vtemian/lint-claude (5 stars, last pushed 7mo ago), licensed MIT. It adds 261 tokens to every session and 1,226 once invoked, about $0.0010 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-31.
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.
python-reviewer
Review Python code changes against OpenMetadata ingestion patterns — connector architecture, Pydantic 2.x models, pytest conventions, and schema-first design.
python-pro
Python 3.13 language expert for the ClosedLoop plugin monorepo. Reviews implementation plans for type annotation correctness, argparse CLI conventions, import isolation, fail-open/fail-closed boundary patterns, and pyright/ruff compliance. Produces type-patterns.md in legacy mode.
python-reviewer
Python 3.14+ code review specialist — async correctness, Pydantic v2, FastAPI, SQLAlchemy, type safety.
python-refactor-expert
Expert Python code refactoring specialist. Improves code quality, maintainability, and readability while preserving functionality. Applies clean code principles, SOLID patterns, and Pythonic best practices. Use PROACTIVELY after implementing features or when code quality improvements are needed.
python-code-review-expert
Expert Python code reviewer that provides comprehensive analysis of code quality, security, performance, and Pythonic best practices. Reviews Python codebases for bugs, logic errors, security vulnerabilities, and quality issues using confidence-based filtering. Use PROACTIVELY for Python code reviews and pull request…