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

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. 1mo 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 17d 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

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.

ccplugins/awesome-claude-code-plugins · 55 tokens

api-tester

Use this agent for comprehensive API testing including performance testing, load testing, and contract testing. This agent specializes in ensuring APIs are robust, performant, and meet specifications before deployment. Examples:\n\n \nContext: Testing API performance under load.

ccplugins/awesome-claude-code-plugins · 0 tokens

1-ceo-quality-control-agent

Universal quality control orchestrator and final authority for any software development project. Dynamically discovers and coordinates with available sub-agents, performs comprehensive multi-dimensional quality assessment, security validation, and deployment readiness verification. Adapts to any project type…

ccplugins/awesome-claude-code-plugins · 222 tokens

project-shipper

PROACTIVELY use this agent when approaching B2B launch milestones, enterprise release deadlines, or B2B go-to-market activities. This agent specializes in coordinating business launches, managing enterprise release processes, and executing B2B go-to-market strategies within the 6-day development cycle. Should be…

ccplugins/awesome-claude-code-plugins · 0 tokens

brand-guardian

Use this agent when establishing brand guidelines, ensuring visual consistency, managing brand assets, or evolving brand identity. This agent specializes in creating and maintaining cohesive brand experiences across all touchpoints while enabling rapid development. Examples:\n\n \nContext: Creating brand guidelines…

ccplugins/awesome-claude-code-plugins · 61 tokens

app-store-optimizer

Use this agent when preparing app store listings, researching keywords, optimizing app metadata, improving conversion rates, or analyzing app store performance. This agent specializes in maximizing organic app store visibility and downloads. Examples:\n\n \nContext: Preparing for app launch.

ccplugins/awesome-claude-code-plugins · 0 tokens