r0han01

Claude Agent SDK Slack Ops — Security skill for Claude Code

Security community

Four Claude Agent SDK agents that run an online store from Slack: support, analytics, bug-fix PRs, ops reports.

How to install Claude Agent SDK Slack Ops

This entry records only its repository, not the path inside it, so there is no exact command to give. Open r0han01/claude-agent-sdk-slack-ops and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Agent SDK Slack Ops does

Four Claude Agent SDK agents that run an online store from Slack: support, analytics, bug-fix PRs, ops reports. Human approvals, code-enforced guardrails, audit log, budgets, Linear tickets, measured evals.

Alternatives in Security

  • Skills Audit Report — Date: 2026-02-15 Auditor: Automated Skill Quality Audit Scope: Recently added skills in business-growth/, fina 5.3k ★
  • Skill Coverage Audit — Trace codepaths in diffs, map against tests, auto-generate missing coverage — use before shipping PRs 2.8k ★
  • ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★

README

claude-agent-sdk-slack-ops

Four [Claude Agent SDK](https://code.claude.com/docs/en/agent-sdk/overview) agents that run a (fictional) online coffee store from Slack: customer support, data analysis, bug fixing with real pull requests, and a daily ops report. Built spec-first: every feature started as a spec in [`specs/`](specs/) with a "done when" checklist.

Channel Agent Highlights
#customer-support Answers customers from store data, issues refunds, escalates bugs Custom tools, refunds need a human ✅, amount computed by code
#data-analyst Plain English → SQL → table + the SQL used Read-only enforced twice: a pre-tool hook and a read-only DB connection
#dev-agent Reproduces a bug with a failing test, fixes it, has a reviewer subagent check it, opens a PR after ✅ Sandbox-confined file access, shell allowlist, our code re-runs the tests
#ops-digest Posts yesterday's runs, failures, approvals and cost every morning Reads only the audit log; every number comes from a query

**Tickets (Linear):** complaints that point to a software bug become Linear tickets (the support agent searches first, so duplicates get a comment instead). Tickets labeled `agent-fixable`, whether filed by the agent or written by a person in Linear, show up in `#dev-agent` with a **Start** button. The ticket's status follows the work: In Progress when started, **In Review** with the PR link once a human approves the fix.

How it works

Slack ──Socket Mode──► Bolt app (src/index.ts)
                         │ ignore bots/edits/duplicates · one run per thread · daily $ cap
                         ▼
                   Orchestrator ──► picks the agent for the channel, resumes the thread's session
                         │
                         ▼
               Claude Agent SDK query()
                 · permissionMode "dontAsk" + explicit tool allowlist (deny by default)
                 · settingSources [] (no local Claude set