python-expert

python-expert is a skill for Claude Code, Codex from tao12345666333/ankaloop. It costs 11 tokens per session (270 once invoked), scanned A, original, Apache-2.0.

A reference guide for writing and maintaining Python software. Python is a programming language commonly used for applications, automation, data work, and services.

In plain words
What is it for?
Use it when designing Python modules, choosing data structures, writing typed functions and tests, organizing packages, or preparing a project for distribution.
Why use it?
It provides consistent advice on code style, modern language features, errors, tests, project layout, packaging, and dependencies.

Skill for Claude CodeCodex

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

Good fit Use it when designing Python modules, choosing data structures, writing typed functions and tests, organizing packages, or preparing a project for distribution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tao12345666333/ankaloop/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.

Any agent
npx skills add tao12345666333/ankaloop --skill python-expert
Clone the repo
git clone --depth 1 https://github.com/tao12345666333/ankaloop

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tao12345666333/ankaloop/python-expert/github.svg)](https://agentmods.dev/skills/tao12345666333/ankaloop/python-expert)
Your own site
<a href="https://agentmods.dev/skills/tao12345666333/ankaloop/python-expert"><img src="https://agentmods.dev/badge/skills/tao12345666333/ankaloop/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/skills/tao12345666333/ankaloop/python-expert"><img src="https://agentmods.dev/badge/skills/tao12345666333/ankaloop/python-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 270 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00011 $0.00270
Opus 5.5 $0.00004 $0.00108
Sonnet 5.5 $0.00002 $0.00054
Haiku 4.5 $0.00001 $0.00027

Measured 1mo ago against content hash 272884f43c4f, 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 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.

examples/skills/python-expert/SKILL.md · 52 lines

What it actually says

Python Expert Skill

When working with Python code, apply these advanced patterns and best practices:

Code Style

  • Follow PEP 8 guidelines
  • Use type hints for function signatures
  • Prefer f-strings for string formatting
  • Use meaningful variable and function names

Modern Python Features

  • Use dataclasses for data containers
  • Prefer pathlib over os.path
  • Use context managers for resource management
  • Leverage generators for memory efficiency
  • Use structural pattern matching (Python 3.10+)

Error Handling

  • Use specific exception types
  • Provide meaningful error messages
  • Log errors appropriately
  • Consider using Result types for expected failures

Testing

  • Write unit tests with pytest
  • Use fixtures for test setup
  • Mock external dependencies
  • Aim for high test coverage

Project Structure

project/
├── src/
│   └── package/
│       ├── __init__.py
│       └── module.py
├── tests/
│   └── test_module.py
├── pyproject.toml
└── README.md

Packaging

  • Use pyproject.toml for configuration
  • Define clear dependencies
  • Use semantic versioning
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 · 52 lines · 11 tokens per session scan A 272884f43c4f

Subscribe to this mod's changes

python-expert is a skill published in the GitHub repository tao12345666333/ankaloop (55 stars, last pushed 2d ago), licensed Apache-2.0. It adds 11 tokens to every session and 270 once invoked, about $0.0000 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-30.

Related

Other skills, from other repositories

test-harness

Generates pytest test suites with happy path, edge cases, error conditions, fixture scaffolding, mocks, async patterns. Triggers on: "generate tests", "write tests for", "test this function", "create test suite", "pytest for", "unit tests for", "mock strategy for".

Mathews-Tom/armory · 65 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens

developing-genkit-python

Develop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit errors, import issues, or API problems.

google/skills · 49 tokens

accelerated-computing-cudf

Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.

NVIDIA/skills · 56 tokens

holoscan-install-wheel

Install Holoscan SDK 5.x CUDA 13 Python wheels in an isolated environment, choosing the full stack or version-matched components.

NVIDIA/skills · 34 tokens

cuopt-routing-api-python

Vehicle routing (VRP, TSP, PDP) with cuOpt — Python API only. Use when the user is building or solving routing in Python.

NVIDIA/skills · 37 tokens