Agent skill

Nix

by r17x in r17x/universe

Nix flakes, nix-darwin, NixOS, and home-manager development assistance

No licenceAuto-check: notes

Install Nix

skills CLI
$ npx skills add r17x/universe --skill nix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install r17x/universe nix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/r17x/universe.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/nix .claude/skills/nix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nix
GitHub stars
151
Token cost
~829 tokens
SKILL.md length
95 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Nix flakes, nix-darwin, NixOS, and home-manager development assistance

  • SKILL.md covers Evaluation & Debugging, Building & Rebuilding, Service Management… and Launchd Configuration Options, plus 3 more sections
  • Calls nix

What it does

Nix is an agent skill from r17x/universe. Nix flakes, nix-darwin, NixOS, and home-manager development assistance

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Linux. The repository describes itself as: let universe speak itself ❄️ ƛ.

Example prompts

  • “/nix”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Grep, Glob, Edit, Write

What it can do on your machine

Read from SKILL.md and the folder at commit 489dbda. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Grep
    • Glob
    • Edit
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • nix

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nix loads about 829 tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 95 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~829

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:58
    sudo nixos-rebuild switch --flake .#<hostname>
  • NoteRuns commands with sudoSKILL.md:59
    sudo nixos-rebuild boot --flake .#<hostname>
  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Grep, Glob, Edit, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 95 words (~829 tokens).

“For reducing CPU/IO priority in nix-darwin:”

— opening of SKILL.md by r17x
name
nix
allowed-tools
Bash, Read, Grep, Glob, Edit, Write

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/nix of r17x/universe.

Open the folder on GitHubat commit 489dbda

Compare with similar skills

Nix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nix this skillr17x/universe151—~829Automated safety check: NotesNone
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Engine Whats Newflutter/flutter179k—~978Automated safety check: PassBSD-3-Clause
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT
Upgrade Browserflutter/flutter179k—~1.1kAutomated safety check: PassBSD-3-Clause
K8s Security PoliciesCybereason-Public/owLSM28012 repos~2kAutomated safety check: PassGPL-2.0

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    179k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Upgrade Browser

    flutter/flutter

    Upgrade browser versions (Chrome or Firefox) in the Flutter Web Engine and/or Framework tests.

    179k GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed
  • K8s Security Policies

    Cybereason-Public/owLSM

    Comprehensive guide for implementing NetworkPolicy, PodSecurityPolicy, RBAC, and Pod Security Standards in Kubernetes.

    280 GitHub starsUsed in 12 repos~2k tokens
    Backend & APIsAuto-check passed
  • Apple Container Test Runner

    RustPython/RustPython

    Runs RustPython tests inside a Linux container built with Apple's container CLI, so macOS users can compare Linux results with their local ones.

    22k GitHub stars~467 tokensUpdated today
    Testing & QAAuto-check passed

More from r17x/universe

  • Nix Debug

    r17x/universe

    Deep debugging of Nix expressions, evaluation, and derivations

    151 GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check: notes
  • Nix Flake

    r17x/universe

    Debug and evaluate Nix flake expressions. An agent skill from r17x/universe.

    151 GitHub stars~613 tokensUpdated 4 days ago
    Auto-check: notes
  • Nix Module

    r17x/universe

    Create and structure Nix modules for darwin, NixOS, or home-manager

    151 GitHub stars~599 tokensUpdated 4 days ago
    Auto-check passed
  • Nix Service

    r17x/universe

    Manage nix-managed launchd and systemd services. An agent skill from r17x/universe.

    151 GitHub stars~513 tokensUpdated 4 days ago
    Auto-check: notes

Works with

Questions about Nix

What does Nix do?

Nix flakes, nix-darwin, NixOS, and home-manager development assistance. Nix is an agent skill from r17x/universe.

How do I install Nix in Claude Code?

Run `npx skills add r17x/universe --skill nix -a claude-code`. Or copy the skill folder (.claude/skills/nix in r17x/universe) into .claude/skills/nix in your project. Claude Code loads it when a task matches its description.

How do I install Nix in Codex?

Run `npx skills add r17x/universe --skill nix -a codex`. Or copy the skill folder (.claude/skills/nix in r17x/universe) into .agents/skills/nix in your project. Codex loads it when a task matches its description.

Can I use Nix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add r17x/universe --skill nix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nix, .gemini/skills/nix, .github/skills/nix and .opencode/skills/nix in your project.

What does Nix need to run?

Going by SKILL.md and its folder, Nix needs the command-line tools its instructions call (nix). Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Edit, Write.

Does Nix access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nix safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Nix use?

No licence was found for Nix or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Nix use?

About 829 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nix?

Skills that share tags, products or a category with Nix: Configuring Horizon (coollabsio/coolify, 63k stars), Engine Whats New (flutter/flutter, 179k stars), Openclaw Live Updater (openclaw/openclaw, 392k stars) and Upgrade Browser (flutter/flutter, 179k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nix?

r17x (a GitHub user) maintains it in r17x/universe, which has 151 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 4, 2026.

Source: r17x/universe on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.