nix-config-secrets SKILL.md skillB

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

Install it, pinned
mdr add ryan4yin/nix-config/nix-config-secrets@git:20261010.0e70582

Pins git:20261010.0e70582 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
ryan4yin/nix-config
Path
.agents/skills/nix-config-secrets/SKILL.md
Versions recorded
9
Latest version
git:20261010.0e70582, committed Oct 10, 2026
First version recorded
Oct 2, 2026
Size
10,673 bytes
Repository stars
2,104
License
MIT

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

# Working with secrets

Secrets are age-encrypted files in the private repository `~/codes/nix-secrets`
(`git@github.com:ryan4yin/nix-secrets.git`), pulled in as the `mysecrets` flake input and declared
here in `secrets/nixos.nix` and `secrets/darwin.nix`. No secret value or ciphertext is ever stored
in this public repository.

Read [secrets/README.md](../../../secrets/README.md) for the concepts and the recipient rule.

## Which flow a file belongs to

Two age flows live in `~/codes/nix-secrets`, and a file belongs to exactly one.

- **agenix** (`secrets.nix`): static and one-way, repository → host, decrypted at activation.
  Consumed as `/run/agenix/<name>` or an `environment.etc` copy; needs a `flake.lock` bump.
- **dotfiles sync** (`dotfiles/`): changes on the host; `save`/`restore` are manual, outside Nix.
  Consumed as a real file under `$HOME`, edited by hand or by its tool; **no** lock bump.

agenix is for the secrets that barely change and that a Nix module or service reads from the
decrypted path. Everything else is a synced dotfile: Nix does not read it, it changes often, or it
is a config file its tool keeps rewriting that happens to carry a few secrets inside. The pin
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ryan4yin/nix-config/nix-config-secrets@sha256:93b40eda8820afa3

The line at the top of this page pins the label git:20261010.0e70582, 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_oxa54kq5xojalcuo.svg)](https://markdownregistry.com/a/art_oxa54kq5xojalcuo)

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

Versions

The registry has recorded 9 versions of this file, between Oct 2, 2026 and Oct 10, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261010.0e70582 latest2026-10-10 0e70582 10,673 BB view · diff
git:20261010.a2cfa552026-10-10 a2cfa55 11,587 BB view · diff
git:20261009.0e124402026-10-09 0e12440 12,448 BB view · diff
git:20261002.0c8f0fe2026-10-02 0c8f0fe 9,066 BB view · diff
git:20261002.9c441172026-10-02 9c44117 8,383 BB view · diff
git:20261002.1a10e652026-10-02 1a10e65 8,176 BB view · diff
git:20261002.2b0f01d2026-10-02 2b0f01d 7,264 BB view · diff
git:20261002.68ea04f2026-10-02 68ea04f 7,108 BB view · diff
git:20261002.b2ec56d2026-10-02 b2ec56d 7,014 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Frontmatter declares a description
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Size between 200 bytes and 200 KB (10673 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

ryan4yin/nix-config · 2,104 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_oxa54kq5xojalcuo
GET https://markdownregistry.com/api/v1/resolve?ref=ryan4yin/nix-config/nix-config-secrets
GET https://markdownregistry.com/api/v1/blob/93b40eda8820afa3613ce7a6a5857aba3fd5dc3f504cc83a30b22341e3f79c8e

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 ryan4yin/nix-config

nix-config-debug SKILL.md skill
ryan4yin/nix-config · .agents/skills/nix-config-debug/SKILL.md · Use when something here is broken or stops working: an eval or build error, a failed activation, a dead or restarting…
git:20261010.9d69832 · audit A · 2,104 stars
nix-config-desktop SKILL.md skill
ryan4yin/nix-config · .agents/skills/nix-config-desktop/SKILL.md · Use when changing what the desktop shows or runs: Niri/Noctalia config, a window that is the wrong size, garbled, or…
git:20261010.d808dd9 · audit A · 2,104 stars
nix-config-new-host SKILL.md skill
ryan4yin/nix-config · .agents/skills/nix-config-new-host/SKILL.md
git:20261010.0e70582 · audit B · 2,104 stars
nix-config-umu-game SKILL.md skill
ryan4yin/nix-config · .agents/skills/nix-config-umu-game/SKILL.md
git:20261010.0e70582 · audit B · 2,104 stars
nix-config-update SKILL.md skill
ryan4yin/nix-config · .agents/skills/nix-config-update/SKILL.md · Use when a version changes here: upgrading or updating a package or nixpkgs, bumping or pinning a flake input (a tag or…
git:20261010.0e70582 · audit A · 2,104 stars
nixpkgs-patched SKILL.md skill
ryan4yin/nix-config · .agents/skills/nixpkgs-patched/SKILL.md
git:20261010.a2cfa55 · audit B · 2,104 stars
nixpkgs-review SKILL.md skill
ryan4yin/nix-config · .agents/skills/nixpkgs-review/SKILL.md
git:20261010.0e70582 · audit B · 2,104 stars
AGENTS.md AGENTS.md file
ryan4yin/nix-config · AGENTS.md
git:20261014.72a7a2a · audit A · 2,104 stars
find-docs SKILL.md skill
ryan4yin/nix-config · agents/skills/find-docs/SKILL.md · Look up current documentation and code examples for a library, framework, SDK, CLI tool, or cloud service with the…
git:20261010.7b21ea5 · audit A · 2,104 stars
git-delivery SKILL.md skill
ryan4yin/nix-config · agents/skills/git-delivery/SKILL.md
git:20261010.7bba1ab · audit B · 2,104 stars
review-comments-and-docs SKILL.md skill
ryan4yin/nix-config · agents/skills/review-comments-and-docs/SKILL.md
git:20261011.f32d67a · audit B · 2,104 stars

Every file in ryan4yin/nix-config

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