跳到主要内容

configure 精选

Check iMessage channel setup and review access policy. Use when the user asks to configure iMessage, asks "how do I set this up" or "who can reach me," or wants to know why texts aren't reaching the assistant.

编码 Claude CodeMCP 客户端 Apache-2.0 3.8 万
在 GitHub 打开

安装方式

cp -r external_plugins/imessage/skills/configure ~/.claude/skills/configure-2

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/anthropics/claude-plugins-official.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 无外部命令依赖
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
who can reach meor
allowed-tools
Read Bash(ls *)

SKILL.md 正文

来源 anthropics/claude-plugins-official@f359d43 · 许可 Apache-2.0 · 内容未修改

/imessage:configure — iMessage Channel Setup

There's no token to save — iMessage reads ~/Library/Messages/chat.db

directly. This skill checks whether that works and orients the user on

access policy.

Arguments passed: $ARGUMENTS (unused — this skill only shows status)


Status and guidance

Read state and give the user a complete picture:

  1. Full Disk Access — run ls ~/Library/Messages/chat.db. If it fails

with "Operation not permitted", FDA isn't granted. Say: *"Grant Full Disk

Access to your terminal (or IDE if that's where Claude Code runs): System

Settings → Privacy & Security → Full Disk Access. The server can't read

chat.db without it."*

  1. Access — read ~/.claude/channels/imessage/access.json (missing file

= defaults: dmPolicy: "allowlist", empty allowlist). Show:

  • DM policy and what it means in one line
  • Allowed senders: count, and list the handles
  • Pending pairings: count, with codes if any (only if policy is pairing)
  1. What next — end with a concrete next step based on state:
  • FDA not granted → the FDA instructions above
  • FDA granted, policy is allowlist → *"Text yourself from any device

signed into your Apple ID — self-chat always bypasses the gate. To let

someone else through: /imessage:access allow +15551234567."*

  • FDA granted, someone allowed → *"Ready. Self-chat works; {N} other

sender(s) allowed."*


Build the allowlist — don't pair

iMessage reads your personal chat.db. You already know the phone

numbers and emails of people you'd allow — there's no ID-capture problem to

solve. Pairing has no upside here and a clear downside: every contact who

texts this Mac gets an unsolicited auto-reply.

Drive the conversation this way:

  1. Read the allowlist. Tell the user who's in it (self-chat always works

regardless).

  1. Ask: "Besides yourself, who should be able to text you through this?"
  2. "Nobody, just me" → done. The default allowlist with an empty list

is correct. Self-chat bypasses the gate.

  1. "My partner / a friend / a couple people" → ask for each handle

(phone like +15551234567 or email like them@icloud.com) and offer to

run /imessage:access allow <handle> for each. Stay on allowlist.

  1. Current policy is pairing → flag it immediately: *"Your policy is

pairing, which auto-replies a code to every contact who texts this Mac.

Switch back to allowlist?"* and offer `/imessage:access policy

allowlist`. Don't wait to be asked.

  1. User asks for pairing → push back. Explain the auto-reply-to-

everyone consequence. If they insist and confirm a dedicated line with

few contacts, fine — but treat it as a one-off, not a recommendation.

Handles are +15551234567 or someone@icloud.com. disabled drops

everything except self-chat.


Implementation notes

  • No .env file for this channel. No token. The only OS-level setup is FDA

plus the one-time Automation prompt when the server first sends (which

can't be checked from here).

  • access.json is re-read on every inbound message — policy changes via

/imessage:access take effect immediately, no restart.

质量与来源

所属仓库
anthropics/claude-plugins-official
仓库星标
3.8 万
最近更新
今天
采集时间
今天
commit
f359d43b4060
内容指纹
sha256:3afdc7e9faa36aa
文件路径
external_plugins/imessage/skills/configure/SKILL.md

同仓库其它 Skill

查看全部 33 个
access
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the iMessage channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
claude-automation-recommender
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wants to know what Claude Code features they should use.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端

相似 Skill

更多「编码」
code-simplifier
Review RTK Rust code for idiomatic simplification. Detects over-engineering, unnecessary allocations, verbose patterns. Applies Rust idioms without changing behavior.
精选 rtk-ai/rtk 8.3 万 原文
Claude CodeCodex CLI
design-patterns
Rust design patterns for RTK. Newtype, Builder, RAII, Trait Objects, State Machine. Applied to CLI filter modules. Use when designing new modules or refactoring existing ones.
精选 rtk-ai/rtk 8.3 万 原文
Claude CodeCodex CLI
issue-triage
Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
精选 rtk-ai/rtk 8.3 万 原文
Claude CodeCodex CLI
performance
CLI performance optimization - startup time, memory usage, token savings benchmarking
精选 rtk-ai/rtk 8.3 万 原文
Claude CodeCodex CLI
pr-review
Batch review des PRs RTK par ordre de complexité croissante (XS → S → M → L). Pour chaque PR : vérifie l'état (conflits, CLA, reviews), lit le diff complet, analyse le code en contexte, présente un résumé avec lien + taille + recommandation. Attend validation explicite avant tout merge. Poste des commentaires boldguy-adapt sur les PRs bloquées (conflit, CLA, CHANGES_REQUESTED). Args: "triage" pour lancer un triage complet avant la review. "from:<num>" pour reprendre à partir d'un numéro de PR spécifique.
精选 rtk-ai/rtk 8.3 万 原文
Claude CodeCodex CLI
pr-triage
PR triage: audit open PRs, deep review selected ones, draft and post review comments. Args: "all" to review all, PR numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.
精选 rtk-ai/rtk 8.3 万 原文
Claude CodeCodex CLI