feishu-doc-sync
飞书文档增量同步与表格操作指南。覆盖:表格更新策略(delete+insert)、header_row 设置、insert action、列宽算法、三阶段 diff 同步。当需要同步本地文档到飞书、操作飞书表格、或做增量编辑时激活。
Why use this skill?
Automate Feishu document creation and management with the feishu-doc-sync skill. Support for markdown, table operations, and block-level editing via OpenClaw.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/deadblue22/feishu-doc-syncWhat This Skill Does
The feishu-doc-sync skill provides a comprehensive suite of tools for managing Feishu (Lark) documents directly via OpenClaw. It serves as an bridge between your workflow and the Feishu Docx platform, enabling automated content generation, precise document editing, and structured data management. The toolset covers everything from high-level document creation to granular block-level manipulation, including the handling of tables, headings, and lists. Whether you are generating reports, maintaining logs, or syncing local markdown to the cloud, this skill handles the heavy lifting through an intuitive action-based API.
Installation
To install this skill, run the following command in your terminal or OpenClaw interface:
clawhub install openclaw/skills/skills/deadblue22/feishu-doc-sync
Use Cases
- Automated Reporting: Automatically compile query results into a structured Feishu document at the end of a sprint or daily standup.
- Content Migration: Convert local Markdown documentation files directly into professional Feishu documents while maintaining formatting styles.
- Dynamic Table Management: Maintain up-to-date data tables in Feishu by using the recommended delete-and-insert refresh pattern.
- Smart Documentation: Append logs, task updates, or meeting summaries to existing documents without overwriting your progress.
Example Prompts
- "Create a new document titled 'Project Alpha Q3 Report' in my project folder and give me full access to it."
- "Update the Feishu document at https://feishu.cn/docx/ABC123def by appending a new section summarizing the latest meeting notes."
- "List all blocks in the document 'ABC123def', then replace the content of block 'doxcnXXX' with the latest quarterly revenue data."
Tips & Limitations
- Table Handling: For tables, the recommended strategy is to perform a delete-and-insert operation. Updating individual table cells via
update_blockis discouraged as it strips complex inline formatting. - Permissions: Always include the
owner_open_idwhen creating documents. If omitted, the document will be locked to the bot application, making it inaccessible to human users. - Precise Editing: Use
list_blocksbefore executinginsertorupdate_blockto ensure you are targeting the correctblock_id. This prevents accidental modification of the wrong document sections. - Formatting: The tool supports standard Markdown, including lists, bold/italic, code blocks, and images, ensuring a seamless translation from local files to Feishu's rich-text format.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-deadblue22-feishu-doc-sync": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, file-write, file-read
Related Skills
feishu-comments
Read comments from Feishu documents. Use when: user asks to check/read/fetch comments on a Feishu doc, review feedback on a document, or collaborate on document revisions via comments.
feishu-api-lookup
Look up Feishu Open API documentation. Activate when: needing to find a specific Feishu API endpoint, understanding API parameters/response, writing scripts that call Feishu APIs, or troubleshooting Feishu API errors. Uses web_search + web_fetch to find and extract API docs in real-time.
feishu-bitable-query
Query Feishu Bitable (多维表格) with server-side filter, sort, field selection, and multiple output formats. Activate when querying bitable records with conditions, filtering multidimensional table data, or when data volume is large and client-side filtering is inefficient. Preferred over feishu_bitable_list_records tool when filter expressions or full pagination is needed.
feishu-thread-forward
Forward Feishu thread/topic to a user, group, or topic via REST API. Activate when: forwarding a thread/topic to another chat, sharing a topic post to a different group, or any scenario involving Feishu thread-level forwarding (转发话题). The built-in feishu message tool does NOT support thread forwarding — this skill fills that gap.
feishu-merged-msg
Fetch and parse Feishu merged/forwarded messages (合并转发消息). Activate when a Feishu message shows "Merged and Forwarded Message" with no readable content, or when you need to retrieve sub-messages from a merge_forward message type.