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 Caspian-Sunv1.0.8MITIn 1 marketplace
Claude decision alerts + idle watchdog (dead-man's switch): pings Feishu / DingTalk the moment Claude needs your call, escalates on a delay if you stop and nobody replies. Works in any project, auto-wired on install, no settings.json changes.
Claude loads one when your task matches it, or you run it by name.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
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.
English · 中文
📞 Away too long while Claude waits on you? It pings Feishu / DingTalk first, then @-mentions you, and if there's still no reply after 20 minutes — it calls your phone and reads the message aloud.
A Claude Code away-from-keyboard alert plugin: when Claude needs your decision it pings Feishu / DingTalk instantly; if it stops and nobody replies it escalates on a delay, and can even call your phone. Install once, works in every project, without touching any settings.json.
# 1. Add the marketplace (use the full HTTPS URL; the owner/repo shorthand defaults to SSH and fails without a key)
claude plugin marketplace add https://github.com/Caspian-Sun/claude-idle-alert.git
# 2. Install the plugin (hooks are wired up automatically; your project's settings.json is untouched)
claude plugin install claude-idle-alert
# 3. In Claude Code, type /idle-alert and follow the prompts to fill in your Feishu / DingTalk webhooks (configure tier-3 too if you want phone calls)
# 4. Reload Window
That's all 4 steps. Configuration only asks for your webhooks; the plugin wires up the runtime mechanics itself.
Prerequisites:
jq+curl(usually preinstalled on macOS/Linux; ifjqis missing, runbrew install jq). Update:claude plugin marketplace update claude-idle-alert && claude plugin install claude-idle-alertUninstall:claude plugin uninstall claude-idle-alert
When you step away and Claude pops a Yes/No or asks a question mid-run, it just sits there and nobody knows. Tiered alerts solve this:
| Tier | When it fires | How |
|---|---|---|
| Instant | Claude asks you / plan awaiting approval / permission prompt | Feishu + DingTalk text (both if configured) |
| Tier 1 / Tier 2 | 2 / 10 min with no reply while Claude is blocked on that decision | Feishu + DingTalk text / text + @mention |
| Tier 3 (optional) | Still no reply after 20 min | Feishu phone call only (voice reads the message aloud), see below |
Note: DingTalk currently supports only webhook text notifications (tier 0-2). Feishu supports both webhooks (tier 0-2) and optional phone urgency (tier 3).
Signal sources: both layers fire on the same genuine "needs you" signals —
PreToolUse(AskUserQuestion\|ExitPlanMode)(fires in any environment) +Notification(permission_prompt). The instant layer pings right away; the delayed layer arms a watchdog on the same events and escalates if you don't respond. A plainStop(Claude just finished a turn) does not arm anything, so normal completions never trigger an idle alert. Responding (answering the question / a tool completing / typing) disarms it.
Real config lives in ~/.claude/idle-alert/config.sh (personal, local, never committed) and applies to all projects.
The easiest way is to run /idle-alert and let the wizard write it; you can also copy scripts/config.example.sh by hand:
| Key | Description | Default |
|---|---|---|
FEISHU_ENABLED | Enable Feishu notifications (true/false, at least one must be true) | false |
WEBHOOK_URL | Feishu custom-bot webhook (only used if FEISHU_ENABLED=true) | none |
DINGTALK_ENABLED | Enable DingTalk notifications (true/false, at least one must be true) | false |
DINGTALK_WEBHOOK_URL | DingTalk custom-bot webhook (only used if DINGTALK_ENABLED=true) | none |
TIER1_DELAY | Seconds idle before the tier-1 alert | 120 |
TIER2_DELAY | Seconds idle before escalation (must be > TIER1) | 600 |
AT_OPEN_ID | Feishu open_id to @ on escalation (optional) | empty |
KEYWORD | Feishu custom keyword (must appear in the message) | Claude |
No service enabled → silent exit 0 throughout, zero side effects — so installing without configuring won't disturb anyone.
At least one service (set FEISHU_ENABLED=true or DINGTALK_ENABLED=true) should be enabled for alerts to work.
If installed but not yet configured, every session (once per day) will actively remind you to run /idle-alert (SessionStart check).
Custom config location: defaults to ~/.claude/idle-alert/config.sh (separate from the install dir, so it survives upgrades).
To change the path: pick "custom directory" when running /idle-alert, or manually add to your user-level ~/.claude/settings.json:
{ "env": { "CLAUDE_IDLE_CONFIG": "/your/path/config.sh" } } (changing env requires a Reload).
npx claudepluginhub caspian-sun/claude-idle-alert --plugin claude-idle-alertPlugins from other owners that cover similar ground
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.