yacli-mail

yacli-mail is a skill for Claude Code, Codex from NextStat/yacli. It costs 57 tokens per session (614 once invoked), scanned A, original, MIT.

A command-line tool for managing Yandex Mail through standard mail connections. It can search, read, send, reply to, and forward messages, including their attachments.

In plain words
What is it for?
Use it to list folders and messages, search by subject or body, read full emails, send new messages, reply while preserving the conversation headers, and forward mail.
Why use it?
It lets an agent handle email tasks directly without manually opening a mail website and copying message details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/nextstat/yacli/yacli-mail
Any agent
npx skills add NextStat/yacli --skill yacli-mail
Clone the repo
git clone --depth 1 https://github.com/NextStat/yacli

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 yacli-mail

README.md
[![agentmods](https://agentmods.dev/badge/skills/nextstat/yacli/yacli-mail.svg)](https://agentmods.dev/skills/nextstat/yacli/yacli-mail)
Your own site
<a href="https://agentmods.dev/skills/nextstat/yacli/yacli-mail"><img src="https://agentmods.dev/badge/skills/nextstat/yacli/yacli-mail.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 614 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.00057 $0.00614
Opus 5 $0.00028 $0.00307
Sonnet 5 $0.00011 $0.00123
Haiku 4.5 $0.00006 $0.00061

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

Security

Grade A, and why

yacli-mail 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.

skills/yacli-mail/SKILL.md · 76 lines

What it actually says

yacli mail — Яндекс Почта

Сначала прочитай yacli-shared для настройки аккаунта и авторизации.

Команды

Список папок

yacli mail folders [--account ALIAS]

Список писем

yacli mail list [--folder FOLDER] [--limit N] [--account ALIAS]

По умолчанию: folder=INBOX, limit=20. Возвращает массив с uid, from, subject, date.

Поиск писем

yacli mail search ЗАПРОС [--folder FOLDER] [--limit N] [--account ALIAS]

ЗАПРОС — текстовая строка. Ищет по теме и телу письма. Формат как у mail list.

Чтение письма

yacli mail read UID [--folder FOLDER] [--max-bytes N] [--account ALIAS]

UID берётся из вывода mail list или mail search. Возвращает полное письмо: body, from, to, subject, date, attachments.

Отправка письма

yacli mail send КОМУ ТЕМА [ТЕКСТ] [--cc EMAIL]... [--bcc EMAIL]... [--html HTML] [--account ALIAS]

ТЕКСТ — простой текст. --html для HTML-содержимого.

Ответ на письмо

yacli mail reply UID [ТЕКСТ] [--folder FOLDER] [--cc EMAIL]... [--html HTML] [--account ALIAS]

Отвечает на письмо по UID. Сохраняет заголовки цепочки.

Пересылка письма

yacli mail forward UID КОМУ [ТЕКСТ] [--folder FOLDER] [--cc EMAIL]... [--bcc EMAIL]... [--html HTML] [--account ALIAS]

Пересылает письмо с оригинальным содержимым.

Типичный порядок работы

  1. yacli mail list — просмотреть входящие, запомнить UID
  2. yacli mail read UID — прочитать письмо
  3. yacli mail reply UID "текст ответа" — ответить
  4. yacli mail search "ключевое слово" — найти письма по тексту

UID из вывода list/search — обязательный аргумент для read/reply/forward.

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 · 76 lines · 57 tokens per session scan A 6e5f70b1b3ac

Subscribe to this mod's changes

yacli-mail is a skill published in the GitHub repository NextStat/yacli (17 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 614 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.

Related

Other skills, from other repositories

c-email

Read, send, search, and label email via gog (Gmail CLI) or himalaya (IMAP). Supports inbox management, drafting replies, thread viewing, and label/folder operations across Gmail and standard IMAP accounts.

daxaur/openpaw · 49 tokens

thunderbird-cli

Manage email through Mozilla Thunderbird — read, search, compose, reply, forward, archive, move, tag, download attachments, and bulk-operate across all configured IMAP/SMTP accounts via the thunderbird-cli-mcp server. Use whenever the user mentions "email", "inbox", "mailbox", "unread", "messages", asks to "check…

vitalio-sh/thunderbird-cli · 169 tokens

vamoose

Book time off without the busywork. Prompts for your dates and subject, creates a calendar hold shown as free, invites your manager to approve it, then fans the event out to your team as optional attendees once approved. Backs onto Microsoft 365, Outlook, and Teams via Microsoft Graph, or Google Calendar. Trigger when…

dcadolph/vamoose · 92 tokens

email

Run the external email CLI through exec for real IMAP/SMTP/Notmuch mailboxes. Use when the user explicitly wants a real terminal email workflow instead of the built-in benchmark email surfaces.

IceWhaleTech/ZimaOS-Blue · 41 tokens

himalaya

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).

JansenAnalytics/claudex · 55 tokens

gws-calendar

Google Calendar: Manage calendars and events.

googleworkspace/cli · 12 tokens