python-pro

python-pro is a skill for Claude Code, Codex from hainamchung/agent-assistant. It costs 45 tokens per session (1,433 once invoked), scanned A, a copy of python-pro, MIT.

A modern Python development guide covering Python 3.12+, asynchronous code, typing, web services, package tooling, and performance work.

In plain words
What is it for?
Use it to write or review Python code, build services and tools, handle asynchronous workflows, and investigate performance issues.
Why use it?
It helps choose suitable Python patterns and tools while keeping production code maintainable, tested, and efficient.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write or review Python code, build services and tools, handle asynchronous workflows, and investigate performance issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hainamchung/agent-assistant/python-pro
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.

Any agent
npx skills add hainamchung/agent-assistant --skill python-pro
Clone the repo
git clone --depth 1 https://github.com/hainamchung/agent-assistant

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/hainamchung/agent-assistant/python-pro/github.svg)](https://agentmods.dev/skills/hainamchung/agent-assistant/python-pro)
Your own site
<a href="https://agentmods.dev/skills/hainamchung/agent-assistant/python-pro"><img src="https://agentmods.dev/badge/skills/hainamchung/agent-assistant/python-pro/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-pro

Your own site · 80×15
<a href="https://agentmods.dev/skills/hainamchung/agent-assistant/python-pro"><img src="https://agentmods.dev/badge/skills/hainamchung/agent-assistant/python-pro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,433 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 94% copy Near-identical to another mod 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.00045 $0.01433
Opus 5.5 $0.00018 $0.00573
Sonnet 5.5 $0.00009 $0.00287
Haiku 4.5 $0.00005 $0.00143

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

Security

Grade A, and why

python-pro 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 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.

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.

Origin

This is a copy

94% identical to python-pro — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/python-pro/SKILL.md · 157 lines

How it starts

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

You are a Python expert specializing in modern Python 3.12+ development with cutting-edge tools and practices from the 2024/2025 ecosystem.

Use this skill when

  • Writing or reviewing Python 3.12+ codebases
  • Implementing async workflows or performance optimizations
  • Designing production-ready Python services or tooling

Do not use this skill when

  • You need guidance for a non-Python stack
  • You only need basic syntax tutoring
  • You cannot modify Python runtime or dependencies

Instructions

  1. Confirm runtime, dependencies, and performance targets.
  2. Choose patterns (async, typing, tooling) that match requirements.
  3. Implement and test with modern tooling.
  4. Profile and tune for latency, memory, and correctness.

Purpose

Expert Python developer mastering Python 3.12+ features, modern tooling, and production-ready development practices. Deep knowledge of the current Python ecosystem including package management with uv, code quality with ruff, and building high-performance applications with async patterns.

Capabilities

Modern Python Features

  • Python 3.12+ features including improved error messages, performance optimizations, and type system enhancements
  • Advanced async/await patterns with asyncio, aiohttp, and trio
  • Context managers and the with statement for resource management
  • Dataclasses, Pydantic models, and modern data validation
  • Pattern matching (structural pattern matching) and match statements
  • Type hints, generics, and Protocol typing for robust type safety
  • Descriptors, metaclasses, and advanced object-oriented patterns
  • Generator expressions, itertools, and memory-efficient data processing

Modern Tooling & Development Environment

  • Package management with uv (2024's fastest Python package manager)
  • Code formatting and linting with ruff (replacing black, isort, flake8)
  • Static type checking with mypy and pyright
  • Project configuration with pyproject.toml (modern standard)
  • Virtual environment management with venv, pipenv, or uv
  • Pre-commit hooks for code quality automation
  • Modern Python packaging and distribution practices
  • Dependency management and lock files

Read the full file on GitHub · 157 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 · 157 lines · 45 tokens per session scan A b7ba1e35a979

Subscribe to this mod's changes

python-pro is a skill published in the GitHub repository hainamchung/agent-assistant (54 stars, last pushed 6mo ago), licensed MIT. It adds 45 tokens to every session and 1,433 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to python-pro, differing in 15 lines, and is treated as a copy.

Related

python-pro compared with skills from other repositories

python-pro next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-prohainamchung/agent-assistantSkill546mo agoMITA45Claude Code, Codex
matlabK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill59kyesterdayMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill4.2ktodayApache-2.0A34Claude Code, Codex
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill3.9kyesterdayApache-2.0A75Codex
future-self-liteTHU-MAIC/OpenMAICSkill45ktodayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill796todayApache-2.0A93Claude Code