跳到正文
TakoAPI
返回技能列表

feishu-user

由 hacksing 提供

Git & GitHub
410下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Feishu document operations (User Access Token version)

描述

该技能的功能

Provides read, write, create, and append access to Feishu documents using OAuth user access tokens. Authenticates as the user rather than a bot, so operations reflect personal identity and permissions. Includes block-level operations and token auto-refresh utilities.

User access token auth lets the agent act on behalf of the actual user, reaching personal documents and drives that app-level bot tokens cannot access.

何时使用

  • Reading a Feishu doc and processing its content in a script
  • Creating a new document and writing structured notes into it
  • Appending meeting summaries to an existing team document
  • Querying and updating specific blocks within a document
  • Automating personal Feishu doc workflows with scheduled token refresh

示例工作流

输入

User asks: append today's standup notes to my Feishu document

智能体
  1. 1

    Load cached user_access_token from ~/.config/claw-feishu-user/config.json

  2. 2

    Initialize FeishuClient with the token

  3. 3

    Call append_doc(doc_token, standup_content) to add the new section

  4. 4

    Confirm the block was appended by calling list_blocks and checking the last entry

输出

Standup notes appended as a new section at the end of the specified Feishu document

前置要求

  • Feishu Open Platform app with APP_ID and APP_SECRET
  • REDIRECT_URI registered in Feishu Open Platform app settings
  • docx:document, drive:drive.search:readonly, and search:docs:read permissions enabled on the app
  • User access token obtained via OAuth authorization flow

安装

clawhub install hacksing/feishu-user

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接