himalaya
Skill128 starsChanged 3 months agoApache-2.0View on GitHub
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
25 other projects use a version of this, 24 of them edited.
Adopted by
Most recently taken up by
- NousResearch/hermes-agentedited, first seen Nov 13, 2026
- rakaarwaky/agents-arwakyedited, first seen Oct 6, 2026
- delorenj/skillsedited, first seen Oct 2, 2026
- suitedaces/dorabotedited, first seen Sep 22, 2026
- wundercorp/lokiedited, first seen Sep 11, 2026
- rmusser01/tldw-stuffedited, first seen Sep 6, 2026
Used with
Projects with it also use p5js, touchdesigner-mcp and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
braxtonROSE4Skillp5js
Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems, flow fields, shaders (GLSL), pixel manipulation, kinetic typography, WebGL scenes, audio analysis, mouse/keyboard interaction, and headless high-res export. Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.
Also in 16 projects that use this
kevinnftSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 8 projects that use this
braxtonROSE4Skillheartmula
Set up and run HeartMuLa, the open-source music generation model family (Suno-like). Generates full songs from lyrics + tags with multilingual support.
Also in 8 projects that use this
indranilbanerjeeSkillnode-connect
Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.
Also in 4 projects that use this
aivrarSkillweekly-review-planning
Weekly reset: commitments, stalled work, next-week plan.
Also in 6 projects that use this
kevinnftSkillpython-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
Also in 12 projects that use this
- +3 more from braxtonROSE4
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 24
- NousResearch/hermes-agent★ 267k38% same
- suitedaces/dorabot★ 24557% same
- aivrar/portable-hermes-agent★ 23238% same
- graniet/kheish★ 22149% same
- seedprod/openclaw-prompts-and-skills★ 9379% same
- nickvasilescu/korgo-bot★ 3538% same
- wundercorp/loki★ 2438% same
- delorenj/skills★ 1538% same
- kevinnft/ai-agent-skills★ 1342% same
- unisone/openclaw-config★ 1374% same
14 more not listed
Wrote their own version · 1
- clawsouls/soulclaw★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- agentscope-skillSkill
- browser_cdpSkill
- browser_cdpSkill
- browser_visibleSkill
- browser_visibleSkill
- channel_messageSkill
- channel_messageSkill
- chat_with_agentSkill
- chat_with_agentSkill
- cronSkill
- cronSkill
- dingtalk_channel_connectSkill
- dingtalk_channel_connectSkill
- file_readerSkill
- file_readerSkill
- guidanceSkill
- guidanceSkill
- himalayaSkill
- make_planSkill
- make_planSkill
- multi_agent_collaborationSkill
- multi_agent_collaborationSkill
- nano-memorySkill
- newsSkill
- newsSkill
- QA_source_indexSkill
- QA_source_indexSkill
The file
We split this skill into the rules it gives an agent
10 rules. 2 are common, 2 are distinctive, and 6 are very specific to this project.
2
Common
Most of the 24 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Run the interactive wizard to set up an account (replace default with any name you want, e.g.
- Very specific: line 69
If you are using 163 mail account, add backend.extensions.id.send-after-auth = true in the config file to ensure proper functionality.
- Distinctive: line 99
If meet with error, try:
- Common: line 113
Read email by ID (shows plain text):
- Very specific: line 127
Recommended approach: Use template write | template send pipeline for simple emails.
- Very specific: line 188
Configuration requirement: Ensure message.send.save-to-folder is set in config.toml to avoid "Folder not exist" errors:
- Common: line 244
Use a specific account:
- Very specific: line 289
Use himalaya --help or himalaya <command> --help for detailed usage.
- Very specific: line 293
For automation: Always use template write | template send pipeline with export EDITOR=cat.
- Distinctive: line 295
Folder names: Use English folder names (e.g., "Sent" instead of "已发送") for better compatibility.
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Himalaya CLI - the
himalayabinary must already be onPATH. Check withhimalaya --version.- Recommended: v1.2.0 or newer. Older releases can fail against some IMAP servers; v1.2.0+ includes related fixes.
- A configuration file at
~/.config/himalaya/config.toml - IMAP/SMTP credentials configured (password stored securely)
Configuration Setup
Run the interactive wizard to set up an account (replace default with
any name you want, e.g. gmail, work):
himalaya account configure defaultOr 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"If you are using 163 mail account, add backend.extensions.id.send-after-auth = true in the config file to ensure proper functionality.
Common Operations
List Folders
himalaya folder listList Emails
List emails in INBOX (default):
himalaya envelope listList emails in a specific folder:
himalaya envelope list --folder "Sent"List with pagination:
himalaya envelope list --page 1 --page-size 20If meet with error, try:
himalaya envelope list -f INBOX -s 1Search Emails
himalaya envelope list from john@example.com subject meetingRead an Email
Read email by ID (shows plain text):
himalaya message read 42Export raw MIME:
himalaya message export 42 --fullSend / Compose Emails
Recommended approach: Use template write | template send pipeline for simple emails.
Send a simple email:
export EDITOR=cat
himalaya template write \
-H "To: recipient@example.com" \
-H "Subject: Email Subject" \
"Email body content" | himalaya template sendSend with multiple headers:
export EDITOR=cat
himalaya template write \
-H "To: recipient@example.com" \
-H "Cc: cc@example.com" \
-H "Subject: Email Subject" \
"Email body content" | himalaya template sendSend with attachments (using Python):
For emails with attachments, use Python's smtplib and email.mime modules:
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.base import MIMEBase
from email import encoders
msg = MIMEMultipart()
msg['From'] = 'sender@163.com'
msg['To'] = 'recipient@example.com'
msg['Subject'] = 'Email with attachment'
msg.attach(MIMEText('Email body', 'plain'))
# Add attachment
with open('/path/to/file.pdf', 'rb') as f:
part = MIMEBase('application', 'octet-stream')
part.set_payload(f.read())
encoders.encode_base64(part)
part.add_header('Content-Disposition', 'attachment; filename="file.pdf"')
msg.attach(part)
server = smtplib.SMTP_SSL('smtp.163.com', 465)
server.login('sender@163.com', 'password')
server.send_message(msg)
server.quit()⚠️ MML attachment limitations: The template send command with MML format may fail with "cannot parse MML message: empty body" when using multipart/attachments. This is a known issue in himalaya v1.1.0. Use Python approach for attachments.
⚠️ Avoid message write for automation: The himalaya message write command requires interactive TUI selection (Edit/Discard/Quit) and will hang in non-interactive environments.
⚠️ message send limitations: Direct himalaya message send <raw_email> may fail with "cannot send message without a recipient" due to header parsing issues. Use template send instead.
Configuration requirement: Ensure message.send.save-to-folder is set in config.toml to avoid "Folder not exist" errors:
[accounts.163]
# ... other config ...
message.send.save-to-folder = "Sent"For 163 mail accounts, create the Sent folder first if it doesn't exist:
himalaya folder create SentMove/Copy Emails
Move to folder:
himalaya message move 42 "Archive"Copy to folder:
himalaya message copy 42 "Important"Delete an Email
himalaya message delete 42Manage Flags
Add flag:
himalaya flag add 42 --flag seenRemove flag:
himalaya flag remove 42 --flag seenMultiple Accounts
List accounts:
himalaya account listUse a specific account:
himalaya --account work envelope listAttachments
Save attachments from a message:
himalaya attachment download 42Save to specific directory:
himalaya attachment download 42 --dir ~/DownloadsOutput Formats
Most commands support --output for structured output:
himalaya envelope list --output json
himalaya envelope list --output plainDebugging
Enable debug logging:
RUST_LOG=debug himalaya envelope listFull trace with backtrace:
RUST_LOG=trace RUST_BACKTRACE=1 himalaya envelope listTips
- Use
himalaya --helporhimalaya <command> --helpfor 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. - For automation: Always use
template write | template sendpipeline withexport EDITOR=cat. - 163 Mail users: Set
backend.extensions.id.send-after-auth = trueandmessage.send.save-to-folder = "Sent"in config. - Folder names: Use English folder names (e.g., "Sent" instead of "已发送") for better compatibility.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

