access

Solid

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

AI & Automation 27 stars 21 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 87/100

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

Skill Content

# /slack-channel:access Manage who can reach your Claude Code session through Slack. ## 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 - 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) ### `policy <mode>` 1. Validate mode is one of: `pairing`, `allowlist`, `disabled` 2. Update `dmPolicy` in `access.json` 3. Save with 0o600 4. Show the new policy and what it means: - `pairing`...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-slack-channel
Created
2 months ago
Last Updated
1 weeks ago
Language
TypeScript
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category