OMC skipHooks config does not suppress PreToolUse/PostToolUse hook system-reminders

Resolved 💬 2 comments Opened Feb 22, 2026 by alanxurox Closed Feb 22, 2026

Bug

skipHooks in ~/.claude/.omc-config.json does not suppress OMC plugin hooks (PreToolUse, PostToolUse, UserPromptSubmit). The hooks continue to fire system-reminders on every tool call despite being listed in skipHooks.

Impact

HIGH — The PostToolUse hook fires "Command failed. Please investigate the error and fix before continuing." on every non-zero bash exit code. This causes Claude to stop and investigate benign failures (e.g., sqlite3 permission denied, git rebase conflicts, expected swift build Sparkle errors) instead of continuing with the task.

Combined with the PreToolUse hooks ("Read multiple files in parallel", "Use parallel execution"), this floods the context with ~5-6 system-reminders per tool call, degrading performance and causing stalls.

Reproduction

  1. Set ~/.claude/.omc-config.json:
{
  "skipHooks": ["keyword-detector", "pre-tool-use", "post-tool-use"]
}
  1. Run any bash command that exits non-zero
  2. Observe: PostToolUse hook still fires "Command failed" system-reminder
  3. Claude stops to investigate instead of continuing

Expected Behavior

Hooks listed in skipHooks should be fully suppressed — no system-reminders injected.

Environment

  • OMC version: 4.2.15
  • Claude Code: latest
  • macOS 15 (Sequoia)

Suggested Fix

Either:

  1. The skipHooks config should match against the actual hook event names used by the plugin
  2. Or provide a suppressSystemReminders config to filter specific hook output patterns

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