okbest2024/openclaw-backup/feishu-chat-history
Claude Code and agent skill by okbest2024/openclaw-backup
- community
Checking that the SKILL.md file is still in the repository.
Fetch and summarize Feishu group chat history. Use when the user asks to read, review, or summarize messages from a Feishu group chat. Triggers: "看群聊记录", "群里聊了啥", "帮我看看这个群", "群消息历史", "chat history", "what did the group discuss". NOT for: sending messages (use message tool), reading documents (use feishu-doc skill), or wiki operations (use feishu-wiki skill).
Install
npx vskill@latest install okbest2024/openclaw-backup/feishu-chat-historySKILL.md
The same SKILL.md was published earlier as augustscl/awesome-xiawang-skills/feishu-chat-history.
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
Identifying the chat_id
- If the user is asking about the current group chat, use the
chat_idfrom the inbound metadata (chat:oc_xxxxx→ strip thechat:prefix to get the raw ID) - If the user provides a different group, ask for the chat_id
Presenting Results
Parse each message and present a clean summary:
- Filter out
msg_type=system(join/leave events) unless relevant - For
msg_type=text: extract.body.contentas JSON, get thetextfield - For
msg_type=interactive: extract text nodes from theelementsarray - For
msg_type=image: note as[图片] - Include sender name (from
mentionsor known bot app_ids), timestamp, and content - Group by thread if
root_idis present - End with a human-readable summary of topics discussed
Pagination
If has_more=true, fetch more pages using page_token. Default: fetch 1 page (50 messages). Ask user if they want more.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/feishu-chat-history/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/okbest2024/openclaw-backup/feishu-chat-history)