feishu-chat-extractor

Extract and analyze Feishu group chat messages with time range filtering.

28|13|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/wulaosiji/skills --skill feishu-chat-extractor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-chat-extractor
Source: https://github.com/wulaosiji/skills/tree/main/feishu-chat-extractor
Command: npx skills add https://github.com/wulaosiji/skills --skill feishu-chat-extractor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill allows you to extract and analyze historical chat messages from Feishu/Lark groups, which is crucial for retrieving, processing, or analyzing group chat history, especially for specific discussions.

Core Features & Use Cases

  • Full Chat History Extraction: Retrieve all messages from a Feishu group.
  • Time Range Filtering: Specify a start and end time to extract messages within a particular period.
  • Content Analysis: Extract and analyze specific discussions, such as OpenClaw/Clawdbot-related topics, user feedback, or issues.
  • Use Case: You need to compile a report on all discussions related to "OpenClaw" that occurred in the "OpenClaw Discussions" Feishu group during the last month.

Quick Start

Use the feishu-chat-extractor skill to extract messages from chat ID 'oc_b05242fd39d405d022fccab873d7df1b' and save them to 'chat_data.json'.

Frequently Asked Questions about feishu-chat-extractor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract Feishu group chat history using Python?

To extract Feishu group chat history, you need Python scripts and access to the Feishu API to retrieve historical messages, using pagination and time range filtering for comprehensive data retrieval. The extracted messages can be saved to a JSON file.

Can I filter Feishu message extraction by a specific time range?

Yes, you can filter Feishu message extraction by specifying a start and end time. This allows you to extract messages within a particular period, which is useful for compiling reports on specific discussions or user feedback over a defined timeframe.

What do I need to retrieve messages from a Lark group chat?

You need access to the Feishu API for message retrieval and the Python requests library to run the extraction scripts. You must also provide the specific chat ID of the target Lark group to fetch the historical data.

How does chat history analysis work for tracking specific topics like OpenClaw?

Chat history analysis works by extracting all group messages and processing them with Python scripts to identify and analyze specific discussions, such as OpenClaw topics, user feedback, or issue tracking, based on the retrieved content.

Does the Feishu chat extractor support pagination for large group chats?

Yes, the Feishu chat extractor supports pagination to handle large group chats. This ensures comprehensive data retrieval by fetching all available historical messages in batches without missing older conversations.