imessage

imessage is a skill for Claude Code, Codex from furkangonel/cowrangler. It costs 19 tokens per session (733 once invoked), scanned A, original, MIT.

A macOS skill for reading and sending iMessage or SMS messages through the Messages app using the imsg command-line tool. It requires Messages to be signed in and the required macOS permissions.

In plain words
What is it for?
Use it to list chats, read message history, inspect attachments, or send individual text messages and files.
Why use it?
It lets an agent work with Messages conversations from the terminal instead of relying on manual app interaction.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list chats, read message history, inspect attachments, or send individual text messages and files.

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

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 imessage

README.md
[![agentmods](https://agentmods.dev/badge/skills/furkangonel/cowrangler/imessage.svg)](https://agentmods.dev/skills/furkangonel/cowrangler/imessage)
Your own site
<a href="https://agentmods.dev/skills/furkangonel/cowrangler/imessage"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/imessage.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 733 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.00733
Opus 5 $0.00010 $0.00367
Sonnet 5 $0.00004 $0.00147
Haiku 4.5 $0.00002 $0.00073

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

Security

Grade A, and why

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

bundled_skills/apple/imessage/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

iMessage

imsg CLI aracıyla macOS Messages.app üzerinden iMessage/SMS oku ve gönder.

Ön Koşullar

  • macOS ve oturum açılmış Messages.app
  • Kur: brew install steipete/tap/imsg
  • Tam Disk Erişimi ver: Sistem Ayarları → Gizlilik → Tam Disk Erişimi
  • İstendiğinde Messages.app için Automation izni ver

Ne Zaman Kullan

  • Kullanıcı iMessage veya SMS göndermek istediğinde
  • iMessage konuşma geçmişini okumak için
  • Son Messages.app sohbetlerini kontrol etmek için

Ne Zaman Kullanma

  • Telegram/Discord/Slack/WhatsApp → ilgili gateway kanalını kullan
  • Grup sohbeti yönetimi (üye ekleme/çıkarma) → desteklenmiyor
  • Toplu/kitlesel mesajlaşma → kullanıcıyı her zaman önce onayla

Hızlı Referans

Sohbetleri Listele

imsg chats --limit 10 --json

Geçmişi Görüntüle

imsg history --chat-id 1 --limit 20 --json
imsg history --chat-id 1 --limit 20 --attachments --json

Mesaj Gönder

# Yalnızca metin
imsg send --to "+905551234567" --text "Merhaba!"

# Ek ile
imsg send --to "+905551234567" --text "Bak bunu" --file /path/to/image.jpg

# iMessage veya SMS zorla
imsg send --to "+905551234567" --text "Merhaba" --service imessage
imsg send --to "+905551234567" --text "Merhaba" --service sms

Yeni Mesajları İzle

imsg watch --chat-id 1 --attachments

Servis Seçenekleri

  • --service imessage → iMessage zorla (alıcının iMessage'ı olması gerekir)
  • --service sms → SMS zorla (yeşil balon)
  • --service auto → Messages.app karar versin (varsayılan)

Kurallar

  1. Göndermeden önce alıcıyı ve mesaj içeriğini her zaman onayla
  2. Bilinmeyen numaralara kullanıcı açık onayı olmadan gönderme
  3. Eklemeden önce dosya yollarının var olduğunu doğrula
  4. Spam gönderme — hız sınırı uygula

Örnek İş Akışı

Kullanıcı: "Anneme geç kalacağımı mesaj at"

# 1. Annenin sohbetini bul
imsg chats --limit 20 --json | grep -i "anne\|anne"

# 2. Kullanıcıyla onayla: "+905551234567 - Anne bulundu. 'Geç kalacağım' göndereceğim, onaylıyor musunuz?"

# 3. Onaydan sonra gönder
imsg send --to "+905551234567" --text "Geç kalacağım"

Read the full file on GitHub · 92 lines

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. 7d ago First seen · 92 lines · 19 tokens per session scan A 6e2426c70fd9

Subscribe to this mod's changes

imessage is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 733 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-31.

Related

Other skills, from other repositories

imsg

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

JansenAnalytics/claudex · 21 tokens

c-messaging

Send and read messages via imsg (iMessage) and wacli (WhatsApp). Supports sending to individuals or groups, reading recent conversations, and checking unread messages across both platforms.

daxaur/openpaw · 42 tokens

webview

Show a native macOS webview UI to the user and get structured input back. Use when an interactive macOS session needs human-in-the-loop for multi-field input, option selection from 5+ choices, approval with context, or content review — NOT for yes/no questions. Handles the full flow — spawning the webview, generating…

giannimassi/webview-cli · 135 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

session-investigator

Investigate fast-agent session and history files to diagnose issues. Use when a session ended unexpectedly, when debugging tool loops, when correlating sub-agent traces with main sessions, or when analyzing conversation flow and timing. Covers session.json metadata, history JSON format, message structure, tool…

evalstate/fast-agent · 68 tokens