imsg

imsg is a skill for Claude Code, Codex from geezerrrr/motive. It costs 19 tokens per session (292 once invoked), scanned A, original, MIT.

A command-line tool for reading and sending iMessage and SMS conversations through Messages.app on macOS.

In plain words
What is it for?
Use it to list chats, read message history with attachments, watch a conversation, or send a message or file after confirming the recipient and content.
Why use it?
It lets an agent work with message history and sending from the terminal instead of requiring manual switching to the Messages app.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to list chats, read message history with attachments, watch a conversation, or send a message or file after confirming the recipient and content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/geezerrrr/motive/imsg
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 geezerrrr/motive --skill imsg
Clone the repo
git clone --depth 1 https://github.com/geezerrrr/motive

Made for: Claude Code, Codex.

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 imsg

README.md
[![agentmods](https://agentmods.dev/badge/skills/geezerrrr/motive/imsg.svg)](https://agentmods.dev/skills/geezerrrr/motive/imsg)
Your own site
<a href="https://agentmods.dev/skills/geezerrrr/motive/imsg"><img src="https://agentmods.dev/badge/skills/geezerrrr/motive/imsg.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 292 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00019 $0.00292
Opus 5 $0.00010 $0.00146
Sonnet 5 $0.00004 $0.00058
Haiku 4.5 $0.00002 $0.00029

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

Security

Grade A, and why

imsg scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

6 near-identical copies found in the catalogue:

  • imsg — 100% identical, 0 lines differ
  • imsg — 95% identical, 23 lines differ
  • imsg — 95% identical, 23 lines differ
  • imsg — 95% identical, 23 lines differ
  • imsg — 92% identical, 23 lines differ
  • imsg — 91% identical, 25 lines differ
Motive/Resources/Skills.bundle/imsg/SKILL.md · 47 lines

What it actually says

imsg

Use imsg to read and send Messages.app iMessage/SMS on macOS.

Requirements

  • Messages.app signed in
  • Full Disk Access for your terminal
  • Automation permission to control Messages.app (for sending)

Common commands

  • List chats: imsg chats --limit 10 --json
  • History: imsg history --chat-id 1 --limit 20 --attachments --json
  • Watch: imsg watch --chat-id 1 --attachments
  • Send: imsg send --to "+14155551212" --text "hi" --file /path/pic.jpg

Notes

  • --service imessage|sms|auto controls delivery.
  • Confirm recipient + message before sending.
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 · 47 lines · 19 tokens per session scan A 3d586eca3ca1

Subscribe to this mod's changes

imsg is a skill published in the GitHub repository geezerrrr/motive (117 stars, last pushed 6mo ago), licensed MIT. It adds 19 tokens to every session and 292 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

google-calendar

Read and manage Google Calendar events / agenda / free-busy / invitations via the Calendar v3 REST API. Use when the user mentions Google Calendar events, today's agenda, this week's meetings, finding conflicts, listing invitations, checking free time, or scheduling / rescheduling / cancelling a meeting.

AceDataCloud/Skills · 61 tokens

google-gmail

Read, search, triage, label, archive and send Gmail mail / threads / labels / attachments via the Gmail v1 REST API. Use when the user mentions Gmail, "my inbox", unread mail, recent emails from someone, summarising a thread, downloading an attachment, finding mail by label / query, archiving or labelling a thread, or…

AceDataCloud/Skills · 85 tokens

microsoft-outlook

Read, search, draft, send and manage Outlook / Microsoft 365 email AND calendar events via Microsoft Graph. Use when the user mentions Outlook (mail or calendar), Microsoft 365 inbox, sending mail, replying / forwarding, today's agenda, scheduling a meeting, finding free time, or modifying / cancelling an event.

AceDataCloud/Skills · 68 tokens

feishu

A tool for reading and writing Feishu, also called Lark, which is a workplace collaboration platform. It works with documents, sheets, databases, files, calendars, tasks, wikis, and messages through Feishu's API.

AceDataCloud/Skills · 79 tokens

microsoft-onedrive

Read and manage OneDrive / SharePoint files via Microsoft Graph. Use when the user mentions OneDrive files / folders, SharePoint documents, file uploads / downloads, sharing links, or "my drive".

AceDataCloud/Skills · 47 tokens

personal-wechat

Operate the user's personal WeChat account through their self-hosted Wisdom service (BYOC) — check status, list contacts/conversations, read messages, poll for new ones, search contacts, browse Moments, and (after explicit confirmation) send messages with real @-mentions, post or delete Moments, and manage group…

AceDataCloud/Skills · 114 tokens