Event Hooks
Community

ndf

2 events · 2 hooks

Install
1
Install the plugin
$
npx claudepluginhub takemi-ohama/ai-plugins --plugin ndf

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/slack-notify.js session_end",
          "description": "Send Slack notification when Claude Code exits"
        }
      ]
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "if [ -f \"${workspaceFolder}/CLAUDE.ndf.md\" ] || [ -f \"$HOME/.claude/CLAUDE.ndf.md\" ]; then echo '[NDF] CLAUDE.ndf.md が検出されました。廃止済みです。/ndf:cleanup を実行して削除してください。'; fi",
          "description": "Warn about deprecated CLAUDE.ndf.md",
          "suppressOutput": false,
          "continueOnError": true
        }
      ],
      "description": "Detect deprecated CLAUDE.ndf.md and warn user"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 2
  },
  "eventStats": {
    "Stop": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 1,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 2
  }
}
Stats
Stars0
Forks0
Last CommitMar 8, 2026

Similar Hooks