Openclaw-master-skills feishu-doc
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.
install
source · Clone the upstream repo
git clone https://github.com/LeoYeAI/openclaw-master-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/LeoYeAI/openclaw-master-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/feishu-doc" ~/.claude/skills/leoyeai-openclaw-master-skills-feishu-doc && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/LeoYeAI/openclaw-master-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/feishu-doc" ~/.openclaw/skills/leoyeai-openclaw-master-skills-feishu-doc && rm -rf "$T"
manifest:
skills/feishu-doc/SKILL.mdsource content
Feishu Doc Skill
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Write and update documents.
Prerequisites
- Install
first.feishu-common - This skill depends on
for token and API auth.../feishu-common/index.js
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
call if it is very long; use the append loop pattern.feishu_doc_write
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