feishu-common

Manage Feishu API authentication and refresh app access tokens.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/WangK0221/OpenClaw_Shrimp --skill feishu-common-wangk0221
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-common
Source: https://github.com/WangK0221/OpenClaw_Shrimp/tree/main/skills/feishu-common
Command: npx skills add https://github.com/WangK0221/OpenClaw_Shrimp --skill feishu-common-wangk0221

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotenv, undici, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies interacting with the Feishu API by handling authentication and providing a standardized way to make authenticated requests, reducing boilerplate code for developers.

Core Features & Use Cases

  • App Access Token Management: Automatically fetches and refreshes Feishu App Access Tokens.
  • Authenticated API Requests: Provides a fetchWithAuth function to make secure requests to Feishu endpoints.
  • Use Case: When you need to send a message to a Feishu group, this skill ensures your request is properly authenticated, allowing seamless integration with Feishu's messaging features.

Quick Start

Use the feishu-common skill to get an access token for Feishu API calls.

Frequently Asked Questions about feishu-common

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get an access token for Feishu API integration?

To get an access token for Feishu API integration, you need valid Feishu App ID and App Secret environment variables. This Skill automatically fetches and refreshes the application access tokens required for secure communication.

How do I make authenticated API requests to Feishu endpoints?

To make authenticated API requests to Feishu endpoints, use the provided `fetchWithAuth` utility function. It handles secure communication by automatically attaching the refreshed application access token to your outgoing requests.

What environment variables do I need to set up for Feishu API authentication?

For Feishu API authentication, you need to set up the App ID and App Secret environment variables. These credentials are required to generate the application access tokens used for authenticating your fetch utility requests.

Why does my Feishu API request fail with an expired token?

Your Feishu API request fails with an expired token because the application access token has expired. This Skill manages this issue by automatically refreshing the App Access Tokens to ensure continuous authenticated communication.

What's the best way to reduce boilerplate code for Feishu API calls?

The best way to reduce boilerplate code for Feishu API calls is to use an authentication helper Skill. It standardizes authenticated requests and manages token lifecycle automatically, allowing seamless integration with services like Feishu messaging.

Does feishu-common work with dotenv for managing Feishu API credentials?

Yes, feishu-common works with dotenv for managing Feishu API credentials. It requires valid App ID and App Secret environment variables, which dotenv can load, to successfully generate the necessary application access tokens.