remote-from-slack
GitHub通过 AI DevKit 连接当前 Agent 会话与 Slack 频道,实现从 Slack 控制或聊天。包括检查就绪状态、列出频道、选择并启动桥接服务,支持后台运行及停止操作。
触发场景
安装
npx skills add codeaholicguy/ai-devkit --skill remote-from-slack -g -y
SKILL.md
Frontmatter
{
"name": "remote-from-slack",
"description": "AI DevKit · Connect the current agent session to an available Slack channel bridge."
}
Remote From Slack
Use this skill when the user wants to control or chat with the current session from Slack.
Prefer the installed ai-devkit binary; if unavailable, use npx ai-devkit@latest. Run AI DevKit commands outside filesystem sandboxes because they inspect host-level agent and channel state.
Workflow
-
Check readiness:
ai-devkit status --jsonIf AI DevKit is not ready, use
ai-devkit-setupskill first. Stop if setup leaves manual actions. -
Inspect channels and agents:
ai-devkit channel list ai-devkit agent list --json -
Identify the current agent by matching this session to an
agent list --jsonentry. If unclear, ask for the agent name. -
Find configured Slack channels. If none exist, tell the user to run:
ai-devkit channel connect slackStop after giving that action.
-
Choose a channel. Use the requested channel or the only available Slack channel. If multiple Slack channels are available, ask the user which one to use. Available means Slack, enabled, credentials present, and not already running.
-
If no Slack channel is available because bridges are already running, ask before stopping one. After confirmation:
ai-devkit channel stop <channel> -
Start the bridge in the background:
ai-devkit channel start <channel> --agent <agent-name> --daemon -
Report the connected channel, agent name, and how to stop it:
ai-devkit channel stop <channel>.
Boundaries
- Do not create or connect a Slack channel for the user; only point them to
channel connect. - Do not stop a running bridge without explicit confirmation.
- Do not guess when both agent or channel selection are ambiguous.
版本历史
- 5941ca5 当前 2026-09-08 23:35


