Token导航 LogoToken导航

Agent Skill · 研究检索

cyrus-setup-slack(cyrus 设置 Slack)

用于处理 Slack 工作区里的频道、消息、线程、用户和通知信息。它适合让 Agent 查询团队沟通记录、整理上下文、回复线程或辅助协作提醒。使用时需要确认机器人或用户 token 是否具备目标频道访问权,私有频道和历史消息通常有额外权限限制;发送消息、@成员或批量读取对话时,应避免泄露内部讨论和敏感工作信息。

cyrus-setup-slack 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 35,312。

总安装 2,105周安装 86GitHub Stars 559下载 674核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cyrus-setup-slack(cyrus 设置 Slack)
来源仓库:https://github.com/ceedaragents/cyrus
仓库路径:skills/cyrus-setup-slack
安装命令:
npx skills add https://github.com/ceedaragents/cyrus --skill cyrus-setup-slack
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ceedaragents/cyrus --skill cyrus-setup-slack

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

创建 Slack 应用并配置 Cyrus 响应频道消息。需从 Slack 控制台下载 manifest 并部署机器人。验证 SLACK_BOT_TOKEN 是否存在,不存在则引导生成。禁止抓取网页提取 token,须用户手动复制粘贴。

cyrus-setup-slack 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/cyrus-setup-slack

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/ceedaragents/cyrus --skill cyrus-setup-slack;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

cyrus-setup-slack 怎么安装?

在终端执行 npx skills add https://github.com/ceedaragents/cyrus --skill cyrus-setup-slack。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

cyrus-setup-slack 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

cyrus-setup-slack 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

cyrus-setup-slack 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

cyrus-setup-slack 用的人多吗?

公开数据是累计安装 2,105 次,近一周安装 86 次,下载 674 次,GitHub 559 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

cyrus-setup-slack 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
cyrus-setup-slack

cyrus 设置 Slack · 本页

2,105559接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

CRITICAL: Never use Read, Edit, or Write tools on ~/.cyrus/.env or any file inside ~/.cyrus/. Use only Bash commands (grep, printf >>, etc.) to interact with env files — secrets must never be read into the conversation context. Never scrape, extract, or read secret values from web pages — guide the user to copy them manually.

Setup Slack

Creates a Slack application from a pre-built manifest so Cyrus can respond to messages in Slack channels.

Step 1: Check Existing Configuration

grep -E '^SLACK_BOT_TOKEN=' ~/.cyrus/.env 2>/dev/null

If SLACK_BOT_TOKEN is already set, inform the user:

Slack is already configured. Skipping this step. To reconfigure, remove SLACK_BOT_TOKEN and SLACK_SIGNING_SECRET from ~/.cyrus/.env and re-run.

Skip to completion.

Step 2: Read Variables

Read the base URL (set by setup-endpoint):

grep '^CYRUS_BASE_URL=' ~/.cyrus/.env | cut -d= -f2-

You also need AGENT_NAME and AGENT_DESCRIPTION — these were collected in Step 0 of the orchestrator and should be available from the conversation context.

Step 3: Build Manifest JSON

Construct the manifest, substituting <AGENT_NAME>, <AGENT_DESCRIPTION>, and <CYRUS_BASE_URL> with actual values.

IMPORTANT: Use the manifest template EXACTLY as shown below. The event subscription path MUST be /slack-webhook (not /slack/events or any other path). This matches the route registered by SlackEventTransport in the Cyrus codebase.

{
    "display_information": {
        "name": "<AGENT_NAME>",
        "description": "<AGENT_DESCRIPTION>",
        "background_color": "#00240e"
    },
    "features": {
        "bot_user": {
            "display_name": "<AGENT_NAME>",
            "always_online": false
        }
    },
    "oauth_config": {
        "redirect_urls": [
            "<CYRUS_BASE_URL>/slack/oauth/callback"
        ],
        "scopes": {
            "user": [
                "canvases:read",
                "canvases:write",
                "channels:history",
                "chat:write",
                "groups:history",
                "im:history",
                "mpim:history",
                "users:read",
                "users:read.email",
                "reactions:write",
                "search:read.public",
                "search:read.private",
                "search:read.mpim",
                "search:read.im",
                "search:read.files",
                "search:read.users"
            ],
            "bot": [
                "groups:read",
                "app_mentions:read",
                "assistant:write",
                "canvases:write",
                "channels:history",
                "channels:read",
                "chat:write",
                "chat:write.customize",
                "groups:history",
                "im:history",
                "mpim:history",
                "reactions:write",
                "search:read.files",
                "search:read.public",
                "search:read.users",
                "users:read",
                "users:read.email",
                "mpim:read"
            ]
        },
        "pkce_enabled": false
    },
    "settings": {
        "event_subscriptions": {
            "request_url": "<CYRUS_BASE_URL>/slack-webhook",
            "bot_events": [
                "app_mention",
                "member_joined_channel"
            ]
        },
        "org_deploy_enabled": false,
        "socket_mode_enabled": false,
        "token_rotation_enabled": false
    }
}

Step 4: Create Slack App

All paths use the "From a manifest" flow. Never create the app "From scratch".

Determine which browser automation mode to use (see orchestrator rules):

  1. If claude-in-chrome MCP tools are available → use Path A-1 (claude-in-chrome)
  2. If agent-browser is installed and a Chrome debug session is connected → use Path A-2 (agent-browser)
  3. Otherwise → use Path B (manual)

