wangzhi8145

openclaw自動化配置飛書,幾乎不要人手動干預,測試成功

AI 智慧體v1.0.0
作者:wangzhi8145更新於 2026-05-17feishuskills@clawhub_wangzhi8145/feishuskills
任務自動化工作流編排#Documentation#Feishu

據 AlphaMoat 統計,截至 2026-09,openclaw自動化配置飛書,幾乎不要人手動干預,測試成功 累計下載 1,357 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 4,862 位,在「AI 智慧體」分類(969 個)中排名第 935 位。

累計安裝
105
累計下載
1357
星標
-
全站排名
#4,862
全站前 96% · 「AI 智慧體」前 97%
平台累計安裝累計下載星標評論
ClawHub ↗281003--
SkillHub ↗1051357-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文描述了生成實現指導和錯誤恢復流程;實際部署前仍需審查程式碼及許可權。隨附風險說明指出生成檔案可能暴露憑據,Webhook 示例也需檢查認證與簽名驗證;應使用最小許可權並保護令牌。

資料釋出於 2026-10-29

可以用來做什麼

  • 規劃飛書應用、機器人或文件 API 的整合步驟。
  • 梳理 token、許可權、Webhook 與錯誤處理要求。
  • 為自動化失敗準備人工操作或備用 API 路徑。

什麼時候用

  • 需要排查飛書 OpenAPI 整合問題時。
  • 需要設計機器人訊息、文件或 Webhook 流程時。
  • 部署生成程式碼前需要審查憑據處理、簽名驗證和許可權範圍時。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

概述此技能涵蓋的飛書整合領域和回退方式。
為一個飛書 Webhook 整合擬定憑據、簽名與許可權審查清單。

月度資料趨勢

累計下載1357
23683814402026-03 · 累計下載 3192026-05 · 累計下載 6882026-07 · 累計下載 10152026-08 · 累計下載 11312026-09 · 累計下載 135726-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-091357—-
2026-081131+11.4%-
2026-071015—-
2026-05688—-
2026-03319—-

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.5 KB · ClawHub v1.0.0
# Feishu Integration Problem Solver

This skill automatically solves Feishu integration problems by researching official documentation, finding community solutions, and implementing the most reliable automation approach.

## Capabilities

- **Authentication & Authorization**: Handles app_id/app_secret setup, tenant access tokens, user access tokens, and bot access tokens
- **Message Handling**: Supports text, rich text, cards, and file messages with proper formatting
- **Event Processing**: Webhook event handling with signature verification and proper response format
- **API Integration**: Comprehensive support for Feishu's service APIs including docs, drive, wiki, calendar, etc.
展開全部(共 96 行)
- **Error Handling**: Intelligent error diagnosis and recovery for common issues like token expiration, permission errors, and rate limiting
- **Fallback Strategies**: When complete automation isn't possible, provides alternative approaches and manual workarounds

## Usage

### Basic Integration Setup
When users mention Feishu integration issues, this skill will:
1. Analyze the specific problem (authentication, messaging, API calls, etc.)
2. Check if they have proper app credentials configured
3. Implement the appropriate solution based on the use case
4. Provide fallback options if automation isn't possible

### Supported Scenarios
- **Bot Development**: Creating interactive bots that respond to messages and events
- **Document Automation**: Reading/writing Feishu documents and cloud files
- **Workflow Integration**: Connecting Feishu with external systems and services
- **Permission Management**: Handling sharing and collaboration permissions
- **Knowledge Base Access**: Reading and managing Feishu wiki/knowledge base content

## Implementation Details

### Authentication Flow
The skill implements the standard Feishu authentication flow:
1. **App Credentials**: Uses `FEISHU_APP_ID` and `FEISHU_APP_SECRET` from environment or configuration
2. **Tenant Token**: Automatically obtains and caches tenant access tokens with proper refresh logic
3. **User Tokens**: Handles OAuth flows when user-specific actions are required
4. **Bot Tokens**: Manages bot access tokens for messaging capabilities

### Error Recovery
Common error scenarios and their solutions:
- **Token Invalid (99991663)**: Automatically refreshes expired tokens
- **Permission Denied (99991672)**: Guides users through permission setup in Feishu admin console
- **Rate Limiting**: Implements exponential backoff with jitter
- **Network Issues**: Provides retry logic with circuit breaker patterns

### Fallback Strategies
When automation isn't possible:
1. **Manual Configuration Guide**: Step-by-step instructions for manual setup
2. **Alternative APIs**: Suggests different API endpoints or approaches
3. **Web Interface Workaround**: Provides guidance for using Feishu web interface as alternative
4. **Community Solutions**: References relevant GitHub repositories and community examples

## Dependencies

This skill leverages existing Feishu skills when available:
- `feishu-doc`: For document operations
- `feishu-drive`: For cloud storage management  
- `feishu-perm`: For permission handling
- `feishu-wiki`: For knowledge base operations

If these skills aren't available, it implements basic functionality directly using Feishu's REST APIs.

## Security Considerations

- **Credential Management**: Never logs or exposes app secrets
- **Token Storage**: Caches tokens securely with automatic expiration
- **Input Validation**: Validates all inputs to prevent injection attacks
- **Rate Limiting**: Respects Feishu's API rate limits to avoid account restrictions

## Testing & Validation

The skill includes built-in validation:
- **Connection Test**: Verifies app credentials and basic connectivity
- **Permission Check**: Validates required permissions before attempting operations
- **Mock Mode**: Allows testing without making actual API calls (for development)
- **Diagnostic Output**: Provides detailed logs for troubleshooting

## Examples

### Example 1: Bot Message Handling
```
User: "My Feishu bot isn't receiving messages"
Skill: Checks webhook configuration, verifies signature validation, tests message routing
```

### Example 2: Document Access
```
User: "I can't read Feishu documents programmatically"  
Skill: Implements document reading with proper authentication, handles permission errors, suggests alternative approaches
```

### Example 3: Permission Issues
```
User: "Getting permission denied when trying to share files"
Skill: Guides through permission setup, implements proper sharing workflow, provides manual workaround
```

「AI 智慧體」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。