self-contained-python-script

Community

Self-contained Python scripts with dependencies.

Authordavidgasquez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the creation and execution of Python scripts by allowing them to declare their own dependencies directly within the script file, eliminating the need for manual environment setup.

Core Features & Use Cases

  • PEP 723 Compliance: Utilizes inline metadata for dependency declaration.
  • Dependency Management: Automatically installs required packages using uv.
  • Use Case: Quickly create and run a Python script that requires the httpx library without first creating a virtual environment or running pip install.

Quick Start

Create a Python script with the provided shebang and metadata to define its dependencies.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: self-contained-python-script
Download link: https://github.com/davidgasquez/dotfiles/archive/main.zip#self-contained-python-script

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.