Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
autogame-17 avatar

Feishu Common

  • 1 installs
  • 20 repo stars
  • Updated April 11, 2026
  • autogame-17/feishu-skills

feishu-common is a Claude skill providing shared Feishu (Lark) authentication and API request helpers with tenant token caching, auto-refresh, and authenticated fetch wrappers.

About

feishu-common is the shared authentication and API request helper for all OpenClaw Feishu skills. It acquires and caches a tenant access token, refreshes it automatically on expiry, and provides authenticated fetch wrappers with retry and timeout handling. Developers install it first because every other feishu-* skill imports its helpers. It reads FEISHU_APP_ID and FEISHU_APP_SECRET from the environment.

  • Shared Feishu auth helper every other feishu-* skill depends on
  • Tenant access token acquisition with local caching and auto-refresh
  • fetchWithAuth and fetchWithRetry wrappers with timeout and 401 handling

Feishu Common by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,982 of 2,719 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

feishu-common capabilities & compatibility

Free skill; requires a Feishu app credential pair (FEISHU_APP_ID / FEISHU_APP_SECRET).

Capabilities
feishu message · feishu doc
Works with
slack
From the docs

What feishu-common says it does

Shared authentication and API helper for all OpenClaw Feishu skills. Install this skill first -- every other `feishu-*` skill depends on it.
SKILL.md
export FEISHU_APP_ID=cli_xxxxx
SKILL.md
npx skills add https://github.com/autogame-17/feishu-skills --skill feishu-common

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars20
Last updatedApril 11, 2026
Repositoryautogame-17/feishu-skills

What it does

Provide cached tenant-token auth and authenticated fetch wrappers that all other Feishu skills reuse.

Who is it for?

Supplying cached tenant-token auth and retrying authenticated requests to every dependent feishu-* skill.

Skip if: Sending messages or reading documents on its own; it is an auth helper, not an end-user action.

When should I use this skill?

Setting up any Feishu skill that needs a tenant access token or authenticated API calls.

What you get

Dependent skills get a cached, auto-refreshing tenant token and authenticated fetch wrappers.

  • A cached tenant access token and authenticated fetch wrappers

By the numbers

  • 3 exported helpers (getToken, fetchWithRetry, fetchWithAuth)

Files

SKILL.mdMarkdownGitHub ↗

feishu-common

Shared authentication and API helper for all OpenClaw Feishu skills. Install this skill first -- every other feishu-* skill depends on it.

Prerequisites

Set these environment variables before using any Feishu skill:

export FEISHU_APP_ID=cli_xxxxx
export FEISHU_APP_SECRET=xxxxx

Usage

Import the shared helpers in any dependent skill:

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

Workflow

1. Authenticate -- getToken() acquires a tenant access token and caches it locally, refreshing automatically on expiry. 2. Make requests -- fetchWithAuth(url, options) adds the Authorization header and handles token refresh on 401 responses. 3. Handle failures -- fetchWithRetry(url, options) wraps fetch with configurable retry count and timeout.

Compatibility Alias

A legacy import path is available for backward compatibility:

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

Files

  • index.js -- Main implementation (token cache, retry logic, authenticated fetch).
  • feishu-client.js -- Compatibility alias that re-exports from index.js.

Related skills

FAQ

Which environment variables does it need?

FEISHU_APP_ID and FEISHU_APP_SECRET must be set before using any Feishu skill.

What helpers does it export?

getToken, fetchWithRetry, and fetchWithAuth from index.js, with a feishu-client.js compatibility alias.

Automation & Workflowsintegrationsbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.