Claude Skill
formulahendry/wechat-acp
wechat-acp 是一个 TypeScript 桥梁,将微信聊天消息连接到任何兼容 ACP 的 AI 代理,包括 Claude、Codex、Copilot、Qwen、Gemini 等。开源且易于集成。
概览
仓库信息
安装这个 Skill
npx -y wechat-acp@latest --agent copilotRegistry 信息
npx -y wechat-acp@latest --agent copilotnpx -y wechat-acp@latest --agent "npx my-agent --acp"npx -y wechat-acp@next --agent copilotnpx wechat-acp agentsnpx -y wechat-acp@latest --agent claude --cwd D:\code\project
项目简介
一个基于 TypeScript 的桥梁,将微信聊天消息连接到任何兼容 ACP 的 AI 代理,包括 Claude、Codex、Copilot、Qwen、Gemini、OpenCode、OpenClaw、Hermes、Kiro、Kimi、pi 等。
Bridge WeChat chat messages to any ACP-compatible AI agent (Claude, Codex, Copilot, Qwen, Gemini, OpenCode, OpenClaw, Hermes, Kiro, Kimi, Pi and more)
要点
- 将微信消息桥接到兼容 ACP 的 AI 代理
- 支持多种代理:Claude、Codex、Copilot、Qwen、Gemini 等
- 使用 TypeScript 构建,确保可靠性和可维护性
- 实现代理客户端协议(ACP)以实现标准化通信
- 开源且由社区驱动
使用场景
- 将微信与 Claude Skill 集成,实现 AI 驱动的聊天回复
- 构建可通过微信访问的个人 AI 助手
- 通过将微信消息路由到 AI 代理来自动化客户支持
- 通过单一微信界面体验多种 AI 模型
- 开发结合微信和兼容 ACP 代理的自定义工作流
README 摘要
# WeChat ACP [](https://www.npmjs.com/package/wechat-acp) Bridge WeChat direct messages to any ACP-compatible AI agent. `wechat-acp` logs in with the WeChat iLink bot API, polls incoming 1:1 messages, forwards them to an ACP agent over stdio, and sends the agent reply back to WeChat. <img src="./resources/screenshot.jpg" alt="wechat-acp screenshot" width="400" /> ## Features - WeChat QR login with terminal QR rendering - One ACP agent session per WeChat user - Built-in ACP agent presets for common CLIs - Custom raw agent command support - Auto-allow permission requests from the agent - Direct message only; group chats are ignored - Background daemon mode ## Requirements - Node.js 20+ - A WeChat environment that can use the iLink bot API - An ACP-compatible agent available locally or through `npx` ## Quick Start Start with a built-in agent preset: ```bash npx -y wechat-acp@latest --agent copilot ``` Or use a raw custom command: ```bash npx -y wechat-acp@latest --agent "npx my-agent --acp" ``` On first run, the bridge will: 1. Start WeChat QR login 2. Render a QR code in the terminal 3. Save the login token under `~/.wechat-acp` 4. Begin polling direct messages ## Trying preview builds Every push to `main` is automatically published to npm under the `next` dist-tag, so you can try unreleased changes without waiting for a tagged release: ```bash npx -y wechat-acp@next --agent copilot ``` These versions are tagged `<base>-next.<UTC-timestamp>.<short-sha>` (e.g. `0.7.1-next.202605311530.abc1234`, where `0.7.1` is the next patch above whatever `@latest` is). They are built from `main` after CI passes, but have not been through a release review