Available skills
The skills cover details that agents often get wrong, such as:
- The webhook event names (
delivery,open) differ from the names in webhook payloads (delivered,opened). - Webhook payloads nest the event data three levels deep, under
event.body.EventData. WebhookIDcomes back as a string, but deleting a webhook takes it as an integer.- The Python SDK takes
sender=where the other SDKs takefrom.
Skills, MCP server or CLI
SendLayer offers three ways to work with AI tools. You can use them together.
The Claude Code plugin installs the skills and connects the MCP server in one step.
Prerequisites
- An AI coding agent that supports skills
- Node.js 18 or newer, to install with
npx - A SendLayer account with a verified sending domain (authorize your domain), for the code the agent writes to send email
Installation
- Claude Code
- Cursor
- Codex
- GitHub Copilot
- Other agents
Install the plugin. It adds all three skills and connects the SendLayer MCP server:To install only the skills, without the MCP server:Project skills go in
.claude/skills/. Add -g to install them for every project, in ~/.claude/skills/.-a, npx skills add SendLayer/sendlayer-skills asks which agents and skills to install.
Claude.ai and Claude Desktop
Claude.ai takes custom skills as zip files. This requires a Pro, Max, Team or Enterprise plan with code execution turned on.1
Download the skills
zip command for sendlayer-cli and email-best-practices if you want them.2
Upload each zip
In Claude, open Settings, then Capabilities, and upload each zip file under Skills.
Skills uploaded to Claude.ai don’t sync to Claude Code, and the other way round. To use SendLayer from a chat without coding, connect the MCP server instead.
Connect the MCP server from the Claude Code plugin
The plugin connects to the hosted MCP server athttps://mcp.sendlayer.com. You can sign in with SendLayer or use an API key.
Sign in with SendLayer
Sign-in is the default whenSENDLAYER_API_KEY isn’t set.
1
Open the MCP menu
In Claude Code, run
/mcp and choose the sendlayer server. It shows as needing authentication.2
Authenticate
Choose Authenticate. Your browser opens the SendLayer sign-in page.
3
Choose domains and permissions
Log in, then choose which sender domains Claude Code may use and what it may do. Send email and read delivery events are on. Manage webhooks is off unless you turn it on. Approve, and the SendLayer tools are ready.
Use an API key
Set theSENDLAYER_API_KEY environment variable, and the plugin sends it instead of asking you to sign in. To set it for Claude Code only, add it to ~/.claude/settings.json:
~/.claude/settings.json
Verify the skills
Ask your agent a SendLayer question, for example:sendlayer skill loaded, the agent creates the webhook with the event delivery and checks for delivered in the payload it receives. In Claude Code, the agent shows that it’s using the sendlayer skill.
Run npx skills ls to list the skills installed for each agent.
Update the skills
Skills don’t update on their own. To get the latest version, run the install command again:/plugin and update the sendlayer plugin from the sendlayer-skills marketplace.
Get help
Report problems or suggest changes in the SendLayer Agent Skills GitHub repository.FAQ
What is an agent skill?
What is an agent skill?
A skill is a folder with a
SKILL.md file and optional reference files. The agent reads each skill’s short description up front, and loads the full instructions only when a task matches. Skills add knowledge to the agent. They don’t run code or call SendLayer by themselves.Do the skills need my API key?
Do the skills need my API key?
No. Skills are instructions for the agent. Only the code the agent writes, the CLI and the MCP server need credentials. The code reads your API key the way your app does, for example from an environment variable.
Do the skills send data to SendLayer?
Do the skills send data to SendLayer?
No. Skills are files on your computer that the agent reads. The agent contacts SendLayer only when it runs code, a CLI command or an MCP tool that calls the SendLayer API.
Can I install only one skill?
Can I install only one skill?
Yes. Run
npx skills add SendLayer/sendlayer-skills without -a and pick the skills you want, or copy one folder from skills/ in the repository into your agent’s skills folder.