document-python-scripts

document-python-scripts is a skill for Claude Code, Codex from tarlepp/symfony-flex-backend. It costs 24 tokens per session (972 once invoked), scanned A, original, MIT.

A documentation guide for Python script headers, function contracts, and comments that explain non-obvious code, without changing how the scripts run.

In plain words
What is it for?
It helps document tracked .py files, their purpose, callers, inputs, outputs, and important logic.
Why use it?
It improves the explanation of existing Python code while keeping behavior changes out of the documentation task.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # python3 scripts/checks/check-skills.py.

Good fit It helps document tracked .py files, their purpose, callers, inputs, outputs, and important logic.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tarlepp/symfony-flex-backend
agentmods
npx agentmods add skills/tarlepp/symfony-flex-backend/document-python-scripts

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 document-python-scripts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tarlepp/symfony-flex-backend/document-python-scripts"><img src="https://agentmods.dev/badge/skills/tarlepp/symfony-flex-backend/document-python-scripts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 972 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.00024 $0.00972
Opus 5.5 $0.00010 $0.00389
Sonnet 5.5 $0.00005 $0.00194
Haiku 4.5 $0.00002 $0.00097

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

Security

Grade A, and why

document-python-scripts 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.

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.

.github/skills/document-python-scripts/SKILL.md · 114 lines

How it starts

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

What is this?

Use this skill for Python-specific details when documenting tracked *.py files. The shared script conventions own formatting, header sections, caller lists and code-comment rules for every language. This adapter does not authorize executable behavior changes.

Follow the shared skill guidance, including repository instructions and AI rules.

Table of Contents ᐞ

Python documentation conventions ᐞ

Place a triple-quoted purpose docstring after the shebang and encoding declaration, before imports including __future__. Follow it with a blank line and a # comment header for detailed maintainer documentation, using the common header layout.

Preserve existing docstrings exactly when they supply CLI help or another observable output, even if they contain more than a purpose sentence. Do not change the help implementation to normalize documentation. For non-observable docstrings, detailed sections can move into comments while the purpose remains.

#!/usr/bin/env python3
"""Validate skill metadata and repository documentation links."""

#
# Usage:
#   From the repository root on the Docker host:
#     make check-skills
#   Direct invocation inside the PHP development container:
#     python3 scripts/checks/check-skills.py

Retain the established import and continuation style. Distinguish direct execution, imports and runner-loaded tests, including any import-time effects.

Read the full file on GitHub · 114 lines

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 · -85 lines · +1 tokens per session 4a9fbbcce79c
  2. 10d ago Changed · +15 lines cdce6a7ba97d
  3. 11d ago First seen · 184 lines · 23 tokens per session scan A f1d0b344ec8d

Subscribe to this mod's changes

document-python-scripts is a skill published in the GitHub repository tarlepp/symfony-flex-backend (286 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 972 once invoked, about $0.0001 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-21.

Related

document-python-scripts compared with skills from other repositories

document-python-scripts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
document-python-scriptstarlepp/symfony-flex-backendSkill286yesterdayMITA24Claude Code, Codex
api-integration-architectsickn33/agentic-awesome-skillsSkill51ktodayMITA33Claude Code
dmrwemake-services/django-modern-restSkill1.6kyesterdayMITA80Claude Code, Codex
api-connector-builderericrisco/rsc-harnessSkill695yesterdayMITA80Claude Code, Codex
dmr-openapi-skeletonwemake-services/django-modern-restSkill1.6kyesterdayMITA97Claude Code, Codex
dmr-from-dj-rest-authwemake-services/django-modern-restSkill1.6kyesterdayMITA67Claude Code, Codex
dmr-from-drfwemake-services/django-modern-restSkill1.6kyesterdayMITA69Claude Code, Codex