Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- No code changes in this release. - Documentation (SKILL.md) reviewed and left unchanged.
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User imports feishu-common in a dependent Feishu skill
- 1Loads feishu-common from the sibling directory
- 2Calls getToken() to acquire and cache the tenant access token
- 3Uses fetchWithAuth() to send an authenticated request to the Feishu API
- 4Handles token expiry by refreshing automatically on retry
Authenticated Feishu API response returned to the calling skill
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.