access

access is a skill for Claude Code from jeremylongshore/claude-code-slack-channel. It costs 74 tokens per session (2,059 once invoked), scanned A, original, Apache-2.0.

A tool for controlling who can reach a coding session through Slack, a workplace messaging service. It manages pairings, approved users, direct-message rules, and channel access.

In plain words
What is it for?
Use it to approve pairing codes, set direct-message policies, maintain an allowlist, opt channels in or out, and check the current configuration.
Why use it?
It prevents unwanted people or channels from interacting with the session and keeps access settings in one place.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the slack-channel plugin — 4 skills, 1 command, 1 MCP server shipped together

Good fit Use it to approve pairing codes, set direct-message policies, maintain an allowlist, opt channels in or out, and check the current configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeremylongshore/claude-code-slack-channel/access
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.

Any agent
npx skills add jeremylongshore/claude-code-slack-channel --skill access
Clone the repo
git clone --depth 1 https://github.com/jeremylongshore/claude-code-slack-channel

Made for: Claude Code.

Or install slack-channel, the plugin that ships this one along with the rest of its 4 skills, 1 command, 1 MCP server.

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 access

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeremylongshore/claude-code-slack-channel/access/github.svg)](https://agentmods.dev/skills/jeremylongshore/claude-code-slack-channel/access)
Your own site
<a href="https://agentmods.dev/skills/jeremylongshore/claude-code-slack-channel/access"><img src="https://agentmods.dev/badge/skills/jeremylongshore/claude-code-slack-channel/access/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for access

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeremylongshore/claude-code-slack-channel/access"><img src="https://agentmods.dev/badge/skills/jeremylongshore/claude-code-slack-channel/access.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 163
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 164
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00074 $0.02059
Opus 5 $0.00037 $0.01030
Sonnet 5 $0.00015 $0.00412
Haiku 4.5 $0.00007 $0.00206

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

Security

Grade A, and why

access scanned grade A with 0 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/access/SKILL.md · 166 lines

How it starts

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

/slack-channel:access

Overview

Manage who can reach your Claude Code session through Slack. This skill is the terminal-side half of the access-control model: it approves pairing codes, sets the DM policy, maintains the user allowlist, and opts channels in or out with an interaction mode. Every subcommand reads and rewrites the single state file (access.json) atomically.

Usage

/slack-channel:access pair <code>                          # Approve a pending pairing
/slack-channel:access policy <pairing|allowlist|disabled>   # Set DM policy
/slack-channel:access add <slack_user_id>                   # Add user to allowlist
/slack-channel:access remove <slack_user_id>                # Remove from allowlist
/slack-channel:access channel <channel_id> [--ambient] [--allow <user_id,...>]  # Opt in a channel (default: mention-to-engage)
/slack-channel:access channel remove <channel_id>           # Remove channel opt-in
/slack-channel:access status                                # Show current config

Prerequisites

  • A completed install (/slack-channel:install) — the state directory ~/.claude/channels/slack/ must exist.
  • State file: ~/.claude/channels/slack/access.json — every subcommand operates on this one file. It holds the DM policy, allowlist, channel opt-ins, and pending pairing codes, and must stay mode 0o600.
  • For pair, the MCP server should be running so the confirmation message can be delivered back to the Slack user.

Instructions

Parse $ARGUMENTS and execute the matching subcommand:

pair <code>

  1. Load access.json
  2. Find the pending entry matching <code> (case-insensitive)
  3. If not found or expired: show "No pending pairing with that code."
  4. If found:
    • Add entry.senderId to allowFrom
    • Remove the pending entry
    • Save access.json with permissions 0o600
    • Show: Approved! User <senderId> can now DM this session.
    • Send a confirmation message to the user in Slack (via the reply tool if the MCP server is running)

Read the full file on GitHub · 166 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. 10d ago First seen · 166 lines · 74 tokens per session scan A 46ba2f1877f2

Subscribe to this mod's changes

access is a skill published in the GitHub repository jeremylongshore/claude-code-slack-channel (39 stars, last pushed yesterday), licensed Apache-2.0. It adds 74 tokens to every session and 2,059 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.