Stats
Actions
Tags
From ultralytics-dev
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 · 6 hooks
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|MultiEdit|Writefile_path=$(jq -r '.tool_input.file_path // empty' 2>/dev/null); if [[ -n "$file_path" && -f "$file_path" ]]; then case "$file_path" in *.py|*.js|*.jsx|*.ts|*.tsx) if [[ "$OSTYPE" == "darwin"* ]]; then sed -i '' 's/^[[:space:]]*$//g' "$file_path" 2>/dev/null || true; else sed -i 's/^[[:space:]]*$//g' "$file_path" 2>/dev/null || true; fi ;; esac; fi${CLAUDE_PLUGIN_ROOT}/hooks/scripts/format_python_docstrings.py${CLAUDE_PLUGIN_ROOT}/hooks/scripts/python_code_quality.py${CLAUDE_PLUGIN_ROOT}/hooks/scripts/prettier_formatting.py${CLAUDE_PLUGIN_ROOT}/hooks/scripts/markdown_formatting.py${CLAUDE_PLUGIN_ROOT}/hooks/scripts/bash_formatting.pynpx claudepluginhub fcakyon/claude-codex-settings --plugin ultralytics-dev