Download scripts/agentweb-record-hook from Cnass/Claude: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/spaces/Cnass/Claude/resolve/main/scripts/agentweb-record-hook
- Command line
-
hf download hf://spaces/Cnass/Claude/scripts/agentweb-record-hook
-
curl -L -o agentweb-record-hook https://huggingface.co/spaces/Cnass/Claude/resolve/main/scripts/agentweb-record-hook
471 Bytes
| # Claude Code PostToolUse hook for the Bash tool (managed-settings.json): | |
| # `uv tool install` / `pipx install` make virtualenvs, which cannot live on the | |
| # Storage Bucket; the install is recorded and redone at every start | |
| # (agentweb-install). Commands without those words never start node. | |
| input=$(cat) | |
| case "$input" in | |
| *"tool install"* | *"pipx install"*) ;; | |
| *) exit 0 ;; | |
| esac | |
| printf '%s' "$input" | exec node /app/scripts/agentweb-install.js record-hook | |