feishu-docx
飛書/LarkクラウドドキュメントをMarkdown形式でエクスポートし、AI分析を容易にします。インストールと設定ガイドを提供し、ドキュメントコンテンツ変換プロセスを簡素化します。
npx skills add leemysw/agent-kit --skill feishu-docxBefore / After 効果比較
1 组飛書ドキュメントの内容を他のプラットフォームに手動でコピー&ペーストすると、書式が大幅に失われたり、複雑なスクリプトを記述して変換する必要があり、効率が低下します。特に大量のドキュメントのAI分析においては、時間と労力がかかり、内容の一貫性を保つことが困難です。
このツールを使用すると、飛書ドキュメントをワンクリックで標準Markdown形式にエクスポートでき、レイアウトとコンテンツ構造を完全に保持します。これにより、ドキュメント変換プロセスが大幅に簡素化され、AIモデルがドキュメントコンテンツを効率的かつ正確に処理および分析できるようになり、作業効率が向上します。
description SKILL.md
feishu-docx
Feishu Docx Exporter
Export Feishu/Lark cloud documents to Markdown format for AI analysis.
Instructions
Setup (One-time)
- Install the tool:
pip install feishu-docx
- Configure Feishu app credentials:
feishu-docx config set --app-id YOUR_APP_ID --app-secret YOUR_APP_SECRET
# or use environment variables
- Authorize with OAuth (opens browser):
feishu-docx auth
Export Documents
Export any Feishu document URL to Markdown:
feishu-docx export "<FEISHU_URL>" -o ./output
The exported Markdown file will be saved with the document's title as filename.
Supported Document Types
-
docx: Feishu cloud documents → Markdown with images
-
sheet: Spreadsheets → Markdown tables
-
bitable: Multidimensional tables → Markdown tables
-
wiki: Knowledge base nodes → Auto-resolved and exported
Examples
Export a wiki page
feishu-docx export "https://xxx.feishu.cn/wiki/ABC123" -o ./docs
Export a document with custom filename
feishu-docx export "https://xxx.feishu.cn/docx/XYZ789" -o ./docs -n meeting_notes
Export spreadsheet as Markdown table
feishu-docx export "https://xxx.feishu.cn/sheets/DEF456" --table md
Read content directly (recommended for AI Agent)
# Output content to stdout instead of saving to file
feishu-docx export "https://xxx.feishu.cn/wiki/ABC123" --stdout
# or use short flag
feishu-docx export "https://xxx.feishu.cn/wiki/ABC123" -c
Read content without saving to file (Python)
from feishu_docx import FeishuExporter
exporter = FeishuExporter(app_id="xxx", app_secret="xxx")
content = exporter.export_content("https://xxx.feishu.cn/wiki/xxx")
print(content)
Command Reference
Command Description
feishu-docx export <URL>
Export document to Markdown
feishu-docx auth
OAuth authorization
feishu-docx config set
Set credentials
feishu-docx config show
Show current config
feishu-docx config clear
Clear token cache
Tips
-
Images are automatically downloaded to a folder named after the document
-
Use
--table mdfor Markdown tables instead of HTML -
Token is cached and auto-refreshed, no need to re-authorize
-
For Lark (overseas), add
--larkflag
Weekly Installs299Repositoryleemysw/agent-kitGitHub Stars46First SeenJan 23, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykFailInstalled onopencode271gemini-cli260codex259cursor256github-copilot245amp233
forumユーザーレビュー (0)
レビューを書く
レビューなし
統計データ
ユーザー評価
この Skill を評価