listener-creator

Installation
SKILL.md

Listener Creator

Creates TypeScript listener files that monitor email events and execute custom logic when conditions are met.

When to Use This Skill

Use this skill when the user wants to:

  • Get notifications about specific emails ("notify me when boss sends urgent emails")
  • Automatically handle certain emails ("auto-archive newsletters")
  • Monitor for patterns ("watch for package tracking emails")
  • Set up scheduled actions ("daily email summary at 9am")
  • Create custom email workflows

How Listeners Work

Listeners are TypeScript files in agent/custom_scripts/listeners/ that:

  1. Export a config object defining the event type and metadata
  2. Export a handler function that filters and processes events
  3. Use ListenerContext methods to perform actions (notify, archive, star, etc.)
Related skills

More from anthropics/claude-agent-sdk-demos

Installs
78
GitHub Stars
2.3K
First Seen
Mar 3, 2026