| name | feishu-doc-reader |
| description | Read and extract content from all Feishu (Lark) document types using the official Feishu Open API |
| metadata | {"moltbot":{"emoji":"📄","requires":{"bins":["python3","curl"]}}} |
Feishu Document Reader
This skill enables reading and extracting content from all Feishu (Lark) document types using the official Feishu Open API.
Configuration
Set Up the Skill
- Create the configuration file at
./reference/feishu_config.json with your Feishu app credentials:
{
"app_id": "your_feishu_app_id_here",
"app_secret": "your_feishu_app_secret_here"
}
- Make sure the scripts are executable:
chmod +x scripts/read_doc.sh
chmod +x scripts/read_feishu.sh
chmod +x scripts/get_blocks.sh
Security Note: The configuration file should be kept secure and not committed to version control. Consider using proper file permissions (chmod 600 ./reference/feishu_config.json).
Usage
Unified Document Reader (推荐)
使用统一文档读取器可以自动识别并读取所有支持的文档类型:
./scripts/read_feishu.sh
./scripts/read_feishu.sh
./scripts/read_feishu.sh
./scripts/read_feishu.sh
./scripts/read_feishu.sh
./scripts/read_feishu.sh -- bitable
./scripts/read_feishu.sh --pretty
./scripts/read_feishu.sh --output text