ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 4/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/caigang78/slack-backup
Or

What This Skill Does

The slack-backup skill for OpenClaw is a specialized automation tool designed to bridge the gap between your Slack workspace and your local filesystem. It enables users to programmatically pull files uploaded to Slack channels and store them securely within the local ~/.openclaw/doc/backup/ directory. By leveraging the Slack API, this skill bypasses the need for manual downloading, renaming, and organizing of documents, images, or media files. It features an intelligent parsing engine that translates natural language requests into specific environment variable configurations, ensuring that only the relevant files are fetched.

Installation

To install this skill, run the following command in your terminal: clawhub install openclaw/skills/skills/caigang78/slack-backup

Use Cases

This skill is ideal for professionals who use Slack as a primary communication hub but require a local archive of project assets. It serves as an excellent tool for project managers who need to maintain a record of shared reports, content creators gathering assets from team members, and developers collecting log files or documentation shared in development channels. Whether you need to grab the latest file instantly or filter your backlog by specific keywords, dates, or file extensions, this utility handles the heavy lifting without manual intervention.

Example Prompts

  1. "Back up the PDF I just sent to Slack about ten minutes ago."
  2. "Back up the last three files that have the word 'contract' in the filename."
  3. "Back up the latest image file I uploaded to the project channel."

Tips & Limitations

  • Safety First: The script relies on direct execution of slack_backup.sh. Ensure the script output confirms SUCCESS: /path/to/file before assuming your backup is complete.
  • File Integrity: Always verify that the file size on disk is consistent with the original upload, as very small files may indicate a network error or API timeout.
  • Naming Conventions: Use the NAME_PREFIX or NAME_CONTAINS variables to avoid downloading unrelated documents when working in busy channels.
  • Constraint: This skill is strictly designed for downloading. It does not possess, and is explicitly restricted from, capabilities to edit files, create Python scripts, or fabricate file contents. Any errors reported by the underlying script must be interpreted literally and relayed to the user to maintain full transparency in the data transfer process.

Metadata

Author@caigang78
Stars4097
Views0
Updated2026-04-14
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-caigang78-slack-backup": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#slack#backup#automation#file-management#productivity
Safety Score: 4/5

Flags: file-read, external-api, code-execution