Nix Setup

Set up or troubleshoot requested or existing Nix environments, including flakes, buildNpmPackage, direnv, CI, and per-language templates. Use the devbox reference only when the project already uses devbox or the user explicitly selects it; do not introduce devbox by default for new projects.

423 stars 6 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add mizchi/skills --skill nix-setup
Manual install
git clone --depth 1 https://github.com/mizchi/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/nix-setup ~/.claude/skills/nix-setup

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Nix Setup Skill

Reference for setting up reproducible development environments. Two paths share the same Nix backend:

- **devbox** — an optional Nix-based workflow for projects that already use it or users who explicitly select it.
- **pure flake.nix** — full Nix expression power; per-language templates ship under `assets/` for `cp`-and-go bootstrap.

## Decision: devbox or pure flake?

Preserve the existing project environment. A request for a reproducible setup does not by itself select devbox or require introducing Nix. When Nix is requested or already in use, choose from the project's requirements:

| When | Use |
|---|---|
| Existing environment configuration | Retain the selected tool and lockfile |
| User explicitly selects devbox, or the project already uses it | **devbox** |
| New project without an environment-tool choice | Follow the requested toolchain; do not introduce devbox automatically |
| Need a custom derivation, input override, overlay, or `buildNpmPackage` | **flake.nix** |
| Need `flake.lock` as the authoritative reproducibility source (vs `devbox.lock`) | **flake.nix** |
| Targeting Claude Code web / sandboxed env where the devbox installer is too heavy | **flake.nix** with `setup_nix.sh` |
| Already own a working flake; team uses direnv | **flake.nix** |

`devbox.json` packages map near-1:1 to nixpkgs attribute paths, so switching to flake.nix later is straightforward.
Read the full skill on GitHub

Details

Skill name
nix-setup
Repository
mizchi/skills
Path
nix-setup/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Nix Setup skill do?

Set up or troubleshoot requested or existing Nix environments, including flakes, buildNpmPackage, direnv, CI, and per-language templates. Use the devbox reference only when the project already uses devbox or the user explicitly selects it; do not introduce devbox by default for new projects.

How do I install the Nix Setup skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add mizchi/skills --skill nix-setup. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Nix Setup popular?

It lives in mizchi/skills, which has 423 GitHub stars and 6 forks.

Related skills

Actions CI Tuning

423

mizchi/skills

Use when auditing or improving GitHub Actions workflows for a project. Covers cache setup (npm/pnpm/yarn), job parallelism, shard-based test splitting, artifact handling pitfalls, and Playwright-specific patterns. Trigger on: slow CI, cache miss, flaky shard jobs, merge-reports failures, or an explicit 'tune CI' request.

Testing & QA

AI Index

423

mizchi/skills

Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English. Two layers — a deterministic lint for removable surface tells (scripts/slopscore.py, no API) and a judgment layer of typed probabilistic questions (Jev noul/score) for the tells that survive editing. Includes measured human/AI baselines, a gap-first calibration procedure, and labeled fixtures. Use when building or calibrating an AI-likeness score, or when a draft needs a defensible number rather than a vibe. For writing guidance use natural-writing-ja / natural-writing-en instead.

AI, LLMs & Agents

Apm Usage

423

mizchi/skills

Reference for APM manifests, installation, targeted updates, deployment paths and lockfiles. Invoke when the user explicitly asks about APM or apm.yml, or an unfamiliar APM command/error needs exact CLI details. Do not automatically invoke for every project that happens to have installed skills.

DevOps & Cloud

Okx Cex Trade

201

okx/agent-skills

Use when the user asks to 'buy BTC', 'sell ETH', 'place a limit order', 'place a market order', 'cancel my order', 'amend my order', 'long BTC perp', 'short ETH swap', 'open a position', 'close a position', 'set take profit', 'limit take profit', 'immediate TP', 'set stop loss', 'self-trade prevention', 'stpMode', 'auto-cancel on close', 'trailing stop', 'pending order', 'chase order', 'iceberg', 'TWAP', 'split order', 'large order', 'set leverage', 'check my orders', 'fill history', 'buy a call', 'sell a put', 'option chain', 'implied volatility', 'IV', 'Greeks', 'delta', 'gamma', 'event cont

Other29

Mcloud Variables

237

medusajs/medusa-agent-skills

Execute mcloud variables commands to list, get, set, and delete environment variables for a Cloud environment. Use when inspecting, reading, creating, updating, deleting, or exporting environment variables. Never pass --reveal unless the user explicitly requests secret values.

Other29

New Modular Project

213

modular/skills

Creates a new Mojo or MAX project. Use when wanting to start a new Mojo or MAX project, initializing the `pixi` or `uv` environment to use Mojo or MAX, or when the user wants to begin a new Mojo or MAX project from scratch.

Other22

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.