Skip to content

Questions · Published 2026-11-28 · Updated 2026-11-28 · AgentiSend

AgentiSend skills

AgentiSend skills are the agentisend skill and agent-email-safety, installed with npx skills add from two repositories.

AgentiSend skills are two installable Agent Skills, and a third that rides along with the CLI. npx skills add fortuneflick/agentisend-claude-plugin --list prints agentisend. npx skills add agentisend/agent-email-guard --list prints agent-email-safety. Both commands were run on 2026-11-28 with the skills installer at 1.9.1, and both stopped after listing. The published index at /.well-known/agent-skills/index.json names the sending skill only.

A skill is a SKILL.md the agent reads. It does not send mail. Sending still goes through POST /emails, and the checks before that go through POST /emails/preflight.

Install the sending skill

npx skills add fortuneflick/agentisend-claude-plugin --skill agentisend -y

The public repository is fortuneflick/agentisend-claude-plugin. Its root SKILL.md and skills/agentisend/SKILL.md are the same file. --list found that one skill and no others, so a second name in that repository is not something the installer will offer.

Claude Code can take the skill together with the MCP server:

/plugin marketplace add fortuneflick/agentisend-claude-plugin
/plugin install agentisend@agentisend

That pair is also on Send email from Claude Code. The server itself, the tool list, and the sign-in are on the AgentiSend MCP server. This page stays with the skill files.

--agent claude-code or --agent cursor limits which client receives the files. Those two names are in the installer help for skills 1.9.1.

What the sending skill tells the agent

The file the index points at is the copy on GitHub. Its order is fixed.

  1. npx agentisend doctor reads AGENTISEND_API_KEY and reports the key, whether the API answers, whether the key is paused, whether budget remains, whether a domain is verified, and the account standing. A paused key or a missing verified domain is a stop. npm i -g agentisend installs the command. The registry's latest for agentisend was 0.5.7 on 2026-11-28. Over MCP the same check is the whoami tool.
  2. Preflight the payload with POST /emails/preflight before POST /emails. Preflight runs the send gates and creates no message. A result of ok: false carries the same code, message, and fix the send would have returned.
  3. Pass an idempotency key on the send. A retry with the same key returns the first result.
  4. A large list, an unusual hour, or anything a person asked to see first goes to request_approval. Nothing is sent and no budget is spent. GET /agent-actions is the queue. The skill says no tool approves a held send, including a tool the agent calls for itself.
  5. After the send, agentisend emails explain <message-id> is GET /emails/{id}/explain.

Refusals the skill names, and what it says to do:

CodeWhat the skill says
rate_ceiling_exceeded, rate_limit_exceededWait retry_after_seconds and repeat the same call
agent_budget_exceededStop. A person raises the budget, or the period resets. PATCH /limits/keys/{id} is that person's call
kill_switch_activeTell a person. POST /limits/keys/{id}/kill is the stop, and a key cannot resume it
approval_requiredThe send is in the queue. Read GET /agent-actions
trust_pausedRead GET /trust/standing
suppressed_recipientDo not lift the suppression to get the send through
domain_not_verifiedPublish the DNS records, then verify

The skill also says the agent cannot read the body of a message it was stopped from sending, and that unsolicited mail is out of scope.

A worked example

With a key in AGENTISEND_API_KEY:

Follow the agentisend skill. Run npx agentisend doctor. If it reports a paused key or no verified domain, stop and quote the check. Otherwise preflight a plain-text email from onboarding@agentisend.com to delivered@simulator.agentisend.com, subject "Skill check", text "Sent after the skill install", idempotency key skill-check/1. If ok is false, quote code, message and fix, and do not send. If ok is true, send that same body once.

delivered@simulator.agentisend.com is the simulator address: the request is accepted and no inbox receives it. The preflight and the send are the same body.

curl -sS -X POST https://api.agentisend.com/emails/preflight \
  -H "Authorization: Bearer $AGENTISEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"from":"billing@yourdomain.com","to":"delivered@simulator.agentisend.com","subject":"Your receipt","text":"Thanks — the details are attached."}'
200
{
  "ok": true,
  "simulated": true,
  "error": null,
  "checks": {
    "validation": {
      "ok": true
    },
    "domain_scope": {
      "ok": true
    },
    "suppression": {
      "ok": true,
      "kept": [],
      "suppressed": []
    },
    "account": {
      "ok": true,
      "status": "approved"
    },
    "trust": {
      "ok": true,
      "state": "ok"
    },
    "verifier": {
      "ok": true,
      "risky": []
    },
    "domain": {
      "ok": true,
      "registered": false,
      "status": null
    },
    "budget": {
      "ok": true,
      "remaining": null,
      "would_cost": 0,
      "simulated": true
    },
    "loop": {
      "ok": true,
      "decision": null
    },
    "content": {
      "ok": true,
      "verdict": "clean",
      "findings": []
    }
  }
}
Response
curl -sS -X POST https://api.agentisend.com/emails \
  -H "Authorization: Bearer $AGENTISEND_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"from":"billing@yourdomain.com","to":"delivered@simulator.agentisend.com","subject":"Your receipt","text":"Thanks — the details are attached."}'
201
{
  "id": "9c8f8f0e-3d1a-4d3f-9a1e-2b7c1a0f5e42",
  "simulated": true,
  "warnings": []
}
Response

Give the agent its own key, POST /api-keys with permission sending_access, and cap it with PATCH /limits/keys/{id} before the session. GET /limits/keys/{id} reads the budget back. The key that sends cannot raise its own cap.

