Agent skill

Nix Module

by r17x in r17x/universe

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

No licenceAuto-check passed

Install Nix Module

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

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

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

At a glance

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

  • Works in 6 steps: Use lib.mkEnableOption for enable flags → Use lib.mkDefault for overridable defaults → Use lib.mkForce sparingly, only when… → …
  • SKILL.md covers Module Template, Common Option Types, Module Patterns and Darwin-specific, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Nix Module is an agent skill from r17x/universe. Create and structure Nix modules for darwin, NixOS, or home-manager

Its SKILL.md is about 600 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-module”

Requirements

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

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Use lib.mkEnableOption for enable flags
  2. Use lib.mkDefault for overridable defaults
  3. Use lib.mkForce sparingly, only when necessary
  4. Keep modules focused on single responsibility
  5. Document options with description
  6. Use lib.getExe for binary paths

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:

    • Read
    • Write
    • Edit
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are 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 Module loads about 599 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 69 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 69 words (~599 tokens).

name
nix-module
allowed-tools
Read, Write, Edit, Glob

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit 489dbda

Compare with similar skills

Nix Module 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 Module compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nix Module this skillr17x/universe151—~599Automated safety check: PassNone
Es Modulesthedaviddias/Front-End-Checklist74k—~482Automated safety check: PassMIT
Devcontainers Nixsickn33/agentic-awesome-skills47k1 repos~2.6kAutomated safety check: PassMIT
Splitting Oversized ModulesPostHog/posthog40k—~2.2kAutomated safety check: PassCustom licence
Abp Moduleabpframework/abp14k—~1.6kAutomated safety check: PassLGPL-3.0
Extract ModuleJetBrains/intellij-community21k—~5.2kAutomated safety check: PassCustom licence

Similar skills

  • Es Modules

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing scripts, client components, bundles, or runtime behavior related to Use ES modules (import/export).

    74k GitHub stars~482 tokensUpdated 2 days ago
    Auto-check passed
  • Devcontainers Nix

    sickn33/agentic-awesome-skills

    Create reproducible development environments with Dev Containers, Nix flakes, and Devbox for consistent toolchains across teams.

    47k GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check passed
  • Official

    Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior.

    40k GitHub stars~2.2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Abp Module

    abpframework/abp

    ABP reusable Module solution template - EF Core + MongoDB dual support, virtual methods for extensibility, DbTablePrefix, module options pattern, entity extension, separate connection string.

    14k GitHub stars~1.6k tokensUpdated today
    DatabasesAuto-check passed
  • Extract Module

    JetBrains/intellij-community

    Official

    Extract optional plugin dependencies into IntelliJ content modules.

    21k GitHub stars~5.2k tokensUpdated today
    MobileAuto-check passed
  • Module Dependencies

    JetBrains/intellij-community

    Official

    Add or modify IntelliJ module dependencies in .iml files. An agent skill from JetBrains/intellij-community.

    21k GitHub stars~2.3k tokensUpdated today
    MobileAuto-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 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 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 Module

What does Nix Module do?

Create and structure Nix modules for darwin, NixOS, or home-manager. Nix Module is an agent skill from r17x/universe.

How do I install Nix Module in Claude Code?

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

How do I install Nix Module in Codex?

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

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

What does Nix Module need to run?

SKILL.md names no scripts, command-line tools or credentials: Nix Module is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob.

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

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nix Module use?

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

How many tokens does Nix Module use?

About 599 tokens (SKILL.md is roughly 2.4k 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 Module?

Skills that share tags, products or a category with Nix Module: Es Modules (thedaviddias/Front-End-Checklist, 74k stars), Devcontainers Nix (sickn33/agentic-awesome-skills, 47k stars), Splitting Oversized Modules (PostHog/posthog, 40k stars) and Abp Module (abpframework/abp, 14k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nix Module?

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.