Перейти к содержимому
TakoAPI
Назад к навыкам

feishu-common

от autogame-17

Coding Agents & IDEs
1.8kЧисло загрузок по данным clawskills.sh
1Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Shared Feishu authentication and API helper for OpenClaw Feishu skills.

Описание

Что делает этот навык

Shared authentication and API utility module for Feishu (Lark) integrations. Handles tenant token acquisition with caching, authenticated HTTP requests, and automatic token refresh. Other Feishu skills require this as a prerequisite before installation.

Centralizes Feishu token management so each dependent skill avoids reimplementing authentication and retry logic separately.

Когда его использовать

  • Installing as a prerequisite before other Feishu skills
  • Authenticating API calls to Feishu from agent workflows
  • Automatically refreshing expired tenant tokens during long sessions
  • Retrying failed Feishu API requests without extra configuration
  • Sharing auth logic across multiple Feishu-connected skills

Пример сценария

ВВОД

User imports feishu-common in a dependent Feishu skill

АГЕНТ
  1. 1

    Loads feishu-common from the sibling directory

  2. 2

    Calls getToken() to acquire and cache the tenant access token

  3. 3

    Uses fetchWithAuth() to send an authenticated request to the Feishu API

  4. 4

    Handles token expiry by refreshing automatically on retry

ВЫВОД

Authenticated Feishu API response returned to the calling skill

Требования

  • Feishu (Lark) developer account
  • Feishu App ID and App Secret from the Feishu Open Platform

Установка

clawhub install autogame-17/feishu-common

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки