openclaw自动化配置飞书,几乎不要人手动干预,测试成功
/install feishuskills
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.
- 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:
- Analyze the specific problem (authentication, messaging, API calls, etc.)
- Check if they have proper app credentials configured
- Implement the appropriate solution based on the use case
- 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:
- App Credentials: Uses
FEISHU_APP_IDandFEISHU_APP_SECRETfrom environment or configuration - Tenant Token: Automatically obtains and caches tenant access tokens with proper refresh logic
- User Tokens: Handles OAuth flows when user-specific actions are required
- 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:
- Manual Configuration Guide: Step-by-step instructions for manual setup
- Alternative APIs: Suggests different API endpoints or approaches
- Web Interface Workaround: Provides guidance for using Feishu web interface as alternative
- Community Solutions: References relevant GitHub repositories and community examples
Dependencies
This skill leverages existing Feishu skills when available:
feishu-doc: For document operationsfeishu-drive: For cloud storage managementfeishu-perm: For permission handlingfeishu-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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install feishuskills - 安装完成后,直接呼叫该 Skill 的名称或使用
/feishuskills触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
openclaw自动化配置飞书,几乎不要人手动干预,测试成功 是什么?
Automates Feishu integration with minimal manual input by handling authentication, messaging, events, APIs, error recovery, and fallback solutions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 362 次。
如何安装 openclaw自动化配置飞书,几乎不要人手动干预,测试成功?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install feishuskills」即可一键安装,无需额外配置。
openclaw自动化配置飞书,几乎不要人手动干预,测试成功 是免费的吗?
是的,openclaw自动化配置飞书,几乎不要人手动干预,测试成功 完全免费(开源免费),可自由下载、安装和使用。
openclaw自动化配置飞书,几乎不要人手动干预,测试成功 支持哪些平台?
openclaw自动化配置飞书,几乎不要人手动干预,测试成功 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 openclaw自动化配置飞书,几乎不要人手动干预,测试成功?
由 wangzhi8145(@wangzhi8145)开发并维护,当前版本 v1.0.0。