python-docs

python-docs is a skill for Claude Code from arnabdeypolimi/claude_code_setup. It costs 98 tokens per session (1,585 once invoked), scanned A, original, MIT.

A documentation tool for Python projects that creates and updates written guides from source code. It can also produce API references and Mermaid diagrams, which are text-based diagrams.

In plain words
What is it for?
Documenting modules, generating API documentation, drawing architecture diagrams, and updating docs after code changes.
Why use it?
It helps keep documentation aligned with the code and organizes it by Python package or module.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Documenting modules, generating API documentation, drawing architecture diagrams, and updating docs after code changes.

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

Made for: Claude Code.

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

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

agentmods 80×15 button for python-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/arnabdeypolimi/claude_code_setup/python-docs"><img src="https://agentmods.dev/badge/skills/arnabdeypolimi/claude_code_setup/python-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,585 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.00098 $0.01585
Opus 5.5 $0.00039 $0.00634
Sonnet 5.5 $0.00020 $0.00317
Haiku 4.5 $0.00010 $0.00159

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

Security

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 3mo 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.

.claude/skills/python-docs/SKILL.md · 132 lines

How it starts

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

Python Documentation

Generate and maintain documentation for Python projects by analyzing source code.

Docs Folder Layout

docs/
├── README.md                  # Project-level documentation index
├── artalk/                    # ARTalk package docs (maps to src/artalk/)
│   ├── README.md             # ARTalk docs index with module table
│   ├── architecture.md       # System architecture with Mermaid diagrams
│   ├── core.md               # Core types, config, constants
│   └── pipeline.md           # High-level orchestration API
└── modules/                   # Non-ARTalk module docs (maps to other src/ packages)
    ├── _template.md          # Template for new module docs
    ├── logging_utils.md      # Logging utilities (maps to src/logging_utils/)
    └── segmentation.md       # Segmentation module (maps to src/segmentation/)

File Placement Rules

Source location Doc location Index to update
src/artalk/ docs/artalk/<module>.md docs/artalk/README.md module table
src/artalk/ (architecture) docs/artalk/architecture.md docs/artalk/README.md module table
src/<other_pkg>/ docs/modules/<pkg>.md docs/README.md structure tree
  • ARTalk sub-module docs go in docs/artalk/ (e.g., motion.md, renderer.md, tracking.md)
  • Non-ARTalk package docs go in docs/modules/
  • New module doc template lives at docs/modules/_template.md
  • Cross-references between artalk docs use relative paths: [core.md](core.md)
  • Cross-references from modules/ to artalk/ use: [artalk](../artalk/)

After Creating/Moving Any Doc

  1. Update the relevant index (docs/artalk/README.md or docs/README.md)
  2. Fix all cross-reference links affected by the change
  3. Verify no broken relative links remain

Workflow Selection

Request Workflow
Document a module Create Module Doc
Architecture / system diagram Create Architecture Doc
Code changed, update docs Sync Docs
Check doc accuracy Sync Docs (audit mode)

Read the full file on GitHub · 132 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. 3mo ago First seen · 132 lines · 98 tokens per session scan A ffce35306506

Subscribe to this mod's changes

python-docs is a skill published in the GitHub repository arnabdeypolimi/claude_code_setup (5 stars, last pushed 2mo ago), licensed MIT. It adds 98 tokens to every session and 1,585 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.

Related

python-docs compared with skills from other repositories

python-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-docsarnabdeypolimi/claude_code_setupSkill52mo agoMITA98Claude Code
pytorch-patternsaffaan-m/ECCSkill315kyesterdayMITA32Claude Code, Kiro
django-patternsaffaan-m/ECCSkill315kyesterdayMITA32Claude Code, Kiro
accelerateNousResearch/hermes-agentSkill268ktodayMITA13Claude Code, Codex
fastapi-patternsaffaan-m/ECCSkill315kyesterdayMITA35Claude Code, Kiro
python-patternsaffaan-m/ECCSkill315kyesterdayMITA45Claude Code, Kiro
python-testingaffaan-m/ECCSkill315kyesterdayMITA35Claude Code, Kiro