Files
crimson_leaf_publishing/templates/ai_article_write.yml
David Baity 50749f8e2b feat(clp): build full CLP agent roster, templates, and skills library
- 8 company agents: Lyra (intake), Selene (CEO), Atlas (research),
  Nova (publishing ops), Iris (author), Devon (dev editor),
  Lane (line editor), Cora (continuity editor)
- 19 additional templates (20 total): blog, recipe, short_story,
  book pipeline, ai_article, planning, boardroom, quick, project_index
- 5 skill guides: YA, Romance, SciFi, Blog, Recipe writing
- Rewritten charter and business plan

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-12 01:14:51 -04:00

75 lines
2.0 KiB
YAML

name: ai_article_write
description: "Write one standalone article from a brief — draft, polish, deliver."
debug: true
system: agent_prompt
agent_prompt:
- "= identity.md"
- "agent.rag.json"
sections:
- agent
- project
- history
- rag
- deliverables
- message
- rejection_feedback
- instructions
steps:
- type: think
max_tokens: 4000
hint: |
Your task message contains the article brief. Follow it exactly.
Before writing, confirm: title, target reader, hook, promise, key points, call to action.
Write the full article:
- # Title as H1
- One-line subhead
- Opening hook: first sentence drops reader into a real scenario
- 3-4 body sections with bold subheadings, short paragraphs
- At least one concrete number (dollars, time, percentage) per section
- "Try This Week" section: one specific, free or low-cost action
- Memorable closing line
Peer-to-peer tone. Not a pitch. Not a lecture.
Word count: 800-1000 words.
- type: think
max_tokens: 4000
model: power
hint: |
Read your draft as the target reader would on their phone.
Cut warmup. Cut vague generalities. Cut brochure-speak.
Every paragraph earns its place or it goes.
Call to action must be doable this week.
Word count 800-1000.
Output ONLY the polished final article starting with # [Title]. No commentary.
- type: document
filename: "{{task_name_slug}}"
- type: close
rag_update: true
adjudication:
enabled: true
pass_threshold: 80
deliverable_type: consumer
criteria:
narrative_flow:
weight: 30
description: "Story progresses naturally with good pacing"
character_voice:
weight: 25
description: "Characters are distinct and consistent"
prose_quality:
weight: 25
description: "Writing is polished and engaging"
continuity:
weight: 20
description: "Consistent with prior chapters and canon"