social-poster.yaml yaml
58 lines 2.4 KB
Raw
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor ⚠ breaking 10 days 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 4 commits
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf mirror: GitHub Phase A durable MCP OAuth (#270) Human minor 10 days ago
sha256:d8c648b20a4d53b2673c5c082ee7edfa7b2fc9b11080832da1f38807b6bf940b fix(7C-L1b): route hosted delegation proposals through cani… Human minor 30 days ago
sha256:2827ba9e7632a4b141c50caf1e8f7d77abbc3515be20e7465f2bccb0ac4edf91 fix: repair endpoint now sets has_active_subscription when … Human minor 50 days ago