Skip to main content
Courier Skills is a public repository of structured guidance that AI coding agents use when building notifications. Install it once and your agent gets channel-specific rules, compliance constraints, reliability patterns, and code examples for the full Courier platform. Works with Cursor, Claude Code, Windsurf, Cline, and any AI tool that supports agent skills.

Installation

Available in all projects:

What Your Agent Learns

How It Works

The skill is organized around a routing file (SKILL.md) that agents read first. Based on the task at hand, it directs the agent to read only the 1-2 files relevant to that task. Each resource file follows a consistent structure:
  1. Quick Reference at the top with hard rules, common mistakes, and copy-paste templates
  2. Detailed guidance with explanations, examples, and edge cases
  3. Related links to other relevant files
This means agents read the minimum necessary context rather than loading the entire skill.

Example: agent building an OTP flow

  1. Agent reads SKILL.md, finds the routing table
  2. Routing table says: OTP/2FA -> read authentication.md + sms.md
  3. Agent reads those two files, gets: 6-digit codes, 5-10 min expiry, SMS primary with email fallback, TCPA rules, idempotency key pattern, rate limits
  4. Agent generates code that follows all constraints

Code Examples

The skill includes TypeScript, Python, CLI, and curl examples for key patterns:

Universal Rules

The skill enforces these constraints across all generated code:
  • Never send promotional content in transactional notifications
  • Never batch or delay OTP, password reset, or security alerts
  • Never send SMS without TCPA-compliant consent records
  • Always use idempotency keys for transactional sends
  • Always respect quiet hours (10pm-8am local) unless critical
  • Always use method: "single" unless the notification warrants all channels

What’s Next

Build with AI

See all AI integration options: CLI, MCP, Skills, and llms.txt.

GitHub

Source code and full file listing.