feishu-chat-history
Installation
SKILL.md
Feishu Chat History
Fetch message history from a Feishu group chat and summarize or present it to the user.
When to Use
- User asks what was discussed in a group
- User wants a summary or review of recent messages
- User provides a chat_id or is in a group and asks about its history
How to Fetch Messages
Use the Feishu IM API directly via Python. See references/api.md for full details.
Quick summary:
- Read credentials from config →
channels.feishu.appId/appSecret - Get
tenant_access_tokenviaPOST /auth/v3/tenant_access_token/internal - Fetch messages via
GET /im/v1/messages?container_id_type=chat&container_id={chat_id}&page_size=50