neo-python-manager
Skill7 starsChanged 6 months agoMITView on GitHub
Use this skill when the user asks how to install, add, remove, update, or run Python dependencies; choose between uv, Poetry, venv, or pip; create/sync a virtual environment; or diagnose Python package manager setup from pyproject.toml, lock files, or requirements.txt.
- Pipes a download into a shell
- Installs packages
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- generate-skillSkill
- neo-azure-pipelinesSkill
- neo-clarificationSkill
- neo-clean-architectureSkill
- neo-code-reviewSkill
- neo-csharp-interface-generatorSkill
- neo-csharpSkill
- neo-dotnet-ef-coreSkill
- neo-dotnet-minimal-apisSkill
- neo-dotnet-mvcSkill
- neo-dotnetSkill
- neo-dotnet-tag-helperSkill
- neo-dotnet-webapiSkill
- neo-harness-projectSkill
- neo-harnessSkill
- neo-javascriptSkill
- neo-opentelemetrySkill
- neo-prSkill
- neo-pythonSkill
- neo-rabbitmqSkill
- neo-rustSkill
- neo-stop-slopSkill
- neo-sub-agentSkill
- neo-swiftSkill
- neo-swift-uiSkill
- neo-typescriptSkill
- neo-vueSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Check the system environment to test if tools are installed: execute uv --version or poetry --version.
- Very specific: line 28
Check tool availability: If the project is determined to use uv but it's not installed, or if the user wants to switch to uv/Poetry but the …
- Distinctive: line 30
Tool Installation Suggestion: If the tool is not installed, must ask the user first: "Detected that the project uses [Tool Name], but it is …
- Distinctive: line 32
Execute Changes: If the user agrees to installation or dependency changes, provide CLI commands for user confirmation.
- Very specific: line 54
Detection Criteria: Only requirements.txt or .venv exists.
- Distinctive: line 61
Installation and Operation Guidance: If tools are missing, proactively ask for installation consent and provide the correct syntax.
- Distinctive: line 62
Environment Consistency Check: Ensure provided commands perfectly match the project's existing lock files.
- Distinctive: line 65
Never execute installation commands directly without asking the user.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Python Environment Manager Skill
Trigger On
- The user asks "How do I install a package?" or "Which package manager is this project using?".
- The user requests to add, remove, or update Python dependencies.
- Need to initialize a virtual environment or execute a Python script but unsure whether to use
uv run,poetry run, orpython. - The project lacks explicit environment configuration and needs recommendations for suitable tools.
Workflow
- Perceive:
- Scan the project root for characteristic files:
uv.lock,poetry.lock,pyproject.toml,requirements.txt. - Check the system environment to test if tools are installed: execute
uv --versionorpoetry --version.
- Scan the project root for characteristic files:
- Reason:
- Determine the tool the project should use based on characteristic files (Priority:
uv>Poetry>pip). - Check tool availability: If the project is determined to use
uvbut it's not installed, or if the user wants to switch touv/Poetrybut the environment is not ready, mark it as "Pending Installation".
- Determine the tool the project should use based on characteristic files (Priority:
- Act:
- Tool Installation Suggestion: If the tool is not installed, must ask the user first: "Detected that the project uses [Tool Name], but it is not installed in your environment. Would you like me to provide the installation command and assist with the installation?"
- Output Commands: Provide the correct operation commands for the identified management tool.
- Execute Changes: If the user agrees to installation or dependency changes, provide CLI commands for user confirmation.
Tooling Commands Reference
1. uv (Recommended: Ultra-fast Tool)
- Detection Criteria:
uv.lockexists. - Installation (Unix/macOS):
curl -LsSf https://astral.sh/uv/install.sh | sh - Installation (Windows):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" - Common Commands:
uv add <package>(Add package)uv sync(Sync environment)uv run <script.py>(Run script)
2. Poetry
- Detection Criteria:
poetry.lockexists or[tool.poetry]inpyproject.toml. - Installation (Cross-platform):
curl -sSL https://install.python-poetry.org | python3 - - Common Commands:
poetry add <package>(Add package)poetry install(Install dependencies)poetry run python <script.py>(Run script)
3. venv + pip (Legacy Standard)
- Detection Criteria: Only
requirements.txtor.venvexists. - Common Commands:
pip install <package>pip install -r requirements.txt
Deliver
- Environment Detection Report: Inform the current environment status (e.g., uv installed, poetry.lock detected).
- Installation and Operation Guidance: If tools are missing, proactively ask for installation consent and provide the correct syntax.
- Environment Consistency Check: Ensure provided commands perfectly match the project's existing lock files.
Validate
- Never execute installation commands directly without asking the user.
- Installation commands must distinguish between operating systems (macOS/Linux vs Windows).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

