connecting-slack
>-
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit Tracer-Cloud/opensre/core/agent_harness/prompts/skills/onboarding-github-ci/d-connecting-slack .claude/skills/connecting-slackOr install it for every project:
npx degit Tracer-Cloud/opensre/core/agent_harness/prompts/skills/onboarding-github-ci/d-connecting-slack ~/.claude/skills/connecting-slackFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
--- name: connecting-slack description: >- Connect OpenSRE to Slack and show how to hand off DevOps chores from a channel mention or a DM. Verifies with cli_exec; if Slack is missing, queues `/integrations setup slack` via slash_invoke (the wizard needs a full terminal). Use for the startup demo option "Connect OpenSRE to Slack and hand off DevOps chores for your team". Never post, reply, or send to Slack in this flow. Multi-step; load before acting. getting_started: Connect Slack demo_order: 4 metadata: owner: Vincent last_changed_by: Jan last_changed_at: 2026-10-04 usecases: - For Slack workspace administrators connecting OpenSRE for their team. - For users verifying an existing Slack connection and learning channel or DM handoffs. requires: - Permission to add the OpenSRE bot to the target Slack workspace. - The cli_exec and slash_invoke tools. - When Slack setup is needed, an interactive terminal for /integrations setup slack. version: '1.4' --- # Slack handoff Verify or set up Slack, then explain how the team can hand off DevOps chores through a channel mention or a DM. ## Workflow rules - Never call Slack send/reply/react tools. - Never invent that Slack is connected; trust only `cli_exec` verify results. - Never call `cli_exec` with `integrations setup slack`. That wizard is interactive and `cli_exec` will refuse it. - After setup (or a successful verify), explain in two sentences how to hand off a chore: mention OpenSRE in a channel it can see, or DM it. ## Plan Track progress with the `update_plan` tool, not with headers or prose: - On entry, in the same response as the first workflow tool call (`cli_exec`), call `update_plan` with the steps below verbatim, the first step `in_progress`, and a one-line `explanation` (this is not a diagnosis; no hypothesis table): `Check Slack` / `Set up if needed` / `Explain the hand-off`. Mark `Check Slack` with `verifies: true` in every call: it is the check the text-only last step relies on to close. - After a step's tool results, call `update_plan` marking it `completed` and the next step `in_progress`, in the same response as the next step's single tool call. When Slack is already connected, mark `Set up if needed` completed without new tool calls instead of dropping it mid-run. - Do not narrate the plan or repeat step names in prose; the shell renders the checklist. ## Workflow ### 1. Check Slack Call `cli_exec` with payload `integrations verify slack`. ### 2. Set up if needed If Slack is not configured, call `slash_invoke` with command `/integrations` and args `["setup", "slack"]`, and stop. The shell queues that wizard on the next prompt so it gets exclusive stdin. If Slack is already connected, say so and skip setup. ### 3. Explain the hand-off Two sentences: mention OpenSRE in a channel or DM it; do not post anything from this demo. Then stop.