Claude Code notification
Agent Watch Approve
⌚ 在 Apple Watch 上批准 Claude Code / Codex 的危险操作,任务完成自动提醒 | Approve your AI coding agent's risky actions from your Apple Watch, get buzzed when tasks finish
Install
git clone https://github.com/ghy196830-del/agent-watch-approve.gitFrom the README
⌚ agent-watch-approve AI 在干活,你在摸鱼;危险操作抬腕一点,任务跑完手表喊你。 让 Claude Code 和 Codex 的危险操作推送到你的 Apple Watch / iPhone 上审批, 任务完成自动通知 —— 全程不用回终端。 安卓 / Wear OS / 鸿蒙(兼容模式)同样支持:一个开关切到 ntfy 载体,连 Pushcut 都不用装(见「不止苹果」一节)。 English 📺 看它干活 危险操作 → 手表一震 → ✅ 点一下放行,agent 继续干活 ▶️ 完整介绍视频(30 秒) —— 点开即播(备用:仓库内文件) 功能速览 📸 真机实拍 左:Claude 要删文件夹,手表上批 · 中:Codex 要 git push,同一块表照单全收 · 右:跑完了,抬腕就知道 🚀 最短成功路径(5 步) 1. 装 Pushcut(iPhone + Apple Watch 都装),app 里建一条 Notification(名字随意),Account → API 拿 key; 2. 想一个长随机 ntfy topic 名(无需注册,名字就是密码,例如 myagent_8f3k2j9x); 3. 放脚本:watch_approve.py / watch_done.py / watch.env(由 watch.env.example 复制)放进一个固定目录,填好 key / topic; 4. 自检:python watch_approve.py --doctor —— 逐项检查配置、Pushcut(key/设备名/通知名)、ntfy 收发,最后真发一条测试通知到你手机/手表; 5. 接线:python watch_approve.py --print-claude-config / --print-codex-config 打印已转义好绝对路径的配置片段,粘进 ~/.claude/settings.json / ~/.codex/hooks.json,重启 agent,跑条危险命令测试。 每步细节见下文「十分钟上手」;哪里不顺,先跑 --doctor,再看「排错」。 (安卓 / Wear OS 用户:第 1 步换成装 ntfy app,免 Pushcut,走「📱 不止苹果」一节。) 它解决什么问题 跑长任务时,agent 时不时停下来问一句「可以执行吗?」——你必须守着终端。这个项目把这件事搬到手腕上: 1. ⌚ 远程审批 —— 危险操作(rm -rf、git push --force、提权、出沙箱……)推送到手表,带 ✅ 允许 / ❌ 拒绝 / 🖥️ 终端查看 按钮,点一下,结果秒回 agent(「终端查看」= 退回终端慢慢看再决定); 2. 🤔 选择题上手表 —— Claude 在终端抛出的多选决策框(方案 A 还是方案 B?)也推到手表,按钮 方案A / 方案B / 🖥️ 在终端查看,点哪个 Claude 就按哪个继续; 3. 🔔 完成提醒 —— agent 每跑完一轮任务,手表震一下「任务已完成」,你随时回来验收; 4. 🚦 限额提醒 —— 订阅额度用完(Claude)或快烧完(Codex,默认 ≥90% 预警)时第一时间通知你,附重置时间;任务被 API 错误中断也会提醒; 5. 🤖 其余全自动 —— 不危险的操作静默放行(可配),终端再也不弹「yes/no」。 6. 🪟 多窗口并行 —— 同时开几个项目/窗口也不串台:每次审批走独立回执通道,点谁批谁;通知带「📁 项目名」,一眼分清是谁在问。 两个 Python 脚本,只用标准库、零依赖,并且全程 fail-safe:配置缺失 / 网络挂了 / 超时,一律退回 agent 自己的终端审批,绝不卡死你的任务。 前置条件 - Claude Code 和/或 Codex CLI - Python 3(在 PATH 上;只用标准库,无需 pip install) - Pushcut 账号(hook 动态注入按钮需要 Pro),iPhone 和 Apple Watch 都装上 app - 一个 ntfy topic(公共 ntfy.sh 即可,topic 名就是密码,取长随机串) -…
Details
- Repository
- ghy196830-del/agent-watch-approve
- Language
- Python
- License
- MIT
- Last updated
- 16 June 2026
- Topics
- ai-agentapple-watchclaude-codeclaude-code-hookscodexdevtoolshooksnotificationsntfypushcutremote-approvalvibe-coding
FAQ
What is Agent Watch Approve?
⌚ 在 Apple Watch 上批准 Claude Code / Codex 的危险操作,任务完成自动提醒 | Approve your AI coding agent's risky actions from your Apple Watch, get buzzed when tasks finish It is a notification for Claude Code, from ghy196830-del/agent-watch-approve on GitHub.
How do I install Agent Watch Approve?
Clone ghy196830-del/agent-watch-approve from GitHub and follow the setup steps in its README.
Is Agent Watch Approve popular?
ghy196830-del/agent-watch-approve has 124 GitHub stars and 11 forks. It was last updated on 16 June 2026.
More notifications & sounds
Claude Animation Skill
119buildwithhanif/claude-animation-skill
Hand-drawn 2D animation written as code: detail bible, a detailed ant rig, brush/watercolour pen, frame-matched recreation loop, synthesised sound. Node canvas + ffmpeg.
Ccpoke
102kaida-palooza/ccpoke
Bridge between AI coding agents and your phone — notifications, 2-way chat, permissions
Content Skills
124artemnovitckii/content-skills
5 Claude Code skills that fix Claude's writing: dumbify, storytelling, viral-hooks, anti-ai-writing, and a voice-dna build guide. MIT.
Agentwatch
111dongxutang918-afk/agentwatch
Apple Watch notifications for Claude Code and AI agent workflows.
Vibe
127iblai/vibe
Developer toolkit for vibe coding AI apps on the ibl.ai platform. Scaffold a production-ready Next.js app with iblai-app-cli and the @iblai/iblai-js SDK: SSO auth, AI chat, profiles, notifications, and analytics wired up out of the box. Pre-built components, Claude Code skills, and a hosted backend at iblai.app. Deploy in minutes.
Game Sounds
106citedy/game-sounds
Game sound effects for Claude Code — Warcraft Peon voice lines while you code! Work work!
Browse the most popular Claude Code mods, all notifications & sounds, or the skills and MCP server directories.