Agent skill

Nix Flake

by r17x in r17x/universe

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

No licenceAuto-check: notes

Install Nix Flake

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

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

GitHub CLI
$ gh skill install r17x/universe nix-flake --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/flake .claude/skills/nix-flake && 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-flake
GitHub stars
151
Token cost
~613 tokens
SKILL.md length
48 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

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

  • SKILL.md covers Flake Structure, nix eval Patterns, nix repl Deep Dive and Input Management, plus 1 more section
  • Calls nix and jq

What it does

Nix Flake is an agent skill from r17x/universe. Debug and evaluate Nix flake expressions

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

The repository describes itself as: let universe speak itself ❄️ ƛ.

Example prompts

  • “/nix-flake”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read

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

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • nix
    • jq

    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 Flake loads about 613 tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 48 words of instructions outside code blocks.

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

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.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read

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 48 words (~613 tokens).

name
nix-flake
allowed-tools
Bash, Read

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit 489dbda

Compare with similar skills

Nix Flake 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 Flake compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nix Flake this skillr17x/universe151—~613Automated safety check: NotesNone
Debugasgeirtj/system_prompts_leaks69k—~439Automated safety check: PassCC0-1.0
Openclaw Debuggingopenclaw/openclaw392k—~1.9kAutomated safety check: PassMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Debugging Toolkitsickn33/agentic-awesome-skills47k1 repos~344Automated safety check: PassMIT
Runtime Debugvercel/next.js143k1 repos~618Automated safety check: PassMIT

Similar skills

  • Debug

    asgeirtj/system_prompts_leaks

    Enable debug logging for this session and help diagnose issues

    69k GitHub stars~439 tokensUpdated yesterday
    Auto-check passed
  • Openclaw Debugging

    openclaw/openclaw

    Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code, including fetching stored…

    392k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Debugging Toolkit

    sickn33/agentic-awesome-skills

    A skill your agent uses when working with debugging toolkit smart debug (Alias for debugging-toolkit-smart-debug)

    47k GitHub starsUsed in 1 repo~344 tokens
    DevelopmentAuto-check passed
  • Runtime Debug

    vercel/next.js

    Official

    Debug and verification workflow for runtime-bundle and module-resolution regressions.

    143k GitHub starsUsed in 1 repo~618 tokens
    DevelopmentAuto-check passed
  • Hypothesis-Driven Debugging

    code-yeongyu/oh-my-openagent

    Runs a hypothesis-driven debugging loop for crashes, hangs and silent failures in any language, grounding every claim in runtime evidence and locking the fix with a test.

    70k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed

More from r17x/universe

  • Nix

    r17x/universe

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

    151 GitHub stars~829 tokensUpdated 4 days ago
    Auto-check: notes
  • 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 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

Questions about Nix Flake

What does Nix Flake do?

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

How do I install Nix Flake in Claude Code?

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

How do I install Nix Flake in Codex?

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

Can I use Nix Flake 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-flake -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-flake, .gemini/skills/nix-flake, .github/skills/nix-flake and .opencode/skills/nix-flake in your project.

What does Nix Flake need to run?

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

Does Nix Flake 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 Flake safe to install?

Our automated static check of SKILL.md found notes only (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 Flake use?

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

How many tokens does Nix Flake use?

About 613 tokens (SKILL.md is roughly 2.5k 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 Flake?

Skills that share tags, products or a category with Nix Flake: Debug (asgeirtj/system_prompts_leaks, 69k stars), Openclaw Debugging (openclaw/openclaw, 392k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Debugging Toolkit (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nix Flake?

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.