slack

slack is a skill for Claude Code, Codex from mnlt/teleport. It costs 48 tokens per session (1,661 once invoked), scanned B, original, MIT.

A Slack integration that lets a coding agent work with a Slack workspace through its web interface. Slack is a team messaging service used for channels, direct messages, files, and reactions.

In plain words
What is it for?
Use it to send and read messages, search conversations, list channels and users, handle files, and manage reactions or pins.
Why use it?
It removes the need to switch tools or perform routine workspace actions manually from the Slack interface.

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/mnlt/teleport/slack
Any agent
npx skills add mnlt/teleport --skill slack
Clone the repo
git clone --depth 1 https://github.com/mnlt/teleport

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 slack

README.md
[![agentmods](https://agentmods.dev/badge/skills/mnlt/teleport/slack.svg)](https://agentmods.dev/skills/mnlt/teleport/slack)
Your own site
<a href="https://agentmods.dev/skills/mnlt/teleport/slack"><img src="https://agentmods.dev/badge/skills/mnlt/teleport/slack.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,661 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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 $0.00048 $0.01661
Opus 5 $0.00024 $0.00830
Sonnet 5 $0.00010 $0.00332
Haiku 4.5 $0.00005 $0.00166

Measured 4d ago against content hash cac7cbd1ee23, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

slack scanned grade B with 2 findings 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**Do NOT suggest editing `~/.claude/settings.local.json` manually.** The `teleport-setup add-key` command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restar

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sL -X POST -H "Authorization: Bearer $SLACK_BOT_TOKEN" \
skills/slack/SKILL.md · 105 lines

How it starts

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

Slack

Operates Slack via its public Web API (https://slack.com/api/METHOD). Covers messaging, channels/DMs, users, files, search, reactions, and pins — no MCP server required.

Usage

  • Use for: Posting to channels, reading recent history, listing channels/members, searching messages, managing reactions/pins.
  • Skip for: Interactive back-and-forth (needs Events API / RTM), human approval flows, Enterprise Grid admin ops (SCIM / Admin API).

Credentials check

[ -n "${SLACK_BOT_TOKEN:-$SLACK_USER_TOKEN}" ] && echo "SLACK_TOKEN: PRESENT" || echo "SLACK_TOKEN: MISSING"

Never echo the variable directly — the value would appear in the conversation transcript. Use only the boolean pattern above.

If MISSING, respond to the user with EXACTLY this message (do NOT paraphrase, do NOT suggest manual JSON edits):

I need your slack credential. Run this in another terminal — it'll open the signup page, validate format, and save it safely with masked input:

teleport-setup add-key slack

Then restart Claude Code (/exit, then claude) and ask me again.

Do NOT suggest editing ~/.claude/settings.local.json manually. The teleport-setup add-key command handles it with backup, validation, and masked input. Stop execution until the user has run the command and restarted.

API

  • Base URL: https://slack.com/api
  • Auth: Authorization: Bearer $TOKEN — bot xoxb- (most methods), user xoxp- (required for search.*). Header only, never query param.
  • HTTP 200 on errors. Status alone means nothing — every response is JSON {"ok": true|false, ...}; on false, read .error (channel_not_found, missing_scope, invalid_auth, ratelimited, not_in_channel, no_text). Always branch on .ok.
  • Content-Type: application/json; charset=utf-8 for writes; reads also accept form-encoded / GET query strings.
  • Rate limits: per-method tiers (Tier 1 ~1/min admin → Tier 4 100+/min; Special for chat.postMessage ~1/sec/channel + workspace cap). On 429, honor Retry-After: <seconds> header.

Read the full file on GitHub · 105 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. 4d ago First seen · 105 lines · 48 tokens per session scan B cac7cbd1ee23

Subscribe to this mod's changes

slack is a skill published in the GitHub repository mnlt/teleport (8 stars, last pushed 4mo ago), licensed MIT. It adds 48 tokens to every session and 1,661 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). 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

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — errors, failed tool calls, latency, regressions, and low online-eval scores — plus Diagnostics issues. Reads live/production traces via the SDK (searchtraces and agentinsights) and works with no MCP; uses the MCP issue entity when connected.…

comet-ml/opik-mcp · 147 tokens

client-scripts

Write ServiceNow client scripts (onLoad/onChange/onSubmit/onCellEdit) using gform, guser, GlideAjax, field visibility/mandatory toggles, and validation with debounced server calls.

serac-labs/serac · 45 tokens

agoragentic-transaction-assurance

Prepare, evaluate, and reconcile autonomous agent transactions without self-granting payment or owner authority. Use when an agent must bind principal authority, seller terms, payment evidence, execution, delivered outcome, and reconciliation; handle paid retries safely; or prepare an authority request for owner…

rhein1/agoragentic-integrations · 65 tokens

maya-shot-export

Pipeline stage — shot-level export: frame ranges, cameras, FBX / Alembic packaging for editorial. Use when packaging shot data for downstream departments. Not for full pipeline publish (maya-pipeline) or scene assembly (maya-scene-assembly).

dcc-mcp/dcc-mcp-maya · 60 tokens

bdd-container-update

Update the BDD test container image when its dependencies or runtime change. Determines version bump (major vs minor vs patch), rebuilds the Docker image, pushes to GitLab registry, and updates the image tag in starttest.sh. Test source (tests/, features/, scripts/, data/, conftest.py) is bind-mounted from the host…

NVIDIA-AI-Blueprints/video-search-and-summarization · 117 tokens

knowledge

Unified cross-store knowledge query. Searches MEMORY.md, Thoughtbox knowledge graph, git history, and assumption registry in parallel, returning results with provenance.

Kastalien-Research/thoughtbox · 31 tokens