scaffold-python

scaffold-python is a skill for Claude Code from urmzd/dotfiles. It costs 135 tokens per session (2,057 once invoked), scanned A, original, Apache-2.0.

A set of instructions for creating or standardizing a Python project with common development, testing, and release files.

In plain words
What is it for?
Use it when starting a Python CLI, library, or application, or when adding CI/CD and shared project conventions to an existing Python project.
Why use it?
It removes the need to assemble project structure, code checks, continuous integration, and release setup from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uses: ./.github/workflows/ci.yml.

Good fit Use it when starting a Python CLI, library, or application, or when adding CI/CD and shared project conventions to an existing Python project.

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/urmzd/dotfiles
agentmods
npx agentmods add skills/urmzd/dotfiles/scaffold-python

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 scaffold-python

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/urmzd/dotfiles/scaffold-python"><img src="https://agentmods.dev/badge/skills/urmzd/dotfiles/scaffold-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,057 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.00135 $0.02057
Opus 5.5 $0.00054 $0.00823
Sonnet 5.5 $0.00027 $0.00411
Haiku 4.5 $0.00014 $0.00206

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

Security

Grade A, and why

scaffold-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 8d 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.

dot_agents/skills/scaffold-python/SKILL.md · 273 lines

How it starts

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

Scaffold Python Project

Generate a production-ready Python project following established CI/CD patterns. Read the scaffold-project skill first for standard files (README, AGENTS.md, LICENSE, CONTRIBUTING.md, llms.txt).

When to Use

  • Creating a new Python CLI, library, or application
  • Adding CI/CD to an existing Python project missing workflows
  • Standardizing a Python project to match org conventions

Generated Files

.github/workflows/ci.yml

name: CI

on:
  pull_request:
    branches: [main]
  workflow_call:

permissions:
  contents: read

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  lint:
    name: Lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
      - run: uv python install
      - run: uv sync --group dev
      - name: Check formatting
        run: uv run ruff format --check .
      - name: Run linter
        run: uv run ruff check .

  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
      - run: uv python install
      - run: uv sync --group dev
      - name: Run tests
        run: uv run pytest

.github/workflows/release.yml

name: Release

on:
  push:
    branches: [main]
  workflow_dispatch:

concurrency:
  group: release
  cancel-in-progress: false

permissions:
  contents: write

jobs:
  ci:
    if: github.actor != 'sr[bot]'
    uses: ./.github/workflows/ci.yml

  release:
    needs: ci
    runs-on: ubuntu-latest
    # The sr-releaser key lives in this environment. Only main can use it.
    environment: release
    steps:
      - name: Generate app token
        id: app-token
        uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
        with:
          client-id: Iv23liUsXGDICnIdo3Ev
          private-key: ${{ secrets.SR_RELEASER_PRIVATE_KEY }}
          repositories: ${{ github.event.repository.name }}

      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
        with:
          fetch-depth: 0
          token: ${{ steps.app-token.outputs.token }}

      - uses: urmzd/sr@v9
        id: sr
        with:
          github-token: ${{ steps.app-token.outputs.token }}

    outputs:
      released: ${{ steps.sr.outputs.released }}
      tag: ${{ steps.sr.outputs.tag }}
      version: ${{ steps.sr.outputs.version }}

Read the full file on GitHub · 273 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. 8d ago Changed · +5 lines e17916c7c33f
  2. 1mo ago Changed · -1 lines 973375da1242
  3. 3mo ago First seen · 269 lines · 135 tokens per session scan A d3963a5368c9

Subscribe to this mod's changes

scaffold-python is a skill published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 135 tokens to every session and 2,057 once invoked, about $0.0005 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

scaffold-python compared with skills from other repositories

scaffold-python next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffold-pythonurmzd/dotfilesSkill65d agoApache-2.0A135Claude Code
astropymagic3007/dotfilesSkill116d agoMITA56Claude Code, Codex
polarsmagic3007/dotfilesSkill116d agoMITA69Claude Code, Codex
fluidsimmagic3007/dotfilesSkill116d agoMITA69Claude Code, Codex
pyopenmsmagic3007/dotfilesSkill116d agoMITA62Claude Code, Codex
sympymagic3007/dotfilesSkill116d agoMITA50Claude Code
pymatgenmagic3007/dotfilesSkill116d agoMITA38Claude Code, Codex