Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By tenfyzhongv0.1.0+codex.20260810104504MITIn 1 marketplace
Notify a webhook or Telegram when interactive agent runs finish.
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Agent Notifier supports Codex, Claude Code, pi, oh-my-pi, and Antigravity CLI (agy). It posts a
completion notification after an interactive agent run finishes and no queued
continuation remains. The notification includes the remaining 5-hour and
weekly quota when available.
Two channels are supported:
When AGENT_NOTIFIER_WEBHOOK_URL is configured, the webhook is used and
Telegram is ignored. Otherwise Telegram is used when its credentials are
configured. If neither is configured, delivery is silently skipped.
Set the webhook endpoint in the environment inherited by the agent process:
export AGENT_NOTIFIER_WEBHOOK_URL="https://example.com/hooks/agent-finished"
Or store it in password-store so no secret sits in shell history or dotfiles:
pass insert agent-notifier/webhook-url
You may choose a different entry with AGENT_NOTIFIER_WEBHOOK_PASS_ENTRY. The
worker POSTs the notification as JSON with content-type: application/json:
{
"host": "Codex",
"event": "Stop",
"timestamp": "2026-08-14 08:00:00",
"model": "gpt-5.2-codex",
"sessionId": "session-1",
"cwd": "/tmp/project",
"transcriptPath": "/tmp/project/.codex/sessions/session-1.jsonl",
"lastMessage": "done",
"rateLimits": {
"fiveHour": { "usedPercent": 25, "resetsAt": 3000 },
"weekly": { "usedPercent": 40, "resetsAt": 4000 }
}
}
Optional fields (model, sessionId, cwd, transcriptPath, lastMessage,
rateLimits) are omitted when unavailable. rateLimits uses percentages of
the window already used; resetsAt is a Unix timestamp.
No credentials are stored in the plugin. The recommended setup uses password-store:
pass insert agent-notifier/telegram-bot-token
pass insert agent-notifier/telegram-chat-id
You may choose different entries by setting TELEGRAM_BOT_TOKEN_PASS_ENTRY and
TELEGRAM_CHAT_ID_PASS_ENTRY. Alternatively, set TELEGRAM_BOT_TOKEN and
TELEGRAM_CHAT_ID in the environment inherited by the agent process.
If credentials are unavailable, delivery is silently skipped. Set
AGENT_NOTIFIER_DEBUG=1 to surface worker launch errors where the host exposes
hook stderr or UI notifications. Background delivery failures are not reported
to the foreground.
Completion notifications run in a detached background worker, so credential lookup and delivery do not delay the agent's foreground process. Delivery is best-effort: a worker interrupted by immediate host shutdown may not finish sending its notification.
Non-interactive runs, including codex exec, Claude Code print/SDK sessions,
and pi or oh-my-pi print, JSON, and RPC modes, do not send notifications.
Notification workers enable Node.js environment-proxy support on every host,
so delivery honors inherited HTTP_PROXY, HTTPS_PROXY, NO_PROXY, and
lowercase equivalents.
Codex notifications include the remaining 5-hour and weekly quota automatically. The detached notification worker reads the latest rate-limit snapshot from the current Codex transcript. No additional network request or credential access is required.
Claude Code exposes subscription rate limits to status-line commands rather than Stop hooks. To include them in notifications, find the installed plugin path:
claude plugin list --json | jq -r '.[] | select(.id | startswith("agent-notifier@")) | .installPath'
Then configure the absolute path in ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "node \"/absolute/path/to/agent-notifier/hooks/claude-statusline.mjs\""
}
}
The adapter displays the remaining quota in the status line and caches the latest snapshot by session for the worker. Claude Code provides these fields only for Claude.ai Pro and Max subscriptions after the first API response.
To preserve an existing status-line command, have the adapter proxy it after updating the cache:
{
"statusLine": {
"type": "command",
"command": "AGENT_NOTIFIER_STATUSLINE_COMMAND='~/.claude/statusline.sh' node \"/absolute/path/to/agent-notifier/hooks/claude-statusline.mjs\""
}
}
The cache contains quota percentages and reset timestamps only. It is stored
under $XDG_CACHE_HOME/agent-notifier/claude-rate-limits/, or
~/.cache/agent-notifier/claude-rate-limits/ when XDG_CACHE_HOME is unset.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub tenfyzhong/agent-plugins-hub --plugin agent-notifierPlugins from other owners that cover similar ground