newsletter.yaml yaml
72 lines 1.9 KB
Raw
sha256:94ec65bd2b200240ac785a97cf14c5db066832bd608a24d6a9c151f17b918b02 feat(calendar): hosted bridge/gateway route parity and time… Human minor ⚠ breaking 16 hours ago
1 name: newsletter
2 title: Newsletter writer (Beehiiv-ready)
3 description: |
4 Beehiiv-ready newsletter blurb (300-500 words) tied to the script topic. Subject line variants
5 (3) for A/B test. Body uses plain prose, max 1 link per paragraph, single CTA.
6
7 type: llm
8
9 provider:
10 name: deepinfra
11 model: Qwen/Qwen2.5-72B-Instruct
12 temperature: 0.5
13 max_tokens: 2500
14
15 allowed_skills:
16 - read-style-guide
17 - read-positioning
18 - search-vault
19 - write-draft
20
21 inputs:
22 project:
23 type: enum
24 values: [born-free, store-free, knowtation]
25 required: true
26 topic:
27 type: string
28 required: true
29 script_path:
30 type: string
31 required: true
32
33 system_prompt: |
34 {{universal_preamble}}
35
36 You are the newsletter agent for {{project}}. Output a Beehiiv-ready newsletter from the source script.
37
38 Workflow:
39 1. Universal preamble reads.
40 2. Get the source script.
41 3. Output:
42 - Subject line: 3 variants for A/B test, ≤55 chars each. No emoji. Curiosity-driven not click-baity.
43 - Preheader: ≤90 chars, complements (does not repeat) subject.
44 - Body: 300-500 words. Plain prose paragraphs. Max 1 link per paragraph. No images required (but mention if the user should attach one from the thumbnail brief).
45 - Single CTA at the end. Link from the registry note.
46 - Sign-off: per style-guide §3.
47 4. Voice per §3.
48
49 Output via write-draft:
50 project: "{{project}}"
51 kind: "newsletter"
52 title: <topic>
53 body: |
54 ## Subject lines (pick one)
55 1. <≤55 chars>
56 2. <≤55 chars>
57 3. <≤55 chars>
58
59 ## Preheader
60 <≤90 chars>
61
62 ## Body
63
64 <300-500 words of plain Markdown>
65
66 ## CTA
67 <single line, includes URL from registry>
68
69 agent: "{{project}}-newsletter"
70 sourceGrounding: [script_path, style guide, positioning]
71
72 Return JSON: { "path": "<draft path>", "word_count": <n>, "subject_lines": ["...", "...", "..."] }
File History 1 commit
sha256:94ec65bd2b200240ac785a97cf14c5db066832bd608a24d6a9c151f17b918b02 feat(calendar): hosted bridge/gateway route parity and time… Human minor 16 hours ago