email

email is a skill for Claude Code, Codex from diillson/chatcli. It costs 65 tokens per session (1,068 once invoked), scanned A, original, Apache-2.0.

A terminal workflow for sending and reading email through mail programs already installed on the computer.

In plain words
What is it for?
Checking inboxes, reading messages, sending email, and replying through supported mail tools.
Why use it?
It lets an agent use the user’s existing email setup instead of requiring a bundled mail service.

Skill for Claude CodeCodex

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/diillson/chatcli/email
Any agent
npx skills add diillson/chatcli --skill email
Clone the repo
git clone --depth 1 https://github.com/diillson/chatcli

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 email

README.md
[![agentmods](https://agentmods.dev/badge/skills/diillson/chatcli/email.svg)](https://agentmods.dev/skills/diillson/chatcli/email)
Your own site
<a href="https://agentmods.dev/skills/diillson/chatcli/email"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/email.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,068 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 $0.00065 $0.01068
Opus 5 $0.00032 $0.00534
Sonnet 5 $0.00013 $0.00214
Haiku 4.5 $0.00006 $0.00107

Measured yesterday against content hash 6620ff42173b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

email 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 yesterday.

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.

pkg/persona/builtin/skills/email/SKILL.md · 111 lines

How it starts

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

Email

Operate the user's email through their own installed mail tooling — the hermes way: a skill (this knowledge) + the terminal (@coder exec) + a native CLI. ChatCLI does not bundle an SMTP/IMAP client; you detect what exists and drive it. Never hardcode credentials or paste passwords into commands.

Step 0 — Identify the OS first (this is a multi-OS CLI)

Detection and tooling differ by platform. ChatCLI runs on Windows, macOS, and Linux — never assume a Unix shell. Pick the detection probe for the host:

  • macOS / Linux (@coder exec runs sh):
    command -v himalaya msmtp mutt neomutt mail 2>/dev/null; uname -s
    
  • Windows (@coder exec runs PowerShell):
    Get-Command himalaya, mutt -ErrorAction SilentlyContinue | Select-Object Name
    

Step 1 — Choose the tool

Preference order:

  1. himalaya — modern, scriptable, JSON output, cross-platform (Windows/macOS/Linux via cargo install himalaya). Best for both read and send. Prefer it everywhere.
  2. msmtp (+ a heredoc) — reliable send-only (Unix).
  3. mutt / neomutt — send and read (Unix).
  4. macOS with none of the above → AppleScript Mail.app via osascript.
  5. Windows with none of the above → Outlook via PowerShell COM (New-Object -ComObject Outlook.Application).
  6. None found → tell the user what to install (cargo install himalaya, brew install himalaya, apt install himalaya) and stop. Do not invent a workaround.

Step 2 — Send

himalaya (preferred):

himalaya message send <<'EOF'
To: [email protected]
Subject: Lunch?
From: [email protected]

Hey Alice — free for lunch Thursday?
EOF

(Use himalaya -a <account> to pick a configured account; himalaya account list to see them.)

msmtp (send-only, uses ~/.msmtprc):

printf 'To: [email protected]\nSubject: Lunch?\n\nHey Alice — free Thursday?\n' | msmtp [email protected]

macOS Mail (osascript) — no extra install:

osascript -e 'tell application "Mail"
  set m to make new outgoing message with properties {subject:"Lunch?", content:"Hey Alice — free Thursday?", visible:false}
  tell m to make new to recipient at end of to recipients with properties {address:"[email protected]"}
  send m
end tell'

Read the full file on GitHub · 111 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. yesterday First seen · 111 lines · 65 tokens per session scan A 6620ff42173b

Subscribe to this mod's changes

email is a skill published in the GitHub repository diillson/chatcli (90 stars, last pushed today), licensed Apache-2.0. It adds 65 tokens to every session and 1,068 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-09-03.

Related

Other skills, from other repositories

10-todo

Split the user prompt into independent todos and run one executor agent per todo in parallel, then report a minimal table. Use when the user says "todo" or asks to fan out a multi-part request into parallel implementations.

ai-driven-dev/framework · 48 tokens

09-for-sure

Run an iterative agent loop that retries until a runnable success condition passes. Use when the user says "for sure", "keep trying until", or wants guaranteed completion against a success command. Not for one-shot tasks or uncheckable goals.

ai-driven-dev/framework · 53 tokens

12-cook

Manage project recipes/how-to sheets by listing, creating, updating, researching, or applying a recipe. Use for recipe, cook, /cook, list, new, update, research, apply.

ai-driven-dev/framework · 43 tokens

hello

Hello skill.

ai-driven-dev/framework · 4 tokens

claudeshrink

Automatically compress large natural text or log files before processing. Trigger when the user pastes massive text blobs, or asks to analyze a large file (logs, docs, transcripts), or provides a prompt that is too large for the context window. DO NOT trigger on source code files or structural data (JSON, XML).

g-akshay/ClaudeShrink · 68 tokens

tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes, capturing pane output, and managing terminal multiplexer windows. Enables parallel coding-agent orchestration, background process management, and REPL interaction via sockets. Use when the agent needs to launch, monitor, or coordinate…

elizaOS/eliza · 87 tokens