Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Fix skill discovery

Check the files first

ls -l ~/.claude/skills           # or your agent's directory
ls ~/.claude/skills/nix-workflow  # SKILL.md must be present

If the directory is empty, the module is not enabled for this user, or the system was not rebuilt. With Home Manager as a NixOS module, rebuild with nixos-rebuild, not home-manager switch.

Then check the agent

  • Claude Code, Codex: run /skills. Both document support for symlinked skill directories.
  • OpenCode, Antigravity: ask “Which skills do you have available?”. Neither documents whether it follows symlinked skill directories, and the module installs each skill as a link into /nix/store. If a skill is missing here, please open an issue with the agent version.

Common causes

SymptomCauseFix
OpenCode shows each skill twiceOpenCode also reads ~/.claude/skills and ~/.agents/skillsRemove "opencode" from agents when "claude" or "codex" is selected
Home Manager refuses to create a linkA file or folder already exists at the destinationMove the existing item away; links are never forced
A skill is present but never usedIts description did not match the requestCall it explicitly, see Install the skills
Old guidance after an updateThe agent session started before the rebuildStart a new agent session