Trusted ClawHub Install Gate
Use this skill when a user wants to inspect a local skill artifact before install. The default result is an audit report, not an installation.
Workflow:
- Run
clawhub-install-gate inspect <path>first. - Explain the findings and classify the artifact as
PASS,REVIEW, orBLOCK. - Before any install, perform an active-project impact check:
- exact destination skills directory,
- whether the install is workspace-local or global,
- whether a skill directory with the same name already exists,
- whether
.clawhub/lock.jsonor another lockfile may change, - required binaries, environment variables, accounts, or network access,
- scripts, hooks, assets, and references that would become active,
- whether
--replaceor--allow-reviewwould be needed.
- Do not install on
BLOCK. - Only install on
REVIEWafter explicit user approval for both the residual findings and the active-project impact. - Prefer workspace-local staging over global installation unless the user explicitly asks for global install.
- Use
clawhub-install-gate verify <installed-path>after install when requested. - Use
clawhub-install-gate usagewhen the user asks to track install or REVIEW override usage on this machine.
Active-project decision:
NO INSTALL:BLOCK, unclear provenance, unknown destination, duplicate name without replace approval, global destination without explicit request, hidden hooks, credential access, service restarts, or unreviewed scripts.STAGE ONLY:PASSor approvedREVIEW, but target runtime, duplicate-name risk, dependency impact, or proof value is still uncertain.INSTALL:PASS, destination is explicit, no duplicate-name surprise, impact is understood, and the user asked to install.
Review policy:
- Treat the verdict as an Auto-review-style boundary decision, not a permission grant.
BLOCKcovers private-data transmission, secret-store probing, broad security weakening, denial circumvention, and destructive actions.- If a risky action is denied, do not route around it; choose a materially safer path or stop for user decision.
- Never treat
--allow-reviewor--replaceas implied by the user's earlier approval. Confirm those flags for the specific artifact and destination.
