/plugin marketplace add sidhusmart/agent-reachout/plugin install sidhusmart-agent-reachout@sidhusmart/agent-reachoutDefined inline in plugin.json manifest
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "FIRST check if the user mentioned 'telegram mode', 'notify me on telegram', 'notify me', or 'I'm stepping away' near the START of this conversation. If they did NOT mention any of these phrases, do absolutely nothing. If they DID, SILENTLY evaluate if you should notify the user - ONLY use notify_user if you completed significant work or encountered a blocker. Do NOT output any text - either notify or do nothing."
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "prompt",
"prompt": "FIRST check if the user mentioned 'telegram mode', 'notify me on telegram', 'notify me', or 'I'm stepping away' near the START of this conversation. If they did NOT mention any of these phrases, proceed with AskUserQuestion normally as if this hook did not exist. If they DID, do NOT use AskUserQuestion - instead use the send_message tool with provider='telegram' and wait_for_response=true to ask the user via Telegram."
}
],
"matcher": "AskUserQuestion"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 2
},
"eventStats": {
"Stop": 1,
"PreToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}