Install the agent skill

Operations

Drop-in Claude Code / Cursor / OpenClaw skill that teaches your coding assistant the full myagentmail API surface in one file.

What is a skill?

A skill is a single markdown file (plus optional reference files) with YAML frontmatter that tools like Claude Code and OpenClaw load into an agent's context. It explains the API, shows the patterns, and lets the agent answer "send an email from my support inbox" without you having to hand-feed docs every turn.

We publish ours at a stable URL so you can install it with one curl.

Files

FilePurpose
SKILL.mdMain skill. YAML frontmatter + every endpoint with TypeScript and Python examples. Covers inboxes, messages, threads, drafts, lists, addresses, custom domains, workspaces, metrics, and error handling.
references/webhooks.mdDeep dive on HTTP webhook setup, signature verification, and retry behavior.
references/websockets.mdDeep dive on real-time events, including the inline 2FA-code pattern (full TypeScript implementation).

Install — Claude Code

mkdir -p ~/.claude/skills/myagentmail/references
curl -o ~/.claude/skills/myagentmail/SKILL.md \
  https://myagentmail.com/skills/myagentmail/SKILL.md
curl -o ~/.claude/skills/myagentmail/references/linkedin.md \
  https://myagentmail.com/skills/myagentmail/references/linkedin.md
curl -o ~/.claude/skills/myagentmail/references/webhooks.md \
  https://myagentmail.com/skills/myagentmail/references/webhooks.md
curl -o ~/.claude/skills/myagentmail/references/websockets.md \
  https://myagentmail.com/skills/myagentmail/references/websockets.md

Claude Code auto-loads skills from ~/.claude/skills/. Restart Claude Code and the myagentmail skill is available — say "create an inbox and send a test email" and the assistant will use the right endpoints automatically.

Install — Cursor

mkdir -p .cursor/rules
curl -o .cursor/rules/myagentmail.md \
  https://myagentmail.com/skills/myagentmail/SKILL.md

Cursor loads project rules from .cursor/rules/. The skill becomes part of the active context for that workspace.

Install — OpenClaw

curl -o ~/.openclaw/skills/myagentmail/SKILL.md --create-dirs \
  https://myagentmail.com/skills/myagentmail/SKILL.md

Set your API key

The skill expects MYAGENTMAIL_KEY in the environment:

export MYAGENTMAIL_KEY="tk_..."   # add to your shell rc file

Use your tenant master key for development. For production agent deployments, issue an inbox-scoped ak_ key (returned when you create an inbox) — it's the narrowest scope and limits blast radius if the key leaks.

The skill is a live file served from myagentmail.com — we keep it updated as we ship new endpoints. curl it again whenever you want the latest. View the current version at myagentmail.com/skills/myagentmail/SKILL.md.

The TypeScript SDK (npm install myagentmail) and MCP server (npx -y myagentmail-mcp) are now published on npm. Use the SDK for programmatic access, the MCP server for Claude Desktop / Cursor, or the skill for agent context.

Using it without an agent tool

The SKILL.md is just markdown. Even if you're not using Claude Code, Cursor, or OpenClaw, you can read it as a complete self-contained API reference — it's designed to work as a standalone document. No exporter, no build step, no runtime.