Claude Code Plugins

Community-maintained marketplace

Feedback

Build self-contained Python executables using uv script metadata.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name uv
description Build self-contained Python executables using uv script metadata.

uv scripts

Create standalone Python scripts with inline dependency management using PEP 723 script metadata.

Bootstrap template

#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = [
#     "typer",
#     "rich",
# ]
# ///
"""Script description."""

def main() -> None:
    pass

if __name__ == "__main__":
    main()

Make executable

chmod +x bin/my-script.py

Run

./bin/my-script.py
# or
uv run --script bin/my-script.py

Script metadata format

The # /// script block declares dependencies inline:

# /// script
# requires-python = ">=3.12"
# dependencies = [
#     "requests>=2.28",
#     "pydantic",
# ]
# ///

Local package dependencies

Reference local packages with [tool.uv.sources]:

# /// script
# requires-python = ">=3.12"
# dependencies = [
#     "my-local-package",
#     "rich",
# ]
#
# [tool.uv.sources]
# my-local-package = { path = "..", editable = true }
# ///

Add dependencies

Use uv add --script to add dependencies to an existing script:

uv add --script bin/my-script.py httpx rich

Common dependencies

  • CLI: typer, click
  • Output: rich
  • HTTP: httpx, requests
  • Data: pydantic, polars, pandas
  • YAML: pyyaml, ruamel.yaml

Resources