access

Featured

Manage Slack channel access control — pairing, allowlist, channel opt-in

AI & Automation 1,886 stars 257 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /slack-channel:access ## Overview Manage who can reach your Claude Code session through Slack. Controls DM pairing, user allowlists, and channel opt-in policies via a local `access.json` state file with strict file permissions. ## Prerequisites - The `slack-channel` MCP plugin must be installed and configured (run `/slack-channel:configure` first) - State directory `~/.claude/channels/slack/` must exist (created by configure) - Write access to `~/.claude/channels/slack/access.json` ## 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> [--mention] [--allow <user_id,...>] # Opt in a channel /slack-channel:access channel remove <channel_id> # Remove channel opt-in /slack-channel:access status # Show current config ``` ## State File `~/.claude/channels/slack/access.json` ## 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 - ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category