← 返回 Skills 市场
hirebrianm

Slack Channel Context

作者 Brian · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
98
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install slack-channel-context
功能描述
Automatically loads Slack channel context files (e.g., bebops.md, C0AK8SDFS4W.md) into session context for Slack channels and threads. Use this skill wheneve...
安全使用建议
This skill is internally consistent and appears safe to install, but review the following before enabling: (1) it will read any Markdown files in ~/.openclaw/workspace/slack-channel-contexts/ (or a custom SLACK_CONTEXT_CONTEXTS_DIR) and inject that text into agent session context — do not store secrets or sensitive data in those files; (2) the skill may create the contexts directory and write a README.md there the first time it runs; (3) the skill is a helper library and does not itself connect to Slack — your Slack integration must call load_channel_context and pass message metadata; (4) documentation has minor inconsistencies (cache TTL default and .env handling), so verify environment variables are set to the values you expect. If you want to be cautious, inspect the skill's scripts (present in the package) and disable it in openclaw.json or set SLACK_CONTEXT_ENABLED=false until you're ready.
功能分析
Type: OpenClaw Skill Name: slack-channel-context Version: 1.0.0 The skill is designed to automatically load Slack channel-specific context from local Markdown files into an AI session. It is classified as suspicious because the implementation in `scripts/skill.py` and `scripts/load_context.py` lacks input sanitization on the `channel_id` and `channel_name` parameters, which are used to construct file paths. This creates a path traversal vulnerability that could allow an attacker to read arbitrary `.md` files on the host system if the agent is provided with a malicious channel identifier (e.g., `../../etc/shadow`). No evidence of intentional malice, data exfiltration, or unauthorized remote control was found.
能力评估
Purpose & Capability
Name/description align with implementation: the code looks up <CHANNEL_ID>.md and <CHANNEL_NAME>.md in a slack-channel-contexts directory and returns the file contents. No unrelated credentials or binaries are requested.
Instruction Scope
The docs imply the skill 'detects when you're in a Slack channel or thread', but the implementation is a library/helper that accepts message metadata (channel_id/channel_name) and does not itself connect to Slack or listen to events. Also there are small documentation inconsistencies (e.g., cache TTL shown as 7200 in one place and 3600 in others, and mixed guidance about using export vs writing .env). These are documentation quality issues rather than malicious behavior.
Install Mechanism
No install spec or external downloads are used. The skill is instruction+code only and runs locally; there are no remote URLs or packages being fetched at runtime.
Credentials
The skill does not require secrets or credentials. It reads optional configuration environment variables (SLACK_CONTEXT_* ) that control local behavior; none are required to function. This is proportionate to the stated purpose.
Persistence & Privilege
always:false and agent invocation defaults are normal. The skill will create and write a README.md and create the slack-channel-contexts directory under the user's workspace if missing (its own data area) — expected for a local context manager and limited in scope.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install slack-channel-context
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /slack-channel-context 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug slack-channel-context
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Slack Channel Context 是什么?

Automatically loads Slack channel context files (e.g., bebops.md, C0AK8SDFS4W.md) into session context for Slack channels and threads. Use this skill wheneve... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。

如何安装 Slack Channel Context?

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

Slack Channel Context 是免费的吗?

是的,Slack Channel Context 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Slack Channel Context 支持哪些平台?

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

谁开发了 Slack Channel Context?

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

💬 留言讨论