neo-python

neo-python is a skill for Claude Code, Codex from Benknightdark/neo-skills. It costs 51 tokens per session (911 once invoked), scanned A, original, MIT.

A guide for building and maintaining Python 3.10 or newer code, including its structure, types, asynchronous work, and tests.

In plain words
What is it for?
Use it to write, review, debug, or design Python applications with type hints, asynchronous tasks, data classes, pattern matching, testing, and code checks.
Why use it?
It helps keep Python code readable and maintainable while accounting for the project's package setup and runtime needs.

Skill for Claude CodeCodex

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

Good fit Use it to write, review, debug, or design Python applications with type hints, asynchronous tasks, data classes, pattern matching, testing, and code checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benknightdark/neo-skills/neo-python
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 Benknightdark/neo-skills --skill neo-python
Clone the repo
git clone --depth 1 https://github.com/Benknightdark/neo-skills

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 neo-python

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-python"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 911 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 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.00051 $0.00911
Opus 5.5 $0.00020 $0.00364
Sonnet 5.5 $0.00010 $0.00182
Haiku 4.5 $0.00005 $0.00091

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

Security

Grade A, and why

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

skills/neo-python/SKILL.md · 66 lines

How it starts

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

Python 3.10+ Expert Skill

Trigger On

  • The user asks to write, debug, review, or refactor Python code.
  • Working in a repository containing *.py, pyproject.toml, requirements.txt, Pipfile, or poetry.lock.
  • Requires asynchronous programming (asyncio), type hinting, or modern Python feature recommendations.
  • The project needs setup for testing frameworks (pytest) or static analysis tools (ruff, mypy).

Workflow

  1. Perceive:
    • Inspect the project root to identify package management tools: pyproject.toml (Poetry/PDM/Ruff), requirements.txt (pip), or environment.yml (Conda).
    • Probe for Python version requirements (ensure compatibility with 3.10+ minimum).
    • Identify the application type: Web API (FastAPI, Flask, Django), Data Science (Pandas, PyTorch), or CLI tools.
  2. Reason:
    • Evaluate if the current code follows modern Python (3.10+) idioms (e.g., match/case, | union types).
    • Decide if type checking (MyPy/Pyright) or auto-formatting (Ruff/Black) needs to be introduced.
    • Recommend appropriate architectural patterns based on project scale.
  3. Act:
    • Write Python code with complete Type Hints, prioritizing the X | Y syntax.
    • Prefer modern language features: match statements (3.10+), TaskGroup (3.11+), and new generic syntax (3.12+).
    • Ensure code passes static analysis and unit tests.

Coding Standards

  • Type Hinting: Strongly recommended for all function signatures. Use 3.10+ union syntax like list[int | str].
  • PEP 8 Compliance: Follow official style guidelines. Recommended to use ruff as a linter and formatter for consistency.
  • Async Processing: Use 3.11+ asyncio.TaskGroup to manage concurrent tasks.
  • Error Handling: Use specific exception types and leverage 3.11+ ExceptionGroup and except* syntax.

Tooling Recommendations

  • Linter / Formatter: ruff (high performance and highly integrated).
  • Type Checker: mypy or pyright.
  • Testing: pytest with pytest-asyncio or pytest-cov.
  • Package Management: Poetry or uv to ensure dependency locking and environment consistency.

Read the full file on GitHub · 66 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 66 lines · 51 tokens per session scan A 636b88d2b8dd

Subscribe to this mod's changes

neo-python is a skill published in the GitHub repository Benknightdark/neo-skills (7 stars, last pushed 8d ago), licensed MIT. It adds 51 tokens to every session and 911 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

pydub-automation

Automate repetitive audio tasks with Python using PyDub for batch processing, format conversion, normalization, and content assembly. Use when: Processing large numbers of audio files consistently; Converting between audio formats at scale; Normalizing loudness across a batch of files; Assembling intros/outros…

guia-matthieu/clawfu-skills · 75 tokens

django

Use when building Django applications. Covers ORM query performance, model design, migrations, Django REST Framework, security defaults, and testing. Trigger on "django view is slow", "too many queries from the orm", "add a drf endpoint", "migration on a big table". Do not use for API contract decisions independent of…

nimadorostkar/Claude-Skills-collection · 75 tokens

fastapi

Use when building APIs with FastAPI. Covers dependency injection, Pydantic v2 validation, async database access, authentication, background tasks, and testing. Trigger on "fastapi endpoint is slow under load", "set up depends for the db session", "pydantic v2 validation error", "test my fastapi app". Do not use for…

nimadorostkar/Claude-Skills-collection · 89 tokens

pandas

Use when analyzing or transforming tabular data in Python. Covers vectorized operations, memory-efficient dtypes, correct joins, groupby patterns, and avoiding the silent errors pandas makes easy. Trigger on "pandas is slow", "dataframe runs out of memory", "merge duplicated my rows", "SettingWithCopyWarning". Do not…

nimadorostkar/Claude-Skills-collection · 98 tokens

python

Use when writing, reviewing, or modernizing Python 3.11+ code. Produces fully type-annotated modules, async I/O, dataclasses and protocols, pytest suites, and a lint/type gate built on ruff and mypy --strict. Trigger on "add type hints to this", "mypy is complaining", "convert this to asyncio", "set up pytest for this…

nimadorostkar/Claude-Skills-collection · 108 tokens

create-pubsub-python

Creates a Dapr pub/sub app in Python with FastAPI (publisher, subscriber or both) and declarative, programmatic or streaming subscriptions. Use for "create a pub/sub app in Python" or "build a FastAPI publisher and subscriber with Dapr". For an existing app use add-pubsub-python.

diagrid-labs/dapr-skills · 70 tokens