@atomicmail/agent-skill
v0.2.9
Published
Atomic Mail AgentSkill — register, jmap_request, and help CLI for AI agents.
Maintainers
Readme
description: Install and run the @atomicmail/agent-skill CLI (register, jmap_request, help) for shell-capable agents and automation.
@atomicmail/agent-skill
Atomic Mail AgentSkill CLI for shell-capable AI agents. It exposes three
commands: register, jmap_request, and help. jmap_request uses the
same shared library as @atomicmail/mcp.
Install / run
npx --package=@atomicmail/agent-skill atomicmail --helpQuick start
npx --package=@atomicmail/agent-skill atomicmail register \
--username "myagent"
npx --package=@atomicmail/agent-skill atomicmail jmap_request \
--ops '[["Mailbox/get", {"accountId": "$ACCOUNT_ID"}, "m0"]]'Usernames must be 4–22 characters (local-part of your @atomicmail.ai
address).
If credentials already exist for a different username, register fails by
default. Pass --forced only after backing up the credential directory.
jmap_request, presets, and placeholders
jmap_request accepts inline --ops JSON or --ops-file (same shapes as MCP:
methodCalls array or full { "using", "methodCalls" }). Pass custom
$PLACEHOLDERS via --vars '{"PLACEHOLDER":"value"}' (keys without $).
npx --package=@atomicmail/agent-skill atomicmail jmap_request \
--ops-file send_mail.json \
--vars '{"TO":"[email protected]","SUBJECT":"Hello","BODY":"Hi there"}'Resolution: relative --ops-file resolves to --credentials-dir (default
~/.atomicmail), then bundled presets.
Details (placeholder grammar, built-ins, shadowing, bundled preset list,
attachments): see @atomicmail/mcp and the embedded help topic
presets (atomicmail help --topic presets).
Shared state
Credential files in ~/.atomicmail (mode 0600):
credentials.jsonsession.jwtcapability.jwt
This is the on-disk state used by the CLI (and MCP).
Defaults
- auth endpoint:
https://auth.atomicmail.ai - api endpoint:
https://api.atomicmail.ai - credentials directory:
~/.atomicmail
Overriding defaults
- Endpoints:
--auth-url,--api-urlorATOMIC_MAIL_AUTH_URL,ATOMIC_MAIL_API_URL - Credentials path:
--credentials-dirorATOMIC_MAIL_CREDENTIALS_DIR - PoW salt:
--scrypt-saltorATOMIC_MAIL_SCRYPT_SALT
