Windyskr

Agent Completion Notification — Communication skill for Claude Code

Communication community

推送 Agent (Claude Code、Codex)完成/等待通知到 Bark、飞书、钉钉、企微、TG等.

How to install Agent Completion Notification

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Windyskr/agent-completion-notification and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Completion Notification does

推送 Agent (Claude Code、Codex)完成/等待通知到 Bark、飞书、钉钉、企微、TG等。原生 hook 接入,单文件,极小体积,一行命令即可安装,无常驻进程,无 GUI。

Alternatives in Communication

  • Codepilot — A native desktop GUI for Claude Code — chat, code, and manage projects visually 4.3k ★
  • Lark Coding Agent Bridge — Bot that bridges Feishu/Lark messenger with a local Claude Code or Codex CLI 2.4k ★
  • Notifications Init — Alias for init — Download notification binary 806 ★

README

acn(Agent Completion Notification)

[English](README.en.md)

推送 Agent(Claude Code、Codex、OpenCode)完成通知到 Bark、飞书、钉钉、企微、Slack、Teams、TG 等。 通过原生 hook / plugin 接入,单文件极小体积,一行命令即可安装,无常驻进程,无 GUI。

![acn 接收 Agent 完成事件并分发到多种通知渠道](assets/acn-flow.png)

快速接入

macOS

brew install windyskr/tap/acn

Windows

scoop bucket add windyskr https://github.com/Windyskr/scoop-bucket
scoop install windyskr/acn

Linux

从 [GitHub Releases](https://github.com/Windyskr/agent-completion-notification/releases) 下载对应架构的 `acn_<版本>_linux_amd64.tar.gz`(或 `linux_arm64`),解压后把 `acn` 放入 `PATH`:

curl -sL https://github.com/Windyskr/agent-completion-notification/releases/latest/download/acn_$(curl -s https://api.github.com/repos/Windyskr/agent-completion-notification/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d'"' -f4 | tr -d v)_linux_amd64.tar.gz | tar -xz
sudo install -m 0755 acn /usr/local/bin/acn
其他安装方法

使用仓库提供的 PowerShell 安装脚本。脚本会自动选择 x64/ARM64 版本、校验 SHA-256、安装到用户目录并加入用户 `PATH`:

$installer = Join-Path $env:TEMP 'install-acn.ps1'
Invoke-WebRequest https://raw.githubusercontent.com/Windyskr/agent-completion-notification/main/install.ps1 -OutFile $installer
& $installer

不想使用包管理器时,也可以从 [GitHub Releases](https://github.com/Windyskr/agent-completion-notification/releases) 下载对应的 Windows ZIP,解压后把目录加入 `PATH`。

`go install` 作为已有 Go 工具链的开发者安装方式:

go install github.com/windyskr/agent-completion-notification/cmd/acn@latest
# 配置通知渠道(至少配置一个)

# 推荐使用 bark:在苹果手机 App Store 搜索并下载 Bark 应用,即可获取推送地址
acn config bark-url https://api.day.app/your_key
acn config feishu-url https://open.feishu.cn/open-apis/bot/v2/hook/your_key
acn config dingtalk-url https://oapi.dingtalk.com/robot/send?access_token=your_key
acn config wecom-url https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=your_key
acn config slack-url https://hooks.slack.com/services/your/webhook
ac