feishu-doc
Feishu Doc Skill
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Write and update documents.
Prerequisites
- Install
feishu-commonfirst. - This skill depends on
../feishu-common/index.jsfor token and API auth.
Capabilities
- Read: Fetch content from Docs, Sheets, Bitable, and Wiki.
- Create: Create new blank documents.
- Write: Overwrite document content with Markdown.
- Append: Append Markdown content to the end of a document.
- Blocks: List, get, update, and delete specific blocks.
Long Document Handling (Unlimited Length)
To generate long documents (exceeding LLM output limits of ~2000-4000 tokens):
- Create the document first to get a
doc_token. - Chunk the content into logical sections (e.g., Introduction, Chapter 1, Chapter 2).
- Append each chunk sequentially using
feishu_doc_append. - Do NOT try to write the entire document in one
feishu_doc_writecall if it is very long; use the append loop pattern.
Usage
# Read
node index.js --action read --token <doc_token>
# Create
node index.js --action create --title "My Doc"
# Write (Overwrite)
node index.js --action write --token <doc_token> --content "# Title\nHello world"
# Append
node index.js --action append --token <doc_token> --content "## Section 2\nMore text"
Configuration
Create a config.json file in the root of the skill or set environment variables:
{
"app_id": "YOUR_APP_ID",
"app_secret": "YOUR_APP_SECRET"
}
Environment variables:
FEISHU_APP_IDFEISHU_APP_SECRET
More from hwj123hwj/sanwan-skills
email-manager
邮件管理技能。监控飞书邮件、IMAP邮箱检查、发送邮件。触发词:邮件、email、mail、收件箱、未读邮件、发邮件、邮件监控。
1xiaohongshu-mcp
>
1douyin-analytics
抖音创作者视频数据抓取与分析。触发词:抖音数据、douyin、抓取抖音、抖音分析、抖音博主数据、抖音视频列表、抖音主页数据。当用户提供抖音用户主页 URL 或想获取某抖音博主视频数据时自动激活。
1ai-news-zh
中文AI科技日报自动采集与推送。从The Verge、Wired、TechCrunch等英文源抓取最新AI资讯,自动翻译整理为中文,按分类推送到飞书/Telegram/Discord等渠道。适合关注AI行业动态的中文用户。
1xiaohongshu
XiaoHongShu (Little Red Book) data collection and interaction toolkit. Use when working with XiaoHongShu (小红书) platform for: (1) Searching and scraping notes/posts, (2) Getting user profiles and details, (3) Extracting comments and likes, (4) Following users and liking posts, (5) Fetching home feed and trending content. Automatically handles all encryption parameters (cookies, headers) including a1, webId, x-s, x-s-common, x-t, sec_poison_id, websectiga, gid, x-b3-traceid, x-xray-traceid. Supports guest mode and authenticated sessions via web_session cookie.
1