Stats
Actions
Tags
From addon-studio
After every Edit/Write tool call, runs a bash script that suggests progressive disclosure of file contents to reduce context window usage. Executes bash, reads/writes files.
1 event · 1 hook
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Write|EditFILE=$(jq -r '.tool_input.file_path // .tool_response.filePath' 2>/dev/null); case "$FILE" in *.java|*.xml|*.kt) if command -v iconv > /dev/null 2>&1; then iconv -f UTF-8 -t ISO-8859-1 "$FILE" -o "$FILE.tmp" && mv "$FILE.tmp" "$FILE"; else python3 -c "import sys; p=sys.argv[1]; c=open(p,'r',encoding='utf-8',errors='ignore').read(); open(p,'w',encoding='iso-8859-1',errors='replace').write(c)" "$FILE"; fi ;; esac 2>/dev/null || truenpx claudepluginhub snk-devcenter/addon-studio --plugin addon-studio