feishu-backup
Back up files uploaded to a Feishu group chat to the local doc/backup directory. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/video/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "back up the file from Feishu", "back up the PDF I just sent to Feishu", "save the Feishu file locally", etc.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/caigang78/feishu-backupWhat This Skill Does
The feishu-backup skill is a specialized automation agent designed to streamline file management between your Feishu group chats and your local machine. It allows you to programmatically trigger downloads of shared files directly into your local ~/.openclaw/doc/backup/ directory. By utilizing smart environmental variables, the agent can parse natural language requests—such as filtering by time range, file type, or naming conventions—and execute the retrieval process without manual intervention.
Installation
To integrate this skill into your environment, use the OpenClaw management CLI. Open your terminal and execute:
clawhub install openclaw/skills/skills/caigang78/feishu-backup
Ensure that you have appropriate system permissions to write files to the designated backup directory and that your environment is configured for the Feishu API access required by the underlying shell script.
Use Cases
This skill is perfect for professionals who rely on Feishu for project collaboration. Use it to automatically capture project reports, meeting recordings, or design assets without navigating through group chat history. It is particularly useful for building an offline archive of important documentation shared during fast-paced discussions or for organizing large volumes of incoming files based on specific criteria like 'PDFs from the last 5 minutes'.
Example Prompts
- "Back up the PDF I just sent to Feishu."
- "Save the last three files from Feishu locally."
- "Please back up any files with 'project-contract' in the name that were uploaded recently."
Tips & Limitations
- Safety First: This skill strictly uses an existing shell script (
feishu_backup.sh) to perform downloads. It does not generate or forge file contents, protecting the integrity of your data. - Verification: Always verify the output. The script is designed to output
SUCCESS: /path/to/file. If you receive an error message, do not attempt to bypass it, as the backup may be incomplete. - Smart Matching: Remember that 'just now' is interpreted by the system as the last 5 minutes. If you need a broader range, specify the duration (e.g.,
MINUTES=10). - Size Matters: If a downloaded file is exceptionally small, check your network connection or API authorization, as this may indicate a failed or partial download.
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-caigang78-feishu-backup": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api, code-execution
Related Skills
slack-print
Print files uploaded to a Slack channel. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "print the file from Slack", "print the PDF I just sent to Slack", "print the Slack file", etc.
slack-backup
Back up files uploaded to a Slack channel to the local doc/backup directory. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/video/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "back up the file from Slack", "back up the PDF I just sent to Slack", "save the Slack file locally", etc.
feishu-print
Print files uploaded to a Feishu group chat. Supports smart matching: multiple files, filename prefix/keyword filter, file type (pdf/image), and time range ("just now" = "last 5 minutes"). Trigger when the user says things like "print the file from Feishu", "print the PDF I just sent to Feishu", "print the Feishu file", etc.