no-mistakes(review): Correct Grok scope and opencode path claims in skill docs

This commit is contained in:
Lap Tran committed 2026-10-24 20:12:10 -04:00
1 parent 1a3c38406a
commit b1869a1afd
2 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ The install needs Homebrew's `node`, which `configuration.nix` already declares.
/opt/homebrew/bin/npx --yes skills update security-audit --global --yes
```
Agent scope: the Skills CLI installs the bundle once under `~/.agents/skills/security-audit`, the universal user-level directory that OpenCode, Codex, Pi, and Grok all read, and it links that directory into `~/.claude/skills` for Claude Code. It does not touch `~/.config/opencode/skills`, which home-manager points into the read-only Nix store, and that is why the install uses the shared directory instead.
Agent scope: the Skills CLI installs the bundle once under `~/.agents/skills/security-audit`, the universal user-level directory that Codex, Pi, and OpenCode read, and it links that directory into `~/.claude/skills` for Claude Code. Grok Build is out of scope for this install: its skill directory is `~/.grok/skills`, and the CLI only populates it when `grok` is named in `--agent`. The install leaves `~/.config/opencode/skills` alone because home-manager owns that path with `force = true` and `mkOutOfStoreSymlink` into the mutable dotfiles checkout: a rebuild would clobber the CLI's link, and CLI writes would land in the git checkout. That is why the install uses the shared directory instead.
The activation is idempotent and non-interactive: it skips the install when both the canonical copy and the Claude Code link exist, and a failed download only warns so the rebuild still completes. Trigger it in an agent with "security audit this codebase".