Agent skill

Python Env

by asgeirtj in asgeirtj/system_prompts_leaks

Setting up or installing into a Python environment. An agent skill from asgeirtj/system_prompts_leaks.

CC0-1.0Auto-check passed

Install Python Env

skills CLI
$ npx skills add asgeirtj/system_prompts_leaks --skill python-env -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgeirtj/system_prompts_leaks python-env --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Meta/muse-code/skills/python-env .claude/skills/python-env && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-env
GitHub stars
69k
Token cost
~676 tokens
SKILL.md length
292 words
Files
1
Skills in repo
121
Repo updated
First seen
Licence
CC0-1.0

At a glance

Setting up or installing into a Python environment. An agent skill from asgeirtj/system_prompts_leaks.

  • SKILL.md covers Where it goes, PEP 668:…, Hand off commands the user can… and Respect what is already there
  • Calls uv, pip and python

What it does

Python Env is an agent skill from asgeirtj/system_prompts_leaks. Setting up or installing into a Python environment. One rule applies whether or not you read the body - the environment belongs with the project, so create it inside the project directory (.venv) or let uv manage it, and never in a scratch directory like /tmp and never by forcing an install into the system interpreter. Load the body before creating a virtualenv, choosing an installer, or writing run instructions for a Python project.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Python. The repository describes itself as: Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro… The licence is CC0-1.0.

Example prompts

  • “/python-env”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit f015440. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • pip
    • python
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python Env loads about 676 tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 292 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~112
When it runs · the whole SKILL.md, loaded when a task matches
~676

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from asgeirtj/system_prompts_leaks at commit f015440, republished under its CC0-1.0 licence (© asgeirtj). 292 words, ~676 tokens.

Download SKILL.mdSave it as .claude/skills/python-env/SKILL.md (or your agent's skills folder).
name
python-env
description
Setting up or installing into a Python environment. One rule applies whether or not you read the body - the environment belongs with the project, so create it inside the project directory (.venv) or let uv manage it, and never in a scratch directory like /tmp and never by forcing an install into the system interpreter. Load the body before creating a virtualenv, choosing an installer, or writing run instructions for a Python project.
user-invocable
false

Python environments

The environment is part of the project, not scratch space. A user who opens the project tomorrow, or clones it on another machine, should find the environment where their editor, their tooling, and their habits expect it.

Where it goes

Create it inside the project directory — .venv at the project root is the convention nearly every editor and tool auto-detects:

python3 -m venv .venv
source .venv/bin/activate
pip install -e .

For a greenfield project, prefer uv, which manages a project-local .venv for you and is much faster:

uv venv
uv pip install -e .      # or `uv sync` when there is a lockfile
uv run python -m yourpkg # runs in the project env without activating

Never put the environment in /tmp, ~/envs, or any other scratch location outside the project. It is invisible to the user's tooling, it is not what they will look for, and on /tmp it is deleted out from under them.

PEP 668: "externally-managed-environment"

Homebrew, Debian, and Ubuntu mark the system interpreter as externally managed, so pip install outside a virtualenv refuses with:

error: externally-managed-environment

That is the signal to create the project environment — not an obstacle to work around. Do not pass --break-system-packages, set PIP_BREAK_SYSTEM_PACKAGES, or delete the EXTERNALLY-MANAGED marker: those mutate an interpreter the OS owns, leave the project with no environment of its own, and can break other software on the machine.

Hand off commands the user can run

Write the run instructions against the project environment, so they work from a fresh shell in the project directory:

source .venv/bin/activate
python -m yourpkg ...

or, with uv, uv run python -m yourpkg ....

Do not hand back absolute paths into an environment outside the project (/tmp/whatever/bin/python -m yourpkg). Even when they work right now, they tell the user their project has no environment of its own.

Respect what is already there

If the project already has an environment or a declared tool — a .venv, a uv.lock, Poetry, Pipenv, conda — use it rather than introducing a second one. Check before creating.

© asgeirtj, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in Meta/muse-code/skills/python-env of asgeirtj/system_prompts_leaks.

Open the folder on GitHubat commit f015440

Compare with similar skills

Python Env next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python Env compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Env this skillasgeirtj/system_prompts_leaks69k—~676Automated safety check: PassCC0-1.0
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k13 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 13 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed

More from asgeirtj/system_prompts_leaks

All 121 skills in this repo
  • Fleet Manager for Agent Sessions

    asgeirtj/system_prompts_leaks

    Shows one digest of coding-agent sessions across your connected machines and lets you open, read, steer, approve, stop and close them, over Herdr, tmux or MSP.

    69k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Muse Code Product Doctor

    asgeirtj/system_prompts_leaks

    Diagnoses a Muse Code installation's own failures from binary and session evidence, instead of treating the report as an ordinary repository bug.

    69k GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • Agents Project Coordinator

    asgeirtj/system_prompts_leaks

    Runs a goal as a project in which the agent coordinates separate agent threads, judging when to split the work, and interviews you first when nothing can be verified.

    69k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Muse Plugin Creator

    asgeirtj/system_prompts_leaks

    Creates and validates a new native Muse plugin package in the current workspace, limited to five capability families, and leaves installation to you.

    69k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Figma Design Inspector

    asgeirtj/system_prompts_leaks

    Inspects Figma designs through the figma CLI and Figma's MCP server to read variants, spacing, tokens and layouts and to extract assets for implementation.

    69k GitHub stars~936 tokensUpdated yesterday
    Auto-check passed
  • Morning Brief Renderer

    asgeirtj/system_prompts_leaks

    Renders a calm, single-page HTML morning brief from your connected calendar, email and chat, or sets it up to run automatically on weekdays.

    69k GitHub stars~4.5k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Python Env

What does Python Env do?

Setting up or installing into a Python environment. An agent skill from asgeirtj/system_prompts_leaks. Python Env is an agent skill from asgeirtj/system_prompts_leaks. Setting up or installing into a Python environment.

How do I install Python Env in Claude Code?

Run `npx skills add asgeirtj/system_prompts_leaks --skill python-env -a claude-code`. Or copy the skill folder (Meta/muse-code/skills/python-env in asgeirtj/system_prompts_leaks) into .claude/skills/python-env in your project. Claude Code loads it when a task matches its description.

How do I install Python Env in Codex?

Run `npx skills add asgeirtj/system_prompts_leaks --skill python-env -a codex`. Or copy the skill folder (Meta/muse-code/skills/python-env in asgeirtj/system_prompts_leaks) into .agents/skills/python-env in your project. Codex loads it when a task matches its description.

Can I use Python Env in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgeirtj/system_prompts_leaks --skill python-env -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-env, .gemini/skills/python-env, .github/skills/python-env and .opencode/skills/python-env in your project.

What does Python Env need to run?

Going by SKILL.md and its folder, Python Env needs the command-line tools its instructions call (uv, pip, python and python3). Our summary lists: Python 3.

Does Python Env access the network?

SKILL.md contains no URLs. Its commands use uv and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Python Env safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Python Env use?

Python Env is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Python Env use?

About 676 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python Env?

Skills that share tags, products or a category with Python Env: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Env?

asgeirtj (a GitHub user) maintains it in asgeirtj/system_prompts_leaks, which has 69,041 GitHub stars. The repository holds 121 skills in this directory. The repository was last updated on October 6, 2026.

Source: asgeirtj/system_prompts_leaks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.