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

+11 -7
View File
@@ -319,7 +319,7 @@ in
# Nix's npm (EACCES on the store). Skip when already present so a rebuild
# does not pull a new beta under a live TUI. Activation blocks are inlined
# into one flat script, so never `exit 0` here: that would skip every later
# block (securityAuditSkill, setupLaunchAgents, syncMusic).
# block (backpass, noMistakes, securityAuditSkill, openSuperWhisper).
home.activation.opencode2 = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
set -euo pipefail
npm=/opt/homebrew/bin/npm
@@ -406,12 +406,16 @@ in
# cloudflare/security-audit - vulnerability-hunting skill for the coding agents.
# Installed by the upstream Skills CLI through Homebrew's npx, because the skill
# is a multi-file bundle and an upstream refresh must stay byte-identical.
# Scope: the CLI's "universal" target is ~/.agents/skills, which OpenCode, Codex,
# Pi, and Grok all read as a user-level skill directory; Claude Code reads
# ~/.claude/skills, so the CLI also links the skill there. Never target
# ~/.config/opencode/skills: home-manager owns it and points it into the
# read-only Nix store. Skip when installed, like opencode2/backpass, so a rebuild
# never pulls a new skill version mid-session. Refresh manually with
# Scope: the CLI's "universal" target is ~/.agents/skills, which Codex, Pi, and
# OpenCode read as a user-level skill directory; Claude Code reads
# ~/.claude/skills, so the CLI also links the skill there. 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. Never target
# ~/.config/opencode/skills: home-manager owns that path with force = true and
# mkOutOfStoreSymlink into the mutable dotfiles checkout, so a rebuild would
# clobber the CLI's link and CLI writes would land in the git checkout. Skip
# when installed, like opencode2/backpass, so a rebuild never pulls a new skill
# version mid-session. Refresh manually with
# /opt/homebrew/bin/npx --yes skills update security-audit --global --yes
# The skill's own README still requires an OS-enforced sandbox before it may run
# target-controlled builds, tests, browsers, or fuzzers; this machine has none,