跳到正文
cccskills
Claude 官方免费在 GitHub 公开

configure

Check whether the iMessage channel can read messages on a Mac and review who is allowed to contact the assistant. Get guidance on required permissions, current access rules, and the next setup step.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Check initial iMessage channel setup
  • Investigate why texts do not reach the assistant
  • Review approved senders and access rules
  • Set up access for yourself or selected contacts

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/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."

  2. 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)
  3. 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).
  2. Ask: "Besides yourself, who should be able to text you through this?"
  3. "Nobody, just me" → done. The default allowlist with an empty list is correct. Self-chat bypasses the gate.
  4. "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.
  5. 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.
  6. 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

access

Claude 官方免费

Manage access to a Telegram channel integration by approving pairing codes, updating allowed users, and setting direct-message and group policies. Check pending requests and adjust reply behavior through configuration files read by the channel server.

中文简介正在准备中。当前显示英语简介。

  • Approve or deny a Telegram pairing request
  • Review and update allowed users
  • Change direct-message access policies
anthropics/claude-plugins-official4.4万2026年10月21日 更新

access

Claude 官方免费

Manage access to a Discord channel integration by approving pairing codes, updating allowed users, and setting direct-message and channel policies. Check pending requests and adjust reply behavior through configuration files read by the channel server.

中文简介正在准备中。当前显示英语简介。

  • Approve or deny a Discord pairing request
  • Review and update allowed users
  • Change direct-message access policies
anthropics/claude-plugins-official4.4万2026年10月21日 更新

access

Claude 官方免费

Manage who can contact an assistant through the iMessage channel. Update approved senders, approve pairing codes, and configure direct message and group access rules by editing the channel’s local settings.

中文简介正在准备中。当前显示英语简介。

  • Add or remove approved iMessage senders
  • Approve or reject a pending pairing code
  • Set group access and mention requirements
anthropics/claude-plugins-official4.4万2026年10月21日 更新

agent-development

Claude 官方免费

Design autonomous agents for Claude Code plugins, including when they should run, what they should do, and which tools they may use. Provides file templates and guidance for validating configuration and testing behavior.

中文简介正在准备中。当前显示英语简介。

  • Create a code review agent
  • Clarify when an agent should run
  • Limit the tools an agent can access
anthropics/claude-plugins-official4.4万2026年10月21日 更新

build-mcp-app

Claude 官方免费

Add interactive panels to an MCP server so users can select records, view charts, or follow progress inside a conversation. The skill guides tool connections, interface implementation, sandbox restrictions, and testing in hosts that support these panels.

中文简介正在准备中。当前显示英语简介。

  • Build a searchable contact or file picker
  • Display charts and previews inside a conversation
  • Show live progress for a long-running job
anthropics/claude-plugins-official4.4万2026年10月21日 更新

build-mcp-server

Claude 官方免费

Plan and build an MCP server, a connection that lets Claude use external tools. Choose hosting, tool structure, authentication, and a framework, then scaffold a server or hand off to specialized packaging and interface skills.

中文简介正在准备中。当前显示英语简介。

  • Connect a cloud API to Claude
  • Choose how to run and distribute an MCP server
  • Organize tools for an API with many actions
anthropics/claude-plugins-official4.4万2026年10月21日 更新

查看 anthropics 的全部技能

报告此技能的问题