一键导入
add-hosthooks
Install composable host extension hooks used by NanoClaw skills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install composable host extension hooks used by NanoClaw skills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | add-hosthooks |
| description | Install composable host extension hooks used by NanoClaw skills. |
Install the package in the NanoClaw repository:
pnpm add nanoclaw-hosthooks
pnpm exec nanoclaw-hosthooks install
pnpm install
pnpm run build
./container/build.sh
pnpm exec nanoclaw-hosthooks verify
The installer adds six generic, append-only extension points:
It computes all five source transforms before writing, commits each file by
atomic rename, and rolls back committed files if a write fails. Re-running
install or upgrade is idempotent.
Hosthooks does not enable product behavior on its own. Install or upgrade the skills that register these hooks, then restart the NanoClaw host. Rebuild the container image whenever runner hooks or their consumers change.
Use pnpm exec nanoclaw-hosthooks verify after NanoClaw upgrades. If anchors
changed, the installer fails without partially patching the host.
See REMOVE.md before uninstalling; webchat and agenttrace may depend on these
capabilities.