yacli-shared

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

A shared command-line foundation for Yandex Mail, Calendar, and Disk. A command-line tool is a program operated by typing commands, and this one returns machine-readable JSON by default.

In plain words
What is it for?
Use it to add and select Yandex accounts, see the current account, connect Mail, Calendar, or Disk, and inspect which services are connected.
Why use it?
It provides one place to manage Yandex accounts, sign in to each service, switch between accounts, and check connection status.

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/nextstat/yacli/yacli-shared
Any agent
npx skills add NextStat/yacli --skill yacli-shared
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-shared

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

Measured 4d ago against content hash b256c273e2a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

yacli-shared 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 4d 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-shared/SKILL.md · 70 lines

What it actually says

yacli — общая основа

yacli — CLI для Яндекс Почты, Календаря и Диска. Все команды возвращают JSON.

Формат вывода

Успех: {"ok": true, ...}. Ошибка: {"ok": false, "code": "...", "message": "..."}.

--format table — человекочитаемый вид. По умолчанию --format json.

Коды завершения

Код Значение
0 Успех
1 Ошибка пользователя (валидация, авторизация, не найдено)
4 Ошибка конфигурации или ввода/вывода
5 Ошибка сети или API

Управление аккаунтами

yacli поддерживает несколько аккаунтов. У каждого есть короткий алиас.

Команда Описание
yacli add <EMAIL> [ALIAS] Добавить аккаунт
yacli accounts Список аккаунтов
yacli use <ALIAS> Переключить текущий аккаунт
yacli whoami Показать текущий аккаунт
yacli status [--account ALIAS] Показать подключённые сервисы

Авторизация

Каждый сервис авторизуется отдельно:

  • Почта: OAuth XOAUTH2 (по умолчанию) или пароль приложения
  • Календарь: только пароль приложения
  • Диск: только OAuth
Команда Описание
yacli login [SERVICE] Подключить почту, календарь или диск
yacli login mail --app-password ПАРОЛЬ Почта через пароль приложения
yacli login calendar --app-password ПАРОЛЬ Календарь через пароль приложения
yacli logout [SERVICE] [--account ALIAS] Отключить один или все сервисы

SERVICE: mail, calendar, disk. Без аргумента — подключить все.

Глобальные флаги

  • --format json|table — формат вывода (по умолчанию: json)
  • --account ALIAS — целевой аккаунт (по умолчанию: текущий)
  • -h, --help — справка
  • -V, --version — версия

Несколько аккаунтов

Передавай --account ALIAS при работе не с текущим аккаунтом:

yacli mail list --account work
yacli calendar events --account personal
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. 4d ago First seen · 70 lines · 56 tokens per session scan A b256c273e2a3

Subscribe to this mod's changes

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

chatgpt-app-builder

Build, modify, debug, migrate, review, or verify TypeScript MCP servers and MCP Apps with mcp-use. Use for tools, resources, prompts, middleware, Views, authentication, Skills over MCP, scaffolding, and advanced features.

mcp-use/mcp-use · 55 tokens

purchasing

Create approved purchase orders with the create-purchase-order tool.

mcp-use/mcp-use · 15 tokens

refunds

Check refund eligibility and use the refund-order tool safely.

mcp-use/mcp-use · 13 tokens

mcp-patterns

MCP server building, advanced patterns, and security hardening. Use when building MCP servers, implementing tool handlers, choosing a transport, adding OAuth authentication, wiring MCP Apps UI with @mcp-ui, hardening MCP security, or debugging MCP integrations.

yonatangross/orchestkit · 56 tokens

openapi-to-mcp

Build and deploy an MCP server from an OpenAPI / Swagger spec using the mcp-use TypeScript SDK. Use this skill whenever the user wants to "turn this OpenAPI spec into an MCP server", "make this API usable from Claude/ChatGPT", "wrap this Swagger doc as MCP tools", "expose this REST API to an LLM", "generate MCP tools…

mcp-use/mcp-use · 235 tokens

create-tool

ALWAYS use this skill when the user asks to build, modify, or audit a FrontMCP tool. Covers everything inside @Tool({...}): class and function-style tools, Zod input/output schemas with derived execute() types, dependency injection (this.get / this.tryGet), error handling (this.fail, MCP error classes), throttling…

agentfront/frontmcp · 456 tokens