Chuyển đến nội dung
Skillpedia
Email và tin nhắn46k · #6328

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/anthropics/claude-plugins-official/blob/main/external_plugins/imessage/skills/configure/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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:

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

repo: anthropics/claude-plugins-official

Độ 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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự