The install hook automatically materializes the package’s own agent skills and hooks in a consumer project, which warrants a warning under the agent extension lifecycle rule. The setup is limited to projects declaring this package, preserves edited managed files, and its installed instructions describe ordinary Opus workflows.
Static reason
One or more suspicious static signals were detected.
Trigger
npm install runs the postinstall hook; OPUS_SKIP_INIT=1 skips initialization.
Impact
This is an automatic agent setup change, so users should know their project’s agent configuration may be modified during installation.
Mechanism
The hook invokes project initialization, which materializes Opus skills and hooks and adds package instructions to the project.
Evidence
package.jsonbin/lib/postinstall.mjsbin/lib/init.mjsbin/lib/materialize.mjsregistry/instructions/opus.md.agents/skills/*.claude/skills/*.claude/hooks/opus-check-on-stop.mjs.githooks/pre-push.d/00-opus-copy.githooks/pre-push.d/opus.githooks/run-opus-pre-push.mjs