/devenv:devenvfrom devenv
Configures, migrates, debugs and verifies devenv.sh developer environments. Use when a task touches devenv.nix, devenv.yaml, devenv.lock or secretspec.toml, or runs devenv commands (shell, test, up, processes, tasks, update), including languages.*, services.*, processes, tasks, scripts, git-hooks, profiles and inputs.
Ships in devenv. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Not for NixOS system configuration, Home Manager, plain flakes without devenv, or Dev Containers (the devcontainer skill, if installed).
Keep devenv modules, inputs, and lifecycle separate from general Nix and NixOS configuration. Checked against devenv 2.3.1 (devenv --help) and the devenv docs (devenv.sh, Context7 /cachix/devenv) on 2026-10-17.
devenv.nix, devenv.yaml, devenv.lock, imported modules, and the current diff.devenv version. Target that version unless the user names another. 1.x and 2.x differ in commands and options, so don't carry flags across without checking devenv <command> --help..devenv/ as generated state. Never copy or edit it.devenv init in a new project, check that no conflicting config already exists. devenv generate is removed in 2.x (it exits with a pointer to devenv.new); in 1.x it uploaded the repo's git-tracked files to the hosted devenv.new generator. Don't use either unless the user asks, since project details leave the machine.languages.*, services.*, git-hooks.*, profile, process, and SecretSpec shapes with Context7 (/cachix/devenv) or the devenv option reference.devenv eval <attribute> (JSON) instead of guessing. devenv search <name> finds packages and options.-O <attr>:<type> <value> (for example devenv shell -O languages.python.version:string 3.12 -- python -V). Types are string, int, float, bool, path, pkg, pkgs; pkgs! replaces a list instead of appending.devenv changelogs and state the source and target versions.| Concern | Where |
|---|---|
Inputs, imports, allowed unfree or insecure packages, secretspec enablement | devenv.yaml |
Packages, languages.*, services.*, scripts, tasks, processes, profiles, hooks, tests, shell behavior | devenv.nix or imported modules |
| Secret declarations (names and descriptions, never values) | secretspec.toml |
devenv inputs add or a minimal YAML edit, then devenv update <input> for each one you changed. A bare devenv update refreshes every input, so run it only when that is the goal. Never hand-edit devenv.lock. To test an input change first, use -o <name> <uri> (--override-input).packages for plain binaries. Use a languages.* module when you need toolchain integration or version selection.scripts.<name> exposes a command in the shell. tasks.<name> is dependency-ordered work. processes.<name> is a long-running program for devenv up.enterShell fast, deterministic, and offline-safe. Don't hide networked or stateful setup there.git-hooks.* is devenv's own pre-commit integration. If the repo also has a .pre-commit-config.yaml, keep one source of truth (the pre-commit skill covers the standalone tool, if installed).env.* values are public. Anything Nix evaluates can land in the store, caches, or logs.devenv.nix, devenv.yaml, or dotenv-backed evaluation.secretspec.toml and let each developer supply values from their own provider. Prefer runtime loading, secretspec run -- <cmd> inside devenv shell, which exposes the secret only to that process. Reading config.secretspec.secrets.<NAME> in devenv.nix puts the value into evaluation, so use it only where a service module requires it and the user accepts that.devenv info to evaluate and inspect the environment.devenv test when the project defines enterTest or git hooks. Add --override-dotfile to run against a temporary .devenv instead of local state.devenv shell -- <command> to run the affected command and the project's focused checks.devenv tasks list, then devenv tasks run <task>. --mode single skips dependencies; the default before runs them first.devenv up -d only when runtime proof is needed. Use devenv processes wait, status <name> or logs <name> to watch readiness, then stop what you started with devenv down. devenv up auto-allocates a free port when one is taken unless --strict-ports is set, so read the actual port from the logs.devenv.lock diff touches only the intended inputs.devenv search <name> and confirm the input provides it on every supported system.devenv test --override-dotfile before deleting generated state. Never delete project data or service volumes as a shortcut. devenv gc deletes old shell generations only; run it when asked.List the files changed, the devenv version targeted, the validation commands run and their results, any processes started and stopped, and any input or lock changes.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin devenv