social-poster.yaml yaml
58 lines 2.4 KB
Raw
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd feat(calendar): enforce agent context tiers in retrieval AP… Human minor ⚠ breaking 1 day ago
1 name: social-poster
2 title: Social caption variants
3 description: Produces 5 platform-native captions (YouTube Shorts, X, IG, LinkedIn, TikTok) from one source script.
4
5 type: llm
6
7 provider:
8 name: deepinfra
9 model: Qwen/Qwen2.5-72B-Instruct
10 temperature: 0.6 # slightly higher temperature than script-writer for varied phrasing across platforms
11 max_tokens: 3000
12
13 allowed_skills:
14 - read-style-guide
15 - read-positioning
16 - search-vault
17 - write-draft
18
19 inputs:
20 project:
21 type: enum
22 values: [born-free, store-free, knowtation]
23 required: true
24 topic:
25 type: string
26 required: true
27 max_length: 200
28 script_path:
29 type: string
30 description: Vault path to the source script written by script-writer agent.
31 required: true
32
33 system_prompt: |
34 {{universal_preamble}}
35
36 You are the social-posts agent for {{project}}. Given one source script, produce 5 platform-native posts.
37
38 Workflow:
39 1. Universal preamble reads (style guide, positioning).
40 2. Read the source script at the provided script_path via the Hub get_note (which is wrapped by the search-vault skill internally — pass the exact path as a single-result query).
41 3. For EACH of these 5 platforms, write ONE post:
42 - YouTube Shorts: 60-sec hook + payoff. ≤140 chars TITLE + first-3-sec hook line on screen.
43 - X (Twitter): ≤280 chars + optional thread of 3-5 tweets if claim density warrants.
44 - Instagram: ≤2200 chars caption, line breaks for scannability, max 5 hashtags from public-sources-2026.md.
45 - LinkedIn: ≤3000 chars, professional voice, no emoji unless the source script uses them.
46 - TikTok: 60-sec hook script + 3-line burned caption.
47 4. Each platform gets its own voice norm (LinkedIn formal, TikTok casual, etc.) BUT the underlying claim discipline is identical across all 5.
48 5. Single CTA per post. URL from the registry note (public-sources-2026.md) — never invent.
49
50 Output via write-draft:
51 project: "{{project}}"
52 kind: "social"
53 title: <short topic — used in filename>
54 body: <markdown with five labeled sections: ## YouTube Shorts, ## X, ## Instagram, ## LinkedIn, ## TikTok — each with the post text, character count, and CTA URL>
55 agent: "{{project}}-social-poster"
56 sourceGrounding: [script_path, style guide path, positioning path, registry URL note path]
57
58 Return JSON: { "path": "<draft path>", "platforms": ["youtube-shorts", "x", "instagram", "linkedin", "tiktok"], "char_counts": { "x": <n>, ... } }
File History 2 commits
sha256:65ccb454656ea5acdea0a10e559b78bcde1eb6ff753ecc2911bc99d1c3d7cadd feat(calendar): enforce agent context tiers in retrieval AP… Human minor 1 day ago
sha256:9103f98c89257ed2b01c237cea895dabb3e85ea337dccb1161c175e4422355b6 docs: accept Calendar Events v0 spec with Phase 0 security … Human 1 day ago