configure · anthropics — скилл для Claude Code: что делает и как установить
Проверяет подключение канала iMessage в Claude Code и настраивает список разрешённых контактов. Пригодится, если сообщения не доходят до ассистента или нужно ограничить доступ к переписке.
/plugin install imessage@claude-plugins-officialЧто делает configure
Скилл проверяет готовность интеграции с iMessage на macOS без внешних токенов и файлов конфигурации. Для работы ассистент читает базу ~/Library/Messages/chat.db напрямую через команду ls. Если операционная система блокирует вызов с ошибкой о запрете доступа, скилл напоминает выдать Full Disk Access терминалу или вашей IDE.
После проверки прав скилл открывает ~/.claude/channels/imessage/access.json. Он сообщает текущую политику сообщений, число подтверждённых контактов и ожидающие запросы. Скилл рекомендует оставаться на политике allowlist: личные сообщения от своего Apple ID проходят всегда, а сторонние номера и адреса вроде +15551234567 или [email protected] добавляются точечно. Режим сопряжения pairing лучше не включать, потому что ассистент начнёт слать проверочные коды всем входящим контактам подряд.
Ставить этот скилл нужно всем, кто связывает Claude Code с iMessage и хочет контролировать входящий поток без случайного открытия доступа посторонним собеседникам.
Какие задачи решает
- Проверить наличие прав Full Disk Access у терминала или IDE к локальной базе
~/Library/Messages/chat.db. - Выяснить причину, по которой входящие текстовые сообщения не доходят до Claude Code на Mac.
- Посмотреть текущую политику приёма сообщений и список разрешённых телефонных номеров или адресов iCloud.
- Предотвратить рассылку автоматических кодов сопряжения случайным собеседникам при настройке iMessage.
Примеры запросов агенту
- Почему мои сообщения из iMessage не приходят в Claude Code?
- Проверь настройки iMessage и покажи, кто сейчас может мне писать.
- Помоги настроить список разрешённых контактов для канала iMessage.
Как установить configure
1Через маркетплейс плагинов
/plugin install imessage@claude-plugins-officialКоманда ставит плагин imessage целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add anthropics/claude-plugins-official --skill configure -a claude-code3Вручную: положить файлы
~/.claude/skills/configure/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/configure/
Вручную: положить файлы
.agents/skills/configure/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/configure/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install anthropics/claude-plugins-official configure2Вручную: положить файлы
.github/skills/configure/SKILL.mdКомандой платформы
gemini skills install https://github.com/anthropics/claude-plugins-official --path external_plugins/imessage/skills/configureВручную: положить файлы
.devin/skills/configure/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора37
Весь набор →Другие версии configure
Похожие
Вопросы о configure
Как установить configure в Claude Code?
Установите плагин командой /plugin install imessage@claude-plugins-official в Claude Code. Также скилл можно добавить через npx skills add anthropics/claude-plugins-official --skill configure -a claude-code.
Что делает скилл configure?
Он проверяет доступ терминала к локальной базе chat.db и читает файл access.json. Скилл показывает текущую политику личных сообщений и помогает безопасно настроить белый список контактов.
Почему разработчики рекомендуют использовать allowlist вместо pairing?
Режим pairing отправляет автоматический ответ с кодом каждому контакту, написавшему на этот Mac. В режиме allowlist сообщения с вашего собственного Apple ID принимаются сразу, а чужие номера добавляются вручную без спама собеседникам.
Исходный текст
SKILL.md · Apache-2.0
---
name: configure
description: 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.
user-invocable: true
allowed-tools:
- Read
- Bash(ls *)
---
# /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 `[email protected]`) 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 `[email protected]`. `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 · Apache-2.0 · anthropics/claude-plugins-official