feishu-common
por autogame-17
Coding Agents & IDEsResumen
Shared Feishu authentication and API helper for OpenClaw Feishu skills.
Descripción
Qué hace esta skill
Shared authentication and API utility module for Feishu (Lark) integrations. Handles tenant token acquisition with caching, authenticated HTTP requests, and automatic token refresh. Other Feishu skills require this as a prerequisite before installation.
Centralizes Feishu token management so each dependent skill avoids reimplementing authentication and retry logic separately.
Cuándo usarla
- Installing as a prerequisite before other Feishu skills
- Authenticating API calls to Feishu from agent workflows
- Automatically refreshing expired tenant tokens during long sessions
- Retrying failed Feishu API requests without extra configuration
- Sharing auth logic across multiple Feishu-connected skills
Flujo de trabajo de ejemplo
User imports feishu-common in a dependent Feishu skill
- 1
Loads feishu-common from the sibling directory
- 2
Calls getToken() to acquire and cache the tenant access token
- 3
Uses fetchWithAuth() to send an authenticated request to the Feishu API
- 4
Handles token expiry by refreshing automatically on retry
Authenticated Feishu API response returned to the calling skill
Requisitos
- Feishu (Lark) developer account
- Feishu App ID and App Secret from the Feishu Open Platform
Instalación
clawhub install autogame-17/feishu-commonEjecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.