一键导入
configure
Configure the iMessage channel with your Linq credentials. Accepts a token, phone number, or 'clear' to reset.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure the iMessage channel with your Linq credentials. Accepts a token, phone number, or 'clear' to reset.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Send and receive iMessages via Linq. Use when the user asks to text someone, send an iMessage, or check their messages.
Manage iMessage channel access control — allowlist senders, set policy, configure delivery options.
基于 SOC 职业分类
| name | configure |
| description | Configure the iMessage channel with your Linq credentials. Accepts a token, phone number, or 'clear' to reset. |
| disable-model-invocation | true |
Manage credentials stored in ~/.claude/channels/imessage/.env.
The user runs /imessage:configure with an optional argument. Detect what they passed:
No argument: Read ~/.claude/channels/imessage/.env and report status. Show whether LINQ_TOKEN and LINQ_FROM_PHONE are set (mask the token, show only last 4 chars). If neither is set, guide them to get a token at https://zero.linqapp.com/api-tooling/ or run linq signup for a free sandbox.
clear: Delete ~/.claude/channels/imessage/.env and confirm credentials removed.
Starts with + or is all digits (phone number): Normalize to E.164 format (prepend +1 if 10 digits). Write or update LINQ_FROM_PHONE=<number> in the .env file, preserving other lines.
Anything else (token): Write or update LINQ_TOKEN=<value> in the .env file, preserving other lines.
mkdir -p ~/.claude/channels/imessage.env file if presentLINQ_TOKEN=... or LINQ_FROM_PHONE=...)600: chmod 600 ~/.claude/channels/imessage/.envReport what was saved. If both LINQ_TOKEN and LINQ_FROM_PHONE are now set, tell the user:
"Credentials saved. Restart Claude Code with the channel flag to connect:"
claude --channels plugin:imessage@linq-team-claude-code-imessage-channel
If only one is set, tell them what's still missing.
If the user runs /imessage:configure recipient +1234567890, write a config.json file at ~/.claude/channels/imessage/config.json:
{ "defaultRecipient": "+1234567890" }
This is the number Claude will text on startup to confirm the connection.