GB-Power-Market-JJ feishu-common

feishu-common Skill

install
source · Clone the upstream repo
git clone https://github.com/GeorgeDoors888/GB-Power-Market-JJ
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.claude/skills && cp -r "$T/openclaw-skills/skills/autogame-17/feishu-common" ~/.claude/skills/georgedoors888-gb-power-market-jj-feishu-common && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/openclaw-skills/skills/autogame-17/feishu-common" ~/.openclaw/skills/georgedoors888-gb-power-market-jj-feishu-common && rm -rf "$T"
manifest: openclaw-skills/skills/autogame-17/feishu-common/SKILL.md
source content

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
    .