Event Hooks

telegram-notifier

3 events · 3 hooks

From telegram-notifier
Install
1
Run in your terminal
$
npx claudepluginhub lucklyric/cc-dev-tools --plugin telegram-notifier
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notify.sh CC_TELEGRAM_STOP_MSG 'Claude Code response completed'",
          "timeout": 10,
          "allowedEnvVars": [
            "CC_TELEGRAM_BOT_TOKEN",
            "CC_TELEGRAM_CHAT_ID",
            "CC_TELEGRAM_DRY_RUN",
            "CC_TELEGRAM_STOP_MSG"
          ]
        }
      ],
      "matcher": "*"
    }
  ],
  "Notification": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notify.sh CC_TELEGRAM_NOTIFY_MSG 'Claude Code notification'",
          "timeout": 10,
          "allowedEnvVars": [
            "CC_TELEGRAM_BOT_TOKEN",
            "CC_TELEGRAM_CHAT_ID",
            "CC_TELEGRAM_DRY_RUN",
            "CC_TELEGRAM_NOTIFY_MSG"
          ]
        }
      ],
      "matcher": "*"
    }
  ],
  "SubagentStop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/notify.sh CC_TELEGRAM_SUBAGENT_MSG 'Claude Code subagent completed'",
          "timeout": 10,
          "allowedEnvVars": [
            "CC_TELEGRAM_BOT_TOKEN",
            "CC_TELEGRAM_CHAT_ID",
            "CC_TELEGRAM_DRY_RUN",
            "CC_TELEGRAM_SUBAGENT_MSG"
          ]
        }
      ],
      "matcher": "*"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": false
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "Stop": 1,
    "Notification": 1,
    "SubagentStop": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 3,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Parent Repo Stars26
Parent Repo Forks4
Last CommitMar 6, 2026