Install/uninstall tts-tg-sync Stop hook to ~/.claude/settings.json. TRIGGERS - tts hooks, install tts hook, tts stop hook.
From tts-tg-syncnpx claudepluginhub terrylica/cc-skills --plugin tts-tg-syncThis skill is limited to using the following tools:
references/evolution-log.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
Manage the Stop hook that sends session-end notifications to Telegram.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
| Hook | Event | Purpose |
|---|---|---|
telegram-notify-stop.ts | Stop | Send session end notification to Telegram |
The Stop hook runs when a Claude Code session ends, sending a notification to your Telegram bot with session details.
| Action | Description |
|---|---|
install | Add Stop hook to settings.json |
uninstall | Remove Stop hook from settings.json |
status | Show current hook configuration |
install, uninstall, status) → execute directlyQuestion: "What would you like to do with the tts-tg-sync Stop hook?"
Options:
- "Install" → "Add Stop hook for Telegram notifications on session end"
- "Uninstall" → "Remove the Stop hook from settings.json"
- "Status" → "Show current hook configuration"
The hook is registered in the plugin's hooks/hooks.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bun $CLAUDE_PLUGIN_ROOT/hooks/telegram-notify-stop.ts",
"timeout": 10000
}
]
}
]
}
}
The plugin system handles hook installation automatically when the plugin is enabled. Manual installation/uninstallation should modify ~/.claude/settings.json hooks section.
IMPORTANT: Restart Claude Code session for changes to take effect.
Hooks are loaded at session start.
| Issue | Cause | Solution |
|---|---|---|
| Hook not firing | Session not restarted | Restart Claude Code session |
| Notification missing | Bot not running | Start bot first |
| Timeout errors | Bot slow to respond | Increase timeout in hooks.json |
| Bun not found | PATH issue in hook env | Add Bun to PATH in hook command |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.