Feishu Doc
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.
autogame-17
@autogame-17
What This Skill Does
Fetches content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable, automatically resolves Wiki URLs to real entities, and converts content to Markdown. Also supports creating, writing, appending, and managing document blocks.
Replaces manual copy-pasting from Feishu documents by providing a programmatic way to read, write, and update content in Markdown format.
When to Use It
- Extract Feishu Doc content as Markdown for use in other tools or scripts
- Create a new blank Feishu document from an automation workflow
- Append a long document in chunks to bypass LLM output limits
- Update or overwrite a specific Feishu document with new Markdown content
- List and modify individual blocks within a Feishu document
- Resolve a Feishu Wiki URL to its underlying document and fetch its content
Install
$ openclaw skills install @autogame-17/feishu-docFeishu 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
Top skills in this category
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
ontology
@oswalpalashTyped knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Obsidian
@steipeteWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
YouTube Watcher
@michaelgatharaFetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.