Stats
Actions
Tags
From forge-mcp
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 · 3 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
Write|Editif echo "$TOOL_INPUT" | grep -q 'src/tools/'; then echo '⚠ Tool file modified. Run /forge-mcp:mcp-audit to check for security issues.' >&2; fi5000msWrite|Editif echo "$TOOL_INPUT" | grep -q 'src/index.ts'; then echo '⚠ Server entry modified. Run npm run typecheck to verify.' >&2; fi5000msWriteif echo "$TOOL_INPUT" | grep -q 'src/tools/'; then FILE=$(echo "$TOOL_INPUT" | grep -o 'src/tools/[^ ]*\.ts'); if [ -f "$FILE" ] && ! grep -q '.describe(' "$FILE"; then echo '⚠ Tool schema missing .describe() on fields. Every field needs a description for AI consumption.' >&2; fi; fi5000msnpx claudepluginhub randyquaye/forge-mcp --plugin forge-mcp