Communityコーディング&開発github.com

steipete/imsg

Messages.app を介してチャットの一覧表示、履歴の表示、メッセージ送信を行う iMessage/SMS CLI ツール。

imsg とは?

このスキルは、macOS の Messages.app を介して iMessage および SMS を操作するためのコマンドラインインターフェース(CLI)ツールです。チャットの一覧表示、特定のチャットのメッセージ履歴の表示、新しいメッセージの送信といった操作をターミナルから直接実行できます。主に macOS 環境に依存し、AppleScript を内部で利用して Messages.app と連携するため、ネイティブのメッセージング機能にアクセスできる点が特徴です。開発者や自動化ワークフローにおいて、GUI を介さずにメッセージの送受信やログの取得をスクリプト化したい場合に有用です。例えば、CI/CD パイプラインでの通知送信や、バックアップ目的での会話履歴のエクスポート、AI エージェントがユーザーと SMS 経由でコミュニケーションを取る際のバックエンドとして利用できます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/steipete/clawdis/tree/main/skills/imsg

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

imsg は何をしますか?

iMessage/SMS CLI ツール。Messages.app を介してチャットの一覧表示、履歴の表示、メッセージ送信を行います。

概要

このツールは、macOS の Messages.app を使用して iMessage および SMS を操作するためのシンプルなコマンドラインインターフェースです。

機能

  • チャットの一覧表示
  • 特定のチャットのメッセージ履歴の表示
  • 新しいメッセージの送信(iMessage または SMS)

必要条件

  • macOS(Messages.app がインストールされていること)
  • ターミナルアクセス

インストール

git clone https://github.com/steipete/imsg.git
cd imsg
chmod +x imsg
./imsg --help

使用方法

# チャット一覧を表示
./imsg list

# 特定のチャットの履歴を表示
./imsg history --chat "連絡先名"

# メッセージを送信
./imsg send --to "連絡先名または電話番号" --message "こんにちは!"

注意事項

  • Messages.app がバックグラウンドで実行されている必要があります。
  • 初回使用時にアクセス許可を求められる場合があります。
  • 大量の履歴を取得する場合、処理に時間がかかることがあります。

ライセンス

このプロジェクトは MIT ライセンス のもとで公開されています。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

steipete/1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

steipete/apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

steipete/apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

steipete/bear-notes

Create, search, and manage Bear notes via grizzly CLI.

steipete/blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

steipete/blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

steipete/bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

steipete/camsnap

Capture frames or clips from RTSP/ONVIF cameras.

steipete/clawhub

Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.

steipete/coding-agent

Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.

steipete/discord

Discord message-tool ops: send/read/edit/delete, react, poll, pin, thread, search, presence, media/components.

steipete/eightctl

Control Eight Sleep pods (status, temperature, alarms, schedules).

steipete/gemini

Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.

steipete/gh-issues

Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.

steipete/gifgrep

Search GIF providers with CLI/TUI, download results, and extract stills/sheets.

steipete/github

GitHub CLI for issues, PRs, CI/check logs, comments, reviews, releases, repos, and gh api queries.

steipete/gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

steipete/goplaces

Query Google Places for text search, place details, resolve, reviews, or scriptable JSON via goplaces.

steipete/healthcheck

Audit/harden OpenClaw hosts: SSH, firewall, updates, exposure, backups, disk encryption, gateway security.

steipete/himalaya

Himalaya CLI for IMAP/SMTP mail: list, read, search, compose, reply, forward, copy, move, delete.

関連スキル