single-file-uv-scripter

single-file-uv-scripter is a skill for Claude Code from WaterplanAI/agentic-config. It costs 69 tokens per session (1,220 once invoked), scanned A, a copy of ac-tools-single-file-uv-scripter, MIT.

A tool for creating standalone Python scripts with their package requirements written inside the file. The scripts can then be run with uv, a Python tool that installs those declared requirements automatically.

In plain words
What is it for?
Use it to make one-file Python utilities with inline PEP 723 metadata and run them with `uv run`.
Why use it?
It avoids separate setup files and manual dependency installation for small scripts.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ac-tools plugin — 17 skills shipped together

Good fit Use it to make one-file Python utilities with inline PEP 723 metadata and run them with uv run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waterplanai/agentic-config/single-file-uv-scripter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add WaterplanAI/agentic-config --skill single-file-uv-scripter
Clone the repo
git clone --depth 1 https://github.com/WaterplanAI/agentic-config

Made for: Claude Code.

Or install ac-tools, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for single-file-uv-scripter

README.md
[![agentmods](https://agentmods.dev/badge/skills/waterplanai/agentic-config/single-file-uv-scripter/github.svg)](https://agentmods.dev/skills/waterplanai/agentic-config/single-file-uv-scripter)
Your own site
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/single-file-uv-scripter"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/single-file-uv-scripter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for single-file-uv-scripter

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/single-file-uv-scripter"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/single-file-uv-scripter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,220 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01220
Opus 5.5 $0.00028 $0.00488
Sonnet 5.5 $0.00014 $0.00244
Haiku 4.5 $0.00007 $0.00122

Measured 19d ago against content hash 4f70c3d8c1d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

single-file-uv-scripter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to ac-tools-single-file-uv-scripter — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ac-tools/skills/ac-tools/single-file-uv-scripter/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Single-File UV Scripter

Creates self-contained Python scripts with inline dependency declarations per PEP 723. Scripts execute via uv run script.py with automatic dependency resolution.

Inline Metadata Format

# /// script
# dependencies = [
#   "package-name",
#   "package>=1.0,<2.0",
# ]
# requires-python = ">=3.12"
# ///

Syntax Rules

Element Format Required
Open marker # /// script Yes
Close marker # /// Yes
Dependencies TOML array, each line # prefixed Yes (can be empty [])
Python version requires-python = ">=3.X" Recommended

UV-Specific Extensions

# /// script
# dependencies = ["requests"]
# requires-python = ">=3.12"
# [tool.uv]
# exclude-newer = "2024-01-15T00:00:00Z"
# ///
  • exclude-newer: RFC 3339 timestamp for reproducible builds (pins to releases before date)
  • index: Alternative PyPI index URL

Template

#!/usr/bin/env -S uv run
# /// script
# dependencies = [
#   "DEPENDENCY",
# ]
# requires-python = ">=3.12"
# ///
"""One-line description of script purpose."""
from __future__ import annotations

# imports here

def main() -> None:
    """Entry point."""
    pass

if __name__ == "__main__":
    main()

Commands

Action Command
Initialize uv init --script name.py --python 3.12
Add dep uv add --script name.py 'pkg>=1.0'
Run uv run name.py [args]
Make executable chmod +x name.py then ./name.py

Shebang Options

#!/usr/bin/env -S uv run                    # Standard
#!/usr/bin/env -S uv run --quiet            # Suppress UV output
#!/usr/bin/env -S uv run --python 3.12      # Pin Python version

Common Patterns

CLI with Arguments

#!/usr/bin/env -S uv run
# /// script
# dependencies = ["typer>=0.9", "rich"]
# requires-python = ">=3.12"
# ///
import typer
app = typer.Typer()

@app.command()
def main(name: str) -> None:
    print(f"Hello {name}")

if __name__ == "__main__":
    app()

Read the full file on GitHub · 184 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago First seen · 184 lines · 69 tokens per session scan A 4f70c3d8c1d0

Subscribe to this mod's changes

single-file-uv-scripter is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 20d ago), licensed MIT. It adds 69 tokens to every session and 1,220 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to ac-tools-single-file-uv-scripter, differing in 2 lines, and is treated as a copy.

Related

single-file-uv-scripter compared with skills from other repositories

single-file-uv-scripter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
single-file-uv-scripterWaterplanAI/agentic-configSkill3120d agoMITA69Claude Code
temporal-python-testingwshobson/agentsSkill43kyesterdayMITA45Claude Code
enumsidavidov13/agentic-playwrightSkill31313d agoMITA73Claude Code, Codex
type-safetyidavidov13/agentic-playwrightSkill31313d agoMITA80Claude Code, Codex
refactor-valuesidavidov13/agentic-playwrightSkill31313d agoMITA55Claude Code, Codex
runpod-flashrunpod/runpod-plugins-officialSkill57todayApache-2.0A115Claude Code
verify-languageAurite-ai/agent-verifierSkill46yesterdayMITA48Claude Code