python-project-setup

python-project-setup is a skill for Claude Code, Codex from tasanakorn/cc-marketplace. It costs 58 tokens per session (3,299 once invoked), scanned C, original, MIT.

A setup guide for modern Python projects using uv, a tool for managing Python environments and packages, with a standard src folder layout and PEP 8 style rules.

In plain words
What is it for?
Use it to start or adapt Python projects, manage dependencies, create command-line app entry points, and configure tools such as Ruff, mypy, and pytest.
Why use it?
It provides a consistent project structure and configuration instead of making developers assemble files, dependencies, and development tools by hand.

Skill for Claude CodeCodex

Part of the python-dev plugin — 2 skills, 1 command shipped together

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.

agentmods
npx agentmods add skills/tasanakorn/cc-marketplace/python-project-setup
Any agent
npx skills add tasanakorn/cc-marketplace --skill python-project-setup
Clone the repo
git clone --depth 1 https://github.com/tasanakorn/cc-marketplace

Made for: Claude Code, Codex.

Or install python-dev, the plugin that ships this one along with the rest of its 2 skills, 1 command.

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-project-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/tasanakorn/cc-marketplace/python-project-setup.svg)](https://agentmods.dev/skills/tasanakorn/cc-marketplace/python-project-setup)
Your own site
<a href="https://agentmods.dev/skills/tasanakorn/cc-marketplace/python-project-setup"><img src="https://agentmods.dev/badge/skills/tasanakorn/cc-marketplace/python-project-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,299 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
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 $0.00058 $0.03299
Opus 5 $0.00029 $0.01649
Sonnet 5 $0.00012 $0.00660
Haiku 4.5 $0.00006 $0.00330

Measured 4d ago against content hash 6a1bfddfba02, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

python-project-setup scanned grade C with 2 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 4d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

# macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
plugins/python-dev/skills/python-project-setup/SKILL.md · 487 lines

How it starts

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

Python Project Setup Skill

A specialized skill for setting up modern Python projects using uv tooling, best practices, and standardized project structures.

Overview

This skill enables Claude to autonomously set up Python projects following modern best practices. It promotes the use of uv (the fast Python package manager), enforces PEP8 standards, type hints, and proper project structure with src layout.

Capabilities

When activated, this skill provides:

  1. Modern Tooling with uv

    • Use uv instead of pip/python directly
    • Initialize virtual environments: uv venv
    • Manage dependencies: uv add, uv remove
    • Sync dependencies: uv sync
    • Run scripts: uv run
  2. Project Structure Detection & Setup

    • Detect if project is new or existing
    • Analyze current structure and adapt recommendations
    • Promote src/package_name layout
    • Create proper __init__.py files
    • Setup __main__.py entry points
  3. pyproject.toml Management

    • Generate modern pyproject.toml
    • Configure project metadata
    • Setup dependencies and dev dependencies
    • Include tool configurations (ruff, mypy, pytest)
    • Define entry points for CLI applications
  4. Library Selection

    • Present interactive menu for library choices
    • CLI applications: click (commands), rich (output), inquirer (interactive prompts)
    • TUI applications: textual (framework), rich (rendering)
    • Pure libraries: minimal dependencies
    • Smart recommendations based on project type
  5. Standards Enforcement

    • PEP8 compliance via ruff
    • Type hints for all functions/methods
    • Proper docstring formats (Google/NumPy style)
    • Follow PEP8 and modern Python standards

Usage

This skill activates automatically when:

  • User requests: "Create a new Python project"
  • User asks: "Setup Python project structure"
  • User mentions: "Initialize Python package"
  • User wants to: "Migrate to uv"
  • Claude detects Python project initialization
  • pyproject.toml creation or modification is discussed

Read the full file on GitHub · 487 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. 4d ago First seen · 487 lines · 58 tokens per session scan C 6a1bfddfba02

Subscribe to this mod's changes

python-project-setup is a skill published in the GitHub repository tasanakorn/cc-marketplace (2 stars, last pushed 5mo ago), licensed MIT. It adds 58 tokens to every session and 3,299 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

bump-dependency

Bumps a Python package dependency across Home Assistant Core integrations, regenerates core requirement files, runs verification tests and prek lint, and prepares a pull request with proper release/compare links.

home-assistant/core · 42 tokens

mem0-vercel-ai-sdk

Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…

mem0ai/mem0 · 146 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

pause

Pause Mem0 memory capture on this machine. Use when the user wants to stop memories being recorded, for example for private work or experiments.

mem0ai/mem0 · 30 tokens

python-development

Coding standards, conventions, and patterns for developing Python code in the Agent Framework repository. Use this when writing or modifying Python source files in the python/ directory.

microsoft/agent-framework · 35 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens