Writing Kit Workflow
The writing-kit workflow is Looplia’s flagship workflow. It transforms any content into a comprehensive writing kit that helps content creators develop articles, blog posts, or newsletters.
What It Produces
Section titled “What It Produces”The writing-kit workflow generates three artifacts:
| Output | Description |
|---|---|
summary.json | Deep content analysis with themes, quotes, and structure |
ideas.json | Creative hooks, angles, questions, and writing prompts |
writing-kit.json | Combined output with structured outline |
Running the Workflow
Section titled “Running the Workflow”# Basic usagelooplia run writing-kit --file my-content.md
# Resume interrupted runlooplia run writing-kit --sandbox-id my-content-2025-12-28-x7kmWorkflow Definition
Section titled “Workflow Definition”---name: writing-kitversion: 1.1.0description: Transform content into structured writing kit
steps: - id: summary skill: media-reviewer mission: | Deep analysis of content to extract key themes, concepts. Extract minimum 3 verbatim quotes, at least 5 key points. Identify structure, tone, and target audience. input: ${{ sandbox }}/inputs/content.md output: ${{ sandbox }}/outputs/summary.json validate: required_fields: [contentId, headline, keyThemes, tldr] min_quotes: 3
- id: ideas skill: idea-synthesis mission: | Generate creative writing ideas based on the content analysis. Include hooks, angles, questions, and content prompts. Consider multiple perspectives and formats. needs: [summary] input: ${{ steps.summary.output }} output: ${{ sandbox }}/outputs/ideas.json
- id: writing-kit skill: writing-kit-assembler mission: | Assemble a comprehensive writing kit combining summary and ideas. Create a structured outline with sections and talking points. Include call-to-action suggestions. needs: [summary, ideas] input: - ${{ steps.summary.output }} - ${{ steps.ideas.output }} output: ${{ sandbox }}/outputs/writing-kit.json final: true---Step-by-Step Breakdown
Section titled “Step-by-Step Breakdown”-
Content Analysis (media-reviewer)
The first step uses the
media-reviewerskill to deeply analyze your content:- Extracts key themes and concepts
- Identifies verbatim quotes (minimum 3)
- Captures key points (minimum 5)
- Infers structure and target audience
Output:
summary.json{"contentId": "ai-healthcare-2025-12-28","headline": "AI Revolution in Healthcare Diagnostics","tldr": "AI is enabling earlier disease detection...","keyThemes": ["predictive diagnostics", "personalized medicine"],"quotes": [{"text": "We're seeing a fundamental shift...","speaker": "Dr. Sarah Chen","context": "On AI adoption in hospitals"}],"keyPoints": ["94% accuracy in cancer detection from imaging","Drug discovery acceleration through simulation"],"structure": {"format": "article","sections": ["introduction", "developments", "quotes", "conclusion"]}} -
Idea Generation (idea-synthesis)
The second step uses
idea-synthesisto generate creative content ideas:- Compelling hooks to grab attention
- Unique angles for the topic
- Questions to explore
- Content prompts for different formats
Output:
ideas.json{"hooks": ["What if your doctor could predict disease before symptoms appear?","The algorithm that sees what radiologists miss"],"angles": ["Patient perspective: Living with AI-assisted diagnosis","Ethics: When algorithms make life-or-death decisions"],"questions": ["How do patients feel about AI making diagnoses?","What happens when the AI is wrong?"],"prompts": ["Write a day-in-the-life of an AI-assisted oncologist","Compare: Traditional vs AI diagnosis workflows"]} -
Kit Assembly (writing-kit-assembler)
The final step combines everything into a structured writing kit:
- Unified summary with all key information
- Selected hooks and angles
- Structured outline with sections
- Call-to-action suggestions
Output:
writing-kit.json{"title": "AI Healthcare Revolution: A Writer's Kit","summary": {"headline": "...","keyThemes": [...],"quotes": [...]},"selectedHooks": [...],"selectedAngles": [...],"outline": {"sections": [{"title": "The Diagnostic Revolution","points": ["94% accuracy claim", "Dr. Chen quote"],"suggestedLength": "300 words"},{"title": "From Lab to Bedside","points": ["Real-world implementations", "Patient outcomes"],"suggestedLength": "400 words"}]},"callToAction": ["Learn more about AI in healthcare at...","Share your experience with AI diagnosis in the comments"]}
Customizing the Workflow
Section titled “Customizing the Workflow”You can modify the writing-kit workflow for your needs:
Shorter Analysis
Section titled “Shorter Analysis”Edit ~/.looplia/workflows/writing-kit.md:
- id: summary skill: media-reviewer mission: | Quick analysis of content. Extract 2-3 key themes and 3 key points. Focus on actionable insights only.Different Output Focus
Section titled “Different Output Focus”- id: writing-kit skill: writing-kit-assembler mission: | Create a Twitter thread outline (10-15 tweets). Focus on controversial angles and quotable moments.Add a Step
Section titled “Add a Step”- id: fact-check skill: content-verifier mission: Verify claims and statistics in the content needs: [summary] input: ${{ steps.summary.output }} output: ${{ sandbox }}/outputs/fact-check.json
- id: ideas needs: [summary, fact-check] # Now depends on fact-check tooInput Requirements
Section titled “Input Requirements”The writing-kit workflow works best with:
- Articles (500-5000 words)
- Blog posts
- Video/podcast transcripts
- Research summaries
- News articles
See Also
Section titled “See Also”- Understanding Workflows — Schema reference
- Building Custom Workflows — Create your own
- run Command — Execution options