Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

python-inline-scripts

FreeNo executable scriptsNot checked

Guide for running inline Python scripts with uv. This should be used when the user says "use inline python"

jahandsby jahands★ 19 GitHub stars7 installs in other catalogs

About this skill

Run inline scripts with uv, declaring dependencies in the script metadata. List only PyPI packages: stdlib modules (json, os, re) aren't on PyPI, so listing them makes uv fail to resolve the script. Target Python 3.12+.

uv run --no-project -q --script - < <(cat <<'EOF'
# /// script
# requires-python = ">=3.12"
# dependencies = ["httpx"]
# ///
import httpx
print(httpx.get("https://api.github.com/zen").text)
EOF
)

Install python-inline-scripts in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the python-inline-scripts skill do?

Guide for running inline Python scripts with uv. This should be used when the user says "use inline python"

How do I install the python-inline-scripts skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the python-inline-scripts skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare python-inline-scripts with