Stats
Actions
Tags
From python
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
Edit|Writejq -r '.tool_input.file_path' | { read file_path; if echo "$file_path" | grep -q '\.py$'; then ruff format "$file_path" 2>/dev/null; ruff check --fix --unsafe-fixes "$file_path" 2>/dev/null; mypy "$file_path" --no-error-summary 2>/dev/null | head -20; fi; } || truenpx claudepluginhub ruslan-korneev/claude-plugins --plugin python