Install agent-email-safety

This skill is the open-source library, not the hosted API. It sits in front of whatever already sends, including a Resend call, and it does not add a way to email people who did not ask.

npx skills add agentisend/agent-email-guard --skill agent-email-safety -y

--list on that repository printed one skill, agent-email-safety, and the description from its frontmatter. The public repo is agentisend/agent-email-guard. skills.sh/agentisend/agent-email-guard returned 404 on 2026-11-28, so there is no install-count page to cite.

The skill file's own version is 0.2.0. The npm package agent-email-guard latest the same day was 0.1.0. Use the npm version when you install the library, and the frontmatter version when you are talking about the skill text.

npm install agent-email-guard

Python is pip install agent-email-guard, PHP is composer require agentisend/agent-email-guard, and Go is go get github.com/agentisend/agent-email-guard/go. The skill's Node wrap:

import { createGuard } from 'agent-email-guard';
import { loadPolicy } from 'agent-email-guard/policy';

const guard = createGuard(loadPolicy());
const send = guard.wrap((mail) => transporter.sendMail(mail));

loadPolicy() reads agent-email-guard.json beside the application. Unknown keys are an error. The numbers in the example are placeholders, not a published limit. npx agent-email-guard validate checks the file.

{
  "version": 1,
  "key": "support-agent",
  "budgets": { "per_hour": 10, "per_day": 50 },
  "rate": { "per_minute": 5 },
  "loop": { "mode": "full" },
  "approval": { "new_recipients": true }
}

loop.mode full is the default the skill says to keep: the fourth near-identical send in the window is refused, and a collapsed recipient set is refused. approval.new_recipients holds a send to an address that key has not used, which is the setting the skill asks for when the agent reads untrusted input.

On allow, the wrapper sends and records. On a provider error it releases the reservation. On refuse or hold_for_approval it does not call the provider, and the decision message goes back to the model.

Claude Code hook

npx agent-email-guard hook install

The skill says this writes a PreToolUse hook into .claude/settings.json for MCP tools whose names contain send, email, or mail. npx agent-email-guard hook install --user writes the user file instead. hook status and hook uninstall are the other two commands. The skill also says the hook has not been run under every permission mode, so this page does not claim it holds in a mode the skill does not name. This session did not run the hook.

In front of an email MCP server

npx agent-email-guard mcp --wrap "npx -y resend-mcp" --send-tools send-email,send-batch-emails

Replace the command and the tool names with the server you actually run. A remote server is --wrap-url plus --header. Without --send-tools, the skill says a tool is treated as a send when its name matches send, email, or mail and its arguments include a recipient plus a subject or a body. npx agent-email-guard mcp pause and resume are the local kill switch. Those commands stay on the machine. The proxy's counts reset when the process restarts.

The Cursor rule

The same repository has rules/agent-email-safety.mdc. It is the short form of the skill: budgets in agent-email-guard.json, loop mode full, approval for a new recipient, the hook command, and the MCP wrap. Copy that file into the project's .cursor/rules/ directory. cursor.directory was not readable from here on 2026-11-28 (the host returned a checkpoint page, HTTP 429), so this page does not claim a directory listing.

The migrate skill is not in either listing

npx agentisend migrate --from resend scans a project and prints call sites, From domains, DNS records, webhook names, and calls it does not support. It does not edit files unless you pass --write. --write sets RESEND_BASE_URL in .env.example. --write --rewrite-imports rewrites exact resend imports to agentisend/compat-resend and leaves .env.example alone. The default path is the Resend SDK pointed at AgentiSend with an AgentiSend key. The method table is the compatibility guide.

That skill is not one of the two names --list printed. Do not pass --write unless you want files changed.

Beside Resend's skills

Resend skills are five files in resend/resend-skills, listed by the same installer on the same day. They teach Resend's API, CLI, React Email, deliverability notes, and an inbox skill. AgentiSend's sending skill teaches the budget, the preflight, and the approval queue. agent-email-safety is a library with a policy file, so the cap is in the process that calls the provider, including when the provider is Resend.

Yearly plans are 52% cheaper than Resend, compared with Resend's monthly price because Resend sells no yearly plan. Lifetime plans are up to 75% cheaper than Resend for the same emails. The tables are on Resend alternative pricing.

FAQ

What are AgentiSend skills?

AgentiSend skills are the agentisend sending skill and the agent-email-safety skill. Each is a SKILL.md an agent reads before it writes a send. Neither one sends mail by itself.

How do I install the AgentiSend skill?

Run npx skills add fortuneflick/agentisend-claude-plugin --skill agentisend -y. Claude Code can instead install the plugin, which brings this skill and the MCP server together.

What is agent-email-safety?

It is the skill for the agent-email-guard library. Install it with npx skills add agentisend/agent-email-guard --skill agent-email-safety -y. The library reads agent-email-guard.json and refuses a send that breaks the budget, the loop rule, or the new-recipient approval.

Where is the Cursor rule?

In the agent-email-guard repository at rules/agent-email-safety.mdc. Copy it into .cursor/rules in the project. The skills installer lists the skill, not that rule file.

Which command checks the account before a send?

npx agentisend doctor. It reports the key, reachability, a paused key, remaining budget, a verified domain, and standing. Over MCP the matching tool is whoami, and the free send check is POST /emails/preflight.

Does npx skills add install the migrate skill?

No. The two listings above return agentisend and agent-email-safety. The migrate scan is npx agentisend migrate --from resend, and it does not change files unless --write is present.

Next

Written by the AgentiSend team.