configure

configure is a skill for Claude Code from linq-team/claude-code-imessage-channel. It costs 28 tokens per session (523 once invoked), scanned B, original, MIT.

A credential setup tool for connecting an iMessage channel through Linq, a service for sending iMessages from software. It accepts a Linq token, a phone number, or a command to clear the saved settings.

In plain words
What is it for?
Use it to add or update the Linq token or sending phone number, check the current iMessage configuration, or remove the saved credentials.
Why use it?
It avoids manually editing the channel's environment file and handles keeping the credentials in the expected location and format. It can also report whether the needed settings are present.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the imessage plugin — 3 skills, 1 hook, 1 MCP server shipped together

Good fit Use it to add or update the Linq token or sending phone number, check the current iMessage configuration, or remove the saved credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linq-team/claude-code-imessage-channel/configure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add linq-team/claude-code-imessage-channel --skill configure
Clone the repo
git clone --depth 1 https://github.com/linq-team/claude-code-imessage-channel

Made for: Claude Code.

Or install imessage, the plugin that ships this one along with the rest of its 3 skills, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/linq-team/claude-code-imessage-channel/configure.svg)](https://agentmods.dev/skills/linq-team/claude-code-imessage-channel/configure)
Your own site
<a href="https://agentmods.dev/skills/linq-team/claude-code-imessage-channel/configure"><img src="https://agentmods.dev/badge/skills/linq-team/claude-code-imessage-channel/configure.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00523
Opus 5 $0.00014 $0.00262
Sonnet 5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00052

Measured 8d ago against content hash dbca00f8793b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

configure scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

4. Write back with permissions `600`: `chmod 600 ~/.claude/channels/imessage/.env`
skills/configure/SKILL.md · 48 lines

What it actually says

Configure iMessage Channel

Manage credentials stored in ~/.claude/channels/imessage/.env.

Parse the argument

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.

Writing the .env file

  1. Create the directory if it doesn't exist: mkdir -p ~/.claude/channels/imessage
  2. Read the existing .env file if present
  3. Update or append the relevant line (LINQ_TOKEN=... or LINQ_FROM_PHONE=...)
  4. Write back with permissions 600: chmod 600 ~/.claude/channels/imessage/.env

After writing

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

Setting default recipient

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 48 lines · 28 tokens per session scan B dbca00f8793b

Subscribe to this mod's changes

configure is a skill published in the GitHub repository linq-team/claude-code-imessage-channel (24 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 523 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.