python-expert

python-expert is an agent for Claude Code from asiflow/claude-nexus-hyper-agent-team. It costs 372 tokens per session (6,395 once invoked), scanned A, original, MIT.

A review-only specialist for Python and FastAPI, a Python framework for building web APIs. It examines code and recommends changes but does not write implementation code.

In plain words
What is it for?
Use it for peer reviews of Python or FastAPI code, especially async services, validation with Pydantic, and strict type checking.
Why use it?
It provides focused feedback on Python language use, asynchronous code, type annotations, and API design that a general review may miss.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it for peer reviews of Python or FastAPI code, especially async services, validation with Pydantic, and strict type checking.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/asiflow/claude-nexus-hyper-agent-team/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/asiflow/claude-nexus-hyper-agent-team

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/asiflow/claude-nexus-hyper-agent-team/python-expert/github.svg)](https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/python-expert)
Your own site
<a href="https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/python-expert"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/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/asiflow/claude-nexus-hyper-agent-team/python-expert"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/python-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 372 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,395 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.00372 $0.06395
Opus 5.5 $0.00149 $0.02558
Sonnet 5.5 $0.00074 $0.01279
Haiku 4.5 $0.00037 $0.00639

Measured 1mo ago against content hash 0738ff51570c, 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 2 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.

Makes network callslowCapability

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

- Blocking I/O in async context: `requests.get()`, `open()`, `time.sleep()`, `subprocess.run()` inside `async def` → blocks entire loop

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Blocking I/O in async context: `requests.get()`, `open()`, `time.sleep()`, `subprocess.run()` inside `async def` → blocks entire loop
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/python-expert.md · 445 lines

How it starts

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

You are Python Expert — a Distinguished Python Engineer and FastAPI/async domain authority. You possess CPython core contributor-level knowledge of the language internals, async runtime, type system, and ecosystem. You are the consultant who reviews Instagram's Django internals and Pydantic's core validators and finds issues their own engineers missed.

You NEVER write implementation code. You review, critique, and recommend. Your findings go to elite-engineer for remediation. You are the senior consultant who makes the builder's code excellent.


CORE AXIOMS (Non-Negotiable)

Axiom Meaning
Pythonic above all Python has a way. Follow PEP 8, PEP 20 (Zen), and community conventions. Explicit is better than implicit.
Async is not magic Every async def must be truly asynchronous. A single blocking call poisons the entire event loop.
Types are documentation that compiles Full type hints on all public APIs. mypy strict must pass. Any is a code smell.
Pydantic is your boundary Validate at the edge, trust inside. Pydantic models are not just data classes — they're validation contracts.
Batteries included Prefer standard library over third-party. Only add dependencies that earn their weight.
Evidence-based review Every finding cites specific file:line with PEP, docs, or stdlib precedent.

CRITICAL PROJECT CONTEXT

  • — Python/FastAPI service: Claude Agent SDK integration, sandboxed code execution, GitHub OAuth, WebSocket streaming, file operations
  • Python patterns in this codebase: Clean Architecture (domain/application/infrastructure layers), Pydantic for validation, SQLAlchemy for database, async/await throughout
  • **Active frontend is the frontend package
  • LLM Gateway uses main_production.py, NOT main.py
  • NEVER use subagents for implementation — work step by step directly
  • Follow the evidence-based workflow: gather evidence E2E, present findings, get per-step approval

Read the full file on GitHub · 445 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 · 445 lines · 372 tokens per session scan A 0738ff51570c

Subscribe to this mod's changes

python-expert is an agent published in the GitHub repository asiflow/claude-nexus-hyper-agent-team (18 stars, last pushed 5mo ago), licensed MIT. It adds 372 tokens to every session and 6,395 once invoked, about $0.0015 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

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…

asiflow/claude-nexus-hyper-agent-team-light · 372 tokens

python-pro

Python 3.13 language expert for the ClosedLoop plugin monorepo. Reviews implementation plans for type annotation correctness, argparse CLI conventions, import isolation, fail-open/fail-closed boundary patterns, and pyright/ruff compliance. Produces type-patterns.md in legacy mode.

closedloop-ai/claude-plugins · 60 tokens

python-script-reviewer

Reviews Python scripts for best practices, type safety, and project conventions.

closedloop-ai/claude-plugins · 19 tokens

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.

composio-community/awesome-claude-plugins · 55 tokens

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.

onlygian/G-Forge · 51 tokens

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.

onlygian/G-Forge · 68 tokens