Auto-discovered marketplace from teacherzeng/claude_code_feishu
npx claudepluginhub teacherzeng/claude_code_feishuFeishu/Lark channel for Claude Code — chat with your AI coding assistant from Feishu
Official prompts.chat marketplace - AI prompts, skills, and tools for Claude Code
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations
Claude Code plugins for the Slidev presentation framework
Feishu/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