action-creator

Create TypeScript email action templates with config and parameterSchema.

44|4|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/letta-ai/learning-sdk --skill action-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: action-creator
Source: https://github.com/letta-ai/learning-sdk/tree/main/examples/claude_email_agent/agent/.claude/skills/action-creator
Command: npx skills add https://github.com/letta-ai/learning-sdk --skill action-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users design reusable, one-click action templates that automate common email workflows within the chat interface, reducing manual steps and context switching.

Core Features & Use Cases

  • Template-driven actions: Generate TypeScript action templates that define a reusable operation (e.g., archive newsletters, forward bug reports, send payment reminders).
  • Config + parameters: Each template exports a config object with metadata and a parameterSchema, enabling dynamic, user-specific instances.
  • Chat-driven execution: Actions appear as clickable buttons in chat, enabling fast, deterministic operations without leaving the conversation.
  • Operational examples: Create templates for reminders to vendors, routing bug reports to engineering, or archiving newsletters with contextual details.

Quick Start

Create a TypeScript file in agent/custom_scripts/actions/ that exports a config and handler, then expose it as a user-invocable action template within the chat interface.

Frequently Asked Questions about action-creator

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

FAQPage Schema
How do I create reusable email automation actions in a chat interface?

Create TypeScript action templates in agent/custom_scripts/actions/ that export a config object, handler function, and parameterSchema. Templates appear as clickable buttons in chat, enabling one-click email operations like sending reminders or archiving newsletters without leaving the conversation.

Can I automate email workflows like forwarding bug reports or sending payment reminders?

Yes. Design TypeScript templates that define specific email tasks—archiving newsletters, routing reports to engineering, or sending vendor reminders. Each template uses ActionContext methods to perform email API actions (send, archive, label, search) triggered by chat UI buttons.

What parameters and configuration do email action templates require?

Each template exports a config object with metadata and a parameterSchema that defines dynamic, user-specific parameters. This structure enables flexible, configurable instances of the same action template for different use cases and email workflows.

Do I need TypeScript experience to build email action templates?

Yes. Templates are TypeScript files that require writing a handler function and parameterSchema. Intermediate TypeScript knowledge is needed to define email API operations and expose them as clickable actions in the chat interface.

How do action templates reduce manual steps in email workflows?

Templates eliminate context switching by embedding one-click actions directly in chat. Instead of leaving conversation to perform email tasks manually, users click a button to execute templated operations like archiving or forwarding, keeping workflow context intact.

Can action templates integrate with existing email APIs?

Templates leverage ActionContext methods to perform email operations: send, archive, label, and search. They work within the chat interface framework to execute these email API actions deterministically through user-invocable buttons.