configure
Skill này làm gì
Nó hướng dẫn agent của bạn xác nhận kênh iMessage có thể đọc tin nhắn của nó, và cho thấy chính sách truy cập hiện tại. Nó dành cho người dùng Mac có tin nhắn không đến được trợ lý.
Khi nào nên dùng
- ✓Khi bạn muốn thiết lập iMessage làm kênh cho trợ lý của mình.
- ✓Khi tin nhắn của bạn không đến được trợ lý và bạn cần tìm nguyên nhân.
- ✓Khi bạn hỏi cách thiết lập iMessage hoặc ai có thể tiếp cận trợ lý.
Liên kết skill
https://github.com/anthropics/claude-plugins-official/blob/main/external_plugins/imessage/skills/configure/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tin nhắn của tôi gửi đến trợ lý qua iMessage không đến được. Bạn có thể kiểm tra thiết lập của tôi không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra xem nó có đọc được cơ sở dữ liệu Messages không và đọc cài đặt truy cập. Sau đó nó cho bạn biết bước tiếp theo, chẳng hạn cấp Full Disk Access hoặc thêm một liên hệ.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/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:
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."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)
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:
- Read the allowlist. Tell the user who's in it (self-chat always works regardless).
- Ask: "Besides yourself, who should be able to text you through this?"
- "Nobody, just me" → done. The default
allowlistwith an empty list is correct. Self-chat bypasses the gate. - "My partner / a friend / a couple people" → ask for each handle
(phone like
+15551234567or email likethem@icloud.com) and offer to run/imessage:access allow <handle>for each. Stay onallowlist. - Current policy is
pairing→ flag it immediately: "Your policy ispairing, which auto-replies a code to every contact who texts this Mac. Switch back toallowlist?" and offer/imessage:access policy allowlist. Don't wait to be asked. - 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
.envfile 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.jsonis re-read on every inbound message — policy changes via/imessage:accesstake effect immediately, no restart.
Câu hỏi thường gặp
Có cần token không?
Không. Skill nói iMessage đọc trực tiếp cơ sở dữ liệu Messages, nên không có token nào cần lưu.
Full Disk Access là gì?
Đó là một quyền của macOS mà skill nói terminal hoặc IDE cần có để đọc cơ sở dữ liệu Messages.
Tin nhắn gửi cho chính mình có đến được trợ lý không?
Có. Trò chuyện với chính mình luôn được chuyển tiếp, nên tin nhắn của bạn sẽ đến trợ lý.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 46k
- Vị trí xếp hạng
- #6328
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
access
46kCho phép bạn quản lý ai được nhắn tin với trợ lý qua kênh Discord, bao gồm duyệt ghép đôi và danh sách cho phép.
configure
46kThiết lập kênh Discord cho trợ lý của bạn bằng cách lưu bot token và kiểm tra ai có thể tiếp cận nó.
access
46kCho phép bạn quản lý ai được nhắn tin cho trợ lý qua kênh iMessage, bao gồm duyệt và danh sách cho phép.
access
46kCho phép bạn quản lý ai được nhắn tin với trợ lý qua kênh Telegram, bao gồm duyệt ghép đôi và danh sách cho phép.
Skill tương tự
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
configure-channel
394kHướng dẫn agent của bạn kết nối một ứng dụng chat như Telegram với OpenClaw, lưu token bot an toàn và kiểm tra tin nhắn có đi qua được không.
discord
394kGiúp agent của bạn đọc, gửi, sửa và thả biểu cảm cho tin nhắn Discord qua OpenClaw, và kiểm tra đúng tin nhắn trước khi thay đổi.