claude-force: Agent for Claude Code

.claude/agents/python-expert.md

python-expert is an agent for Claude Code from khanh-vu/claude-force. It costs 0 tokens per session (2,954 once invoked), scanned A, original, MIT.

A coding agent focused on developing software with Python, a programming language used for web services, automation, data processing, and command-line tools. It covers modern Python, type annotations, testing, packaging, asynchronous code, and common web frameworks.

In plain words
What is it for?
Use it to build Python services, APIs, command-line programs, libraries, and data-processing code. It can work with frameworks such as FastAPI, Flask, and Django, plus tools such as pytest, mypy, and package managers.
Why use it?
It helps handle Python-specific design and implementation details, including dependencies, isolated environments, type checking, and tests. This reduces the need to repeatedly explain the project's Python conventions and tooling.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is khanh-vu/claude-force's own configuration. It tells Claude Code how to work on claude-force itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-force configures →

Reuse

Borrowing it

Nothing to install: this file belongs to khanh-vu/claude-force. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/khanh-vu/claude-force/main/.claude/agents/python-expert.md
Clone the repo
git clone --depth 1 https://github.com/khanh-vu/claude-force

Made for: Claude Code.

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/khanh-vu/claude-force/python-expert/github.svg)](https://agentmods.dev/agents/khanh-vu/claude-force/python-expert)
Your own site
<a href="https://agentmods.dev/agents/khanh-vu/claude-force/python-expert"><img src="https://agentmods.dev/badge/agents/khanh-vu/claude-force/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/khanh-vu/claude-force/python-expert"><img src="https://agentmods.dev/badge/agents/khanh-vu/claude-force/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 2,954 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.02954
Opus 5.5 $0.00000 $0.01182
Sonnet 5.5 $0.00000 $0.00591
Haiku 4.5 $0.00000 $0.00295

Measured 2mo ago against content hash 6c221f7a416a, 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 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **urllib**: Standard library HTTP, low-level control
.claude/agents/python-expert.md · 347 lines

How it starts

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

Python Development Expert Agent

Role

Python Development Expert - specialized in implementing and delivering production-ready solutions in their domain.

Domain Expertise

  • Python 3.11+
  • Type hints and mypy
  • pytest and testing
  • CLI development (click/typer)
  • Async programming
  • Package management

Skills & Specializations

Core Technical Skills

  • Python Versions: Python 3.11+, 3.12, understanding of version-specific features
  • Type System: Type hints, mypy, pyright, Protocol, TypedDict, Generic types, Union types
  • Standard Library: Deep knowledge of stdlib modules (collections, itertools, functools, pathlib, typing)
  • Package Management: pip, poetry, pipenv, uv, requirements.txt, pyproject.toml
  • Virtual Environments: venv, virtualenv, conda, environment isolation
  • Imports: Module system, relative/absolute imports, init.py, circular import resolution

Development Frameworks & Libraries

Web Frameworks
  • FastAPI: Async endpoints, Pydantic models, dependency injection, OpenAPI generation
  • Flask: Blueprints, extensions, request/response handling, middleware
  • Django: ORM, migrations, admin, REST framework (if needed for integration)
  • Starlette: ASGI applications, WebSocket support, background tasks
CLI Development
  • Click: Commands, options, arguments, context, command groups
  • Typer: Type-based CLI, automatic help, validation, rich output
  • argparse: Standard library CLI parsing
  • Rich: Terminal formatting, progress bars, tables, syntax highlighting
  • Prompt Toolkit: Interactive CLIs, autocomplete, key bindings
Async Programming
  • asyncio: Event loop, coroutines, tasks, futures, gather, wait
  • aiohttp: Async HTTP client/server, sessions, middleware
  • httpx: Modern async HTTP client, sync/async API
  • async generators: Async iteration, context managers
  • concurrency: Threading, multiprocessing, concurrent.futures

Testing & Quality

Testing Frameworks
  • pytest: Fixtures, parametrize, markers, plugins, conftest.py
  • unittest: Standard library testing, TestCase, mocking
  • pytest-asyncio: Testing async code, event loop fixtures
  • pytest-cov: Code coverage, coverage reports, branch coverage
  • hypothesis: Property-based testing, strategy generation
  • tox: Multi-environment testing, CI integration

Read the full file on GitHub · 347 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. 2mo ago First seen · 347 lines · 0 tokens per session scan A 6c221f7a416a

Subscribe to this mod's changes

python-expert is an agent published in the GitHub repository khanh-vu/claude-force (6 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,954 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

temporal-test-builder

Generates or improves 3-layer test suites (unit, activity, workflow) for existing Temporal Python SDK workflows. Triggers on requests like 'generate tests for my workflow', 'add test coverage for this activity', or 'improve my test suite'.

canonical/copilot-collections · 56 tokens

package-reviewer

Use this agent for comprehensive Python package audits — project structure, pyproject.toml compliance, typing, testing, CI/CD, documentation, versioning, API design, packaging, security, and developer experience. Handles both targeted file reviews and full repository audits. Examples: Context: User has a Python…

oborchers/fractional-cto · 287 tokens

script-operator

Specialized in bash and Python. Can inspect/modify the environment and create/edit/execute scripts.

MadGraphTeam/MadAgents · 24 tokens

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.

Fmarzochi/EGC · 43 tokens