Vercel Composition Patterns
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
A skill your agent uses when something in this repo is broken, such as an eval or build error, a failed activation, a crashed service, or an unreachable host or MicroVM guest.
$ npx skills add ryan4yin/nix-config --skill nix-config-debug -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ryan4yin/nix-config nix-config-debug --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nix-config-debug .claude/skills/nix-config-debug && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nix-config-debug" agent skill from https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debug into .claude/skills/nix-config-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nix-config-debug", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debugType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ryan4yin/nix-config --skill nix-config-debug -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ryan4yin/nix-config nix-config-debug --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/nix-config-debug .agents/skills/nix-config-debug && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nix-config-debug" agent skill from https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debug into .agents/skills/nix-config-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nix-config-debug", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ryan4yin/nix-config --skill nix-config-debug -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ryan4yin/nix-config nix-config-debug --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/nix-config-debug .cursor/skills/nix-config-debug && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nix-config-debug" agent skill from https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debug into .cursor/skills/nix-config-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nix-config-debug", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ryan4yin/nix-config.git --path .agents/skills/nix-config-debug--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ryan4yin/nix-config --skill nix-config-debug -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ryan4yin/nix-config nix-config-debug --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/nix-config-debug .gemini/skills/nix-config-debug && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nix-config-debug" agent skill from https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debug into .gemini/skills/nix-config-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nix-config-debug", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ryan4yin/nix-config nix-config-debugInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ryan4yin/nix-config --skill nix-config-debug -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/nix-config-debug .github/skills/nix-config-debug && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nix-config-debug" agent skill from https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debug into .github/skills/nix-config-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nix-config-debug", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ryan4yin/nix-config --skill nix-config-debug -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ryan4yin/nix-config nix-config-debug --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ryan4yin/nix-config.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/nix-config-debug .opencode/skills/nix-config-debug && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nix-config-debug" agent skill from https://github.com/ryan4yin/nix-config/tree/main/.agents/skills/nix-config-debug into .opencode/skills/nix-config-debug/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nix-config-debug", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nix-config-debugA skill your agent uses when something in this repo is broken, such as an eval or build error, a failed activation, a crashed service, or an unreachable host or MicroVM guest.
Nix Config Debug is an agent skill from ryan4yin/nix-config. Use when something in this repo is broken, such as an eval or build error, a failed activation, a crashed service, or an unreachable host or MicroVM guest.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. The repository describes itself as: ❄️ My nix config for both desktops(NixOS+macOS) and homelab servers(NixOS). The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit dc211bb. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
justnixgitsshFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and ssh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nix Config Debug loads about 1.4k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 562 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from ryan4yin/nix-config at commit dc211bb, republished under its MIT licence (© ryan4yin). 562 words, ~1,423 tokens.
.claude/skills/nix-config-debug/SKILL.md (or your agent's skills folder).Follow the global systematic-debugging skill for the process (root cause before any fix). This
skill is only the map: which layer failed, and where to look. Rolling back, isolating a bad input
bump, and the commands that destroy rollback points are in the nix-config-update skill.
sudo, so the user does it.just test says nothing about activation.mkForce
over the failing value.| Layer | Symptom | Look with |
|---|---|---|
| eval | just test fails, an eval error | just eval-host <host> (already passes --show-trace) |
| build | build error, hash mismatch, "marked as broken" | just build-host <host>, then nix log <drv> |
| activation | the deploy fails after building | the deploy output; journalctl -u home-manager-$USER -b for Home Manager |
| runtime | a unit is failed or restarting | just list-failed, systemctl status <unit>, journalctl -u <unit> -b |
| proxy/DNS | proxied sites time out, node and rules look ok | dig +short <site> must return a fake-ip (198.18.x.x); a real IP means the system resolver bypasses dns-hijack — mihomo README Gotchas |
| boot | errors at boot, wrong kernel | journalctl -b -p err; just history for what is booted |
| session | desktop or app misbehaves | journalctl --user -b -p err; the nix-config-desktop skill |
| remote host | anything on a Colmena host | ssh root@<host> journalctl -b -p err, same commands over SSH |
| MicroVM guest | guest down or unreachable | on the VM host: systemctl status microvm@<guest> and microvm-tap-interfaces@<guest>; then br0 |
| secrets | missing or unreadable /etc/agenix/* | the nix-config-secrets skill |
When just test fails, re-run the suite directly to get the trace (nix eval exits 0 even when the
suite returns false, so read its output):
nix eval .#evalTests --show-traceThe trace names the failing test under outputs/<system>/tests/<name>/. Read its expr.nix and
expected.nix, and evaluate the expression to see what actually came out before changing anything.
Most eval-layer questions are "what did this option actually end up as?". Ask the configuration directly instead of reading modules:
nix eval .#nixosConfigurations.<host>.config.<option.path>
nix eval .#nixosConfigurations.<host>.config.systemd.services \
--apply 's: builtins.filter (n: builtins.match "microvm.*" n != null) (builtins.attrNames s)'
nix repl # then `:lf .` and inspect nixosConfigurations.<host>.configRenamed or removed options are the most common eval break after an update; the error or warning names the replacement. Treat deprecation warnings as failures waiting to happen.
git status, git log --oneline -5 -- flake.lock, and git diff flake.lock tell you which. If the
lock moved, isolate the input as described in the nix-config-update skill before reading code.
Preserve unrelated working-tree changes; do not use git checkout, git stash, or cleanup commands
to manufacture a clean tree without authorization.
Re-run the exact command that failed, then just test, then just build-host <host> for every
affected host before anyone deploys. Report the evidence ("the unit is active, just test is
true"), not the intent.
5ee8b728 fix(restic): use the correct systemd timer option names (#319) - an option-name error
that only reading the evaluated value catches quickly.9315055b fix(darwin): unblock home-manager activation - an activation failure that eval and
build both passed.© ryan4yin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/nix-config-debug of ryan4yin/nix-config.
Open the folder on GitHubat commit dc211bb
Nix Config Debug next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Nix Config Debug this skillryan4yin/nix-config | 2.1k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Vercel Composition Patternssupabase/supabase | 111k | 59 repos | ~726 | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT |
supabase/supabase
React composition patterns that scale. An agent skill from supabase/supabase.
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
onyx-dot-app/onyx
Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.
ryan4yin/nix-config
A skill your agent uses when changing the Niri/Noctalia desktop, the Wayland session, input method (fcitx5), theming, fonts, or desktop autostart in this repo.
ryan4yin/nix-config
A skill your agent uses when adding, changing, renaming, or removing an agenix secret, wiring one into a host, or fixing a decryption or activation failure in this repo.
ryan4yin/nix-config
A skill your agent uses when updating flake inputs, bumping nixpkgs, or rolling an update out to hosts in this repo.
ryan4yin/nix-config
A skill your agent uses when temporarily carrying an unmerged nixpkgs pull request or commit in the personal ryan4yin/nixpkgs fork, updating the nixos-unstable-patched branch, or consuming that…
ryan4yin/nix-config
A skill your agent uses when reviewing an upstream NixOS/nixpkgs pull request before it is merged, including its package changes, passthru tests, dependencies, or CI results.
ryan4yin/nix-config
A skill your agent uses when adding a NixOS, macOS, or MicroVM host in this repo, including its outputs, networking, secrets, and eval-test wiring.
Categories
A skill your agent uses when something in this repo is broken, such as an eval or build error, a failed activation, a crashed service, or an unreachable host or MicroVM guest. Nix Config Debug is an agent skill from ryan4yin/nix-config. Use when something in this repo is broken, such as an eval or build error, a failed activation, a crashed service, or an unreachable host or MicroVM guest.
Nix Config Debug fits situations like: something in this repo is broken; such as an eval; A failed activation; A crashed service.
Run `npx skills add ryan4yin/nix-config --skill nix-config-debug -a claude-code`. Or copy the skill folder (.agents/skills/nix-config-debug in ryan4yin/nix-config) into .claude/skills/nix-config-debug in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ryan4yin/nix-config --skill nix-config-debug -a codex`. Or copy the skill folder (.agents/skills/nix-config-debug in ryan4yin/nix-config) into .agents/skills/nix-config-debug in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ryan4yin/nix-config --skill nix-config-debug -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nix-config-debug, .gemini/skills/nix-config-debug, .github/skills/nix-config-debug and .opencode/skills/nix-config-debug in your project.
Going by SKILL.md and its folder, Nix Config Debug needs the command-line tools its instructions call (just, nix, git and ssh).
SKILL.md contains no URLs. Its commands use git and ssh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Nix Config Debug is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Nix Config Debug: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 296k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ryan4yin (a GitHub user) maintains it in ryan4yin/nix-config, which has 2,089 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.
Source: ryan4yin/nix-config on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.