Skip to content
Back to skills

Python Scripting

ASecurity

Python scripting with uv and PEP 723 inline dependencies. Use when creating

  • 509 stars
  • 0 votes
  • 0 copies
  • 12 views
  • Added February 7, 2026
developmentpythonbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill python-scripting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Python Scripting?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Python Scripting
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-python-scripting/badge)](https://www.skillsdirectory.com/skills/aiskillstore-python-scripting)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: python-scripting
description: Python scripting with uv and PEP 723 inline dependencies. Use when creating
  standalone Python scripts with automatic dependency management.
author: Joseph OBrien
status: unpublished
updated: '2025-12-23'
version: 1.0.1
tag: skill
type: skill
---

# Python Scripting Skill

Creates self-contained Python scripts using uv and PEP 723 inline script metadata.

## What This Skill Does

- Creates standalone Python scripts
- Uses PEP 723 inline dependencies
- Sets up argument parsing
- Handles input/output
- Configures reproducible builds

## When to Use

- Standalone utility scripts
- One-off automation tasks
- Quick data processing
- CLI tools
- Scripts that need dependencies

## Reference Files

- `references/UV_SCRIPT.template.py` - Python script template with PEP 723 metadata

## PEP 723 Format

```python
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = [
#   "requests",
#   "rich",
# ]
# ///
```

## Running Scripts

```bash
uv run script.py [args]
```

Dependencies install automatically on first run.

## Best Practices

- Use `exclude-newer` for reproducibility
- Include docstring with usage examples
- Use argparse for CLI arguments
- Return exit codes (0 success, non-zero error)
- Keep scripts focused on one task

Files in this skill

  • SKILL.md1.3 KB
  • references/uv-script.template.py1.4 KB
  • skill-report.json8.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.