environments

environments is a skill for Claude Code from robium-ai/robium. It costs 141 tokens per session (5,434 once invoked), scanned C, original, MIT.

A guide for choosing and setting up the software environment in which a robotics project runs, including virtual environments and Docker containers.

In plain words
What is it for?
Use it when starting a robotics project, choosing between uv or venv and Docker, passing a GPU into a container, or running without a local screen.
Why use it?
It reduces the “works on my machine but not on the server” problem by planning for repeatable local, remote, GPU, and display setups.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the robium plugin — 70 skills, 1 agent, 6 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/robium-ai/robium/1.7.1
Any agent
npx skills add robium-ai/robium --skill 1.7.1
Clone the repo
git clone --depth 1 https://github.com/robium-ai/robium

Made for: Claude Code.

Or install robium, the plugin that ships this one along with the rest of its 70 skills, 1 agent, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for environments

README.md
[![agentmods](https://agentmods.dev/badge/skills/robium-ai/robium/1.7.1.svg)](https://agentmods.dev/skills/robium-ai/robium/1.7.1)
Your own site
<a href="https://agentmods.dev/skills/robium-ai/robium/1.7.1"><img src="https://agentmods.dev/badge/skills/robium-ai/robium/1.7.1.svg" alt="Measured on agentmods" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,434 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00141 $0.05434
Opus 5 $0.00071 $0.02717
Sonnet 5 $0.00028 $0.01087
Haiku 4.5 $0.00014 $0.00543

Measured 6d ago against content hash f855a9a3f963, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

environments scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

- **Never `pip install` into the system Python.** <!-- id: never-pip-install-system-python --> Not on the host, not inside
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

archive/environments/1.7.1/SKILL.md · 339 lines

How it starts

The opening of the file, as written. The whole thing — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.

environments

The environment-strategy umbrella for robium. Every robium build needs an answer to "how does this run, identically, on my laptop and on whatever server it ends up on" before the first line of application code is written. This skill decides uv vs venv vs Docker, and, once Docker is chosen, how to get GPU passthrough and remote/headless display right. It does not own multi-module application Dockerfiles or compose wiring across nodes; that's integration.

When to use this skill

  • Starting any new robotics project and the environment strategy isn't decided yet; this is a required early step, not an optional one.
  • The trigger phrases in the description: 'uv', 'venv', 'virtualenv', 'docker for this project', 'reproducible environment', 'GPU in container'.
  • Debugging "works on my machine but not on the server": almost always an environment-parity bug, not an application bug.
  • Cross-references: go to the sibling skill instead when the question is:
    • Wiring multiple app modules together, Dockerfiles for a multi-node app, or compose files spanning services → integration (this skill covers a single environment's shape; integration covers the app that runs in it).
    • Remote visualization once headless is decided → foxglove.
    • ROS 2-specific package/build questions once Docker + ROS 2 is chosen → ros2.
    • Picking a manipulation/training framework once the env is settled → lerobot.
    • Deploying a headless container to Google Cloud Run (the CPU deploy target, alongside the GPU-cloud/RunPod one this skill owns): the build → deploy path and the sim-on-Cloud-Run gotchas → cloud-run.
    • The whole-stack decision this feeds into → architect (load that first if you haven't; it routes here).

Key directives

  • Delegation posture: embed. The decision logic (uv vs venv vs Docker) and the concrete patterns (pyproject.toml shape, Dockerfile shape, GPU/display flags) live in this skill and its references; this is a foundational, every-build concern, not a thin pointer to someone else's docs.
  • Environment before code. Decide and record the environment strategy before writing application code. An undecided environment is an open risk, not a detail to fix later.
  • Preflight the machine before deciding. Run npx robium-ai doctor --json (the robium CLI, npm package robium-ai) at the start of an environment decision and read the report (platform/Apple Silicon, Docker daemon state, GPU, free disk, python3/uv) instead of re-deriving those facts with ad-hoc shell probes. npx robium-ai doctor is the human-readable variant. If npx is unavailable, fall back to probing manually; the decision logic below is unchanged either way.
  • Never pip install into the system Python. Not on the host, not inside a container's base image. Every install goes into a project-scoped uv environment (uv sync, uv run) or, inside Docker, a venv managed the same way. The only sanctioned exception is a deliberate, explicit --system flag (or UV_SYSTEM_PYTHON=1) inside a container build stage that is itself disposable; see references/uv-patterns.md.
  • Every project states its env strategy in the architecture brief. If you're routed here from architect, write the choice (uv / venv / Docker, and why) into docs/architecture-brief.md's env-strategy section before moving on; don't let it live only in your head or in a Dockerfile no one reads.
  • Local == remote is the acceptance test. An environment strategy isn't done until you can state, concretely, why the same commands produce the same result on a laptop and on a headless remote server (same base image digest or lockfile, same Python/CUDA versions, no host-only assumptions). If you can't state that, the strategy isn't finished; see the parity checklist in references/docker-patterns.md.
  • Never write image tags or version numbers from memory. Verify current uv usage against docs.astral.sh/uv, current ROS 2 image tags against hub.docker.com/_/ros, and NVIDIA Container Toolkit steps against docs.nvidia.com before committing them to a real project. Every example in this skill is marked status: unverified for exactly this reason; treat it as a starting shape to re-check, not a pinned truth.

Read the full file on GitHub · 339 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 339 lines · 141 tokens per session scan C f855a9a3f963

Subscribe to this mod's changes

environments is a skill published in the GitHub repository robium-ai/robium (9 stars, last pushed 8d ago), licensed MIT. It adds 141 tokens to every session and 5,434 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.