aiskillstore/marketplace / skills/89jobrien/python-scripting
python-scripting
VerifiedPython scripting with uv and PEP 723 inline dependencies. Use when creating standalone Python scripts with automatic dependency management.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.3 KB |
| references/uv-script.template.py | script | 1.4 KB |
| skill-report.json | config | 12.8 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-05T13:30:22.636Z",
"slug": "89jobrien-python-scripting",
"source_url": "https://github.com/89jobrien/steve/tree/main/steve/skills/python-scripting",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "da67e5002e95e506f5cd51e1c723bb38d0b065a3bd7875e084104ebf80ced637",
"tree_hash": "cc18ccb62ff1b8184e67379f5b361cd2c5ebb8875804ad9aa9db8f2c493e6baf",
"provenance": {
"model_effective": "codex",
"fallback_chain": [
{
"agent": "codex",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "python-scripting",
"description": "Python scripting with uv and PEP 723 inline dependencies. Use when creating standalone Python scripts with automatic dependency management.",
"summary": "Create standalone Python scripts with uv-managed PEP 723 dependencies.",
"icon": "📦",
"version": "1.0.2",
"author": "Joseph OBrien",
"license": "MIT",
"category": "coding",
"tags": [
"python",
"uv",
"pep-723",
"cli",
"automation"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"network",
"external_commands"
]
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "No malicious intent, prompt injection, or hidden execution behavior was found in the reviewed files. The static findings are false positives caused by Markdown code formatting, a documented uv command example, and a documentation URL.",
"remediation": [],
"risk_factor_evidence": [
{
"factor": "network",
"evidence": [
{
"file": "references/uv-script.template.py",
"line_start": 22,
"line_end": 22
}
]
},
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 35,
"line_end": 35
},
{
"file": "SKILL.md",
"line_start": 39,
"line_end": 48
},
{
"file": "SKILL.md",
"line_start": 48,
"line_end": 52
},
{
"file": "SKILL.md",
"line_start": 52,
"line_end": 54
},
{
"file": "SKILL.md",
"line_start": 54,
"line_end": 60
}
]
}
],
"static_findings": [
{
"id": "network:references/uv-script.template.py:22:hardcoded-url",
"category": "network",
"severity": "low",
"pattern": "Hardcoded URL",
"file": "references/uv-script.template.py",
"line_start": 22,
"line_end": 22,
"snippet": "- uv (https://docs.astral.sh/uv/)"
},
{
"id": "external_commands:SKILL.md:35:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 35,
"line_end": 35,
"snippet": "- `references/UV_SCRIPT.template.py` - Python script template with PEP 723 metadata"
},
{
"id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 39,
"line_end": 48,
"snippet": "```python"
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 48,
"line_end": 52,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 52,
"line_end": 54,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:54:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 54,
"line_end": 60,
"snippet": "```"
}
],
"finding_verdicts": [
{
"id": "network:references/uv-script.template.py:22:hardcoded-url",
"verdict": "false_positive",
"confidence": 0.98,
"reason": "Line 22 is a documentation link for uv in a template docstring. It does not perform a network request or send data anywhere."
},
{
"id": "external_commands:SKILL.md:35:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The backticks are Markdown inline formatting around a reference file path. They do not execute shell or Ruby code."
},
{
"id": "external_commands:SKILL.md:39:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.94,
"reason": "These lines are a fenced Python example showing PEP 723 metadata and dependency names. The backticks are Markdown fences, not executable syntax."
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "This range is Markdown fence syntax around documentation. No runtime shell call or command interpolation is present."
},
{
"id": "external_commands:SKILL.md:52:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.88,
"reason": "The bash block documents a uv command that a user may run intentionally. It is not automatic command execution and includes no user-controlled interpolation."
},
{
"id": "external_commands:SKILL.md:54:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.92,
"reason": "This range contains a Markdown fence boundary and best-practice prose. It does not invoke a shell or embed executable Ruby backticks."
}
],
"semantic_findings": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 2,
"total_lines": 138,
"audit_model": "codex",
"audited_at": "2026-07-05T13:30:22.636Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Create Reproducible Python Scripts",
"value_statement": "Standalone Python scripts often need repeatable dependencies and clear command-line behavior. This skill guides Claude, Codex, and Claude Code to build uv scripts with PEP 723 metadata.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"Python scripting",
"uv scripts",
"PEP 723",
"standalone Python",
"CLI automation",
"dependency management",
"script templates"
],
"actual_capabilities": [
"Creates standalone Python script plans using uv and PEP 723 metadata.",
"Adds inline dependency declarations for scripts that need packages.",
"Uses argparse patterns for input paths, output paths, and verbose mode.",
"Documents uv run usage and help examples for generated scripts.",
"Encourages reproducible dependency resolution with exclude-newer metadata."
],
"limitations": [
"Generated scripts still need review before execution on local files.",
"It does not audit third-party package security or license terms.",
"The template assumes uv and Python 3.12 or newer are available.",
"Complex applications may need packaging, tests, or project structure beyond one script."
],
"use_cases": [
{
"title": "Build a File Processing Utility",
"description": "Create a single Python script that accepts an input file and writes processed output.",
"target_user": "Developers"
},
{
"title": "Automate a Repeated Operations Task",
"description": "Turn a manual command-line workflow into a focused script with clear arguments.",
"target_user": "DevOps engineers"
},
{
"title": "Prototype Data Cleanup",
"description": "Draft a small script with declared dependencies for quick data transformation work.",
"target_user": "Data analysts"
}
],
"prompt_templates": [
{
"title": "Create a Basic Script",
"scenario": "Beginner request for a simple utility.",
"prompt": "Create a standalone Python script using uv and PEP 723 metadata. It should read one input file and print a short summary."
},
{
"title": "Add Command-Line Options",
"scenario": "Intermediate request for configurable behavior.",
"prompt": "Create a uv Python script with argparse options for input, output, and verbose mode. Include helpful usage text."
},
{
"title": "Use External Dependencies",
"scenario": "Intermediate request that needs packages.",
"prompt": "Create a standalone Python script with PEP 723 dependencies for requests and rich. Pin reproducibility with exclude-newer metadata."
},
{
"title": "Design a Production-Ready Utility",
"scenario": "Advanced request for robust scripting standards.",
"prompt": "Design a uv-run Python CLI utility with argument validation, clear exit codes, logging, and examples for normal and error cases."
}
],
"output_examples": [
{
"input": "A request to create a script that summarizes a text file.",
"output": "A standalone script outline with uv metadata, argument parsing, file reading, summary output, and run instructions."
},
{
"input": "A request to automate an API export with dependencies.",
"output": "A script plan that declares required packages, accepts credentials through arguments or environment configuration, and writes a chosen output file."
},
{
"input": "A request to clean a CSV file from the command line.",
"output": "A focused CLI script structure with input and output paths, validation steps, progress messages, and reproducible dependency settings."
}
],
"best_practices": [
"Review generated dependencies and script behavior before running the script.",
"Keep each script focused on one task with clear inputs and outputs.",
"Use reproducibility metadata when scripts depend on external packages."
],
"anti_patterns": [
"Do not use the template for large applications that need a full package layout.",
"Do not run generated scripts on sensitive files without reviewing file operations.",
"Do not leave placeholder dependency names or script descriptions in final output."
],
"faq": [
{
"question": "What does this skill help create?",
"answer": "It helps create standalone Python scripts that use uv and PEP 723 inline dependency metadata."
},
{
"question": "Does the skill run scripts automatically?",
"answer": "No. It provides guidance and templates for scripts that users can review and run themselves."
},
{
"question": "Which Python version does the template expect?",
"answer": "The included template expects Python 3.12 or newer."
},
{
"question": "Can it include third-party packages?",
"answer": "Yes. It shows how to declare script dependencies in PEP 723 metadata for uv."
},
{
"question": "Is it suitable for reusable Python packages?",
"answer": "It is best for standalone scripts. Reusable packages usually need a project layout and package metadata."
},
{
"question": "What should users check before running output?",
"answer": "Users should review dependencies, file access, network behavior, and command-line arguments before execution."
}
]
},
"file_structure": [
{
"name": "references",
"type": "dir",
"path": "references",
"children": [
{
"name": "uv-script.template.py",
"type": "file",
"path": "references/uv-script.template.py",
"lines": 73
}
]
},
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 65
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |