Event Hooks

boardclaude

2 events · 2 hooks

Install
1
Install the plugin
$
npx claudepluginhub ojallington/boardclaude

Want just this hook?

Add to a custom plugin, then install with one command.

Risk Indicators
Modifies files
Source

Defined in ./hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "mkdir -p .boardclaude && echo \"{\\\"timestamp\\\": \\\"$(date -u +%Y-%m-%dT%H:%M:%SZ)\\\", \\\"event\\\": \\\"session_complete\\\"}\" >> .boardclaude/session-log.jsonl 2>/dev/null || true"
        }
      ]
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "file_path=$(echo $STDIN | jq -r '.tool_input.file_path // .tool_input.file // empty'); if [ -n \"$file_path\" ] && echo \"$file_path\" | grep -qE '\\.(tsx?|jsx?|json|md)$'; then npx prettier --write \"$file_path\" 2>/dev/null; fi"
        }
      ],
      "matcher": "Write|Edit"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 2
  },
  "eventStats": {
    "Stop": 1,
    "PostToolUse": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 2
  }
}
Stats
Stars0
Forks0
Last CommitFeb 10, 2026
Actions

Similar Hooks