feishu-message-fallback
Feishu message fallback mechanism with retry logic. Automatically retries failed messages with exponential backoff and fallback from rich text to plain text.
Why use this skill?
Enhance your OpenClaw agent's communication reliability with the feishu-message-fallback skill. Features automatic retries, exponential backoff, and format degradation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/2426758093/feishu-message-fallbackWhat This Skill Does
The feishu-message-fallback skill is a robust communication middleware designed to ensure message delivery reliability within the OpenClaw ecosystem. Its primary function is to handle the volatile nature of API-based messaging by implementing a multi-layer resilience strategy. When triggered, the skill attempts to deliver content via Feishu's rich text format. If the API returns an error—whether due to network instability, content format incompatibility, or transient server-side issues—the system automatically initiates a retry sequence using an exponential backoff algorithm (1s, 2s, 4s). Should the rich text delivery exhaust all retry attempts, the skill performs an intelligent fallback to standard plain text, maximizing the probability of successful communication.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/2426758093/feishu-message-fallback
Once installed, you can configure the behavior parameters, such as retry thresholds and backoff intervals, directly within your project's TOOLS.md file or via the integration task JSON configuration.
Use Cases
- Mission-Critical Alerts: Ensuring system status notifications reach the team even during temporary network congestion.
- Complex Notification Workflows: When generating reports that occasionally contain incompatible formatting, this skill prevents data loss by stripping non-essential formatting rather than failing the task.
- Automated Reporting: Guaranteeing that daily performance summaries, generated via automated triggers, are successfully delivered to stakeholders without manual intervention.
Example Prompts
- "OpenClaw, notify the DevOps group in Feishu with the latest build status report, ensuring the message delivery is resilient to network issues."
- "Send a system error alert to user ou_faec8fadc584abfd18a2996f55d607b5, leveraging the fallback mechanism for guaranteed delivery."
- "Broadcast the deployment success message to the Engineering channel; use the automatic retry and text-fallback policy for all rich-text content."
Tips & Limitations
- Monitoring: Always check your error logs if a message falls back to plain text frequently, as this might indicate an issue with your rich-text formatting templates.
- Permissions: Ensure the associated Feishu bot has permission to send messages in the target channel, as authentication failures are treated as terminal errors and will not trigger retries.
- Message Length: Extremely large rich-text payloads may still fail due to Feishu platform character limits; ensure your content is appropriately chunked before attempting delivery.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-2426758093-feishu-message-fallback": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api