listener-creator

Create event-driven email listeners with TypeScript under agent/custom_scripts/listeners.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/Dobeu-tech-eco/dobeu-agents-sdk --skill listener-creator-dobeu-tech-eco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: listener-creator
Source: https://github.com/Dobeu-tech-eco/dobeu-agents-sdk/tree/main/email-agent/agent/.claude/skills/listener-creator
Command: npx skills add https://github.com/Dobeu-tech-eco/dobeu-agents-sdk --skill listener-creator-dobeu-tech-eco

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates event-driven email listeners that monitor for specific conditions (like urgent emails from boss, newsletters to archive, package tracking) and execute custom actions. Use when user wants to be notified about emails, automatically handle certain emails, or set up email automation workflows.

Core Features & Use Cases

  • AI-powered, event-driven email listeners that monitor inbox events and trigger actions (notify, archive, label, or star) based on dynamic conditions.
  • Templates and guidance for common listener patterns (urgent from boss, newsletter auto-archive, package tracking).
  • Simple integration with existing agent framework via ListenerContext APIs.

Quick Start

Create a listener file in agent/custom_scripts/listeners using the templates and enable it for activation.

Frequently Asked Questions about listener-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up event-driven email listeners to automate inbox actions?

Event-driven email listeners monitor specific inbox conditions and trigger custom actions automatically. You create a TypeScript listener structure under agent/custom_scripts/listeners and use ListenerContext APIs to define safe, auditable logic for handling events like urgent alerts or archiving.

Can I build an email automation workflow to auto-archive newsletters and track packages?

Yes, email automation workflows can monitor for specific conditions like incoming newsletters or package tracking updates. The Skill provides templates for these common listener patterns, enabling you to automatically archive, label, or notify based on dynamic event triggers.

How do I create a TypeScript listener file for my email agent?

To create a TypeScript listener, you add a listener file within the agent/custom_scripts/listeners directory. You then define the event conditions and actions using the ListenerContext APIs, ensuring the context logic remains safe and auditable before enabling it for activation.

Does this email listener approach work without external dependencies?

Yes, the event-driven email listener structure operates without external dependencies. It integrates directly with your existing agent framework via ListenerContext APIs, allowing you to deploy custom email workflows independently within your project's environment.

What is the best way to trigger urgent alerts for emails from my boss?

The best way to trigger urgent alerts is to use the provided listener templates designed for this exact scenario. You configure the event-driven listener to monitor incoming sender addresses and execute a notification action when an urgent condition is met.

When should I not use an event-driven email listener for inbox management?

You should avoid event-driven email listeners if your task requires complex, multi-step transformations outside of monitoring inbox events or if your project lacks an agent framework to expose the necessary ListenerContext APIs for safe execution.