feishu-pro: Let Agents Directly Operate Feishu Docs, Sheets, and Group Chats

Introduction

When performing office automation in environments like Cursor or Claude Code, a common practice is to manually write HTTP calls for the Feishu Open Platform or maintain long lists of scripts to piece together app_id, tenant_access_token, and various API paths. With documentation, spreadsheets, Bitable (multi-dimensional tables), IM, contacts, calendars, and tasks scattered across different documentation chapters, it is difficult for an Agent to reliably connect them within a single conversation.

Here we introduce the community Skill feishu-pro on SkillHub (located at @user_10930401/feishu-pro). It organizes Feishu-side capabilities into an Agent-readable SKILL.md and a set of TypeScript implementations, using environment variables to complete application authentication. It is suitable for delegating “querying, writing, and posting in Feishu” to a conversational interface.

What is this

feishu-pro is a Feishu (Lark) integration suite designed for Agents. It is categorized as office-efficiency on SkillHub, originates from the community (publisher user_10930401), and is currently marked as version v1.0.0 on the store page. The description matches the Skill metadata: Docs / Spreadsheets / Bitable / Messages / Group Chats / Contacts / Calendar / Tasks / Translation / OCR / Speech.

The Skill declares that an API key is required (requires_api_key=true). After installation, the Agent reads the interface list and collaboration notes in SKILL.md and calls the encapsulated methods provided that FEISHU_APP_ID and FEISHU_APP_SECRET are available.

Core Functions

The following capabilities are derived from the API overview in the Skill’s SKILL.md, organized by module.

Docs / Knowledge Base / Cloud Space

Supports creating and reading documents, retrieving plain text and block structures, appending text or blocks, cloud space files and folders, Wiki space and node queries, as well as public permission and member permission management for documents/nodes (e.g., createDocument, getDocumentRawContent, uploadFile, listWikiSpaces, etc.).

Data (Spreadsheets and Bitable)

Covers reading, writing, and appending to spreadsheets (getSheetValues, updateSheetValues, appendSheetValues, etc.), as well as create, delete, update, and query (CRUD) operations and batch operations for Bitable records (listRecords, createRecord, batchUpdateRecords, copyBitable, etc.).

IM / Threads / Group Chats

Includes message lists, recall and update, Pin, emoji replies, attachment sending, replies within threads, group info and member management, creating groups, and joining/leaving groups (e.g., listMessages, replyInThread, react, createChat, addChatMembers).

Org / Contacts / Calendar / Tasks

User and department queries, user groups, calendar and event creation/deletion, task lists and completion (e.g., getUser, listDepartmentUsers, createCalendarEvent, createTask, completeTask).

AI Capabilities

translateText, detectLanguage, ocrImage, speechToText are used for translation, language detection, image OCR, and speech-to-text.

The Skill also includes practical notes on Feishu collaboration: read permissions should be handled before sending documents; if docs:permission.setting:write_only is missing (Error Code 99991672), you can prioritize creating documents in public folders, forwarding content via IM, or creating pages in public Wiki spaces.

Permission scopes are described by feishu_base_permissions.json (currently available) and feishu_additional_permissions.json (extended permissions that may require enterprise approval) within the package; related capabilities will be disabled or degraded if not approved.

Installation and Activation

First, check if skillhub is already on your machine:

command -v skillhub && skillhub --version

If not installed, you can follow the official SkillHub installation instructions (full installation includes CLI and default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing feishu-pro, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/, which the Agent might not recognize. Common paths are as follows (excerpt from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Example in a Cursor environment:

skillhub install @user_10930401/feishu-pro --dir ~/.cursor/skills/

The SkillHub skill page also supports providing the following prompt to an AI to have it complete the installation according to the SkillHub Installation Guide:

Please install `@user_10930401/feishu-pro` according to https://skillhub.cn/install/skillhub.md.

Restart or reload the Agent after installation to enable the new Skill.

Feishu App Configuration

Set the following in the environment where the Agent runs:

export FEISHU_APP_ID="Your Feishu App ID"
export FEISHU_APP_SECRET="Your Feishu App Secret"

The Feishu Open Platform needs to enable the permissions that the Skill actually calls; align these with the scopes declared in feishu_base_permissions.json and feishu_additional_permissions.json to avoid “insufficient permissions” errors during calls.

If you compile this Skill separately from the OpenClaw source tree, the README contains additional npm install && npm run build steps; packages installed via SkillHub usually include build artifacts, so you generally do not need to run compilation commands under the monorepo path again.

Typical Usage

After the steps above, the usage is primarily: Configure environment variables → Describe Feishu-side goals in conversation → Agent selects the corresponding API according to SKILL.md.

  1. Confirm that FEISHU_APP_ID and FEISHU_APP_SECRET are active in the current shell or Agent runtime environment.
  2. Start a new conversation in a client like Cursor and ensure feishu-pro is loaded.
  3. Describe operations in natural language and provide Feishu-side identifiers as much as possible (e.g., documentId, chatId, appToken / tableId, folder folderToken, etc.). The Agent should map these to method names in the documentation, for example:
    - Create a cloud document titled “Weekly Report” → createDocument
    - Read a range from a spreadsheet → getSheetValues
    - Add a row to a Bitable → createRecord
    - Reply in a group thread → replyInThread
    - Add an emoji to a message → react

You do not need to construct REST URLs manually; specific parameter shapes should be based on the Skill source code and Feishu Open Platform documentation, which the Agent will complete before calling.

Use Cases and Notes

Who is it for

  • People already using Feishu for collaboration who want the Agent to handle repetitive operations like document writing, spreadsheet/Bitable maintenance, group messaging, and calendar/task management.
  • Teams willing to maintain enterprise self-built apps on the Feishu Open Platform and apply for scopes according to JSON permission lists.

Limitations and Notes

  • Depends on valid Feishu app credentials; SkillHub marks requires_api_key=true, and authentication fails without key configuration.
  • Some document permission capabilities depend on whether the enterprise approves extended permissions; the Skill documentation clearly outlines degradation and alternative practices for scenarios like error 99991672. It is advisable to validate the permission model internally within the enterprise before deployment.
  • Store statistics (as of data retrieval): Rating 100000, approximately 1234 downloads; actual experience still depends on your tenant permissions and the Agent’s adherence to the Skill.
  • This is a community-sourced Skill; upgrades and issue feedback should be based on the SkillHub page and the README within the package.

Conclusion

feishu-pro consolidates Feishu Docs, Spreadsheets, IM, Organization, and AI assistance capabilities into a single Agent Skill, reducing integration costs with unified environment variables and API lists. If you are looking for office automation capabilities on SkillHub, you can start by checking the version and installation methods on the official skill page:

  • SkillHub: https://www.skillhub.cn/skills/user_10930401/feishu-pro
  • API Entry: https://api.skillhub.cn/user_10930401/feishu-pro
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye