A secure, lightweight command-line skill that downloads file, image, and audio attachments from Feishu chat messages directly to local storage for downstream processing by AI agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install feishu-fetch
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install feishu-fetch using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
feishu-fetch is a specialized automation skill designed to extract and download attachments—such as files, images, and audio—from Feishu group chat messages. Operating completely within your secure local environment, this tool utilizes standard endpoints like im/v1/messages/{id}/resources/{key} and interacts solely with open.feishu.cn. It is a critical component of Openclaw Skills, giving AI agents the ability to seamlessly transition from receiving a chat attachment to processing it locally with specialized file-readers or analytical pipelines.
Designed with strict security protocols, the tool reads credentials dynamically from local storage and features zero third-party data forwarding. It also implements automated token management, trap-based cleanup of temporary files, and auto-detect mechanisms to identify message attachment types out-of-the-box. This ensures zero credential leakage while delivering robust pipeline capabilities for modern AI workflows.
om_xxx) and optional parameters.~/.openclaw/openclaw.json based on the specified agent profile.Make sure your system has curl, python3, and bash installed.
Configure your Feishu credentials inside the OpenClaw configuration file at ~/.openclaw/openclaw.json:
{
\"channels\": {
\"feishu\": {
\"accounts\": {
\"main\": {
\"appId\": \"cli_your_app_id\",
\"appSecret\": \"your_app_secret\"
}
}
}
}
}
Ensure your Feishu custom application has the minimum required permissions enabled in the developer console:
im:resource (Tenant-level file and resource access)Execute the script directly by pointing to your local skills directory:
bash ~/.openclaw/skills/feishu-fetch/scripts/feishu-fetch.sh <message_id> [options]
~/.openclaw/openclaw.json)| Path | Type | Description |
|---|---|---|
channels.feishu.accounts.<agent_name>.appId |
String | Feishu Developer App Client ID |
channels.feishu.accounts.<agent_name>.appSecret |
String | Feishu Developer App Client Secret |
| Option | Required | Default | Description |
|---|---|---|---|
message_id |
Yes | - | The unique Feishu message ID (must start with om_) |
--type |
No | Auto | Resource category (file, image, or audio) |
--output |
No | /tmp/<filename> |
Target absolute path for the downloaded attachment |
--agent |
No | $AGENT_NAME or main |
Explicit account profile to load from configuration |
root_id) for precise downloading.--agent parameter.--print-key flag to extract only the internal file keys for troubleshooting without downloading physical data.Loading
A transformative AI agent skill that helps leaders, managers, and teams shift from a short-term finite mindset to a long-term, purpose-driven infinite mindset based on Simon Sinek's core principles.

An AI-powered mentoring agent skill based on Dawn Staley's memoir to help users build discipline, conquer adversity, navigate unfamiliar spaces, and lead with purpose.

Design semantic web and knowledge graph architectures by converting domain models into production-ready RDF and OWL ontology schemas.

An executable AI toolkit based on Austin Channing Brown's book to help users navigate white spaces, understand systemic exhaustion, and cultivate Black dignity and joy.

An all-in-one homestay and B&B operations assistant designed to guide hosts through site evaluation, pricing strategies, OTA optimization, customer service SOPs, and financial analytics.

Translate human-readable natural language questions directly into executable Cypher and SPARQL queries for graph databases and knowledge graphs.








































