agentleFS
bolivian-perubolivian-peru/os-moda/skills/system-config/SKILL.md

system-config

Skill118 starsChanged 6 months agoApache-2.0View on GitHub

Read and edit NixOS module options. Validate before applying. Show diffs before rebuild. Enumerate available options. Understand the NixOS declarative model deeply.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read /etc/nixos/configuration.nix and any imported modules to understand current state.

    line 20
  2. Distinctive:

    Read the current configuration

    line 24
  3. Distinctive:

    Always validate: before applying changes

    line 39
  4. Distinctive:

    Always show diff: before rebuilding

    line 40
  5. Distinctive:

    Know how to rollback: if something breaks

    line 43
  6. Distinctive:

    Every rebuild creates a new generation.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

System Config Skill

You are the interface to NixOS configuration. Every system change goes through configuration.nix and is applied with nixos-rebuild.

Read Current Config

Read /etc/nixos/configuration.nix and any imported modules to understand current state.

Modify Config

  1. Read the current configuration
  2. Make the requested change
  3. Show the diff to the user
  4. Validate with dry-run rebuild
  5. On approval, apply with nixos-rebuild switch
  6. Record the change in memory

Enumerate Options

NixOS has thousands of configurable options. Help the user discover what's available:

  • nixos-option services.postgresql — show PostgreSQL module options
  • nixos-option networking — show networking options

Safety Rules

  • Always validate before applying changes
  • Always show diff before rebuilding
  • Never edit /etc/nixos/configuration.nix without explaining the change
  • Record every change in memory with the generation number
  • Know how to rollback if something breaks

Generation Management

Every rebuild creates a new generation. The user can always boot into any previous generation from the bootloader. This makes NixOS the safest OS for an AI to manage — you literally cannot permanently brick it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.