jpskill.com
💬 コミュニケーション コミュニティ 🟢 非エンジニアでもOK 👤 管理職・人事・カスタマー対応

💬 Himalaya

himalaya

Himalayaは、パソコンの画面上で文字を入力して

⏱ Slack絵文字GIF制作 1時間 → 5分

📺 まず動画で見る(YouTube)

▶ 【最新版】Claude(クロード)完全解説!20以上の便利機能をこの動画1本で全て解説 ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Himalaya CLI: IMAP/SMTP email from terminal.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Himalayaは、パソコンの画面上で文字を入力して

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o himalaya.zip https://jpskill.com/download/1202.zip && unzip -o himalaya.zip && rm himalaya.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/1202.zip -OutFile "$d\himalaya.zip"; Expand-Archive "$d\himalaya.zip" -DestinationPath $d -Force; ri "$d\himalaya.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して himalaya.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → himalaya フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
3

💬 こう話しかけるだけ — サンプルプロンプト

  • Himalaya で、お客様への返信文を作って
  • Himalaya を使って、社内向けアナウンスを書いて
  • Himalaya で、メールテンプレートを整備して

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Himalaya Email CLI

Himalayaは、IMAP、SMTP、Notmuch、またはSendmailバックエンドを使用して、ターミナルからメールを管理できるCLIメールクライアントです。

参考文献

  • references/configuration.md (設定ファイルのセットアップ + IMAP/SMTP認証)
  • references/message-composition.md (メール作成のためのMML構文)

前提条件

  1. Himalaya CLIがインストールされていること (himalaya --versionで確認)
  2. ~/.config/himalaya/config.tomlに設定ファイルがあること
  3. IMAP/SMTPの認証情報が設定されていること (パスワードは安全に保存されていること)

インストール

# プレビルド済みバイナリ (Linux/macOS — 推奨)
curl -sSL https://raw.githubusercontent.com/pimalaya/himalaya/master/install.sh | PREFIX=~/.local sh

# Homebrew経由でmacOSにインストール
brew install himalaya

# またはcargo経由でインストール (Rustがインストールされている任意のプラットフォーム)
cargo install himalaya --locked

設定のセットアップ

対話型ウィザードを実行してアカウントを設定します。

himalaya account configure

または、~/.config/himalaya/config.tomlを手動で作成します。

[accounts.personal]
email = "you@example.com"
display-name = "Your Name"
default = true

backend.type = "imap"
backend.host = "imap.example.com"
backend.port = 993
backend.encryption.type = "tls"
backend.login = "you@example.com"
backend.auth.type = "password"
backend.auth.cmd = "pass show email/imap"  # またはkeyringを使用

message.send.backend.type = "smtp"
message.send.backend.host = "smtp.example.com"
message.send.backend.port = 587
message.send.backend.encryption.type = "start-tls"
message.send.backend.login = "you@example.com"
message.send.backend.auth.type = "password"
message.send.backend.auth.cmd = "pass show email/smtp"

# フォルダーエイリアス (himalaya v1.2.0+構文)。
# サーバーのフォルダー名がhimalayaの正規名
# (inbox/sent/drafts/trash)と一致しない場合に必要です。
# Gmailが一般的なケースです — `references/configuration.md`で
# `[Gmail]/Sent Mail`のマッピングを参照してください。
folder.aliases.inbox = "INBOX"
folder.aliases.sent = "Sent"
folder.aliases.drafts = "Drafts"
folder.aliases.trash = "Trash"

エイリアス構文に関する注意点。 v1.2.0以前のドキュメントでは、[accounts.NAME.folder.alias]サブセクション (単数形のalias) を使用していました。v1.2.0ではその形式は黙って無視されます — TOMLは正常にパースされますが、エイリアスリゾルバーはそれを読み取らないため、すべてのルックアップは正規名にフォールバックします。Gmailの場合、これはSMTP配信が成功した後に保存先Sentへの保存が失敗し、himalaya message sendがゼロ以外の終了コードで終了することを意味します。その終了コードで再試行する呼び出し元 (エージェント、スクリプト、ユーザー) は、SMTPを含む送信全体を再実行し、受信者に重複したメールを生成します。常にfolder.aliases.X (複数形、ドット区切りのキー、[accounts.NAME]の直下) を使用してください。

