"Read-only check that node resolves for the discovery WebFetch truncation hook and that the hook is registered. Use when a hook notice says node is missing, or before assuming the truncation hook ran. Does not install."
Resources
2Install
npx skillscat add melodic-software/claude-code-plugins/plugins-discovery-skills-check Install via the SkillsCat registry.
Purpose
Run the read-only check. Do not install Node.js, do not download anything, and do not edit hooks/hooks.json.
This plugin treats a failed row as the truncation hook not running: a truncated WebFetch result then reaches Claude with no added note.
- Pointer: when deciding what a hook that cannot start does to the tool call, fetch hooks: other exit codes live. As of: 2026-10-11. Recheck trigger: that section changes how a hook that cannot start is treated.
Check
Run ${CLAUDE_SKILL_DIR}/scripts/check.sh through Bash, with no arguments; it refuses any. It prints one check<TAB>PASS|FAIL<TAB>detail row each for:
- node:
noderesolves onPATH, with its version. - registration: one
PostToolUseentry inhooks/hooks.jsonmatchesWebFetchand runsnodeonhooks/webfetch-truncation.mjs, and that file exists. Withoutnodethis row is a text match and says so. - hook: the hook flags a sample WebFetch result that ends in a truncation marker. It runs only when
noderesolves.
Report the rows as a PASS/FAIL table. On a node FAIL, give the install route from ${CLAUDE_PLUGIN_ROOT}/prerequisites.json. When any row fails, say that the truncation hook is not running in this session. Stop.
Next
/discovery:read-docs
Only when the user was about to read a docs page. A failing check has no successor in this plugin.
Gotchas
This skill does not install. A hook notice is not permission to install Node.js or to change the hook registration.