By teacherzeng
Feishu/Lark channel for Claude Code — chat with your AI coding assistant from Feishu
npx claudepluginhub teacherzeng/claude_code_feishu --plugin feishuFeishu/Lark channel for Claude Code — chat with your AI coding assistant directly from Feishu.
将飞书/Lark 接入 Claude Code,让飞书成为 Claude Code 会话的第二终端。
This plugin bridges Feishu (and Lark international) with Claude Code sessions using the official Channels protocol. Messages sent to the Bot in Feishu are forwarded to your active Claude Code session, and Claude's replies are sent back to the Feishu conversation.
┌─────────────┐ WebSocket (long connection) ┌──────────────────┐
│ Feishu / │◄───────────────────────────────►│ │
│ Lark │ REST API (reply/reaction) │ server.ts │
│ Open │◄────────────────────────────────│ (MCP Server) │
│ Platform │ │ │
└─────────────┘ │ ┌────────────┐ │
│ │ Feishu │ │
┌──────────────┐ stdio / MCP │ │ WSClient │ │
│ Claude Code │◄───────────────────────►│ └────────────┘ │
│ Session │ │ ┌────────────┐ │
└──────────────┘ │ │ MCP Channel│ │
▲ │ │ Server │ │
│ CLI input │ └────────────┘ │
┌────┴────┐ └──────────────────┘
│Terminal │
└─────────┘
Inbound (Feishu → Claude Code):
Feishu message → WebSocket push → access check → notifications/claude/channel → Claude processes
Outbound (Claude Code → Feishu):
Claude calls reply tool → MCP handler → Feishu REST API → message appears in chat
See GUIDE.md for the complete setup guide (Chinese).
Go to open.feishu.cn/app, create a self-built app, and configure:
im:message, im:message:send_as_bot, im:message.p2p_msg:readonly, im:resource, im:message.reactions:writeim.message.receive_v1/plugin marketplace add TeacherZeng/claude_code_feishu
/plugin install feishu@TeacherZeng/claude_code_feishu
/feishu:configure <app_id> <app_secret>
claude --dangerously-load-development-channels plugin:feishu
Send any message to your Bot in Feishu. The Bot replies with a pairing code. In the CLI:
/feishu:access pair <code>
| Node.js | >= 18 |
| Claude Code | Channels support (research preview) |
| Feishu account | Enterprise admin or app-creation permission |
| Command | Description |
|---|---|
/feishu:configure <app_id> <app_secret> | Save Feishu credentials |
/feishu:access pair <code> | Confirm a pairing code |
/feishu:access policy <pairing|allowlist> | Switch access policy |
/feishu:access add <open_id> | Manually add a user |
/feishu:access remove <open_id> | Remove a user |
/feishu:access list | Show current policy and allowlist |
| Variable | Default | Description |
|---|---|---|
FEISHU_APP_ID | (required) | Feishu App ID (cli_xxx) |
FEISHU_APP_SECRET | (required) | Feishu App Secret |
FEISHU_DOMAIN | feishu | Set to lark for international |
FEISHU_STATE_DIR | ~/.claude/channels/feishu | State directory |
MIT — see LICENSE
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Matches all tools
Hooks run on every tool call, not just specific ones
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer
Complete developer toolkit for Claude Code
AI-supervised issue tracker for coding workflows. Manage tasks, discover work, and maintain context with simple CLI commands.