بنقرة واحدة
read-feishu-doc
Read and extract content from Feishu (Lark) documents using the official Feishu Open API
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Read and extract content from Feishu (Lark) documents using the official Feishu Open API
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
基于微信读书的书架、阅读时长、笔记、划线数据,生成 10 维度的深度阅读分析报告。当用户说"分析我的微信读书"、"读书画像"、"阅读分析"、"我的阅读报告"、"猜我的 MBTI"、"读书复盘"时触发。输出美观的 9:16 白底简约 HTML 可视化页面。
微信读书教练 — 把读过的书"用起来"。三种用法:(1) 推荐 - 想搞懂一个领域时,先判段位再给阶梯书单;(2) 引用 - 写作时基于已读划线给出可引用的书与原话;(3) 回顾 - 每天推送一条历史划线,自动去重,支持手动与定时触发。触发词:"我想搞懂 XX"、"入门书单"、"阶梯书单"、"我想引用一本书"、"这个观点哪本书讲过"、"今日笔记"、"推一条划线给我"、"读书回顾"。
导出微信读书划线笔记为 Markdown 或 PDF 文件。当用户说"导出我的微信读书划线"、"导出读书笔记"、"把划线保存下来"、"weread 导出"时触发。依赖 weread-skills 调用接口,按书籍-章节分组排版,附划线时间,输出美观的笔记文档。
Transform structured podcast notes into engaging video scripts with a conversational, first-person broadcasting style. Use when user asks to "generate podcast script", "convert to broadcast style", "make video script", "rewrite for video", "口播脚本", "改成口播", or wants to turn podcast summaries into presenter-style content for short videos.
播客处理一站式工作流。支持两种入口: (1) 直接处理:提供 YouTube 链接,直接进入处理流程 (2) 更新检查:获取关注博主的最新更新,用户挑选后处理 功能:字幕提取 → read-content-digest 处理 → 自动保存飞书知识库。 触发词:"获取播客更新"、"处理这个播客"、"播客工作流"、"有什么新播客"。
把小宇宙播客链接转成文字稿和文章。实现原理:下载小宇宙音频 → Groq Whisper 转录成文字 → 由 Claude 编写成文章。 触发词:"小宇宙转文字"、"播客转文章"、"把这个小宇宙链接转成文章"、"小宇宙文稿",或用户直接发来 xiaoyuzhoufm.com 的单集链接。 产出两份:逐字文稿(含标点润色)+ 改写后的文章。
| name | read-feishu-doc |
| description | Read and extract content from Feishu (Lark) documents using the official Feishu Open API |
| metadata | {"moltbot":{"emoji":"📄","requires":{"bins":["python3","curl"]}}} |
This skill enables reading and extracting content from Feishu (Lark) documents using the official Feishu Open API.
./reference/feishu_config.json with your Feishu app credentials:{
"app_id": "your_feishu_app_id_here",
"app_secret": "your_feishu_app_secret_here"
}
chmod +x scripts/read_doc.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).
To read a Feishu document, you need the document token (found in the URL: https://example.feishu.cn/docx/DOC_TOKEN).
Using the shell script (recommended):
# Make sure environment variables are set first
./scripts/read_doc.sh "your_doc_token_here"
# Or specify document type explicitly
./scripts/read_doc.sh "docx_token" "doc"
./scripts/read_doc.sh "sheet_token" "sheet"
For complete document structure with all blocks, use the dedicated blocks script:
# Get full document blocks structure
./scripts/get_blocks.sh "docx_AbCdEfGhIjKlMnOpQrStUv"
# Get specific block by ID
./scripts/get_blocks.sh "docx_token" "block_id"
# Get blocks with children
./scripts/get_blocks.sh "docx_token" "" "true"
Using Python directly for blocks:
python scripts/get_feishu_doc_blocks.py --doc-token "your_doc_token_here"
python scripts/get_feishu_doc_blocks.py --doc-token "docx_token" --block-id "block_id"
python scripts/get_feishu_doc_blocks.py --doc-token "docx_token" --include-children
# Python script options
python scripts/read_feishu_doc.py --help
# Shell script usage
./scripts/read_doc.sh <doc_token> [doc|sheet|slide]
# Get full document blocks
./scripts/get_blocks.sh <doc_token>
# Get specific block
./scripts/get_blocks.sh <doc_token> <block_id>
# Include children blocks
./scripts/get_blocks.sh <doc_token> "" true
# Python options
python scripts/get_feishu_doc_blocks.py --help
Your Feishu app needs the following permissions:
docx:document:readonly - Read document contentdoc:document:readonly - Read legacy document contentsheets:spreadsheet:readonly - Read spreadsheet contentCommon errors and solutions:
# Read document
./scripts/read_doc.sh "docx_AbCdEfGhIjKlMnOpQrStUv"
# Get all blocks with full structure
./scripts/get_blocks.sh "docx_AbCdEfGhIjKlMnOpQrStUv"
# Get specific block details
./scripts/get_blocks.sh "docx_AbCdEfGhIjKlMnOpQrStUv" "blk_xxxxxxxxxxxxxx"
./scripts/read_doc.sh "sheet_XyZ123AbCdEfGhIj" "sheet"
python scripts/read_feishu_doc.py --doc-token "docx_token" --extract-text-only
chmod 600)test_auth.py script to verify credentialsdocx_, doc_, or sheet_)open.feishu.cn--include-children flag for complete block tree