
Feishu Lark Agent
This is a comprehensive agent for Feishu/Lark that handles everything except attendance checks and rich message formatting. You can send messages, search chat history, create and read documents, manipulate multidimensional tables (bitable), manage calendar events, and handle tasks. The implementation is thoughtful about ID formats (ou_ for users, oc_ for chats) and includes practical gotchas like needing to fetch field names before adding table records, or that the bot can't access personal calendars and you must use cal calendars first. The trigger word system in Chinese makes it easy to invoke from natural language. If you're building Feishu automation workflows, this covers most operational needs in one place without juggling multiple tools.
- skills.sh installs
- 299
- GitHub stars
- 51
- last updated
- Jun 3, 2026
Install
$ npx -y skills add joeseesun/feishu-lark-agent --skill feishu-lark-agent --agent claude-codeInstalls into .claude/skills of the current project.
Files
Feishu Lark Agent
Run
source ~/.zshrc && python3 ~/.claude/skills/feishu-lark-agent/feishu.py <category> <action> [--key value ...]
ID 格式速查(关键)
| 前缀 | 类型 | 用途 |
|---|---|---|
ou_ | open_id | 用户 ID,用于 --to |
oc_ | chat_id | 群聊 ID,用于 --chat |
| 邮箱 | 用于 --email,自动解析为 open_id | |
docx/xxx URL 后半段 | document_id | 飞书文档 ID |
base/xxx URL 后半段 | app_token | 多维表格 App Token |
如果只有姓名:先 user search --name "张三" 获取 open_id,再执行目标操作。
命令速查
消息 msg
msg send --to <open_id|chat_id> --text "..." # open_id → ou_, chat_id → oc_
msg send --email <email> --text "..." # 用邮箱发
msg send --chat <chat_id> --text "..." # 发群
msg send --to <open_id> --file /path # 发文件内容
msg reply --to <message_id> --text "..."
msg history --chat <chat_id> [--limit 20]
msg search --query "关键词" [--limit 20]
msg chats [--limit 50] # 列出所有群聊
用户 user
user search --name "张三" # 模糊搜索,返回 open_id
user get --email <email> # 精确查询
user get --id <open_id>
Sponsors
Details
- Repository
- github.com/joeseesun/feishu-lark-agent
- Categories
- AI & Agent Building, Office & Documents
- First seen
- Jun 3, 2026