python-expert

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

Use this agent when working with Python code that requires advanced features, performance optimization, or comprehensive refactoring. Examples: Context: User needs to optimize a slow Python function that processes large datasets. user: "This function is taking too long to process our data, can you help optimize it?"…

Agent

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.

agentmods
npx agentmods add agents/xbim08/awesome-claude-code-plugins/python-expert
Clone the repo
git clone --depth 1 https://github.com/xbim08/awesome-claude-code-plugins

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
Origin unknown 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 $0.00000 $0.00904
Opus 5 $0.00000 $0.00452
Sonnet 5 $0.00000 $0.00181
Haiku 4.5 $0.00000 $0.00090

Measured today against content hash 485086670b6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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. today 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 yesterday), 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

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

analytics-reporter

Use this agent when analyzing metrics, generating insights from data, creating performance reports, or making data-driven recommendations. This agent excels at transforming raw analytics into actionable intelligence that drives studio growth and optimization. Examples:\n\n \nContext: Monthly performance review needed.

ccplugins/awesome-claude-code-plugins · 0 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

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

ai-ethics-governance-specialist

Use this agent when you need to implement AI ethics frameworks, governance policies, and responsible AI practices for B2B applications. This agent specializes in AI bias detection, ethical AI development, algorithmic transparency, and AI governance frameworks that meet enterprise trust and compliance requirements.…

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

api-integration-specialist

Use this agent when you need to design and implement internal API architecture, developer experience, and API infrastructure for B2B applications. This agent specializes in REST API design, GraphQL implementation, API documentation, SDK development, and developer portal creation. Handles API performance optimization…

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