Feishu

From kandada/fastclaw · View interactive version

Feishu is an AI agent skill from the GitHub repository kandada/fastclaw. Feishu (Lark) skill — send messages, create/read/edit/share cloud documents, search the wiki, and manage OAuth tokens.

How to use this skill

Skill file

Description

Feishu (Lark) skill — send messages, create/read/edit/share cloud documents, search the wiki, and manage OAuth tokens.

Parameters

send params

create_doc params

get_doc params

read_doc params

append_doc params

update_doc params

list_files params

create_folder params

share_doc params

search_wiki params

exchange_user_token params

Example

Send message: run_skills("feishu", {"action": "send", "message": "Hello", "session_id": "ou_xxx"})

Create doc: run_skills("feishu", {"action": "create_doc", "title": "My Document"})

Get doc: run_skills("feishu", {"action": "get_doc", "document_id": "xxx"})

Read doc: run_skills("feishu", {"action": "read_doc", "document_id": "xxx"})

Append content: run_skills("feishu", {"action": "append_doc", "document_id": "xxx", "content": "New paragraph"})

Update block: run_skills("feishu", {"action": "update_doc", "document_id": "xxx", "block_id": "yyy", "content": "Updated content"})

List files: run_skills("feishu", {"action": "list_files"})

Create folder: run_skills("feishu", {"action": "create_folder", "name": "New Folder"})

Share doc: run_skills("feishu", {"action": "share_doc", "document_id": "xxx", "member_id": "ou_xxx", "share_type": "edit"})

Search wiki (requires authorization):

  1. run_skills("feishu", {"action": "get_auth_url"})
  2. Visit the URL and authorize, get the authorization code
  3. run_skills("feishu", {"action": "exchange_user_token", "code": "<code>"})
  4. run_skills("feishu", {"action": "search_wiki", "query": "keyword"})

Check user token: run_skills("feishu", {"action": "check_user_token"})

Refresh user token: run_skills("feishu", {"action": "refresh_user_token"})

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.