media-reviewer
Deep content analysis. Extracts themes, quotes, key points, and structure.
Looplia is built on a skills-first architecture where AI capabilities are composed declaratively. This page explains the core concepts you’ll encounter.
A skill is a reusable AI capability that performs a specific task. Skills are the building blocks of workflows.
skill: media-reviewermission: | Analyze the content to extract key themes, structure, and quotes. Focus on actionable insights for content creators.Key characteristics:
media-reviewer
Deep content analysis. Extracts themes, quotes, key points, and structure.
idea-synthesis
Generates creative hooks, angles, questions, and writing prompts.
writing-kit-assembler
Combines analysis and ideas into a structured writing kit with outline.
workflow-executor
Orchestrates workflow execution, managing step dependencies.
A workflow is a sequence of skill executions that transform input into output. Workflows are defined as Markdown files with YAML frontmatter.
---name: writing-kitversion: 1.1.0description: Transform content into structured writing kit
steps: - id: summary skill: media-reviewer mission: Deep analysis of content input: ${{ sandbox }}/inputs/content.md output: ${{ sandbox }}/outputs/summary.json
- id: ideas skill: idea-synthesis mission: Generate creative hooks needs: [summary] input: ${{ steps.summary.output }} output: ${{ sandbox }}/outputs/ideas.json---Key features:
needs dependencies${{ }} syntaxA sandbox is an isolated execution environment for a single workflow run. Each --file creates a new sandbox.
~/.looplia/sandbox/my-article-2025-12-28-x7km/├── inputs/│ └── content.md # Your input file (copied)├── outputs/│ ├── summary.json # Step 1 output│ ├── ideas.json # Step 2 output│ └── writing-kit.json # Final output├── logs/│ └── session.log # Execution logs└── validation.json # Step completion trackingBenefits:
--sandbox-id to continue interrupted runsSandbox IDs follow the pattern: {slug}-{YYYY-MM-DD}-{random4chars}
Example: my-article-2025-12-28-x7km
A mission is the natural language instruction given to a skill. Missions describe the desired outcome, not the implementation.
mission: | Analyze the content to extract key themes, concepts, and structure. Extract minimum 3 verbatim quotes that capture the essence. Identify at least 5 key points that a reader should remember. Consider the content from a content creator's perspective.Looplia uses a two-plugin architecture to separate concerns:
| Plugin | Purpose | Contains |
|---|---|---|
| looplia-core | Infrastructure | Workflow executor, validator, CLI commands |
| looplia-writer | Domain | Content analysis skills (media-reviewer, idea-synthesis) |
This separation allows:
Steps complete when their output passes validation. The validation.json file tracks state:
{ "workflow": "writing-kit", "steps": { "summary": { "output": "outputs/summary.json", "validated": true }, "ideas": { "output": "outputs/ideas.json", "validated": true }, "writing-kit": { "output": "outputs/writing-kit.json", "validated": false } }}When resuming with --sandbox-id, Looplia skips validated steps and continues from the first incomplete step.
┌─────────────────────────────────────────────────────────────────┐│ CLI Commands ││ └─ looplia run → Execute workflow ││ └─ looplia build → Create workflow from description ││ └─ looplia config → Manage settings │└─────────────────────────────────────────────────────────────────┘ │ ▼┌─────────────────────────────────────────────────────────────────┐│ Workflow-as-Markdown ││ • YAML frontmatter + Markdown documentation ││ • Steps with skill: + mission: syntax ││ • ${{ }} variable substitution │└─────────────────────────────────────────────────────────────────┘ │ ▼┌─────────────────────────────────────────────────────────────────┐│ Skill Executor (Claude Agent SDK) ││ • Receives skill + mission ││ • Orchestrates Claude to complete the task ││ • Produces validated JSON output │└─────────────────────────────────────────────────────────────────┘