Path A-1: claude-in-chrome Automation

Use the mcp__claude-in-chrome__* tools to navigate and interact with the user's existing Chrome browser.

  1. Navigate to https://api.slack.com/apps
  2. Click Create New App
  3. Select From a manifest in the modal
  4. Pick the workspace
  5. Click Next
  6. Select JSON tab and paste the manifest from Step 3 (fully substituted with real values)
  7. Click Next, review, click Create

After creation, the app lands on the Basic Information page. Do NOT take screenshots of credential pages. Proceed to Step 5 (credential collection).

Path A-2: agent-browser Automation

If agent-browser is connected to a Chrome debug session:

4a. Navigate to Slack app creation
agent-browser navigate "https://api.slack.com/apps"

Take a screenshot to verify the page loaded and the user is logged in.

4b. Click "Create New App"
agent-browser click "button:text('Create New App')"
4c. Select "From a manifest" in the modal
agent-browser click "button:text('From a manifest')"
4d. Select workspace

Take a screenshot to see the workspace picker. Click the appropriate workspace. If multiple are listed, ask the user which one.

agent-browser click "button:text('Next')"
4e. Select JSON format and paste manifest

Click the JSON tab if not already selected:

agent-browser click "button:text('JSON')"

Paste the manifest using JavaScript:

agent-browser eval "var editor = document.querySelector('textarea, [role=\"textbox\"], .ace_editor textarea, .CodeMirror textarea'); if (editor) { var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLTextAreaElement.prototype, 'value').set; nativeInputValueSetter.call(editor, JSON.stringify(<MANIFEST_JSON>, null, 2)); editor.dispatchEvent(new Event('input', { bubbles: true })); 'pasted'; } else { 'editor not found'; }"

If that doesn't work, try:

agent-browser click "textarea"
agent-browser keyboard "Control+a"
agent-browser type '<MANIFEST_JSON_STRING>'

Take a screenshot to verify, then click Next:

agent-browser click "button:text('Next')"
4f. Review and create

Take a screenshot to verify the summary, then click Create:

agent-browser click "button:text('Create')"

After creation, do NOT screenshot credential pages or attempt to scrape secrets. Proceed to Step 5.

Path B: Manual Guided Setup

Guide the user through the manifest flow:

### Create a Slack App 1. Go to https://api.slack.com/apps 2. Click Create New App 3. In the modal, select From a manifest 4. Pick the workspace you want to associate the app with 5. Click Next 6. Select JSON format and paste the following manifest:

Print the fully-substituted manifest JSON for the user to copy.

1. Click Next, review the summary, then click Create

Proceed to Step 5.

Step 5: Install App & Collect Credentials

After the app is created (via any path), guide the user through installation and credential collection. The agent must NOT scrape, read, or extract secrets from the page. The user copies them manually.

5a. Install to Workspace

Tell the user:

1. In your Slack app settings, go to Install App in the left sidebar 2. Click Install to Workspace 3. Click Allow

If using browser automation (A-1 or A-2), the agent can navigate to the Install App page and click the buttons — but must stop after installation completes and not screenshot the resulting page.

5b. Add Credential Placeholders

Add placeholder lines to the env file so the user can fill them in:

grep -q '^SLACK_BOT_TOKEN=' ~/.cyrus/.env || echo 'SLACK_BOT_TOKEN=' >> ~/.cyrus/.env
grep -q '^SLACK_SIGNING_SECRET=' ~/.cyrus/.env || echo 'SLACK_SIGNING_SECRET=' >> ~/.cyrus/.env

5c. Open env file for editing

# macOS
code --new-window ~/.cyrus/.env 2>/dev/null || open -a TextEdit ~/.cyrus/.env
# Linux
code --new-window ~/.cyrus/.env 2>/dev/null || xdg-open ~/.cyrus/.env

5d. Guide the user to copy credentials

Tell the user:

I've opened ~/.cyrus/.env. You need to paste two values: 1. Bot User OAuth Token — go to your app's OAuth & Permissions page, copy the Bot User OAuth Token (starts with xoxb-), and paste it after SLACK_BOT_TOKEN= 2. Signing Secret — go to your app's Basic Information page, scroll to App Credentials, click Show next to Signing Secret, copy it, and paste it after SLACK_SIGNING_SECRET= Save and close the file when done.

5e. Wait and verify

After the user confirms they've saved, verify:

grep -c '^SLACK_BOT_TOKEN=.' ~/.cyrus/.env
grep -c '^SLACK_SIGNING_SECRET=.' ~/.cyrus/.env

Both must return 1 (the . after = ensures the value is not empty). If either is 0, ask the user to check the file.

Completion

✓ Slack app created from manifest and installed ✓ Bot token and signing secret saved to ~/.cyrus/.env

Note: The event subscription request_url will fail Slack's verification challenge until Cyrus is actually running. Once Cyrus is started, go to the app's Event Subscriptions page and re-enter the URL to trigger verification, or Slack will retry automatically.

平台分布

Claude

34.06%
按下载量换算230

Codex

32.99%
按下载量换算222

Cursor

18.29%
按下载量换算123

Gemini CLI

9.14%
按下载量换算62

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills