by caopulan
随时了解 Codex 和 Claude 任务完成情况。无需查看终端,即可在您的设备上接收包含任务状态、项目名称和结果的即时推送通知。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 bark-notify 技能" 开始使用
=== bark-notify 技能 === 作者: caopulan 描述: 随时了解 Codex 和 Claude 任务完成情况。无需查看终端,即可在您的设备上接收包含任务状态、项目名称和结果的即时推送通知。 使用方法: 1. 调用技能: "使用 bark-notify 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 bark-notify 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
safe
Send a Bark push notification after each Codex task. Use the helper script to resolve the project name and post to the Bark API.
You can add the following lines to ~/.bashrc (Linux) or ~/.zshrc (macOS) to set environment variables:
export CODEX_MACHINE_NAME="Machine-name" # e.g., Macbook
export CODEX_BARK_KEY="" # https://api.day.app/<CODEX_BARK_KEY>/
export CODEX_BARK_BASE_URL="https://api.day.app"
For example, you can add this instruction to AGENTS.md:
Use skill bark-notify to notify users when each agent run is finished or when any notifications would be sent to users.
AGENTS.md using one of:
project_name: My Project (or name:)Project Name: My Project or 项目名称:我的项目success, failed, partial, blocked, etc.Run:
python3 ~/.codex/skills/bark-notify/scripts/send_bark_notification.py \
--task-title \"...\" \
--status \"success\" \
--summary \"...\" \
--project-name \"...\"
scripts/send_bark_notification.py: Send the Bark notification and resolve the project name.View Count
0
Download Count
0
Favorite Count
0
Quality Score
71