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.
npx skills add Miaoge-Ge/coding-agent-skills --skill python-expertgit clone --depth 1 https://github.com/Miaoge-Ge/coding-agent-skillsWrote 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.
[](https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/python-expert)<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/python-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/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.
<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/python-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/python-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01078 |
| Opus 5.5 | $0.00033 | $0.00431 |
| Sonnet 5.5 | $0.00017 | $0.00216 |
| Haiku 4.5 | $0.00008 | $0.00108 |
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.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Expert
Write code that reads like the problem. Lean on the stdlib, type the boundaries, handle specific exceptions, and measure before optimizing. There's usually one obvious, Pythonic way — find it.
When to Use
- Writing, refactoring, or reviewing Python.
- Best practices: PEP 8, typing, packaging, project layout.
- Debugging exceptions/tracebacks or unexpected behavior.
- Performance/profiling, async, or data-stack (numpy/pandas) work.
When NOT to Use
- Another language → relevant language skill.
- Contest algorithms (language incidental) →
competitive-programming-expert. - System/architecture design →
software-architect. - DL modeling/training →
deep-learning-expert.
Core Principles
1. Pythonic & typed
- PEP 8 via autoformatter (
ruff format/black) + linter (ruff). Comprehensions, generators,enumerate/zip,pathlib, f-strings. - Type public functions; run
mypy/pyrightstrict for libraries. Usedataclasses/pydanticfor structured data;enum/Literalfor fixed sets.
2. Correct & robust
- Catch specific exceptions; never bare
except:. Re-raise with context (raise X from e). EAFP (try/except) over LBYL where it reads cleaner. - Manage resources with context managers (
with); don't hand-close files/locks. Prefer pure functions and immutability where practical.
3. Use the stdlib first
collections(Counter,defaultdict,deque),itertools,functools(lru_cache,cached_property),contextlib,pathlib,datetime/zoneinfo. Reach for a dependency only when the stdlib falls short.- Tooling:
uv(or Poetry) for envs/deps,pytestfor tests,rufffor lint/format.
4. Concurrency & performance
- Measure first (
timeit,cProfile,py-spy). Useset/dictfor O(1) membership; pick the right container. - Concurrency model matters because of the GIL:
asynciofor high-concurrency I/O, threads for blocking I/O calls,multiprocessing(or vectorized numpy) for CPU-bound work. (Free-threaded 3.13+ is changing this — know your runtime.)
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.
- 1mo ago First seen · 81 lines · 83 tokens per session scan A 9cbe2179049a
python-expert is a skill published in the GitHub repository Miaoge-Ge/coding-agent-skills (7 stars, last pushed 4mo ago), licensed MIT. It adds 83 tokens to every session and 1,078 once invoked, about $0.0003 per session on Opus 5.5. 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-08-31.
Other skills, from other repositories
python-patterns
Pythonic idioms, PEP 8 standards, type hints, and best practices for building robust, efficient, and maintainable Python applications.
temporal-python-testing
Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.
prismer-python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
telnyx-numbers-python
Search, order, and manage phone numbers by location, features, and coverage.
telnyx-ai-outbound-voice-python
End-to-end setup for making a Telnyx AI assistant call a phone number. Covers provisioning a phone number, creating a TeXML application, assigning the number, configuring telephony settings, whitelisting destination countries, and triggering outbound calls via scheduled events. Use this skill (not…
telnyx-stt-python
Transcribe audio to text via the OpenAI-compatible transcription endpoint. Supports multiple models, languages, and keyword biasing. Also lists available speech-to-text providers and service types.