← 返回 Skills 市场
caigang78

Slack Backup

作者 caigang78 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
368
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install 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 ty...
安全使用建议
This skill is inconsistent and potentially unsafe as packaged. Before installing or running it: 1) Do not provide Slack credentials yet — SKILL.md doesn't say which env var or how the token is supplied. 2) Inspect the referenced ../shared/slack_downloader.py and ../shared/slack_args.sh files (they are not included) — the bash script will execute and source those files, so they must be trusted. 3) If those shared files come from the platform, ask the maintainer which Slack token env var is required and where that token will be stored/used. 4) If you proceed, test in an isolated environment and verify the downloader's code to ensure it only talks to Slack and writes only to the backup directory. 5) If the author cannot provide the missing files or a convincing explanation for why credentials are omitted, do not install — the mismatch is suspicious (likely poor packaging or hidden behavior), not proof of intent to harm, but worthy of caution.
功能分析
Type: OpenClaw Skill Name: slack-backup Version: 1.0.0 The slack-backup skill is a legitimate utility designed to download files from Slack to a local backup directory. The SKILL.md file contains notably defensive instructions that explicitly forbid the AI agent from creating or modifying files directly or fabricating content, which mitigates common prompt-injection risks. The shell script (slack_backup.sh) is a straightforward wrapper that passes environment variables to a downloader script, and no evidence of malicious intent, data exfiltration, or unauthorized persistence was found.
能力评估
Purpose & Capability
The skill's purpose is to download files from Slack, which requires a Slack API token or similar credential, but the registry metadata and SKILL.md declare no required environment variables or primary credential. The bundled bash script also references a Python downloader and an args helper located in ../shared that are not included in the skill. These missing pieces are not proportionate to the stated purpose and suggest poor packaging or hidden dependencies.
Instruction Scope
SKILL.md instructs the agent to set env vars and run slack_backup.sh only via exec, and to verify SUCCESS output. It does not describe how the script authenticates to Slack (which env var or config to provide). The instructions implicitly rely on external files (../shared/slack_downloader.py and ../shared/slack_args.sh) that the agent will execute or source, but those files are not part of the skill — this extends the skill's runtime scope beyond the provided bundle.
Install Mechanism
There is no install spec (instruction-only), which is low risk by itself, but the included slack_backup.sh executes ../shared/slack_downloader.py and sources ../shared/slack_args.sh. Executing/sourcing code outside the skill bundle (in a parent/shared directory) is a supply-chain risk: the skill will run code not delivered in the package, and there is no provenance or URL given for those files.
Credentials
The skill expects to call the Slack API but declares no required credentials. The script uses environment variables for behavior (LIMIT, MINUTES, NAME_PREFIX, FILE_TYPE) which are fine, but there is no declaration for the Slack token (e.g., SLACK_BOT_TOKEN or SLACK_TOKEN) or how authentication is supplied. Requesting zero env vars while needing an API token is disproportionate and ambiguous.
Persistence & Privilege
The skill is not forced-always and is user-invocable (normal). However, it sources an external script (../shared/slack_args.sh) and runs a Python downloader from ../shared — both actions execute code outside the skill's own directory. That gives the skill the ability to run arbitrary code from shared/system locations, increasing privilege and supply-chain attack surface.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install slack-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /slack-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of slack-backup. - Back up files uploaded to a Slack channel to the local doc/backup directory. - Supports smart matching: filter by filename prefix/keyword, file type (pdf/video/image), time range, and multiple files. - Triggered by natural language commands (e.g. "back up the file from Slack", "save the Slack file locally"). - Follows strict rules to ensure file integrity: only uses a shell script, verifies real file download, and strictly reports errors.
元数据
Slug slack-backup
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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 ty... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 368 次。

如何安装 Slack Backup?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install slack-backup」即可一键安装,无需额外配置。

Slack Backup 是免费的吗?

是的,Slack Backup 完全免费(开源免费),可自由下载、安装和使用。

Slack Backup 支持哪些平台?

Slack Backup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Slack Backup?

由 caigang78(@caigang78)开发并维护,当前版本 v1.0.0。

💬 留言讨论