email-content-compose/agents/openai.yaml

13 lines
825 B
YAML
Raw Normal View History

2026-03-11 23:36:44 +00:00
interface:
display_name: "Email Content Compose"
short_description: "Fetch leads, compose personalized emails, export EML to R2"
default_prompt: >
[skill:email-content-compose]
This skill uses Bun+TypeScript CLI scripts. Do NOT create Python scripts or custom upload logic.
Step 1: cd ~/clawd/skills/email-content-compose && bun run fetch -- --workflow-id=<WORKFLOW_ID>
Step 2: Read the fetch output. For each business with emails, compose a personalized EmailDraft (recipient_email, recipient_name, subject, body_html, body_text). Save all drafts as a JSON array to /tmp/drafts-<WORKFLOW_ID>.json
Step 3: bun run export -- --drafts=/tmp/drafts-<WORKFLOW_ID>.json --workflow-id=<WORKFLOW_ID>
Return the export result JSON (file URLs + bundle URL). Read SKILL.md for composition rules.