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 bitwise-media-group/skills --skill python-docsgit clone --depth 1 https://github.com/bitwise-media-group/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/bitwise-media-group/skills/python-docs)<a href="https://agentmods.dev/skills/bitwise-media-group/skills/python-docs"><img src="https://agentmods.dev/badge/skills/bitwise-media-group/skills/python-docs/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/bitwise-media-group/skills/python-docs"><img src="https://agentmods.dev/badge/skills/bitwise-media-group/skills/python-docs.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.00109 | $0.00847 |
| Opus 5.5 | $0.00044 | $0.00339 |
| Sonnet 5.5 | $0.00022 | $0.00169 |
| Haiku 4.5 | $0.00011 | $0.00085 |
Grade A, and why
python-docs 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 documentation conventions
Docstrings are the API's reference manual: editors, help(), and doc generators render them, and
LLM coding agents read them to learn an API. These rules say where they go, what style they take,
and how the linter enforces them. For the code itself see the python-style skill.
1. A docstring on every public API, Google style
Every public module, class, function, and method carries a docstring; private (_-prefixed) and
trivial dunder methods do not need one. Use Google style — a one-line imperative summary, then
Args:, Returns:, Raises: as needed:
def parse(line: str) -> tuple[str, str]:
"""Split a KEY=VALUE line into its key and value.
Args:
line: A single ``key=value`` pair; whitespace around each side is trimmed.
Returns:
The ``(key, value)`` pair.
Raises:
ValueError: If the separator is missing or the key is empty.
"""
Document behavior and invariants the caller can rely on, not the implementation. Types live in the
annotations (see python-typing), so do not repeat them in the docstring prose.
2. Module and package docstrings
Every module starts with a docstring on line 1 (after from __future__ import annotations if
present) describing what it provides. A package's docstring lives in its __init__.py.
3. Enforce with ruff's D rules
Make docstring presence and format a lint error, not a review nit — add the D family and pin the
convention so ruff checks Google style specifically:
[tool.ruff.lint]
extend-select = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"] # tests document themselves through their names
uv run ruff check now flags missing and malformed docstrings.
4. Generate an LLM-ready CLI reference
A Click command tree (Typer compiles to Click) already knows every command, flag, and help string — publish it as one markdown page per command that humans, search engines, and LLMs can read:
What ships with it
1 file 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.
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 · 109 tokens per session scan A f49b91c08219
python-docs is a skill published in the GitHub repository bitwise-media-group/skills (3 stars, last pushed today), licensed MIT. It adds 109 tokens to every session and 847 once invoked, about $0.0004 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
apideck-python
Apideck Unified API integration patterns for Python. Use when building integrations with accounting software (QuickBooks, Xero, NetSuite), CRMs (Salesforce, HubSpot, Pipedrive), HRIS platforms (Workday, BambooHR), file storage (Google Drive, Dropbox, Box), ATS systems (Greenhouse, Lever), e-commerce, or any of…
testing-python
Writes tests following TDD Red-Green-Refactor (pytest + Hypothesis). Tests behavior, not implementation. Use when writing unit tests, integration tests, or property tests.
implementing-python
Implements concise, streamlined Python code matching exact architect specifications. Use when writing Python code, creating modules, or when the user asks to implement features in Python.
python-backend-expert
This skill should be used when the user is writing, reviewing, debugging, or architecting Python backend code using Litestar or FastAPI with SQLAlchemy or Advanced Alchemy. Provides expert critique covering SOLID principles, hexagonal architecture, repository/service patterns, dependency injection, async correctness…
python-fastapi-setup
FastAPI service setup: app/main.py, API routers, pydantic-settings, lifespan/app.state services, middleware, health checks, pytest/TestClient, Uvicorn, Gunicorn/uvicorn-worker, Docker/Compose. Use for scaffolding or modernizing Python API services; skip for Flask/Django-only, frontend-only, non-Python APIs, or…
milp-modeling-gurobi
When the user wants to build, solve, and debug mixed-integer linear programs in Python with Gurobi — creating variables, writing constraint-builder functions, setting objectives and parameters, handling solver status, and extracting solutions safely. Also use when the user mentions "gurobipy," "build a MIP model,"…