# Feishu Common

> feishu-common Skill

- Skill: `javimosch/feishu-common` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/feishu-common`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/feishu-common/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/feishu-common

---

# 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`:

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

Compatibility alias is also available:

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

## Files
- `index.js`: Main implementation.
- `feishu-client.js`: Compatibility alias to `index.js`.

