nix-agent SKILL.md skillA

nix-agent from jeff7712/nix-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jeff7712/nix-agent/nix-agent@git:20261022.0627ab3

Pins git:20261022.0627ab3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jeff7712/nix-agent
Path
skills/nix-agent/SKILL.md
Versions recorded
9
Latest version
git:20261022.0627ab3, committed Oct 22, 2026
First version recorded
Jul 13, 2026
Size
19,451 bytes
Repository stars
17
License
MIT

Operate on this machine's NixOS or Home Manager configuration with the nix-agent MCP tools (build, diff, switch, generations, eval_config, locate_option, check). Use when changing packages, options, or modules; diagnosing a failed build or switch; rolling back a generation; or asking what the live config currently resolves to. Requires the nix-agent MCP server (usually alongside mcp-nixos).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Nix Agent

## Overview

`nix-agent` MCP tools do not edit configuration files. They build, diff, switch,
and manage generations (the operational core), and evaluate, locate, and
check the live config (introspection), handing every result back as a
compact JSON envelope. Read the envelope: it already holds what you would
otherwise re-fetch by hand.

Division of labor:
- **Your native tools** (Read/Edit/Write) edit `.nix` files.
- **`mcp-nixos`** discovers packages and options (what exists, what it means).
- **`nix-agent`** operates on the user's actual configuration (what their machine resolves, whether it builds, what a switch would change).

Default is apply for local activation: after a config change, `diff()`
then `switch()` without waiting, unless the user asked to preview or check.
Follow the repository's deployment workflow for coordinated fleet rollout.

## Check tool availability

Inspect the session's exposed tool catalog, or the host's MCP tool-discovery
facility, once for this server's seven tools before planning around them.
This needs no build, check, or activation call. A skill, installed binary,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jeff7712/nix-agent/nix-agent@sha256:c549c6732103d8d3

The line at the top of this page pins the label git:20261022.0627ab3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_broblhqwu7stcel5.svg)](https://markdownregistry.com/a/art_broblhqwu7stcel5)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Jul 13, 2026 and Oct 22, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261022.0627ab3 latest2026-10-22 0627ab3 19,451 BA view · diff
git:20261022.2ae504f2026-10-22 2ae504f 19,259 BA view · diff
git:20261015.948c7202026-10-15 948c720 19,143 BA view · diff
git:20261002.aeffd5a2026-10-02 aeffd5a 12,789 BA view · diff
git:20260822.d1c961b2026-08-22 d1c961b 11,414 BA view · diff
git:20260812.3ff59fa2026-08-12 3ff59fa 9,676 BA view · diff
git:20260812.58be3582026-08-12 58be358 10,036 BA view · diff
git:20260812.7f0dea22026-08-12 7f0dea2 7,913 BA view · diff
git:20260713.0d12db02026-07-13 0d12db0 7,473 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (19451 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jeff7712/nix-agent · 17 stars · license MIT · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_broblhqwu7stcel5
GET https://markdownregistry.com/api/v1/resolve?ref=jeff7712/nix-agent/nix-agent
GET https://markdownregistry.com/api/v1/blob/c549c6732103d8d3d60ef4e840acb0766535c9eed62fc0f68e5728cceee3260e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jeff7712/nix-agent

nix-agent-init SKILL.md skill
jeff7712/nix-agent · skills/nix-agent-init/SKILL.md · Onboard an unfamiliar NixOS or Home Manager flake by running nix-agent inspect-flake and generating AGENT_MAP.md…
git:20260822.d1c961b · audit A · 17 stars

Every file in jeff7712/nix-agent

Browse by kind, by grade A, or by owner.