Agent skill

Python Env

by flonat in flonat/flonat-research

Create and maintain Python environments and dependencies with uv.

MITAuto-check passed

Install Python Env

skills CLI
$ npx skills add flonat/flonat-research --skill python-env -a claude-code

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

GitHub CLI
$ gh skill install flonat/flonat-research 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/flonat/flonat-research.git skills-src && mkdir -p .claude/skills && cp -r skills-src/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
145
Token cost
~558 tokens
SKILL.md length
228 words
Files
1
Skills in repo
83
Repo updated
First seen
Licence
MIT

At a glance

Create and maintain Python environments and dependencies with uv.

  • Works in 4 steps: Never use pip install — always uv pip… → Never install globally — use uv tool… → Always work in a venv — created by uv… → …
  • Installing packages
  • SKILL.md covers Golden Rule, Commands, Project Setup and Rules, plus 2 more sections
  • Calls uv and pip

What it does

Python Env is an agent skill from flonat/flonat-research. Create and maintain Python environments and dependencies with uv. Use when installing packages, creating a virtual environment, resolving Python dependency state, or migrating away from pip. Not for general Python coding.

Its SKILL.md is about 560 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: Shareable Claude Code + Codex infrastructure for PhD researchers — skills, agents, hooks, and rules for academic workflows. The licence is MIT.

When your agent uses it

  • Installing packages
  • Creating a virtual environment
  • Resolving Python dependency state
  • Migrating away from pip

Example prompts

  • “/python-env”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash(uv*), Bash(uv:*), Bash(mkdir*), Bash(ls*)

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Never use pip install — always uv pip install or uv add
  2. Never install globally — use uv tool install for CLI tools
  3. Always work in a venv — created by uv venv or uv sync
  4. Use uv run — to execute scripts within the project environment

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(uv*)
    • Bash(uv:*)
    • Bash(mkdir*)
    • Bash(ls*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • pip

    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 558 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 228 words of instructions outside code blocks.

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

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 flonat/flonat-research at commit da27600, republished under its MIT licence (© flonat). 228 words, ~558 tokens.

Download SKILL.mdSave it as .claude/skills/python-env/SKILL.md (or your agent's skills folder).
name
python-env
description
Create and maintain Python environments and dependencies with uv. Use when installing packages, creating a virtual environment, resolving Python dependency state, or migrating away from pip. Not for general Python coding.
allowed-tools
Bash(uv*), Bash(uv:*), Bash(mkdir*), Bash(ls*)

Python Environment Management

CRITICAL RULE: Never use pip directly. Always use uv. This applies to all Python package management.

Golden Rule

ALWAYS use uv for Python package and environment management. Never use pip directly.

Commands

TaskCommand
Create venvuv venv
Install packageuv pip install <package>
Install from requirementsuv pip install -r requirements.txt
Run script in projectuv run python script.py
Run with dependenciesuv run --with pandas python script.py
Install CLI tool globallyuv tool install <tool>
Sync project depsuv sync
Add dependencyuv add <package>

Project Setup

For new projects:

bash
uv init
uv add <dependencies>
uv sync

For existing projects with pyproject.toml:

bash
uv sync
uv run python main.py

Rules

  1. Never use pip install — always uv pip install or uv add
  2. Never install globally — use uv tool install for CLI tools
  3. Always work in a venv — created by uv venv or uv sync
  4. Use uv run — to execute scripts within the project environment

Typical Project

For a project with a Python entry point:

bash
cd <project>
uv sync                           # Install dependencies
uv run python scripts/task.py     # Run a project script

On [HPC cluster] HPC

[HPC cluster] uses Miniconda3 + Lmod (not uv) because cluster users need to compose with module load CUDA/12.6.0 and other pre-built modules. The project-specific pattern is hpc/env-setup.sh (conda create + pip install) — see docs/guides/hpc.md and reference implementations under Projects/NLP/{example-project-a,example-project-b}/hpc/env-setup.sh. The local dev env still uses uv; HPC gets its own conda env with identical pins. Don't try to port uv to [HPC cluster] — the module system assumes conda.

© flonat, MIT. 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 skills/python-env of flonat/flonat-research.

Open the folder on GitHubat commit da27600

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 skillflonat/flonat-research145—~558Automated safety check: PassMIT
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 flonat/flonat-research

All 83 skills in this repo
  • Latex Posters

    flonat/flonat-research

    Create a large-format academic poster in LaTeX using beamerposter, tikzposter, or baposter.

    145 GitHub stars~1.5k tokensUpdated 8 days ago
    Auto-check: notes
  • Skill Creator

    flonat/flonat-research

    Create, revise, and evaluate reusable AI workflow skills, including trigger-quality tests.

    145 GitHub stars~4.4k tokensUpdated 8 days ago
    Auto-check passed
  • DOCX

    flonat/flonat-research

    Create, read, edit, or convert Microsoft Word documents while preserving professional document structure.

    145 GitHub stars~1.2k tokensUpdated 8 days ago
    Auto-check passed
  • PDF

    flonat/flonat-research

    Read, create, combine, split, rotate, OCR, watermark, secure, or extract content from PDF files.

    145 GitHub stars~488 tokensUpdated 8 days ago
    Auto-check passed
  • Init Project Orchestration

    flonat/flonat-research

    Create or migrate project-level agents, repeatable project workflows, and planning state from one client-neutral contract, then render repository-scoped adapters for both Claude Code and Codex.

    145 GitHub stars~1.6k tokensUpdated 8 days ago
    Auto-check passed
  • Pre Commit Audit

    flonat/flonat-research

    Deliver a fast pre-commit safety scan: file size, anonymity (author / affiliation strings in tex/bib), hardcoded secrets, and invisible-Unicode carriers.

    145 GitHub stars~2.8k tokensUpdated 8 days ago
    Auto-check: notes

Works with

Questions about Python Env

What does Python Env do?

Create and maintain Python environments and dependencies with uv. Python Env is an agent skill from flonat/flonat-research. Create and maintain Python environments and dependencies with uv.

When should I use Python Env?

Python Env fits situations like: installing packages; creating a virtual environment; resolving Python dependency state; migrating away from pip.

How do I install Python Env in Claude Code?

Run `npx skills add flonat/flonat-research --skill python-env -a claude-code`. Or copy the skill folder (skills/python-env in flonat/flonat-research) 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 flonat/flonat-research --skill python-env -a codex`. Or copy the skill folder (skills/python-env in flonat/flonat-research) 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 flonat/flonat-research --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 and pip). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(uv*), Bash(uv:*), Bash(mkdir*), Bash(ls*).

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 MIT 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 558 tokens (SKILL.md is roughly 2.2k 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?

flonat (a GitHub user) maintains it in flonat/flonat-research, which has 145 GitHub stars. The repository holds 83 skills in this directory. The repository was last updated on September 29, 2026.

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