feishu-smart-doc-writerFeishu/Lark Smart Document Writer - 飞书智能文档写入器. Core Features / 核心功能: 1. Smart Chunk Writing / 智能分块写入 - Solve API limit blank doc issues / 解决长文档API限制导致的空白问题 2...
Install via ClawdBot CLI:
clawdbot install terrence741-cell/feishu-smart-doc-writermemory/feishu-docs-index.md / 文档信息自动添加到本地索引Create document with auto-chunk writing, ownership transfer, and index update.
创建文档,自动完成分块写入、所有权转移、索引更新。
{
"title": "Document Title / 文档标题",
"content": "Content (long content supported) / 文档内容(支持长内容)",
"folder_token": "Optional folder token / 可选的文件夹token"
}
Returns / 返回:
{
"doc_url": "https://feishu.cn/docx/xxx",
"doc_token": "xxx",
"chunks_count": 3,
"owner_transferred": true,
"index_updated": true
}
Append content to existing document with auto-chunk.
向现有文档追加内容(自动分块)。
{
"doc_url": "https://feishu.cn/docx/xxx",
"content": "Content to append / 要追加的内容"
}
Search documents in local index.
搜索本地索引中的文档。
{
"keyword": "Search keyword / 搜索关键词"
}
Returns / 返回:
{
"results": [
{
"name": "Document Name / 文档名",
"link": "https://...",
"summary": "Summary / 摘要",
"tags": "AI Tech, OpenClaw / AI技术, OpenClaw"
}
],
"count": 1
}
List all documents with optional filters.
列出所有文档,支持筛选。
{
"tag": "AI Tech / AI技术",
"status": "Completed / 已完成"
}
Manually transfer document ownership (usually auto-handled by write_smart).
手动转移文档所有权(通常不需要,write_smart 已自动处理)。
{
"doc_url": "https://feishu.cn/docx/xxx",
"owner_openid": "ou_xxxxxxxx"
}
Note / 注意: Only provide OpenID, tenant_access_token is auto-obtained by Skill.
只需要提供 OpenID,tenant_access_token 由 Skill 自动获取。
Configure OpenID for first-time use.
首次使用时配置 OpenID。
{
"openid": "ou_xxxxxxxx",
"permission_checked": true
}
View current configuration status.
查看当前配置状态。
Step 1 / 第1步: Call write_smart / 调用 write_smart
/feishu-smart-doc-writer write_smart
title: Test Document / 测试文档
content: This is a test document. / 这是一个测试文档内容
Step 2 / 第2步: Get OpenID / 获取 OpenID
If not configured, follow the guide:
如果未配置,会显示引导:
im:messageStep 3 / 第3步: Configure and Enable Permissions / 配置并开通权限
/feishu-smart-doc-writer configure
openid: ou_your_openid / ou_你的OpenID
permission_checked: true
Then go to Permission Management / 然后到权限管理:
docs:permission.member:transferAfter setup, future document creation will automatically:
配置完成后,以后创建文档会自动:
write_smart creates document / 创建文档
↓
Write content (auto-chunk) / 写入内容(自动分块)
↓
Transfer ownership / 转移所有权
↓
Auto update index → memory/feishu-docs-index.md / 自动更新索引
↓
Done! / 完成!
Auto-identified based on content / 根据内容自动识别:
memory/feishu-docs-index.md
Format / 格式: Markdown table with / Markdown 表格,包含 index / 序号, name / 名称, type / 类型, link / 链接, summary / 摘要, status / 状态, tags / 标签, owner / 所有者
/feishu-smart-doc-writer write_smart
title: AI Tech Research Report / AI技术调研报告
content: # AI Overview / AI技术概述\n\nAI is... / 人工智能(AI)是...
Result / 结果:
/feishu-smart-doc-writer search_docs
keyword: AI Tech / AI技术
/feishu-smart-doc-writer list_docs
tag: AI Tech / AI技术
Location / 位置: skills/feishu-smart-doc-writer/user_config.json
{
"owner_openid": "ou_5b921cba0fd6e7c885276a02d730ec19",
"permission_noted": true,
"first_time": false
}
docx:document:create - Create document / 创建文档docx:document:write - Write content / 写入内容docs:permission.member:transfer - Transfer ownership ⚠️ Critical / 转移所有权 ⚠️ 关键权限Cause / 原因: Used user_id instead of openid / 使用了 user_id 而不是 openid
Solution / 解决: Use openid starting with ou_ / 使用以 ou_ 开头的 openid
Cause / 原因: docs:permission.member:transfer not enabled or app not published / 未开通权限,或未发布应用
Solution / 解决:
docs:permission.member:transfer → Enable / 权限管理 → 搜索 → 开通Check / 检查:
memory/feishu-docs-index.md exists / 查看文件是否存在index_updated field in write_smart return / 检查返回字段If issues, please check / 如有问题,请检查:
Generated Mar 1, 2026
AI research teams can use this skill to automatically generate and organize research reports, meeting notes, and technical documentation in Feishu. The smart chunk writing handles long-form content like model architectures or experiment results, while auto-tagging categorizes documents under AI Tech for easy retrieval via search.
E-commerce businesses can leverage this skill to create product descriptions, marketing plans, and sales reports in Feishu documents. The auto-categorization tags content as E-commerce, and the local index allows teams to quickly search and filter documents by keywords like TikTok or Alibaba for streamlined collaboration.
Fitness coaches or health organizations can use the skill to document workout plans, client progress notes, and health analytics in Feishu. Content is auto-tagged as Health & Sports, and the append_smart tool enables easy updates to existing documents, such as adding daily activity logs from Garmin or Strava.
Companies can employ this skill to build and maintain a centralized knowledge base in Feishu, including policies, training materials, and project archives. The auto ownership transfer ensures documents are assigned to relevant team leads, and the index management supports efficient searching and listing by tags like Daily Archive for historical records.
Developers working on OpenClaw AI agents can use the skill to document skill packages, agent configurations, and usage guides in Feishu. Auto-tagging with OpenClaw helps organize technical content, and the search_docs tool allows quick access to specific documentation for debugging or reference purposes.
Offer this skill as a premium subscription service for business teams, providing enhanced features like advanced analytics, custom tagging, and priority support. Revenue is generated through monthly or annual fees per user, targeting small to medium enterprises that rely on Feishu for document collaboration.
Provide a free basic version with limited document creation and search capabilities, then charge for higher API limits, additional storage, or premium tools like bulk transfers. Revenue comes from tiered pricing based on usage volume, appealing to individual users scaling up to larger organizations.
Sell customized integrations and consulting services to large enterprises, tailoring the skill for specific workflows such as compliance documentation or automated reporting. Revenue is generated through one-time setup fees and ongoing maintenance contracts, focusing on industries with complex document management needs.
💬 Integration Tip
Ensure OpenID is properly configured via the first-time guide to enable auto ownership transfer, and regularly check the local index file for updates to maintain search accuracy.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works with any IMAP/SMTP server including Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, and vip.188.com.
Gmail API integration with managed OAuth. Read, send, and manage emails, threads, labels, and drafts. Use this skill when users want to interact with Gmail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Automatically logs into email accounts (Gmail, Outlook, QQ Mail, etc.) and generates daily email summaries. Use when the user wants to get a summary of their emails, check important messages, or create daily email digests.
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.
Manage Feishu (Lark) calendars by listing, searching, checking schedules, syncing events, and marking tasks with automated date extraction.