uv-manager

Run Python scripts in isolated sandboxes with uv and explicit dependencies.

1|Updated Sep 5, 2021
One-click install
npx skills add https://github.com/paruma/atcoder_rust --skill uv-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv-manager
Source: https://github.com/paruma/atcoder_rust/tree/main/.gemini/skills/uv-manager
Command: npx skills add https://github.com/paruma/atcoder_rust --skill uv-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides specialized steps to run Python scripts, manage dependencies, and resolve sandbox constraints (path, cache, and permissions) when using uv.

Core Features & Use Cases

  • Unified uv-based execution workflow with explicit dependency handling.
  • Sandbox configuration and resource controls for reproducible runs.
  • Use Case: Run user-submitted scripts in a safe, isolated environment for testing or automated tasks.

Quick Start

Use the uv-manager to execute a Python script in a sandbox. Example: export HOME=/home/node && export UV_CACHE_DIR=/home/node/.cache/uv && export PATH="/home/node/.local/bin:$PATH" && uv run path/to/script.py

Frequently Asked Questions about uv-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Python scripts in a secure sandbox using uv?

Sandboxed Python execution with uv isolates dependencies, caches, and permissions by enforcing standardized environment variables and a consistent uv run invocation protocol to ensure reproducible runtime environments.

What environment variables need to be set for uv sandbox execution?

Sandboxed execution with uv requires setting the HOME, UV_CACHE_DIR, and PATH environment variables to explicitly control paths, caches, and permissions, ensuring reproducible runtime conditions for automated testing or educational sandboxes.

How does uv handle explicit dependency management in isolated environments?

Explicit dependency management in uv handles isolated environments by enforcing a standardized uv run invocation protocol, controlling paths, caches, and permissions to guarantee reproducible Python script execution.

Can I use uv for executing user-submitted Python scripts safely?

Yes, you can use uv to execute user-submitted Python scripts safely by running them in an isolated environment with controlled paths, caches, and explicit permissions, making it ideal for automated testing or education sandboxes.

Why is reproducible runtime important for Python sandbox execution?

Reproducible runtime is important for Python sandbox execution because it guarantees consistent script behavior by standardizing environment variables, controlling permissions, and enforcing a unified uv run invocation protocol for automated testing.