Hermes連携に関する注意点

  • 読み取り、一覧表示、検索、移動、削除はすべてターミナルツールから直接機能します。
  • 作成/返信/転送 — 信頼性のためにパイプ入力 (cat << EOF | himalaya template send) が推奨されます。対話型$EDITORモードはpty=true + バックグラウンド + プロセスツールで機能しますが、エディターとそのコマンドを知る必要があります。
  • プログラムで解析しやすい構造化された出力には--output jsonを使用してください。
  • himalaya account configureウィザードは対話型入力を必要とします — PTYモードを使用してください: terminal(command="himalaya account configure", pty=true)

一般的な操作

フォルダーの一覧表示

himalaya folder list

メールの一覧表示

INBOX (デフォルト) のメールを一覧表示します。

himalaya envelope list

特定のフォルダーのメールを一覧表示します。

himalaya envelope list --folder "Sent"

ページネーション付きで一覧表示します。

himalaya envelope list --page 1 --page-size 20

メールの検索

himalaya envelope list from john@example.com subject meeting

メールの読み取り

IDでメールを読み取ります (プレーンテキストを表示します)。

himalaya message read 42

生のMIMEをエクスポートします。

himalaya message export 42 --full

メールへの返信

Hermesから非対話的に返信するには、元のメッセージを読み取り、返信を作成してパイプします。

# 返信テンプレートを取得し、編集して送信します
himalaya template reply 42 | sed 's/^$/\nYour reply text here\n/' | himalaya template send

または、手動で返信を作成します。

cat << 'EOF' | himalaya template send
From: you@example.com
To: sender@example.com
Subject: Re: Original Subject
In-Reply-To: <original-message-id>

Your reply here.
EOF

全員に返信 (対話型 — $EDITORが必要です。代わりに上記のテンプレートアプローチを使用してください)。

himalaya message reply 42 --all

メールの転送

# 転送テンプレートを取得し、変更を加えてパイプします
himalaya template forward 42 | sed 's/^To:.*/To: newrecipient@example.com/' | himalaya template send

新しいメールの作成

非対話型 (Hermesからこれを使用してください) — メッセージをstdin経由でパイプします。

cat << 'EOF' | himalaya template send
From: you@example.com
To: recipient@example.com
Subject: Test Message

Hello from Himalaya!
EOF

または、ヘッダーフラグを使用します。

himalaya message write -H "To:recipient@example.com" -H "Subject:Test" "Message body here"

注: パイプ入力なしでhimalaya message writeを実行すると$EDITORが開きます。これはpty=true + バックグラウンドモードで機能しますが、パイプの方がよりシンプルで信頼性があります。

メールの移動/コピー

フォルダーに移動します。

himalaya message move 42 "Archive"

フォルダーにコピーします。

himalaya message copy 42 "Important"

メールの削除

himalaya message delete 42

フラグの管理

フラグを追加します。

himalaya flag add 42 --flag seen

フラグを削除します。

himalaya flag remove 42 --flag seen

複数のアカウント

アカウントを一覧表示します。

himalaya account list

特定のSアカウントを使用します。

himalaya --account work envelope list

添付ファイル

メッセージから添付ファイルを保存します。

himalaya attachment download 42

特定のディレクトリに保存します。

himalaya attachment download 42 --dir ~/Downloads

出力形式

ほとんどのコマンドは、構造化された出力のために--outputをサポートしています。

himalaya envelope list --output json
himalaya envelope list --output 
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Himalaya Email CLI

Himalaya is a CLI email client that lets you manage emails from the terminal using IMAP, SMTP, Notmuch, or Sendmail backends.

References

  • references/configuration.md (config file setup + IMAP/SMTP authentication)
  • references/message-composition.md (MML syntax for composing emails)

Prerequisites

  1. Himalaya CLI installed (himalaya --version to verify)
  2. A configuration file at ~/.config/himalaya/config.toml
  3. IMAP/SMTP credentials configured (password stored securely)

Installation

# Pre-built binary (Linux/macOS — recommended)
curl -sSL https://raw.githubusercontent.com/pimalaya/himalaya/master/install.sh | PREFIX=~/.local sh

# macOS via Homebrew
brew install himalaya

# Or via cargo (any platform with Rust)
cargo install himalaya --locked

Configuration Setup

Run the interactive wizard to set up an account:

himalaya account configure

Or create ~/.config/himalaya/config.toml manually:

[accounts.personal]
email = "you@example.com"
display-name = "Your Name"
default = true

backend.type = "imap"
backend.host = "imap.example.com"
backend.port = 993
backend.encryption.type = "tls"
backend.login = "you@example.com"
backend.auth.type = "password"
backend.auth.cmd = "pass show email/imap"  # or use keyring

message.send.backend.type = "smtp"
message.send.backend.host = "smtp.example.com"
message.send.backend.port = 587
message.send.backend.encryption.type = "start-tls"
message.send.backend.login = "you@example.com"
message.send.backend.auth.type = "password"
message.send.backend.auth.cmd = "pass show email/smtp"

# Folder aliases (himalaya v1.2.0+ syntax). Required whenever the
# server's folder names don't match himalaya's canonical names
# (inbox/sent/drafts/trash). Gmail is the common case — see
# `references/configuration.md` for the `[Gmail]/Sent Mail` mapping.
folder.aliases.inbox = "INBOX"
folder.aliases.sent = "Sent"
folder.aliases.drafts = "Drafts"
folder.aliases.trash = "Trash"

Heads up on the alias syntax. Pre-v1.2.0 docs used a [accounts.NAME.folder.alias] sub-section (singular alias). v1.2.0 silently ignores that form — TOML parses fine, but the alias resolver never reads it, so every lookup falls through to the canonical name. On Gmail this means save-to-Sent fails after SMTP delivery succeeds, and himalaya message send exits non-zero. Any caller (agent, script, user) that retries on that exit code will re-run the entire send — including SMTP — producing duplicate emails to recipients. Always use folder.aliases.X (plural, dotted keys, directly under [accounts.NAME]).

Hermes Integration Notes

  • Reading, listing, searching, moving, deleting all work directly through the terminal tool
  • Composing/replying/forwarding — piped input (cat << EOF | himalaya template send) is recommended for reliability. Interactive $EDITOR mode works with pty=true + background + process tool, but requires knowing the editor and its commands
  • Use --output json for structured output that's easier to parse programmatically
  • The himalaya account configure wizard requires interactive input — use PTY mode: terminal(command="himalaya account configure", pty=true)

Common Operations

List Folders

himalaya folder list

List Emails

List emails in INBOX (default):

himalaya envelope list

List emails in a specific folder:

himalaya envelope list --folder "Sent"

List with pagination:

himalaya envelope list --page 1 --page-size 20

Search Emails

himalaya envelope list from john@example.com subject meeting

Read an Email

Read email by ID (shows plain text):

himalaya message read 42

Export raw MIME:

himalaya message export 42 --full

Reply to an Email

To reply non-interactively from Hermes, read the original message, compose a reply, and pipe it:

# Get the reply template, edit it, and send
himalaya template reply 42 | sed 's/^$/\nYour reply text here\n/' | himalaya template send

Or build the reply manually:

cat << 'EOF' | himalaya template send
From: you@example.com
To: sender@example.com
Subject: Re: Original Subject
In-Reply-To: <original-message-id>

Your reply here.
EOF

Reply-all (interactive — needs $EDITOR, use template approach above instead):

himalaya message reply 42 --all

Forward an Email

# Get forward template and pipe with modifications
himalaya template forward 42 | sed 's/^To:.*/To: newrecipient@example.com/' | himalaya template send

Write a New Email

Non-interactive (use this from Hermes) — pipe the message via stdin:

cat << 'EOF' | himalaya template send
From: you@example.com
To: recipient@example.com
Subject: Test Message

Hello from Himalaya!
EOF

Or with headers flag:

himalaya message write -H "To:recipient@example.com" -H "Subject:Test" "Message body here"

Note: himalaya message write without piped input opens $EDITOR. This works with pty=true + background mode, but piping is simpler and more reliable.

Move/Copy Emails

Move to folder:

himalaya message move 42 "Archive"

Copy to folder:

himalaya message copy 42 "Important"

Delete an Email

himalaya message delete 42

Manage Flags

Add flag:

himalaya flag add 42 --flag seen

Remove flag:

himalaya flag remove 42 --flag seen

Multiple Accounts

List accounts:

himalaya account list

Use a specific account:

himalaya --account work envelope list

Attachments

Save attachments from a message:

himalaya attachment download 42

Save to specific directory:

himalaya attachment download 42 --dir ~/Downloads

Output Formats

Most commands support --output for structured output:

himalaya envelope list --output json
himalaya envelope list --output plain

Debugging

Enable debug logging:

RUST_LOG=debug himalaya envelope list

Full trace with backtrace:

RUST_LOG=trace RUST_BACKTRACE=1 himalaya envelope list

Tips

  • Use himalaya --help or himalaya <command> --help for detailed usage.
  • Message IDs are relative to the current folder; re-list after folder changes.
  • For composing rich emails with attachments, use MML syntax (see references/message-composition.md).
  • Store passwords securely using pass, system keyring, or a command that outputs the password.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。