slack
Skill18k starsChanged 2 months agoMITView on GitHub
Things that aren't obvious from the docs and tend to cost debugging time. Neither carries the agent's output. Both are signals with IDs. Anthropic's session.status_idled payload is deliberately thin: {type, id}. You follow up with sessions.retrieve(id) (metadata) and sessions.events.list(id) (output). Push the signal, pull the data. On kickoff, set metadata: {slack_channel, slack_thread_ts, slack_team}. When the idle webhook arrives later with only a session ID, retrieve the session, read those keys back, and chat.postMessage to exactly the right thread, with nothing…
- Reads credentials
37 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- AceDataCloud/Skillstheir own version, first seen Oct 5, 2026
- obra/muse-skillstheir own version, first seen Sep 26, 2026
- BrOrlandi/my-claude-skillstheir own version, first seen Sep 22, 2026
- thensls/nsls-builder-toolkittheir own version, first seen Sep 21, 2026
- vercel-labs/agent-browsertheir own version, first seen Sep 16, 2026
- jalbarrang/skillstheir own version, first seen Aug 23, 2026
Who's talking about anthropics/claude-quickstarts
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-quickstarts ⭐ 18,532 (+453) 🗒 TypeScript A …”Bluesky · Oct 18, 2026 · 2 likes
- phananhtuan09/ai-agent-workflow“[Feature] runtime-e2e-test: setup mode that detects, proves, and fills project-runtime.md”GitHub · Nov 2, 2026
- MoradDev/skills-unified“Upstream updates to review”GitHub · Nov 1, 2026
- melodic-software/claude-code-plugins“docs(playbooks): re-anchor skill-authoring and fable-5 verification to the claude.dev blog posts”GitHub · Oct 31, 2026
- totalolage/deskohub-site“Run agent task evals against previews”GitHub · Oct 17, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub and Bluesky (23 times).
On GitHub · 22
- Nov 2, 2026[Feature] runtime-e2e-test: setup mode that detects, proves, and fills project-runtime.md — phananhtuan09/ai-agent-workflow0 reactions
- Nov 1, 2026Upstream updates to review — MoradDev/skills-unified0 reactions
- Oct 31, 2026docs(playbooks): re-anchor skill-authoring and fable-5 verification to the claude.dev blog posts — melodic-software/claude-code-plugins0 reactions · 4 comments
- Oct 17, 2026Run agent task evals against previews — totalolage/deskohub-site0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.anthropics.claude-quickstarts: init at 0-unstable-2026-08-21 — sudosubin/agents.nix0 reactions
17 more on GitHub
- Sep 23, 2026docs(managed_agents): move the self-hosted sandbox variants to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 21, 2026docs(managed_agents): move the Linear, road trip planner, and MCP server apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 16, 2026docs(managed_agents): move the Slack and Sentry apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions
- Sep 16, 2026docs(managed_agents): move the Slack and Sentry apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 15, 2026Factory.ai 深度调研报告 — Pines-Cheng/blog0 reactions
- Sep 13, 2026/automations: real product widgets + trademark disclaimer — clancybooher/peak-view-windows0 reactions · 1 comment
- Aug 2, 2026goal-maker/bhag: adopt Anthropic's long-run harness (immutable feature_list.json + append-only progress file + fixed bootstrap drill) — jackneil/claude-jacked0 reactions
- Feb 17, 2026Closing the loop - Infrastructure for Agentic Engineering — schemalabz/opencouncil0 reactions
- Feb 3, 2026[Feature] Add Session Persistence, Security Model, and Progress Tracking (v2.2.0) — jnPiyush/AgentX0 reactions · 4 comments
- Jan 13, 2026feat: Add support for ANTHROPIC_API_KEY authentication — nirmalarya/claude-harness0 reactions
- Jan 2, 2026Meta-Library Architecture: Transform Any AI Workflow Knowledge into Executable FSMs — JulesGosnell/claij0 reactions
- Jan 2, 2026Learn from Anthropic's Long-Running Harness Pattern — JulesGosnell/claij0 reactions
- Jan 1, 2026Does this work with Anthropics new Harness for long running agent strategy? — rubycatco/claude-agent-sdk-ruby0 reactions · 2 comments
- Dec 23, 2025Add a think tool — byronxlg/polyagent0 reactions
- Dec 11, 2025feat: Add Autonomous Claude Code Builder system — krzemienski/shannon-framework0 reactions · 2 comments
- Dec 6, 2025Clone Anthropic computer-use-demo into repository — matheus-rech/comp-use0 reactions · 2 comments
- Nov 10, 2025File Editor Tool — strands-agents/sdk-typescript0 reactions · 7 comments
On Bluesky · 1
- Oct 18, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-quickstarts ⭐ 18,532 (+453) 🗒 TypeScript A collection of projects designed to… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
Used with
Projects with it also use goplaces, bluebubbles and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
seedprodSkillgoplaces
Query Google Places API (New) via the goplaces CLI for text search, place details, resolve, and reviews. Use for human-friendly place lookup or JSON output for scripts.
Also in 5 projects that use this
seedprodSkillbluebubbles
Build or update the BlueBubbles external channel plugin for OpenClaw (extension package, REST send/probe, webhook inbound).
Also in 4 projects that use this
- +10 more from seedprod
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 37
- vercel-labs/agent-browser★ 44ksame name
- vercel-labs/emulate★ 1.9ksame name
- vellum-ai/vellum-assistant★ 1.4ksame name
- refly-ai/refly-skills★ 203same name
- earlyaidopters/claudeclaw★ 172same name
- magnus919/agent-skills★ 109same name
- hyperfx-ai/marketing-skills★ 94same name
- seedprod/openclaw-prompts-and-skills★ 93same name
- Innei/Kagura★ 53same name
- tdimino/claude-code-minoan★ 40same name
27 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- managed-agents/assistant-ui/CLAUDE.mdCLAUDE.md
- managed-agents/chat-sdk/CLAUDE.mdCLAUDE.md
- managed-agents/copilot-kit-ag-ui/CLAUDE.mdCLAUDE.md
- managed-agents/daily-brief/CLAUDE.mdCLAUDE.md
- managed-agents/knowledge-wiki/CLAUDE.mdCLAUDE.md
- managed-agents/linear/CLAUDE.mdCLAUDE.md
- managed-agents/mcp-server-typescript/CLAUDE.mdCLAUDE.md
- managed-agents/roadtrip-planner/CLAUDE.mdCLAUDE.md
- managed-agents/self-hosted-sandboxes/CLAUDE.mdCLAUDE.md
- managed-agents/sentry/CLAUDE.mdCLAUDE.md
- managed-agents/slack/CLAUDE.mdCLAUDE.md
- first-runSkill
- verifySkill
- assistant-uiSkill
- chat-sdkSkill
- verifySkill
- knowledge-wikiSkill
- linearSkill
- mcp-server-typescriptSkill
- roadtrip-plannerSkill
- sentrySkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 35 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Create your app against that sandbox workspace and develop normally.
- Very specific: line 64
Not only yours. If the Anthropic workspace is shared with other agents, scripts, or teammates, every session.status_idled in that workspace …
“Common” is measured: kept by at least 6 in 10 of the 35 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup tips & tricks: Slack × Claude Managed Agents webhook bridge
Things that aren't obvious from the docs and tend to cost debugging time.
Mental model
Two webhooks, one bridge
- Slack → bridge (
/slack/events) fires on @mention. Payload carrieschannel,ts,thread_ts,user,text. - Anthropic → bridge (
/managed-agents/webhook) fires on session idle. Payload carries only the session ID.
Neither carries the agent's output. Both are signals with IDs.
The webhook is a doorbell, not a delivery
Anthropic's session.status_idled payload is deliberately thin: {type, id}. You follow up with sessions.retrieve(id) (metadata) and sessions.events.list(id) (output). Push the signal, pull the data.
metadata is the entire routing state
On kickoff, set metadata: {slack_channel, slack_thread_ts, slack_team}. When the idle webhook arrives later with only a session ID, retrieve the session, read those keys back, and chat.postMessage to exactly the right thread, with nothing stored in the bridge itself. This is what makes it stateless.
Slack's 3-second ack window
Slack retries any event that doesn't get a 2xx within 3 seconds. The bridge must return before the session finishes. So: verify the signature, dedupe on event_id, fire kickoffAgentSession() without awaiting it, and return 204 immediately.
Gotchas
Use a developer sandbox, not your company workspace
Slack's Developer Program sandboxes give you a free Enterprise Grid org to test in: admin rights, fake users/channels, no risk of installing a half-built bot into production. This is not the "agent quickstart". It's Developer Program → Sandboxes:
- Join the Slack Developer Program → activate via email → accept ToS.
- From the program dashboard: Provision Sandbox → pick empty or pre-loaded with fake users/channels → click again.
- Finish setup from the email invite. You become Primary Org Owner. Name the org and create at least one workspace inside it.
- Create your app against that sandbox workspace and develop normally.
OAuth scope ≠ event subscription
Adding app_mentions:read under OAuth & Permissions → Bot Token Scopes grants permission to see mentions. It does not cause Slack to deliver them. You must also go to Event Subscriptions, toggle it On, set the Request URL, and add app_mention under "Subscribe to bot events." Two separate pages. Miss the second one and you get zero deliveries with no error anywhere.
xoxb- vs xapp-: two tokens, two pages, easy to grab the wrong one
| Token | Prefix | Page | Used for |
| Bot User OAuth Token | xoxb- | OAuth & Permissions (after install) | chat.postMessage. This is the one you want |
| App-Level Token | xapp- | Basic Information → App-Level Tokens | Socket Mode WebSocket only |
chat.postMessage with an xapp- token fails with invalid_auth. The xoxb- token only exists after you've added at least one bot scope and clicked Install/Reinstall to Workspace.
Bridge must be running before you save the Request URL
Saving the Event Subscriptions URL triggers an immediate url_verification POST. If nothing is listening on the tunnel you get "Your URL didn't respond" and the URL won't save. Start bun run dev first, then paste the URL.
Anthropic webhooks are workspace-scoped
The endpoint you register in Console only receives events for sessions in that same workspace. If your Anthropic credentials are from workspace A but you registered the endpoint in workspace B: zero deliveries, silently. Match the workspace picker on the Webhooks page to the Workspace column on your API key, or to the workspace ant auth login signed you into.
A workspace webhook fires for every session in the workspace
Not only yours. If the Anthropic workspace is shared with other agents, scripts, or teammates, every session.status_idled in that workspace hits your endpoint. Your handler has to filter:
- Retrieve-then-filter, always first.
sessions.retrieve(id)→ check for yourslack_channelmetadata key → bail with 204 if absent. Do this beforeevents.list()or any other work. Otherwise unrelated sessions throw 404 deeper in the handler. - Catch 404/403 on
sessions.retrieve. Sessions created under other API keys in the same workspace aren't readable by yours. - For production, use a dedicated Anthropic workspace. Each unrelated session costs one
retrieve()call to discard it. A workspace that only contains this agent's sessions avoids that.
The idle webhook only trusts routes it signed
metadata says where to reply, but it does not prove the session is the bridge's. Anyone with credentials for the same Anthropic workspace can start a session, on this same agent, with slack_channel and slack_thread_ts of their choosing. A handler that trusted those keys would post their text into your Slack channel with your bot token. Checking session.agent.id and session.environment_id is a useful first filter and nothing more, because agent IDs are not secrets.
So at kickoff src/agent.ts stores slack_route_sig, an HMAC over the session ID, channel, and thread, keyed by a secret derived from SLACK_SIGNING_SECRET, which never leaves the bridge. src/managed-agents-webhook.ts recomputes it and compares in constant time before posting anything. The session ID is part of the signed text on purpose: metadata is readable by the same people who can forge it, so a signature over the route alone could be copied onto another session. The signature is also single-use. A signed session is still a session that anyone with workspace credentials can send another message to, and its next idle would post their text into the channel. So once the bridge has delivered, or decided it never will, it deletes slack_route_sig from the metadata, and later idles are refused. A retryable failure leaves it in place so the retry can still verify. The bridge also remembers delivered sessions in memory and takes a per-session lock right after verifying, because the remote delete can fail and two idle events for one session carry different event ids. And the signed text includes an issued-at time: a route older than 24 hours is refused, so one whose delivery keeps failing does not stay live with no end. An agent run longer than that loses its reply. Raise MAX_AGE_SECONDS in src/route-signature.ts if yours do. If you fork this, keep the verify call between the metadata read and the first Slack call, and keep the delete after the delivery. Rotating SLACK_SIGNING_SECRET invalidates the signatures of sessions still running, and their replies are dropped with a log line.
Message text is untrusted input
The prompt is whatever a Slack user typed. The agent has the full toolset (bash, web fetch) with always_allow, in a sandbox with unrestricted egress, and nobody approves a step. src/agent.ts wraps the message in <slack_message> tags and the system prompt tells the agent that tagged text is data. That lowers the odds that an injected instruction is followed. It does not remove them. Keep secrets out of the sandbox, scope any repo or MCP credentials you add to what a hostile message should be able to touch, and consider switching environments/slack-assistant.yaml to limited networking with an allowlist.
unwrap() needs a plain header map
client.beta.webhooks.unwrap(body, {headers}) wants Record<string, string>, not a fetch Headers object. Pass Object.fromEntries(req.headers).
event.id is your idempotency key
Anthropic retries failed deliveries with the same top-level event.id. Slack retries with the same event_id inside the body. Dedupe on both, but only mark an Anthropic id handled once handling finished. If it threw, the retry has to be processed or the reply is lost. A duplicate that arrives while the first attempt is still running gets a 503, not a 204: acking it would mark the event delivered while the outcome is still unknown. Return 2xx once you've either handled or ignored the event. Anything else triggers a retry, and ~20 consecutive Anthropic failures auto-disables your endpoint.
No approval surface, so tools are always_allow
agents/slack-assistant.md sets permission_policy: {type: always_allow} on the toolset. An always_ask tool idles the session with stop_reason: requires_action. The bridge reads the idle event's stop_reason, so it posts a warning that the agent is waiting on an approval nobody can give, not the half-finished preamble. budget_reached and retries_exhausted get a warning too. Only end_turn posts the reply. If you add an approval flow (a Slack button that sends user.tool_confirmation), switch the risky tools back to always_ask.
Local dev checklist
ngrok http 3000→ note the public URL. Optionally set it asBASE_URLin.envso the startup log prints the two full webhook URLs.ant auth login(or exportANTHROPIC_API_KEY), thenant apply agents environments. It creates the agent and environment and writes their IDs toclaude-lock.json, which the bridge reads at startup. Nothing to paste into.envfor them;cp .env.example .envfor the Slack secrets below.- Slack app → OAuth & Permissions → Bot Token Scopes:
app_mentions:read,chat:write(+im:historyfor DMs) → Install to Workspace → copyxoxb-…→SLACK_BOT_TOKEN. - Slack app → Basic Information → copy Signing Secret →
SLACK_SIGNING_SECRET. - Claude Console → Manage → Webhooks:
<url>/managed-agents/webhook, subscribesession.status_idled+session.status_terminated→ copywhsec_…→ANTHROPIC_WEBHOOK_SIGNING_KEY. Same workspace as your Anthropic credentials. bun run dev. The server must be up before step 7.- Slack app → Event Subscriptions → On → Request URL
<url>/slack/events→ Verified ✓ → add bot eventapp_mention(+message.imfor DMs, and turn on App Home → Messages Tab) → Save Changes → reinstall if prompted. - In Slack:
/invite @your-botto a channel, then@your-bot hello.
Debugging a silent failure
- Nothing in the bridge log at all → Slack isn't reaching you. Check
curl localhost:4040/api/requests/http(ngrok's request log). No/slack/eventsPOSTs = Event Subscriptions not saved, or Socket Mode is on. [agent] kickofflogged but no reply → ngrok log shows/managed-agents/webhookPOSTs? If none: Anthropic workspace mismatch or endpoint not saved. If 401:ANTHROPIC_WEBHOOK_SIGNING_KEYmismatch. If the log showschat.postMessage failed:invalid_authmeansSLACK_BOT_TOKENis wrong (check forxapp-),missing_scopemeans nochat:write.FATAL: no agent or environment ID→ant apply agents environmentshasn't run in this directory yet, so there is noclaude-lock.jsonbesidepackage.json, or it stopped partway and the lockfile lacks one of the two (run it again and read its error). If you ran it from another directory, the lockfile is there instead: run it again from here.ant applyfails with 409 on the environment → environment names are unique per workspace and someone already createdquickstart-slack-assistant-envthere (an earlier run of this quickstart's oldagents/setup.sh, usually). The environment is created first, so the agent was not created either.ant applycan't adopt an existing resource: changenameinenvironments/slack-assistant.yamland runant apply agents environmentsagain. To reuse the existing environment instead, deleteenvironments/slack-assistant.yaml, set its ID asCLAUDE_ENVIRONMENT_IDin.env, and runant apply agents.- The bot answers with an old prompt or model → check the
Using agent ... (from ...)line the bridge prints at startup.from CLAUDE_AGENT_IDmeans there is noclaude-lock.jsonentry and an ID from.envor.env.localis in use (Bun loads both, and an older setup of this bridge wrote IDs there): runant apply agents environmentshere, or delete the stale lines. chat.postMessage failed ... not_in_channel→/invite @your-botto the channel first.
Production notes
- Replace ngrok with a real deploy. Nothing else changes.
- Replace the in-memory
seenEventIdsSets with Redis/DB for multi-instance idempotency. - For a distributed (multi-workspace) Slack app, swap the static
SLACK_BOT_TOKENfor a per-team store keyed onmetadata.slack_team, and add the Slack OAuth flow. - Each @mention starts a fresh session (no memory across turns). For threaded conversations, cache
thread_ts → session_idand send follow-ups viasessions.events.sendinstead ofsessions.create.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

