python-packaging-skill

python-packaging-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 33 tokens per session (524 once invoked), scanned A, original, Apache-2.0.

A guide to packaging Python applications and libraries with pyproject.toml, dependency tools, and build systems such as Poetry, uv, setuptools, and Hatch.

In plain words
What is it for?
Use it to set up or restructure Python packages, configure command-line entry points, manage development and test dependencies, publish to PyPI, or organize shared packages in a monorepo.
Why use it?
It helps you choose and configure a consistent way to manage dependencies, virtual environments, builds, and package publishing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to set up or restructure Python packages, configure command-line entry points, manage development and test dependencies, publish to PyPI, or organize shared packages in a monorepo.

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

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 python-packaging-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/python-packaging-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/python-packaging-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 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.00033 $0.00524
Opus 5.5 $0.00013 $0.00210
Sonnet 5.5 $0.00007 $0.00105
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

python-packaging-skill 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 2mo 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/python-packaging-skill/SKILL.md · 30 lines

What it actually says

What I do

Configure Python packaging for applications and libraries: pyproject.toml per backend (uv / Poetry / setuptools / hatch), dependency strategy, publishing.

When to use me

Choosing a build tool; writing/restructuring pyproject.toml; app-vs-library dependency strategy; PyPI publishing; entry points; Python monorepo packages.

Related: python-backend-skill (app scaffolding — its pinned pyproject standard is the app baseline) · python-ruff-linter-skill / python-pytest-creator-skill (tool config sections) · monorepo-management-skill (JS/TS side).

House decision rules

App vs library (the deltas that change config): apps pin exact dependency versions (lockfile discipline), build optional (wheel for Docker), version informal, no PyPI name constraints; libraries use minimum-compatible ranges, require sdist+wheel builds, semver, unique PyPI name, license, and published metadata completeness.

Tool choice: uv for new projects (house default — fastest resolution, lockfile, drop-in pip interface); Poetry where the team already standardizes on it (full-featured, lock file); setuptools for maximum compatibility/legacy; hatch when you want build + env management in one. All four configure via [project] in pyproject.toml (PEP 621) — backend sections differ, project metadata doesn't.

Common traps: dev/test deps go in dependency-groups or optional-extras (never install_requires); console entry points via [project.scripts] (cli = "pkg.module:main"); pin build-backend + its version; TestPyPI dry-run before a real PyPI release; trust publishing creds via OIDC (trusted publishing) over long-lived tokens.

Removed 2026-09: per-backend pyproject.toml full listings (uv/Poetry/setuptools/hatch variants), venv walkthroughs, publishing step-by-steps, monorepo package example trees — backend-specific config the model regenerates on demand; kept the app-vs-library decision matrix, tool-choice rules, and the traps.

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. 2mo ago Changed · -522 lines 6ac2d6d2fe3b
  2. 3mo ago First seen · 552 lines · 33 tokens per session scan A b09a1957df0a

Subscribe to this mod's changes

python-packaging-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 524 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-09-03.

Related

python-packaging-skill compared with skills from other repositories

python-packaging-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-packaging-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A33Claude Code, Codex
matlabK-Dense-AI/scientific-agent-skillsSkill60k5d agoMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill60k5d agoMITA74Claude Code
holoscan-install-wheelNVIDIA/skillsSkill4.3ktodayApache-2.0A34Claude Code, Codex
python-engineering-guidelinesanywhere-labs/Agents-AnywhereSkill4.0kyesterdayApache-2.0A75Codex
future-self-liteTHU-MAIC/OpenMAICSkill46kyesterdayMITA20Claude Code, Codex
rocm-kernelshuggingface/kernelsSkill804yesterdayApache-2.0A93Claude Code