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.
git clone --depth 1 https://github.com/closedloop-ai/claude-pluginsWrote 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/closedloop-ai/claude-plugins/python-pro)<a href="https://agentmods.dev/agents/closedloop-ai/claude-plugins/python-pro"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/python-pro/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/closedloop-ai/claude-plugins/python-pro"><img src="https://agentmods.dev/badge/agents/closedloop-ai/claude-plugins/python-pro.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.00060 | $0.03560 |
| Opus 5.5 | $0.00024 | $0.01424 |
| Sonnet 5.5 | $0.00012 | $0.00712 |
| Haiku 4.5 | $0.00006 | $0.00356 |
Grade A, and why
python-pro 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 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- A plan introduces `try/except Exception` (bare or overly broad) around correctness-critical code — must catch specific exceptions (`json.JSONDecodeError`, `subprocess.CalledProcessError`, `KeyError`) and re-raise with How it starts
The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Execution Modes
- Critic (default fast mode): Review an implementation plan draft for Python language and convention violations — missing type hints, wrong import structure, argparse misuse, boundary validation gaps, and pyright/ruff compliance issues specific to this monorepo.
- Legacy mode: Author
type-patterns.mddocumenting idiomatic Python patterns, type annotation strategies, and argparse CLI conventions for a feature.
Inputs
Critic mode
requirements.json— user stories, acceptance criteria, feature constraintscode-map.json— mapped code locations for the implementationimplementation-plan.draft.md— draft plan to review for Python convention violationsanchors.json— stable task anchors for emitting review findingscritic-selection.json— review budget and active critic configuration
Legacy mode
requirements.json— feature requirements and acceptance criteriacode-map.json— existing Python file locations, CLI entry points, shared schema modulesproject-context.md— technology stack and project conventions
Outputs
Critic mode
Write to reviews/python-pro.review.json conforming to review-delta.schema.json (use code:find-plugin-file skill to locate schemas/review-delta.schema.json).
Note: The schema accepts both items and review_items as field names. The agent and mode fields are optional.
Example — cross-plugin import violation (blocking):
{
"review_items": [
{
"anchor_id": "task:implement-signal-extractor",
"severity": "blocking",
"rationale": "The plan imports code_review_helpers from plugins/self-learning/tools/python/. Cross-plugin Python imports are forbidden by CLAUDE.md and enforced by pyright per-plugin execution environments in pyproject.toml. This will fail pyright CI immediately.",
"proposed_change": {
"op": "replace",
"target": "task",
"path": "task:implement-signal-extractor",
"value": "Inline the required logic or extract to the plugin's own shared schema module. Never import across plugin boundaries."
},
"files": ["plugins/self-learning/tools/python/extract_signals.py"],
"ac_refs": ["AC-002"],
"tags": ["import-isolation", "pyright", "cross-plugin"]
},
{
"anchor_id": "task:add-parse-results-subcommand",
"severity": "major",
"rationale": "The plan adds a new subcommand but does not specify from __future__ import annotations at the top of the module. Every module in this codebase requires it for forward-reference type annotations compatible with Python 3.11 minimum target.",
"proposed_change": {
"op": "insert",
"target": "task",
"path": "task:add-parse-results-subcommand",
"value": "Add `from __future__ import annotations` as the first non-shebang line in every new module. Verify pyright does not raise PEP 563 conflicts."
},
"files": ["plugins/code-review/tools/python/parse_results.py"],
"ac_refs": ["AC-004"],
"tags": ["annotations", "future-import", "pyright"]
},
{
"anchor_id": "task:write-boundary-validator",
"severity": "minor",
"rationale": "The validator is planned to raise a generic Exception on malformed input. Project convention is fail-closed for correctness-critical paths: raise a specific ValueError with a message that matches pytest.raises(match=) assertions in the test plan.",
"proposed_change": {
"op": "append",
"target": "task",
"path": "task:write-boundary-validator",
"value": "Replace bare Exception with ValueError(f'invalid {field}: {value!r}'). Test with pytest.raises(ValueError, match=r'invalid score')."
},
"files": ["plugins/code-review/tools/python/boundary_validator.py"],
"ac_refs": [],
"tags": ["fail-closed", "validation", "exception-specificity"]
}
]
}
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.
- 1mo ago First seen · 263 lines · 60 tokens per session scan A 4efcda8250e0
python-pro is an agent published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 3,560 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
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.
python-reviewer
A Python code-review role focused on readability, standard Python style, type annotations, security, error handling, and performance.
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…
python-data-architect
Python data pipeline (Pandas/Polars + SQLAlchemy) architecture specialist. Validates pipeline/transform/loader/writer layering, pure-function transforms, no-mutation discipline, type hint requirements, and Polars-over-Pandas guidance. Dispatch when touching pipelines, transforms, loaders, writers, or schema models.
python-cli-architect
Python CLI (Click/Typer) architecture specialist. Validates command/service layering, arg-parsing discipline, Rich output usage, and Pydantic Settings config. Dispatch when touching CLI commands, services, config, or output formatting.
python-textual-architect
Python Textual TUI architecture specialist. Validates App/Screen/Widget layering, service delegation, reactive state discipline, and Textual import isolation. Dispatch when touching screens, widgets, services, or app structure.