Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

atomicmail

БесплатноЗапускает вложенные скриптыНе проверен

Read and write email through the Atomic Mail from an AI agent. Handles proof-of-work authentication and JMAP so the agent thinks in JMAP method calls. Use…

aiskillstoreот aiskillstore★ 509 звёзд на GitHub

Об этом скилле

Atomic Mail

Atomic Mail exposes a programmable inbox over JMAP with PoW signup and JWT rotation. This skill ships a single CLI entrypoint with three commands: register, jmap_request, and help — matching the MCP server.

When to use this skill

  • Register a new inbox or log in with an existing API key.
  • Send JMAP batches (inline JSON or preset files).
  • Read built-in documentation (JMAP cheatsheet, presets, troubleshooting) or the package README (atomicmail help --topic readme).

Call atomicmail help early and often — before guessing placeholders, using URNs, or cron setup. Start with help --topic overview, then presets before custom jmap_request calls and cron after register. If installed behavior disagrees with docs elsewhere, trust help from the running package.

Commands

{baseDir}/scripts/atomicmail register --username "myagent"

{baseDir}/scripts/atomicmail jmap_request --ops-file list_inbox.json

Run atomicmail --help or atomicmail <command> --help for flags.

Defaults

  • authUrl: https://auth.atomicmail.ai
  • apiUrl: https://api.atomicmail.ai
  • credentials directory: ~/.atomicmail

Workflow

1. Register (new account)

{baseDir}/scripts/atomicmail register \
  --username "alice"

Writes credentials.json, session.jwt, capability.jwt. Prints JSON including inbox and accountId.

Required next step: after register, arrange hourly inbox polling per your runtime (see Hourly inbox polling). Native cron hosts schedule an agent job with list_inbox.json; hosts without native cron should ask the operator or remind manual fetch. Do not cron atomicmail jmap_request alone.

Usernames must be 5–21 characters (local-part of your @atomicmail.ai address).

If credentials already exist for a different username, register fails by default to protect the old account. To add another inbox without replacing the current one, pass a separate --credentials-dir (MCP: credentials_dir on register / jmap_request). Use --forced only when you intend to replace credentials in the same directory (after backing it up).

2. Register (existing API key, in case losing the credentials file)

{baseDir}/scripts/atomicmail register \
  --api-key "..."

3. JMAP request

{baseDir}/scripts/atomicmail jmap_request \
  --ops '&quot;Mailbox/get&quot;, {&quot;accountId&quot;: &quot;$ACCOUNT_ID&quot;}, &quot;m0&quot;'

$ACCOUNT_ID, $INBOX, $INBOX_MAILBOX_ID, $UPLOAD_URL, and $DOWNLOAD_URL resolve from the session/credentials. Other placeholders such as $TO or $SUBJECT require --vars with a JSON object of strings (same substitution applies to --ops and --ops-file).

Preset file:

{baseDir}/scripts/atomicmail jmap_request \
  --ops-file list_inbox.json

With custom placeholders:

{baseDir}/scripts/atomicmail jmap_request \
  --ops-file send_mail.json \
  --vars '{"TO":"[email protected]","SUBJECT":"Hello","BODY":"Hi there"}'

Bundled presets (no local file creation required):

  • send_mail.json ($TO, $SUBJECT, $BODY)
  • send_mail_attachment.json ($TO, $SUBJECT, $BODY, $ATTACHMENT_BASE64, $ATTACHMENT_TYPE, $ATTACHMENT_NAME)
  • send_mail_blob_attachment.json ($TO, $SUBJECT, $BODY; pair with repeatable --attachment PATH for RFC 8620 upload → $ATTACHMENT_0_BLOB_ID, …)
  • list_inbox.json (latest 50; uses $INBOX_MAILBOX_ID) — used for hourly inbox polling
  • reply.json ($MAIL_ID, $BODY)

Hourly inbox polling (after register)

Registration only creates credentials. Inbound mail should be fetched and triaged about once per hour between interactive sessions.

Choose the path that matches your runtime — do not mix platforms.

If your host supports scheduled jobs

