用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/BoringInfraCo/Root --skill root命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | root |
| description | Safe deterministic package management via Root |
Use Root as the safe install layer for developer tools. Root wraps Nix to provide deterministic installs, automatic snapshots, binary verification, and one-command rollbacks.
Use Root whenever a task requires installing or checking system-level developer dependencies:
jq, ripgrep, fd, bat, htop)nodejs, python, ruby, go)typescript-language-server, rust-analyzer)postgresql, redis, sqlite)poppler, ffmpeg, imagemagick)openssl, libxml2, pkg-config)Always follow this sequence when installing a package. Every step uses --json for machine-parseable output.
Doctor — root doctor --json
Check environment health. If healthy is false, warn the user.
Plan — root plan install <pkg> --json
Search nixpkgs for the package. Confirm it exists before installing.
Install — root install <pkg> --json
Install the package. Root automatically creates a pre-install snapshot.
Verify — root verify <pkg> --json
Confirm every binary the package exposes is executable.
Rollback — root rollback --last --json
If verification fails, revert to the snapshot taken before install.
Summarize — Tell the user what changed and whether rollback is available.
brew install — Homebrew is non-deterministic and lacks snapshots.curl ... | sh — Piped scripts are unverifiable.npm install -g or pip install --user — Global language installs fragment the environment.PATH manually — Root manages profile activation through Nix.User: I need to extract text from PDFs.
Agent:
root doctor --json
root plan install poppler --json
root install poppler --json
root verify poppler --json
Summary: Installed poppler via Root (deterministic, snapshot-protected).
pdftotext verified successfully.