Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

env-management

Skill by aipoch

Guides an assistant through fixing missing Python and R packages in a notebook runtime. Covers version checks, installs with manage_packages, kernel restarts, and when to stop and ask the user.

  • Score 83
  • 5.5k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install env-management

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aipoch/open-science /tmp/open-science && mkdir -p ~/.claude/skills && cp -r /tmp/open-science/resources/skills/env-management ~/.claude/skills/env-management

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install env-management in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill tells an AI assistant how to handle package problems in a notebook. When a run fails on a missing module or package, it directs the assistant to install the package with the manage_packages tool into the bound runtime, instead of rewriting the code to use another library. It also covers checking installed versions with inspect_packages.

The skill routes Python and R packages to the right install path, including conda-forge handling for R and a pip option for PyPI-only Python packages. It forbids in-cell installs such as %pip and install.packages(), OS package managers and sudo. It explains when to restart the kernel after an install and when to report system-level dependencies to the user. It is written for assistants working in a notebook environment.

Written from the project's SKILL.md and checked against it.

What it can do

  • inspect_packagesReads installed package metadata and versions from the bound app-managed runtime.
  • manage_packagesInstalls Python or R packages into the currently bound runtime and returns a target receipt.
  • notebook_executeImports a package to confirm it can be loaded, and prepares app-managed runtimes when needed.
  • notebook_restartRestarts the kernel after an install so new packages load, as required for R.
  • notebook_bind_runtimeBinds the notebook session to a named environment or detected interpreter.
  • manage_environmentsCreates isolated named environments for removals, downgrades or separate project dependencies.

What you need

  • A notebook runtime for Python or R
  • App-managed default runtimes (default-python, default-r) or a bound named environment

Try asking

  • My notebook fails with ModuleNotFoundError for pandas. Install it.
  • Check which version of numpy is installed in my notebook runtime.
  • Install the R package ggplot2 and restart the kernel if needed.

Good to know

  • In-cell installs such as %pip, !pip and install.packages() are forbidden.
  • App-managed default runtimes accept additive installs only (bare name or name==version).
  • inspect_packages rejects user-owned external runtimes.
  • System-level dependencies are out of scope and must be reported to the user.

Security check

C
  • Downloads a script from the internet and runs itIn resources/skills/env-management/SKILL.md: curl | bash

Checked automatically: resources/skills/env-management/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to env-management

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

env-management: common questions

Can the assistant install packages inside a notebook cell?

No. The source forbids in-cell installs such as %pip, !pip and install.packages(), and says installs go through manage_packages.

How are R packages installed?

R packages install from conda-forge as r-<name> automatically. The user passes the plain CRAN name, such as ggplot2.

When should the assistant stop and ask the user?

When a package needs a system or OS-level dependency, such as a compiler, shared C library or CUDA toolchain, that is not present.

How do I install env-management?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is env-management free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is env-management safe to use?

It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to env-management?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

env-management Install

Add to stack

Loading.