feishu-docx
飞书云文档(docx)的创建与编辑技能。支持通过 API 创建文档、追加内容、批量更新块等操作。使用此技能需要提供 App ID 和 App Secret。
Why use this skill?
Seamlessly automate Feishu document workflows with the OpenClaw Feishu Docx skill. Create, edit, and manage cloud documents programmatically via API integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cpjhy/feishu-docxWhat This Skill Does
The Feishu Docx skill is a robust interface for the Feishu (Lark) document ecosystem, specifically designed to automate the lifecycle of cloud documents. It provides a programmatic bridge for OpenClaw to create, structure, and modify content within Feishu Docx. By leveraging the Feishu Open Platform API, this skill allows users to handle complex document operations such as dynamic text insertion, structured block management, and batch document updates. It removes the manual friction of switching between AI chat interfaces and productivity suites by enabling real-time collaborative document creation.
Installation
To integrate this skill into your environment, use the OpenClaw terminal command:
clawhub install openclaw/skills/skills/cpjhy/feishu-docx
Post-installation, ensure you have your FEISHU_APP_ID and FEISHU_APP_SECRET configured in your environment variables. These are retrieved from the Feishu Developer Console under your app's 'Credentials & Basic Info' tab. If not using environment variables, you may pass these credentials directly into the client constructor as shown in the provided Python examples.
Use Cases
This skill is ideal for teams and individuals looking to automate content workflows. Common scenarios include:
- Automated Reporting: Automatically generating daily status reports or meeting minutes directly into a team knowledge base.
- Content Generation Pipeline: Pushing AI-generated drafts directly from OpenClaw into collaborative documents for review.
- Knowledge Management: Programmatically populating documentation repositories with updated research or logs based on triggers from other tools.
- Structured Data Entry: Converting structured JSON data into human-readable document blocks within Feishu.
Example Prompts
- "Create a new Feishu document titled 'Project Q3 Roadmap' and add a header that says 'Q3 Goals' followed by a list of the items I pasted earlier."
- "Update the existing document with ID 'doccnXXXX' by appending a summary of today's meeting notes at the bottom."
- "Start a new document for my blog post draft and insert the content from my latest research report into it as a series of paragraph blocks."
Tips & Limitations
- Permissions: Ensure your Feishu app has the
docx:readanddocx:writescopes enabled in the Feishu Developer Console. - Block Types: Feishu Docx uses a block-based structure. Complex formatting (like nested tables or images) requires specific block configuration; consult the provided REFERENCES.md for details.
- Authentication: Tenant access tokens expire; the
FeishuDocxclient handles lifecycle management, but ensure your app's network environment allows communication withopen.feishu.cn.
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-cpjhy-feishu-docx": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api