universal-email
БесплатноЗапускает вложенные скриптыНе проверенUse the bundled Himalaya 2 CLI to connect IMAP/SMTP or Microsoft Graph mailboxes and list, search, read, compose, reply, forward, move, delete, flag, and…
от marswaveai★ 83 звезды на GitHubОб этом скилле
Email (universal-email)
Serve the user the Cola way
These rules govern everything you SAY. They never change which commands you RUN — all operations below stay exactly as written.
- Product words are fine. 配置、授权、连接、账号、授权码/App 专用密码 — the user should always know which step they are in.
- Implementation details never reach the user.
himalaya, CLI, config files, TOML, IMAP/SMTP, PATH, keychain service names — say “你的邮箱 / 邮件账户 / your mailbox” instead. If the user explicitly asks how it works, then you may explain. - Narrate by goal, not by tooling. “正在连接你的邮箱” “正在看你的收件箱”, never “running himalaya account list”.
- Ask for the minimum, once. Ask for the email address. A well-known domain identifies the provider; a company or custom domain does not — it is often hosted on Google Workspace, Microsoft 365 or iCloud, and treating it as a generic mailbox would ask for server settings the user does not have and skip the provider's own sign-in. Check the domain's MX records, or simply ask which service hosts it, before choosing a guide. Then guide the user to generate the provider's app credential (QQ: 设置→账户→开启 IMAP/SMTP 生成授权码; iCloud/Gmail: App 专用密码, links allowed). Do not ask again unless verification actually failed.
- Credentials never enter the conversation. An app password or authorization code must reach the secure local prompt, never a chat message and never a shell argument — a credential pasted into chat stays in the transcript. Ask the user to re-run the setup and enter the new code there; if they paste one anyway, use it once, then tell them to revoke and regenerate it.
- Translate errors into next steps. Never paste raw command output or stack traces. Turn failures into one clear user action (“这个授权码好像不对,去 QQ 邮箱设置里重新生成一个,我这就帮你重新连”).
- Confirm in user terms. Finish with what they can now do (“邮箱连好了,以后直接说『看看今天的邮件』就行”), not with what was configured where.
Use the bundled himalaya executable. This Skill targets exactly Himalaya 2.0.0 at revision 923414155f4281d681f4ea8631954f406acf51ee; do not use Himalaya 1.x configuration fields or command examples.
Locate the executable
Always use the copy bundled with this Skill; never a himalaya that happens to be on PATH, which may be an unrelated version. Resolve it once per session:
- Determine the platform directory — on macOS run
uname -m(arm64→darwin-arm64,x86_64→darwin-x64); on Windows usewin32-x64. - Resolve
scripts/bin/<platform>/himalayaagainst this document's directory — on Windows the file ishimalaya.exe— and use that absolute path for every command below.
This package ships macOS and Windows builds only. On any other platform there is no bundled copy, so fall back to a himalaya on PATH after confirming himalaya --version reports v2.0.0; a different version there is unusable and should be reported as such.
The examples below write the command by its bare name for readability; always run the resolved absolute path instead.
If that file is missing, report that the mailbox is not ready yet — never describe it as an account problem or a broken connector.
Treat the active configuration of the executable you invoke as the source of truth: do not inspect candidate config files to choose one, or add --config merely because a file exists. Use --config only when the user explicitly requests a separate profile.
使用场景
- 绑定邮箱:"帮我连一下 QQ 邮箱""绑定我的 Gmail"
- 日常收发:"看看今天有什么新邮件""把这封转发给 Alice""回复他说我明天到"
- 整理与查找:"找一下上周报销相关的邮件""把这封标成已读""删掉这封"
Choose the account
- Confirm the resolved executable reports
himalaya v2.0.0. - Run
himalaya --json account list. - If the intended account exists, select it with the global
--account <name>option. - If it does not exist, read the matching provider guide before asking the user for anything:
- Gmail:
references/gmail.md - QQ Mail:
references/qq.md - iCloud Mail:
references/icloud.md - Outlook/Microsoft 365:
references/outlook.md - Other IMAP/SMTP:
references/standard-imap-smtp.md
- Gmail:
- If configuration is missing, use
references/configuration.mdfor the Himalaya 2 TOML format and active-configuration rules. - Validate with
himalaya --account <name> --json account checkbefore any mailbox operation.
Do not ask for a normal account password when the provider requires an app password, authorization code, or OAuth. Never echo a secret, put it in command arguments, or store it as password.raw.
Read operations
Prefer global --json for machine-readable output.
himalaya --account <name> --json mailbox list
himalaya --account <name> --json envelope list --mailbox inbox --page 1 --page-size 20
himalaya --account <name> --json envelope search --mailbox inbox from [email protected] and subject report
himalaya --account <name> --json message read --mailbox inbox <message-id>
himalaya --account <name> --json attachment list --mailbox inbox <message-id>
himalaya --account <name> attachment download -
Установить universal-email в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл universal-email?
Use the bundled Himalaya 2 CLI to connect IMAP/SMTP or Microsoft Graph mailboxes and list, search, read, compose, reply, forward, move, delete, flag, and download email. Use when the user asks to connect or operate Gmail, QQ Mail, iCloud Mail, Outlook, or another standard mailbox, or says "连接邮箱"、"绑定邮箱"、"看看我的邮件"、"查邮箱"、"发邮件"、"回复邮件".
Как установить скилл universal-email?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл universal-email запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic