Leveraging Lark with Claude/Codex via feishu-claude-code-bridge

TL;DR · AI Summary
The feishu-claude-code-bridge project enables bidirectional integration between Lark and your local Claude Code/Codex, addressing the need to save full message history in Lark and forward it to Claude. After June 15, claude-p and Agent SDK will be billed separately, so the bridge has been upgraded to support Codex, allowing you to use local models without consuming subscription quotas.
Key Takeaways
- As of June 15, claude-p and the Agent SDK will be billed separately, not using s
- The bridge now supports connecting to Codex; install the codex cli and configure
- You can now issue commands from Lark to Claude/Codex to generate text and images
Outline
Jump quickly between sections.
feishu-claude-code-bridge provides bidirectional integration between Lark and local Claude Code/Codex, solving the need to save full message history in Lark and forward it to Claude.
As of June 15, claude-p and the Agent SDK will be billed separately, prompting the adoption of local deployment to avoid quota limits.
The bridge now supports connecting to Codex; install the codex cli and configure your API to use it.
You can issue commands from Lark to Claude/Codex to generate text and images, with results automatically written back to Lark documents.
Fetch and translate a URL, generate a Chinese-hand-drawn infographic with Codex, then create a Lark document combining the text and image.
Run the command: lark-channel-bridge run --profile codex. Official documentation and GitHub repositories provide detailed setup and usage guides.
Mindmap
See how the topics connect at a glance.
查看大纲文本(无障碍 / 无 JS 友好)
- 飞书-Claude/Codex 集成
- 计费变更与影响
- claude-p/Agent SDK 独立计费
- 项目升级支持Codex
- 安装 codex cli 并配置 API 即可使用
- 双向集成能力
- 飞书指挥 Claude/Codex 生成文本与图片
- 结果自动写入飞书文档
- 画图能力
- 支持 GPT-4o Image 2,生成中文手绘信息图
- 使用场景
- 抓取翻译网页→生成信息图→创建飞书文档
- 运行与文档
- 运行命令:lark-channel-bridge run --profile codex
Highlights
Key sentences worth saving and sharing.
As of June 15, claude-p and the Agent SDK will be billed separately, so the bridge has been upgraded to support Codex, allowing local use without subscription quotas.
From Lark, issue commands to Claude/Codex to generate text and images, and have results automatically written back to Lark documents, forming an end-to-end workflow.
Supports GPT-4o Image 2 for generating Chinese-hand-drawn infographics, improving the efficiency of information visualization in Lark.
Now there's a problem: starting from June 15th, Claude's subscription plan will independently bill for claude -p and Agent SDK, not using the subscription limit. Fortunately, Zara Zhang has just upgraded the project, which can also support connecting Feishu to Codex. As long as you have codex cli installed on your local machine and logged in to ChatGPT or configured the API, you can use it without worrying about claude -p billing issues. Additionally, Codex has the ability to call GPT Image 2 drawing capabilities, so you can now command Codex to draw pictures from Feishu, and the finished pictures will directly appear in Feishu and be inserted into the document. For example, one of my commonly used commands is as follows: > Please help me scrape and translate {url} > Then draw a Chinese hand-drawn educational-style information chart based on the translation content > Finally, create a Feishu document containing the article and the picture. The connection steps are consistent with the method introduced for connecting Claude Code, just with the command line changed to: > lark-channel-bridge run --profile codex You can refer to the detailed instructions in the project, available in both Chinese and English: github.com/zarazhangrui/l
Quote
宝玉
@dotey
May 23
If you're using both Feishu and Claude Code, Zara Zhang's open-source project feishu-claude-code-bridge is worth a try. It allows you to directly connect Claude Code within Feishu, command Claude Code from Feishu, and vice versa, it can also create and edit Feishu documents with Claude Code. x.com/zarazhangrui/s…