agentleFS
GroundmailGroundmail/groundmail-skills/skills/groundmail-cli/SKILL.md

groundmail-cli

Skill0 starsChanged 23 days agoMITView on GitHub

Use when operating Groundmail from the terminal — groundmail CLI, emails send, domains add/apply/verify, webhooks, suppressions, templates, API keys, automations. Trigger for shell scripts, CI, or npx groundmail workflows.

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Never print full gm_ secrets into logs or commits

    line 123
  2. Distinctive:

    Prefer CLI for ops; prefer SDK inside application code

    line 124

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Groundmail CLI

Package: groundmail-cli (bin: groundmail). Wraps the groundmail SDK.

export GROUNDMAIL_API_KEY=gm_…
# optional local:
# export GROUNDMAIL_API_URL=http://localhost:3003/api

npx -y --package=groundmail-cli -- groundmail <command>
# or: npm install -g groundmail-cli && groundmail <command>

For API semantics (sandbox, errors, field names), also load the groundmail skill.


Common flows

Sandbox send

groundmail emails send \
  --from noreply@mail.groundmail.dev \
  --to owner@example.com \
  --subject "Sandbox check" \
  --html "<p>It works.</p>"

to must be the account email when using the sandbox from.

Production send

groundmail emails send \
  --from you@verified.com \
  --to user@example.com \
  --subject "Hello" \
  --html "<p>Hi</p>"

Domains

groundmail domains add example.com
groundmail domains apply example.com --provider cloudflare
groundmail domains verify example.com
groundmail domains list

Emails ops

groundmail emails list --limit 25
groundmail emails get --id msg_…
groundmail emails insights --window 7d
groundmail emails cancel --id msg_…
groundmail emails resend --id msg_…
groundmail emails batch --file ./emails.json

Webhooks

groundmail webhooks list
groundmail webhooks create --url https://yourapp.com/hooks
groundmail webhooks get --id wh_…
groundmail webhooks delete --id wh_…

Suppressions

groundmail suppressions list
groundmail suppressions add --email user@example.com --reason bounced
groundmail suppressions remove --email user@example.com

Templates

groundmail templates list
groundmail templates get --id tpl_…
groundmail templates publish --id tpl_…

Agent mailboxes

groundmail mailboxes create --local-part signup-bot
groundmail mailboxes wait signup-bot@agents.groundmailbox.com --since 2026-11-05T12:00:00Z
groundmail mailboxes reply <mailbox> mbm_… --text …

See the groundmail-mailboxes skill.

API keys

groundmail keys list
groundmail keys create --name ci
groundmail keys delete --id key_…

Rules

  • Never print full gm_ secrets into logs or commits
  • Prefer CLI for ops; prefer SDK inside application code
  • Output is JSON for most commands — pipe to jq when needed

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.