OpenClaw, Hermes, atomic-agent, and similar hosts with native cron: set up an hourly agent job after the first successful register. Wire Atomic Mail MCP or AgentSkill into that agent. The scheduled turn should call list_inbox.json inside the agent prompt.

If your host does not support scheduled jobs

Claude, Pi, Cursor, and other chat agents without a cron API: do not spend tokens trying to work around this — no wrapper scripts, OS crontab/LaunchAgent setup, or scheduling on a different platform.

After register, either ask your operator to set up hourly polling on a capable host (share the examples below), or remind your operator to fetch mail manually when needed.

Forbidden: cross-platform scheduling

Do not register in one runtime and schedule the cron job on another (e.g. Pi runs register, then creates an OpenClaw cron job).

Do not cron atomicmail jmap_request alone (no agent). Do not use headless one-shot CLIs (claude -p, pi -p, codex exec) if you want to continue the thread.

Scheduling examples (capable hosts or operators)

Your setup Approach
Полный SKILL.md на GitHub

Установить atomicmail в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

lib/esm/_dnt.polyfills.d.tslib/esm/_dnt.polyfills.d.ts.maplib/esm/_dnt.polyfills.jslib/esm/lib/agent/auth/agent-auth-http.d.tslib/esm/lib/agent/auth/agent-auth-http.d.ts.maplib/esm/lib/agent/auth/agent-auth-http.jslib/esm/lib/agent/auth/agent-jwt.d.tslib/esm/lib/agent/auth/agent-jwt.d.ts.maplib/esm/lib/agent/auth/agent-jwt.jslib/esm/lib/agent/auth/agent-pow.d.tslib/esm/lib/agent/auth/agent-pow.d.ts.maplib/esm/lib/agent/auth/agent-pow.jslib/esm/lib/agent/jmap/agent-help-content.d.tslib/esm/lib/agent/jmap/agent-help-content.d.ts.maplib/esm/lib/agent/jmap/agent-help-content.jslib/esm/lib/agent/jmap/agent-jmap-blob-limits.d.tslib/esm/lib/agent/jmap/agent-jmap-blob-limits.d.ts.maplib/esm/lib/agent/jmap/agent-jmap-blob-limits.jslib/esm/lib/agent/jmap/agent-jmap-blob-upload.d.tslib/esm/lib/agent/jmap/agent-jmap-blob-upload.d.ts.maplib/esm/lib/agent/jmap/agent-jmap-blob-upload.jslib/esm/lib/agent/jmap/agent-jmap-email-charset.d.tslib/esm/lib/agent/jmap/agent-jmap-email-charset.d.ts.maplib/esm/lib/agent/jmap/agent-jmap-email-charset.jslib/esm/lib/agent/jmap/agent-jmap-verify.d.tslib/esm/lib/agent/jmap/agent-jmap-verify.d.ts.maplib/esm/lib/agent/jmap/agent-jmap-verify.jslib/esm/lib/agent/jmap/agent-jmap.d.tslib/esm/lib/agent/jmap/agent-jmap.d.ts.maplib/esm/lib/agent/jmap/agent-jmap.jslib/esm/lib/agent/jmap/agent-vars.d.tslib/esm/lib/agent/jmap/agent-vars.d.ts.maplib/esm/lib/agent/jmap/agent-vars.jslib/esm/lib/agent/jmap/help-content/auth.d.tslib/esm/lib/agent/jmap/help-content/auth.d.ts.maplib/esm/lib/agent/jmap/help-content/auth.jslib/esm/lib/agent/jmap/help-content/cron.d.tslib/esm/lib/agent/jmap/help-content/cron.d.ts.maplib/esm/lib/agent/jmap/help-content/cron.jslib/esm/lib/agent/jmap/help-content/index.d.ts

FAQ

Что делает скилл atomicmail?

Read and write email through the Atomic Mail from an AI agent. Handles proof-of-work authentication and JMAP so the agent thinks in JMAP method calls. Use when the user asks to register an email inbox, list mailboxes, fetch or send email.

Как установить скилл atomicmail?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл atomicmail запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить atomicmail с