Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

feishu-integration飞书集成

Agent Skill

feishu-integration 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

192

周安装

8

GitHub Stars

公开资料未说明

下载量

64
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:feishu-integration(飞书集成)
来源仓库:https://github.com/etzhang/openclaw-skills
仓库路径:skills/feishu-integration
安装命令:
npx skills add https://github.com/etzhang/openclaw-skills --skill feishu-integration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/etzhang/openclaw-skills --skill feishu-integration

简介

feishu-integration 提供与飞书文档的集成能力,支持创建、编辑、删除及权限查询等操作。

  • 适用于需要管理飞书文档内容、组织信息或自动化办公流程的开发场景。
  • 通过命令行工具安装后,可直接调用相关功能处理文档和文件夹任务。
  • 使用前需配置飞书应用并授权,注意敏感信息的访问边界和操作权限。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Feishu Integration

OpenClaw 与飞书(Feishu/Lark)的集成技能,支持文档管理、文件夹操作和权限查询。

Features

  • 📄 文档管理 - 创建、读取、更新、删除飞书文档
  • 📁 文件夹操作 - 列出文档和子文件夹
  • 🔐 权限查询 - 查询应用权限范围
  • ✍️ 内容编辑 - 追加、更新、删除文档块
  • 📋 块操作 - 获取和操作文档结构

Available Tools

ToolDescription
feishu_doc_read读取文档纯文本内容和元数据
feishu_doc_create创建新空白文档
feishu_doc_write写入Markdown内容(覆盖)
feishu_doc_append追加Markdown内容到末尾
feishu_doc_update_block更新特定块的文本内容
feishu_doc_delete_block删除特定块
feishu_doc_list_blocks列出文档所有块(获取结构)
feishu_doc_get_block获取特定块的详细内容
feishu_folder_list列出文件夹中的文档和子文件夹
feishu_app_scopes列出当前应用权限范围

Setup

1. Create Feishu App

  1. Go to Feishu Open Platform
  2. Create a new application
  3. Get App ID and App Secret
  4. Enable required permissions:

- docx:document - Document read/write - docx:folder - Folder access - approval:instance - Approval (optional)

2. Configure Credentials

Create .env file in the skill directory:

# Feishu App Credentials
FEISHU_APP_ID=your_app_id_here
FEISHU_APP_SECRET=your_app_secret_here

# Optional: Custom API endpoint
FEISHU_API_BASE_URL=https://open.feishu.cn/open-apis

Or set environment variables:

export FEISHU_APP_ID="your_app_id"
export FEISHU_APP_SECRET="your_app_secret"

3. Install Dependencies

cd feishu-integration
pip install -r requirements.txt  # If needed

Usage

Create a New Document

from openclaw.tools import feishu_doc_create

result = feishu_doc_create(
    folder_token="optional_parent_folder_token",
    title="My New Document"
)
doc_token = result.doc_token

Read Document Content

from openclaw.tools import feishu_doc_read

result = feishu_doc_read(
    doc_token="your_document_token"
)
# Returns: plain text content and metadata

Write Content

from openclaw.tools import feishu_doc_write

feishu_doc_write(
    doc_token="your_document_token",
    content="# Hello World\n\nThis is a **Feishu** document!"
)

Append Content

from openclaw.tools import feishu_doc_append

feishu_doc_append(
    doc_token="your_document_token",
    content="## Additional Section\n\nMore content here."
)

Update a Block

from openclaw.tools import feishu_doc_update_block

feishu_doc_update_block(
    doc_token="your_document_token",
    block_id="block_id_from_list_blocks",
    content="Updated text content"
)

List Document Blocks

from openclaw.tools import feishu_doc_list_blocks

result = feishu_doc_list_blocks(
    doc_token="your_document_token"
)
# Returns: list of all blocks with their IDs

List Folder Contents

from openclaw.tools import feishu_folder_list

result = feishu_folder_list(
    folder_token="your_folder_token"
)
# Returns: documents and subfolders in the folder

Check App Permissions

from openclaw.tools import feishu_app_scopes

result = feishu_app_scopes()
# Returns: list of available permissions/scopes

Document Structure

Feishu documents are block-based. Common block types:

  • paragraph - 文本段落
  • heading1 - 一级标题
  • heading2 - 二级标题
  • heading3 - 三级标题
  • bullet - 无序列表
  • ordered - 有序列表
  • code - 代码块
  • quote - 引用
  • table - 表格
  • image - 图片

Best Practices

  1. Security First

- Never commit .env or credentials - Use .gitignore to exclude sensitive files - Rotate app secrets periodically

  1. Error Handling

- Check result for success status - Handle rate limits gracefully - Log errors for debugging

  1. Content Format

- Use Markdown for content - Note: Tables not supported in write/append - Use blocks API for complex structures

  1. Rate Limits

- Respect Feishu API rate limits - Implement backoff for retries - Cache frequently accessed data

Example Workflow

# Create a meeting notes document
from openclaw.tools import (
    feishu_doc_create,
    feishu_doc_write,
    feishu_doc_append
)

# 1. Create new document
doc = feishu_doc_create(title="Meeting Notes - 2024-01-15")

# 2. Write initial content
feishu_doc_write(
    doc_token=doc.doc_token,
    content="# Team Meeting\n\n## Attendees\n- Alice\n- Bob\n- Charlie\n\n## Agenda\n1. Project updates\n2. Q1 planning"
)

# 3. Append action items
feishu_doc_append(
    doc_token=doc.doc_token,
    content="## Action Items\n- [ ] Review PR #123 (Alice)\n- [ ] Update documentation (Bob)"
)

print(f"Document created: https://example.feishu.cn/docx/{doc.doc_token}")

Troubleshooting

"App not found" Error

  • Verify App ID and Secret are correct
  • Check app is published (not in draft mode)

"Permission denied" Error

  • Check required permissions are enabled
  • Verify tenant-level consent if needed

"Rate limit exceeded" Error

  • Implement exponential backoff
  • Reduce API call frequency

Document not updating

  • Check block_id is valid
  • Ensure content format is correct
  • Verify document hasn't been deleted

Resources

License

MIT

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.64%
按下载量换算23

Claude

29.86%
按下载量换算19

Cursor

16.9%
按下载量换算11

Gemini CLI

8%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills