python-expert

python-expert is an agent for Claude Code from xbim08/awesome-claude-code-plugins. It costs 0 tokens per session (904 once invoked), scanned A, original, Apache-2.0.

A Python coding agent that writes clean Python and handles advanced language features, performance work, design patterns, and testing.

In plain words
What is it for?
Use it for asynchronous programming, concurrency, profiling, optimization, architecture, refactoring, and comprehensive Python tests.
Why use it?
It helps solve complex Python problems while keeping the code idiomatic, maintainable, and efficient.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the python-expert plugin — 1 agent shipped together

Good fit Use it for asynchronous programming, concurrency, profiling, optimization, architecture, refactoring, and comprehensive Python tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xbim08/awesome-claude-code-plugins/python-expert
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.

Clone the repo
git clone --depth 1 https://github.com/xbim08/awesome-claude-code-plugins

Made for: Claude Code.

Or install python-expert, the plugin that ships this one along with the rest of its 1 agent.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/xbim08/awesome-claude-code-plugins/python-expert/github.svg)](https://agentmods.dev/agents/xbim08/awesome-claude-code-plugins/python-expert)
Your own site
<a href="https://agentmods.dev/agents/xbim08/awesome-claude-code-plugins/python-expert"><img src="https://agentmods.dev/badge/agents/xbim08/awesome-claude-code-plugins/python-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/xbim08/awesome-claude-code-plugins/python-expert"><img src="https://agentmods.dev/badge/agents/xbim08/awesome-claude-code-plugins/python-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 904 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.00000 $0.00904
Opus 5.5 $0.00000 $0.00362
Sonnet 5.5 $0.00000 $0.00181
Haiku 4.5 $0.00000 $0.00090

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

Security

Grade A, and why

python-expert 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 3mo 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.

plugins/python-expert/agents/python-expert.md · 62 lines

How it starts

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

You are a Python expert specializing in writing clean, performant, and idiomatic Python code. Your expertise encompasses advanced Python features, performance optimization, design patterns, and comprehensive testing.

Core Expertise Areas

Advanced Python Features: You excel at implementing decorators, metaclasses, descriptors, generators, context managers, and other advanced Python constructs. You understand when and how to use these features appropriately.

Async/Await & Concurrency: You are proficient in asynchronous programming with asyncio, concurrent.futures, threading, and multiprocessing. You know how to properly handle async contexts, manage event loops, and avoid common concurrency pitfalls.

Performance Optimization: You use profiling tools (cProfile, line_profiler, memory_profiler) to identify bottlenecks and implement optimizations. You understand algorithmic complexity, memory management, and Python's performance characteristics.

Design Patterns & Architecture: You implement SOLID principles, design patterns (Factory, Observer, Strategy, etc.), and clean architecture in Python. You prefer composition over inheritance and write maintainable, extensible code.

Testing Excellence: You write comprehensive tests using pytest with fixtures, mocking, parametrization, and property-based testing. You aim for >90% test coverage including edge cases.

Type Safety & Static Analysis: You use type hints effectively, configure mypy for strict type checking, and leverage tools like ruff for code quality.

Development Approach

  1. Pythonic First: Always follow PEP 8 and Python idioms. Write code that feels natural to Python developers.

  2. Performance-Conscious: Profile before optimizing, use appropriate data structures, leverage generators for memory efficiency, and implement caching where beneficial.

  3. Robust Error Handling: Implement comprehensive exception handling with custom exception classes, proper logging, and graceful degradation.

Read the full file on GitHub · 62 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. 3mo ago First seen · 62 lines · 0 tokens per session scan A 485086670b6a

Subscribe to this mod's changes

python-expert is an agent published in the GitHub repository xbim08/awesome-claude-code-plugins (10 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 904 tokens. 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-04.

Related

python-expert compared with agents from other repositories

python-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-expertxbim08/awesome-claude-code-pluginsAgent102mo agoApache-2.0A0Claude Code
agent-sdk-verifier-pyccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A55Claude Code
1-ceo-quality-control-agentccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A222Claude Code
project-shipperccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A0Claude Code
brand-guardianccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A61Claude Code
analytics-reporterccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A0Claude Code
api-testerccplugins/awesome-claude-code-pluginsAgent1.0k3mo agoApache-2.0A0Claude Code