feishu-common/SKILL.md
Shared Feishu (Lark) authentication and API request helper providing tenant token acquisition with caching, automatic retry with timeout handling, and authenticated request wrappers with token refresh.
npx skillsauth add autogame-17/feishu-skills feishu-commonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Shared authentication and API helper for all OpenClaw Feishu skills. Install this skill first -- every other feishu-* skill depends on it.
Set these environment variables before using any Feishu skill:
export FEISHU_APP_ID=cli_xxxxx
export FEISHU_APP_SECRET=xxxxx
Import the shared helpers in any dependent skill:
const { getToken, fetchWithRetry, fetchWithAuth } = require("../feishu-common/index.js");
getToken() acquires a tenant access token and caches it locally, refreshing automatically on expiry.fetchWithAuth(url, options) adds the Authorization header and handles token refresh on 401 responses.fetchWithRetry(url, options) wraps fetch with configurable retry count and timeout.A legacy import path is available for backward compatibility:
const { getToken, fetchWithAuth } = require("../feishu-common/feishu-client.js");
index.js -- Main implementation (token cache, retry logic, authenticated fetch).feishu-client.js -- Compatibility alias that re-exports from index.js.documentation
--- name: feishu-wiki description: Feishu knowledge base operations. Actions: spaces, nodes, get, create, move, rename tags: [feishu, lark, wiki, knowledge, spaces, nodes, move] --- # Feishu Wiki Management Manage Feishu (Lark) Knowledge Base structure. Create spaces, list nodes, move pages, and manage hierarchy. ## Prerequisites - Requires `feishu-common` for authentication. - Must be configured with `FEISHU_APP_ID` and `FEISHU_APP_SECRET`. ## Actions - `spaces`: List knowledge spaces. -
tools
# Feishu Whiteboard Skill Allows creating and manipulating Feishu Whiteboards programmatically. ## Configuration Requires `FEISHU_APP_ID` and `FEISHU_APP_SECRET` in environment or `config.json`. Scopes required: `board:whiteboard:node:create` **Whiteboard scripts** (draw_*.js, relocate.js, debug_*.js, create_dashboard_real.js): - `FEISHU_WHITEBOARD_ID` — target whiteboard ID (or use `--board-id=ID` CLI arg) **Wiki board creation** (create_wiki_board.js): - `FEISHU_WIKI_SPACE_ID` — wiki space
content-media
Sends voice messages (audio) to Feishu chats using Duby TTS.
development
# Feishu Video Conference Skill Manage Feishu Video Conferences (VC). ## Usage ### Reserve a Meeting Create a meeting reservation. ```bash node skills/feishu-vc/reserve.js --subject "Meeting Title" --time "2026-02-04T10:00:00+08:00" ``` ## API Reference - Reserve: `POST /open-apis/vc/v1/reserve` - Permissions required: `vc:meeting:request` (Update meeting reservation info) ## Setup Requires `FEISHU_APP_ID` and `FEISHU_APP_SECRET`.