nixos-modern-cli SKILL.md skillA
nixos-modern-cli from kihara777/nixkits is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kihara777/nixkits/nixos-modern-cli@git:20260916.a33a3cfPins git:20260916.a33a3cf in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kihara777/nixkits
- Path
skills/nixos-modern-cli/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260916.a33a3cf, committed Sep 16, 2026
- First version recorded
- Jun 4, 2026
- Size
- 8,620 bytes
- Repository stars
- 28
- License
- MIT
在 NixOS 系统上工作时使用。确保正确使用现代 Nix/NixOS CLI、完整的 shell 能力、sudo 权限和正确的系统维护流程;含 Nix store 路径陷阱与密钥/`path:` input 的仓库外组织方式。.
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
# NixOS 现代 CLI 指南 ## 关键认知:NixOS 不是传统 Linux 发行版 NixOS 是一个声明式、不可变的 Linux 发行版。关键区别: - **没有 `/usr/bin`、`/usr/lib`** — 所有软件位于 Nix store(`/nix/store`) - **没有 `apt`、`yum`、`pacman`** — 使用 `nix` 命令或编辑 `/etc/nixos/configuration.nix`(或 flake) - **没有 `/etc/default/grub`、`/etc/fstab`** — 这些由 NixOS 配置生成 - **Shell PATH 默认不含常用工具** — 使用 `nix shell nixpkgs#<pkg>` 获取临时工具 - **`sudo` 正常工作**,`systemctl` 行为与预期一致 - **必须用 `nixos-rebuild`** 应用配置变更 ## 第一步:检查 CLI 能力 获取 shell 访问后,验证可用工具: ```bash # 检查现代 nixos CLI(首选) nixos --help 2>/dev/null && echo "nixos-cli available" # 检查 nix-command(优于传统 nix-* 命令) nix --help 2>/dev/null && echo "nix-command available" ``` ## 现代命令 vs 传统命令 始终优先使用现代等位命令: | 传统命令 | 现代命令(优先) | |----------|----------------| | `nixos-rebuild switch` | `nixos rebuild switch`(有 nixos-cli 时)或 `nixos-rebuild switch` | | `nix-env -iA` | `nix profile install` | | `nix-shell` | `nix shell` | | `nix-build` | `nix build` | | `nix-collect-garbage` | `nix store gc` | | `nix-store --optimise` | `nix store optimise` | | `nix-channel --update` | 使用 flake 则不需要 | 如果有 `nixos-cli`(软件包 `nixos-cli`): ```bash nixos rebuild switch --flake /etc/nixos nixos generation delete --all # 清理旧 generation …
Read the whole file at its exact version.
How to install
mdr add kihara777/nixkits/nixos-modern-cli@sha256:e5e8d2eaea8ebbf6The line at the top of this page pins the label git:20260916.a33a3cf, 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.
[](https://markdownregistry.com/a/art_j67k4u57c76dc52g)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 4, 2026 and Sep 16, 2026, about one every 26 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.a33a3cf latest | 2026-09-16 | a33a3cf | 8,620 B | A | view · diff |
| git:20260721.2fead54 | 2026-07-21 | 2fead54 | 6,734 B | A | view · diff |
| git:20260721.ebf068d | 2026-07-21 | ebf068d | 6,905 B | A | view · diff |
| git:20260606.7dad578 | 2026-06-06 | 7dad578 | 4,611 B | A | view · diff |
| git:20260604.4b103e5 | 2026-06-04 | 4b103e5 | 4,775 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8620 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
kihara777/nixkits · 28 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_j67k4u57c76dc52g GET https://markdownregistry.com/api/v1/resolve?ref=kihara777/nixkits/nixos-modern-cli GET https://markdownregistry.com/api/v1/blob/e5e8d2eaea8ebbf6c9a53eb17b254c3ea7bc92762c81674372a87adea05388ab
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.