python

python is a skill for Claude Code, Codex from fmind/dot. It costs 43 tokens per session (1,054 once invoked), scanned A, original, MIT.

A guide for building Python software, including packages, command-line tools, web services, APIs, and web applications. Python is a programming language, and the guide covers common libraries and project practices for these jobs.

In plain words
What is it for?
Use it to create or maintain typed Python packages, CLIs, HTTP APIs, web apps, database-backed jobs, asynchronous services, and standalone scripts.
Why use it?
It helps choose suitable project structures, tools, libraries, and checks instead of treating every Python task the same way. It also points to focused guidance for APIs, command-line interfaces, databases, asynchronous work, testing, and security.

Skill for Claude CodeCodex

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

Good fit Use it to create or maintain typed Python packages, CLIs, HTTP APIs, web apps, database-backed jobs, asynchronous services, and standalone scripts.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmind/dot/python"><img src="https://agentmods.dev/badge/skills/fmind/dot/python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,054 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.00043 $0.01054
Opus 5.5 $0.00017 $0.00422
Sonnet 5.5 $0.00009 $0.00211
Haiku 4.5 $0.00004 $0.00105

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

Security

Grade A, and why

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 today.

The scan reads SKILL.md. This mod also ships 16 executable files (references/argparse/templates/init-cli.py, references/argparse/templates/main.py, references/argparse/templates/test_cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/python/SKILL.md · 49 lines

How it starts

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

Python Engineering

Maintain lean, strictly typed Python packages, CLIs, web services, and PEP 723 scripts using stdlib first, mainstream well-maintained libraries when earned, and existing repo conventions.

Workflow

Load only the guide(s) needed for the current task (avoid bulk-loading every core guide on small edits): craft for design, blast-radius sizing, and library choices; language for 3.14+ idioms, typing, subprocess, and I/O boundaries; testing when authoring or auditing tests; plus the matching domain guide below. Defaults: mlops for dataframes/ML, argparse for CLIs, and fastapi + Granian for web APIs (django for ORM/admin monoliths, litestar for opt-in msgspec/HTMX apps, ui for Gradio/NiceGUI).

Task guides

  • api-client: Build typed Python HTTPX2 clients with bounded pagination and stdlib retries.
  • api-design: Design HTTP/RPC/SDK wire contracts: RFC 9457 errors, cursor pagination, idempotency, OpenAPI, and SemVer.
  • argparse: Design CLI contracts (streams, exits, JSON) and build stdlib argparse CLIs.
  • async: Build asyncio/AnyIO concurrency with TaskGroup cancellation, loop_factory, bounded pools, and SIGTERM drain.
  • craft: Apply Google-style Python craft, stdlib-first library choices, two-boundary error logging, and library maintenance.
  • database-and-jobs: Configure Postgres/SQLite persistence, Alembic migrations, obstore, queues, and Cloud Tasks.
  • django: Build Django applications with ORM, admin, authentication, Granian serving, and native testing.
  • fastapi: Build FastAPI ASGI services with Granian, RFC 9457 errors, native SSE, opt-in OTel, and httpx2 testing.
  • foundation: Configure Python package layout, PyPI metadata, uv/Ruff/ty tooling, workspaces, and project scaffolding.
  • language: Apply Python 3.14+ idioms, strict ty typing, exception chaining, subprocess bounds, and atomic file I/O.
  • litestar: Build opt-in Litestar ASGI apps when msgspec throughput or built-in HTMX/CSRF plugins earn their keep.
  • observability: Instrument Python services with structlog JSON, locals-free stack frames, and opt-in OpenTelemetry OTLP.
  • performance: Profile Python CPU/memory and benchmark CLIs/HTTP with hyperfine, oha, Locust, and 3.15 sampling.
  • pydantic: Typed validation, serialization, and settings boundaries with Pydantic and msgspec.
  • script: Build standalone PEP 723 single-file Python scripts run via uv run.
  • security-and-auth: Implement OIDC/OAuth2, JWT, Argon2id, webhook HMAC, CSRF, and HTTP security headers.
  • testing: Write Python tests with pytest, fixtures, property, mutation, and opt-in BDD tests.
  • ui: Build Gradio model demos and NiceGUI dashboards or browser utilities.

Read the full file on GitHub · 49 lines

Files

What ships with it

57 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. today Changed cd79fab61f0e
  2. yesterday Changed · +1 lines 96fd00c647d3
  3. 3d ago Changed 1b3ec5feaead
  4. 4d ago Changed c708f5f58f64
  5. 6d ago Changed 79da1db5d529
  6. 7d ago First seen · 48 lines · 43 tokens per session scan A 964d7ecf2ebe

Subscribe to this mod's changes

python is a skill published in the GitHub repository fmind/dot (14 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,054 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-11-22.

Related

python compared with skills from other repositories

python next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pythonfmind/dotSkill14todayMITA43Claude Code, Codex
python-stackfmind/dotfilesSkill43mo agoMITA41Claude Code, Codex
python-scriptfmind/dotfilesSkill43mo agoMITA34Claude Code, Codex
scaffold-pythonurmzd/dotfilesSkill64d agoApache-2.0A135Claude Code
turbodrfMte90/dotfilesSkill526d agononeA42Claude Code, Codex
aiohttpMte90/dotfilesSkill526d agononeA44Claude Code, Codex
django-celeryMte90/dotfilesSkill526d agononeA44Claude Code, Codex