← Back to Skills Marketplace
timyljob2011-sudo

feishu-doc-sender

by timyljob2011-sudo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
101
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install feishu-doc-sender
Description
Send Word (.docx) and PDF documents to Feishu/Lark users and groups. Automatically detects document files in workspace and delivers them with proper formatti...
README (SKILL.md)

Feishu Document Sender

飞书文档发送助手 — 轻松发送 Word 和 PDF 文件到飞书对话。

What This Skill Does

  • 📄 自动检测工作目录中的 Word (.docx) 和 PDF 文件
  • 📤 一键发送到飞书私聊或群聊
  • 🎯 智能匹配根据文件名关键词找到目标文件
  • 📋 批量支持可同时发送多个文件

When to Use

  • 发送生成的报告、书籍、文档给老板/团队
  • 交付工作成果(Word/PDF格式)
  • 批量分发文件到飞书群组
  • 需要确认文件格式后再发送

Usage

简单用法

User: "把AI办公入门发给老板"
→ 自动找到 AI办公入门.docx 和 AI办公入门.pdf
→ 确认后发送

指定格式

User: "发Word版本就行"
→ 只发送 .docx 文件

User: "只要PDF"
→ 只发送 .pdf 文件

批量发送

User: "把昨天的报告都发给我"
→ 查找并列出匹配的文件
→ 确认后批量发送

File Detection Logic

  1. 扫描工作目录 (/workspace/)
  2. 匹配文件名(模糊匹配,支持关键词)
  3. 过滤格式(.docx / .pdf / .epub 可选)
  4. 按时间排序(最新的优先)
  5. 去重处理(同名文件只保留最新)

Best Practices

文件命名建议

为了让 Skill 更好地找到文件:

  • AI办公入门_最终版.docx
  • 2024年度报告.pdf
  • 项目方案_v2.docx
  • 新建 Microsoft Word 文档.docx
  • final_final_FINAL.pdf

发送前确认

Skill 会列出找到的文件并询问确认,避免发错:

找到以下文件:
1. AI办公入门_最终版.docx (31KB)
2. AI办公入门.pdf (59KB)

确认发送吗?

Supported Formats

格式 扩展名 用途
Word 文档 .docx 可编辑的办公文档
PDF 文档 .pdf 不可篡改的正式文档
EPUB 电子书 .epub 电子书阅读器格式(可选)

Error Handling

  • 文件不存在 → 提示用户检查文件名或重新生成
  • 格式不支持 → 建议转换为 .docx 或 .pdf
  • 发送失败 → 检查飞书权限和网络连接
  • 文件过大 → 提示飞书单文件大小限制(通常 20-100MB)

Integration with Other Skills

这个 Skill 通常配合以下 Skill 使用:

  • md-to-pdf — Markdown 转 PDF 后发送
  • kdp-generator — 生成书籍后发送给作者
  • feishu-doc — 飞书文档操作后分享成果

Clawhub Info

  • Version: 1.0.0
  • Author: OpenClaw Community
  • Tags: feishu, lark, document, pdf, word, sender
  • License: MIT
Usage Guidance
This package is primarily a local file-discovery helper, not a complete Feishu/Lark sender. Before installing or enabling it: 1) Don't assume it will upload or send files — the code only finds and lists files. 2) If you want automatic sending, request a skill that explicitly shows Feishu API calls and documents required credentials (app id/secret or bot token) and where to set them. 3) Note the workspace path mismatch — the script defaults to OPENCLAW_WORKSPACE (/root/.openclaw/workspace) while SKILL.md mentions /workspace/ and README references scripts/find_docs.py; verify which path will be scanned and that sensitive files won't be exposed. 4) Test the script in a safe sandbox workspace first. 5) If the intent is automated delivery, insist the author add explicit, auditable sending code (with secure credential handling) or explain how it integrates with another skill that performs the send.
Capability Analysis
Type: OpenClaw Skill Name: feishu-doc-sender Version: 1.0.0 The skill is a legitimate utility designed to find and list Word (.docx) and PDF documents within the OpenClaw workspace for delivery to Feishu/Lark users. The Python script `find_docs.py` performs standard file discovery and metadata retrieval using safe libraries (pathlib), and the instructions in `SKILL.md` are consistent with the stated purpose without any signs of malicious prompt injection or unauthorized data access.
Capability Assessment
Purpose & Capability
The manifest and SKILL.md state that the skill will send .docx/.pdf files to Feishu/Lark users/groups, but the repository contains only a local finder script (find_docs.py) that lists files in a workspace; there is no code, instructions, or required environment variables to authenticate with or call Feishu/Lark APIs. Additionally, README references scripts/find_docs.py (a different path) and SKILL.md mentions /workspace/ while find_docs.py defaults to OPENCLAW_WORKSPACE (/root/.openclaw/workspace) — these inconsistencies further reduce trust that the package implements its claimed sending capability.
Instruction Scope
SKILL.md instructs scanning the workspace and confirming before sending, but does not provide any concrete sending steps or external endpoints. The included script only reads files in the workspace (using OPENCLAW_WORKSPACE if set) and prints or JSON-outputs matches; it does not contact external services or exfiltrate data. However, SKILL.md's high-level language ('确认后发送', '一键发送') gives a user the expectation of automated delivery that the package does not implement.
Install Mechanism
Instruction-only skill with a small Python utility; there is no install spec or remote downloads. Nothing is written to disk by an installer and there are no suspicious download URLs or packaged binaries.
Credentials
No Feishu/Lark credentials or API environment variables are declared or required despite the skill's claimed ability to send messages (expected vars like APP_ID, APP_SECRET, BOT_TOKEN, or WEBHOOK are absent). The script does use an environment variable OPENCLAW_WORKSPACE (not documented in SKILL.md) which is plausible but not called out. The absence of any credential handling is disproportionate to the stated purpose.
Persistence & Privilege
The skill is not always-enabled, does not request persistent/system-wide changes, and contains no code that modifies other skills or global agent config. Autonomous invocation is allowed by default but that is normal and not by itself a red flag here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install feishu-doc-sender
  3. After installation, invoke the skill by name or use /feishu-doc-sender
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of feishu-doc-sender. - Send Word (.docx) and PDF documents to Feishu/Lark users and groups. - Automatically detects relevant document files in the workspace. - Supports sending single or multiple files, with optional format selection. - Lists matched files for user confirmation before sending. - Includes basic error handling for missing files, unsupported formats, sending failures, and file size limits.
Metadata
Slug feishu-doc-sender
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is feishu-doc-sender?

Send Word (.docx) and PDF documents to Feishu/Lark users and groups. Automatically detects document files in workspace and delivers them with proper formatti... It is an AI Agent Skill for Claude Code / OpenClaw, with 101 downloads so far.

How do I install feishu-doc-sender?

Run "/install feishu-doc-sender" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is feishu-doc-sender free?

Yes, feishu-doc-sender is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does feishu-doc-sender support?

feishu-doc-sender is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created feishu-doc-sender?

It is built and maintained by timyljob2011-sudo (@timyljob2011-sudo); the current version is v1.0.0.

💬 Comments