Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

cc-connect-notify

Claude Code skill:每回合结束后,通过 cc-connect 把最后一条回复推送到你的手机(飞书 / 企业微信 / 微信)。

效果

Claude Code 每完成一个回合,手机收到推送:

✅ Claude Code 已完成
📁 my-project
🕐 2026/7/26 15:43:14

(最后一条回复的摘要,截 600 字)

安装

把本仓库放进 Claude Code 的用户 skills 目录:

# Windows (git bash)
git clone https://github.com/k804199185/cc-connect-notify.git ~/.claude/skills/cc-connect-notify

# macOS / Linux
git clone https://github.com/k804199185/cc-connect-notify.git ~/.claude/skills/cc-connect-notify

使用

装好后对 Claude Code 说一句,例如:

帮我配置 Claude Code 完成通知到飞书

skill 会带你走完整流程:安装 cc-connect → 开放平台建应用拿凭据 → 写 config.toml → 起常驻进程 → 建立会话 → 装 Stop hook → 验证推送。

支持平台:

平台 可靠性
飞书 ✅ 推荐
企业微信
微信(ilink) ⚠️ token 短时效(约 5~8 分钟),主动推送不可靠,仅备选

前置要求

  • Node.js(cc-connect 通过 npm 分发)
  • Claude Code

原理

Stop hook (~/.claude/settings.json)
  → node ~/.claude/hooks/cc-notify-stop.js
  → cc-connect send --stdin -p <project> -s <session>
  → cc-connect 常驻进程 → 平台 bot → 手机

细节见 SKILL.md

License

MIT

About

No description or website provided.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages