maintain-python-template

maintain-python-template is a skill for Codex from leynier/python-template. It costs 57 tokens per session (381 once invoked), scanned A, original, MIT.

A maintenance workflow for a Python project template whose choices and generated files are driven by a catalog. It keeps configuration options, templates, dependencies, tests, and documentation aligned.

In plain words
What is it for?
Use it when adding or repairing frameworks, providers, databases, interfaces, machine-learning tools, deployment targets, presets, or compatibility rules.
Why use it?
It helps prevent adding a selectable component that renders files but cannot actually run, or leaving generated references and compatibility rules out of sync.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when adding or repairing frameworks, providers, databases, interfaces, machine-learning tools, deployment targets, presets, or compatibility rules.

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

Made for: 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 maintain-python-template

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leynier/python-template/maintain-python-template"><img src="https://agentmods.dev/badge/skills/leynier/python-template/maintain-python-template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 381 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.00381
Opus 5.5 $0.00023 $0.00152
Sonnet 5.5 $0.00011 $0.00076
Haiku 4.5 $0.00006 $0.00038

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

Security

Grade A, and why

maintain-python-template 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.

skills/maintain-python-template/SKILL.md · 27 lines

What it actually says

Maintain Python Template

Make catalog-driven changes without creating a choice that renders but cannot run.

Change Workflow

  1. Inspect catalog/components.yml, catalog/presets.yml, copier.yml, the relevant files under template/, and existing tests before editing.
  2. Define the component metadata and compatibility constraints in the catalog first. Keep each choice in exactly one architectural role unless it genuinely serves several roles.
  3. Wire Copier defaults and choices to the catalog. Preserve the three simple presets and reject incompatible combinations with an actionable validator message.
  4. Add functional source, dependency, configuration, test, README, and environment-variable templates for the component. Avoid placeholder-only integrations.
  5. Run uv run python scripts/compile_catalog.py --check. If generated files are stale, run the command without --check, review all generated changes, then check again.
  6. Add focused repository tests and generate at least one representative project. Validate its imports or endpoints, not only file presence.
  7. Run the gates in validate-python-stack before proposing delivery.

Invariants

  • catalog/generated/catalog.json, catalog/generated/choices.yml, and docs/reference/*.md are compiler outputs; edit their sources instead.
  • Generated projects use a src layout, uv, Ruff, pytest, typing, and reproducible dependency bounds.
  • Optional layers must disappear cleanly when disabled.
  • Conditional template path components must remain short enough to render on Windows.
  • A deploy target keeps Docker portability; cloud IaC is limited to supported target/provider pairs.
Files

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.

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 · 27 lines · 57 tokens per session scan A 907f55ba65d8

Subscribe to this mod's changes

maintain-python-template is a skill published in the GitHub repository leynier/python-template (37 stars, last pushed 28d ago), licensed MIT. It adds 57 tokens to every session and 381 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-30.

Related

maintain-python-template compared with skills from other repositories

maintain-python-template next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maintain-python-templateleynier/python-templateSkill3728d agoMITA57Codex
alembic-migrationvstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA56Claude Code
pydantic-resolve-3stepKLR-Pattern/pydantic-resolveSkill3261mo agoMITA56Claude Code
sqlalchemy-modelstedivm/robs_awesome_python_templateSkill3176mo agoMITA44Claude Code, Codex
heaven-styleMagolor/BlueprintSkill51mo agoMITA22Claude Code, Codex
python-fastapi-coding-conventionsaishajv/claude-everythingSkill71mo agononeA84Claude Code
design-multi-tenant-saasaishajv/claude-everythingSkill71mo agononeA56Claude Code