connect-slack

connect-slack is a skill for Claude Code, Codex from matteblack9/coding-agent-fabric. It costs 28 tokens per session (1,041 once invoked), scanned C, original, MIT.

A setup guide for connecting Slack, a team messaging service, to an existing Project Orchestrator.

In plain words
What is it for?
It is for enabling or repairing Slack through Socket Mode, a connection method that does not need a public callback URL.
Why use it?
It provides a defined process for collecting credentials, storing them safely, and checking that the connection works.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/matteblack9/coding-agent-fabric/connect-slack
Any agent
npx skills add matteblack9/coding-agent-fabric --skill connect-slack
Clone the repo
git clone --depth 1 https://github.com/matteblack9/coding-agent-fabric

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for connect-slack

README.md
[![agentmods](https://agentmods.dev/badge/skills/matteblack9/coding-agent-fabric/connect-slack.svg)](https://agentmods.dev/skills/matteblack9/coding-agent-fabric/connect-slack)
Your own site
<a href="https://agentmods.dev/skills/matteblack9/coding-agent-fabric/connect-slack"><img src="https://agentmods.dev/badge/skills/matteblack9/coding-agent-fabric/connect-slack.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01041
Opus 5 $0.00014 $0.00521
Sonnet 5 $0.00006 $0.00208
Haiku 4.5 $0.00003 $0.00104

Measured 5d ago against content hash e0c21982bf44, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

connect-slack scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

### 3. Collect Credentials
skills/connect-slack/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

connect-slack

When To Use

  • The user wants to connect or repair the Slack channel
  • Slack credentials are missing, expired, or stored in the wrong place
  • channels.slack.enabled must be turned on in orchestrator.yaml

Slack uses Socket Mode, so no public callback URL is required.

Runtime Adaptation

  • claude Read this file first, then use CLAUDE.md or .claude/ only as extra repo context.
  • cursor Follow this file first, then apply .cursor/rules, AGENTS.md, and CLAUDE.md if they add local policy.
  • codex Treat this file as the operational checklist. Do not assume slash-command wrappers exist.
  • opencode Follow this file first, then honor AGENTS.md and any OpenCode-specific config already present.

Rules

  • Never overwrite an existing credentials file without explicit confirmation
  • Present auto-detected values as numbered choices whenever possible
  • Credential files use key : value formatting with spaces on both sides of the colon
  • ARCHIVE/ must stay outside git tracking
  • Ask for secrets one field at a time and mask them in summaries

Procedure

1. Environment Preflight

Connecting Slack requires the orchestrator to be installed, Python packages to be available, and a writable credential location.

1-1. Verify orchestrator.yaml

If the file is missing, stop and run the setup-orchestrator skill first.

1-2. Verify ARCHIVE_PATH

Resolve it from orchestrator.yaml:

ARCHIVE_PATH=$(python3 -c "import yaml; print(yaml.safe_load(open('orchestrator.yaml')).get('archive', 'ARCHIVE'))")

Confirm the value before writing secrets.

1-3. Verify Python packages
$PYTHON_CMD -c "import slack_bolt" 2>/dev/null
$PYTHON_CMD -c "import slack_sdk" 2>/dev/null

If either package is missing, offer:

[1] Install now
[2] Install manually and continue later
1-4. Check for existing credentials

If ARCHIVE/slack/credentials already exists, show a masked summary and ask whether to overwrite it.

Read the full file on GitHub · 167 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 167 lines · 28 tokens per session scan C e0c21982bf44

Subscribe to this mod's changes

connect-slack is a skill published in the GitHub repository matteblack9/coding-agent-fabric (2 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 1,041 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens