himalaya

himalaya is a skill for Claude Code, Codex from mateaix/mateclaw. It costs 52 tokens per session (1,325 once invoked), scanned A, original, Apache-2.0.

A command-line email client for managing mail from a terminal. It connects to mail servers using IMAP for receiving and SMTP for sending, as well as other supported backends.

In plain words
What is it for?
Use it to configure email accounts, browse and search mail, write and send messages, reply or forward mail, and organize messages from the command line.
Why use it?
It lets developers list, search, read, organize, compose, reply to, forward, and send messages without switching to a graphical mail application.

Skill for Claude CodeCodex

About the project

MateClaw is a pluggable agent runtime that coordinates AI agents, tools, conversations, memory, and workflows. It is designed for personal and multi-user AI assistants, including agents used through chat platforms. Catalogue add-ons provide skills for extending its agent workflows.

mateaix/mateclaw · 1,078 stars · on GitHub · claw.mate.vip

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.

agentmods
npx agentmods add skills/mateaix/mateclaw/himalaya
Any agent
npx skills add mateaix/mateclaw --skill himalaya
Clone the repo
git clone --depth 1 https://github.com/mateaix/mateclaw

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 himalaya

README.md
[![agentmods](https://agentmods.dev/badge/skills/mateaix/mateclaw/himalaya.svg)](https://agentmods.dev/skills/mateaix/mateclaw/himalaya)
Your own site
<a href="https://agentmods.dev/skills/mateaix/mateclaw/himalaya"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/himalaya.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00052 $0.01325
Opus 5 $0.00026 $0.00662
Sonnet 5 $0.00010 $0.00265
Haiku 4.5 $0.00005 $0.00133

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

Security

Grade A, and why

himalaya 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 6d 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.

mateclaw-server/src/main/resources/skills/himalaya/SKILL.md · 210 lines

How it starts

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

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)

Prerequisites

  1. Himalaya CLI - the himalaya binary must already be on PATH. Check with himalaya --version.
    • Recommended: v1.2.0 or newer. Older releases can fail against some IMAP servers.
  2. A configuration file at ~/.config/himalaya/config.toml
  3. IMAP/SMTP credentials configured (password stored securely)

Configuration Setup

Run the interactive wizard to set up an account:

himalaya account configure default

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

[accounts.personal]
email = "[email protected]"
display-name = "Your Name"
default = true

backend.type = "imap"
backend.host = "imap.example.com"
backend.port = 993
backend.encryption.type = "tls"
backend.login = "[email protected]"
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 = "[email protected]"
message.send.backend.auth.type = "password"
message.send.backend.auth.cmd = "pass show email/smtp"

If using 163 mail, add backend.extensions.id.send-after-auth = true.

Common Operations

List Folders

himalaya folder list

List Emails

himalaya envelope list                           # INBOX (default)
himalaya envelope list --folder "Sent"           # Specific folder
himalaya envelope list --page 1 --page-size 20   # With pagination

Search Emails

himalaya envelope list from [email protected] subject meeting

Read an Email

himalaya message read 42          # Plain text
himalaya message export 42 --full # Raw MIME

Send / Compose Emails

Read the full file on GitHub · 210 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 210 lines · 52 tokens per session scan A c5e106cb7528

Subscribe to this mod's changes

himalaya is a skill published in the GitHub repository mateaix/mateclaw (1,078 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 1,325 once invoked, about $0.0003 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.