用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ComeOnOliver/skillshub --skill access命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Review product and feature risk before an AI coding agent starts implementation.
Use Xquik for X data and confirmation-gated X actions: tweet search, user lookup, follower export, media download, monitors, webhooks, MCP, and SDK workflows.
Canton Network open-source ecosystem guide covering DAML SDK, Canton runtime, and Splice applications. Use when working with Canton Network, DAML smart contracts, or building decentralized applications.
基于 SOC 职业分类
正在显示 SKILL.md
| name | access |
| description | Manage Slack channel access control — pairing, allowlist, channel opt-in |
| version | 1.0.0 |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| license | MIT |
| user-invocable | true |
| argument-hint | pair <code> | policy <mode> | add <user_id> | remove <user_id> | channel <id> [opts] | status |
| allowed-tools | Read, Write, Edit |
| compatible-with | claude-code |
| tags | ["mcp","access"] |
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.
slack-channel MCP plugin must be installed and configured (run /slack-channel:configure first)~/.claude/channels/slack/ must exist (created by configure)~/.claude/channels/slack/access.json/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
~/.claude/channels/slack/access.json
Parse $ARGUMENTS and execute the matching subcommand:
pair <code>access.json<code> (case-insensitive)entry.senderId to allowFromaccess.json with permissions 0o600Approved! User <senderId> can now DM this session.policy <mode>pairing, allowlist, disableddmPolicy in access.jsonpairing: New DMs get a code to approve (default)allowlist: Only pre-approved users can DMdisabled: No DMs acceptedadd <user_id>allowFrom (deduplicate)remove <user_id>allowFromallowFrom listschannel <channel_id> [--mention] [--allow <ids>]--mention: require @mention to trigger (default: false)--allow <id1,id2>: restrict to specific users in that channelchannels[channel_id] in access.jsonchannel remove <channel_id>channels[channel_id]statusaccess.jsonaccess.jsonaccess.jsonaccess.json is corrupt, move it aside and start freshEach subcommand produces a confirmation message:
| Error | Cause | Resolution |
|---|---|---|
access.json not found | Plugin not yet configured | Run /slack-channel:configure to initialize state directory |
| Invalid pairing code | Code expired or mistyped | Show "No pending pairing with that code" and list active codes if any |
| Corrupt JSON | Manual edit or write failure | Move access.json aside, create fresh default, warn user |
| Permission denied | File permissions too restrictive | Check and reset to 0o600 on access.json |
Approve a pairing request:
/slack-channel:access pair ABC123
→ Approved! User U04EXAMPLE can now DM this session.
Switch to allowlist-only mode:
/slack-channel:access policy allowlist
→ DM policy set to "allowlist". Only pre-approved users can message this session.
Opt in a channel with mention requirement:
/slack-channel:access channel C01EXAMPLE --mention
→ Channel C01EXAMPLE opted in (requires @mention to trigger).
/slack-channel:configure