The postinstall hook automatically installs bundled agent skills into the user’s Claude skills directory and removes matching existing directories before copying. Because this is limited to the package’s own skills, classify it as an agent extension lifecycle risk and warn rather than block.
Static reason
One or more suspicious static signals were detected.
Trigger
npm postinstall, when cli/main.ts is absent and the bundled skills directory exists.
Impact
Claude agent skills can be changed without a separate user request, and existing same-named skill content can be lost.
Mechanism
The hook invokes the CLI’s install-skills command without an output argument; the command defaults to ~/.claude/skills, removes same-named directories there, then copies in bundled skills.
Evidence
package.jsonbin/postinstall.mjsbin/hacdist/chunks/install-skills-DZZC4RH7.js~/.claude/skills