edmundmiller/dotfiles/python-scripts

Claude Code and agent skill by edmundmiller/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when writing standalone Python scripts (one-off scripts, utilities, not part of a larger Python project with pyproject.toml or setup.py). Provides UV shebang template and best practices.

Install

npx vskill@latest install edmundmiller/dotfiles/python-scripts

SKILL.md

Standalone Python Scripts

UV Shebang Template

For standalone Python scripts, always use the UV shebang format:

python
#!/usr/bin/env -S uv run --script
#
# /// script
# dependencies = [
# "requests",
# "click",
# ]
# [tool.uv]
# exclude-newer = "2025-08-23T00:00:00Z"
# ///
import requests
import click
# Your script code here

Key Points

  • Self-contained: All dependencies declared in the file
  • No virtual env needed: UV handles dependencies automatically
  • Execution: Run directly with uv run script.py or ./script.py (if executable)
  • Date pinning: The exclude-newer ensures reproducible builds
  • PEP 723 compliant: Uses the inline script metadata standard

When to Use

✅ Use this for:

  • One-off automation scripts
  • CLI utilities
  • Data processing scripts
  • Quick prototypes
  • Scripts without a containing project

❌ Don't use this for:

  • Files in a project with pyproject.toml or setup.py
  • Modules meant to be imported
  • Production services/applications

Example Script

python
#!/usr/bin/env -S uv run --script
#
# /// script
# dependencies = [
# "httpx",
# "rich",
# ]
# [tool.uv]
# exclude-newer = "2025-08-23T00:00:00Z"
# ///
import httpx
from rich import print
def main():
response = httpx.get("https://api.github.com")
print(f"Status: {response.status_code}")
if __name__ == "__main__":
main()

Making Scripts Executable

bash
chmod +x script.py
./script.py # Run directly

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/edmundmiller/dotfiles/python-scripts/badge)](https://verified-skill.com/skills/edmundmiller/dotfiles/python-scripts)

Something wrong with this skill or its page? Tell us.