Feishu/Lark Docs Exporter & Writer
Export Feishu/Lark cloud docs to Markdown, create new documents, and patch individual blocks straight from the CLI.
Docs & OfficeIntermediate★ 246⑂ 36AI score 9/10Last updated: Jul 16, 2026
What it does
- Exports Feishu/Lark docx, sheets, bitable and wiki nodes to Markdown, auto-downloading images and attachments into a folder named after the document.
--stdout(-c) streams content directly so Claude can read and analyze a document without writing files.- Creates documents, appends Markdown to existing ones, and updates a single section using block IDs exported with
-b. - Handles bulk wiki-space backups, bitable schema dumps, WeChat article import, PDF output, and browser-session (Playwright) export for public or session-only links.
- Includes drive management: list files, inspect public permissions and permission members.
Who it's for
- Teams running their knowledge base on Feishu/Lark who want AI summaries and analysis.
- Anyone drafting meeting notes or weekly reports with Claude and publishing them back to Feishu.
- Doc owners and developers who need wiki-space backups in local files or Git.
Examples
- "Summarize this wiki page" →
feishu-docx export "https://xxx.feishu.cn/wiki/ABC123" -cand summarize the piped output. - Publish a draft:
feishu-docx create "Weekly Report" -f ./weekly.md. - Surgical edit: export with
-bto reveal block IDs, thenfeishu-docx update <URL> -b blk123abc -c "new text". - Full backup:
feishu-docx export-wiki-space <URL> -o ./wiki_backup --max-depth 3.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/leemysw/feishu-docx/HEAD/.skills/feishu-docx/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .skills/feishu-docx folder from the GitHub repo leemysw/feishu-docx into my ~/.claude/skills/feishu-docx/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/leemysw/feishu-docx.git && mkdir -p ~/.claude/skills && cp -r feishu-docx/.skills/feishu-docx ~/.claude/skills/ && pip install feishu-docx⚠ This is a third-party skill. Check the source repository before installing.
- Confirm Python and pip are available (
python -V). - Install the CLI:
pip install feishu-docx - Create an app in the Feishu/Lark Open Platform and collect its App ID / App Secret with document read-write scopes.
- Store credentials:
feishu-docx config set --app-id YOUR_APP_ID --app-secret YOUR_APP_SECRET(verify withfeishu-docx config show). - Install the skill:
git clone https://github.com/leemysw/feishu-docx.gitthenmkdir -p ~/.claude/skills && cp -r feishu-docx/.skills/feishu-docx ~/.claude/skills/ - Optional extras:
pip install 'feishu-docx[browser]'plusplaywright install chromiumfor browser export,pip install 'feishu-docx[pdf]'for PDF. - Restart Claude Code and try "export this Feishu doc to Markdown". Add
--larkfor overseas Lark tenants. - Be careful with
drive clear— it deletes files, even with double confirmation.
View source on GitHub ↗License: MIT