feishu-common Skill

Shared Feishu authentication and API helper for OpenClaw Feishu skills.

modbender Updated 12 repo stars

File contents

feishu-common Skill

Description

Shared Feishu authentication and API helper for OpenClaw Feishu skills.

Provides:

  • Tenant token acquisition and cache
  • Retry and timeout handling
  • Authenticated request wrapper with token refresh

Install Requirement

Install this skill before installing or running dependent Feishu skills.

Usage

Dependent skills should import from feishu-common:

const { getToken, fetchWithRetry, fetchWithAuth } = require("../feishu-common/index.js");

Compatibility alias is also available:

const { getToken, fetchWithAuth } = require("../feishu-common/feishu-client.js");

Files

  • index.js: Main implementation.
  • feishu-client.js: Compatibility alias to index.js.

modbender/skill-library-mcp/tree/main/data/feishu-common commit 4336c05b68

Frequently asked questions

npx skillmds@latest add modbender/feishu-common-skill