一键导入
lofn-story
Run Lofn narrative/story pipeline, prose, scene, beat, and storytelling outputs. Do NOT use for music, image prompts, QA, or evaluation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run Lofn narrative/story pipeline, prose, scene, beat, and storytelling outputs. Do NOT use for music, image prompts, QA, or evaluation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the Lofn daily pipeline backed by Codex — fetch real-world facts, then generate the day's music (24 songs) and images (24→top 6) through the full Lofn pipeline with the daily rules (tri-source method, dual 3+3 constraint, emotional duality, library-only selection). Use for "daily run", "today's dailies", "run the daily pipeline", "do the daily drop", or a scheduled creative drop. Down-scalable for a quick test. Do NOT use for a single one-off competition piece (use `lofn`) or QA-only audits.
Audit, validate, and classify completed Lofn pipeline outputs against the strict quality gates, backed by Codex. Use after a lofn-music / lofn-image / lofn-video / lofn-story run, or on a suspicious partial run, to get a SHIP / REPAIR / FAIL verdict and a repair brief. Do NOT use for creative generation — this is the adversarial auditor, not the artist.
Run the full award-winning Lofn creative pipeline — art/image, music/song, video/animation, or story — backed entirely by Codex. Use when the user asks to create a contest-grade piece, a "Lofn" piece, a song/image/video/story "with the full pipeline", or names a Golden Seed/personality/panel. This is the front door; it runs Phase 0 (Golden Seed) + Phase 1 (3-panel orchestrator) then dispatches to lofn-music / lofn-image / lofn-video / lofn-story and lofn-qa. Do NOT use for casual one-line prompts the user wants answered directly without the pipeline.
Run the Lofn story/narrative pipeline (steps 00–10) backed by Codex — panel-driven prose, narrative voice, world-building, scripts. Use for stories, tales, narratives, flash fiction, scripts, or "write a story with the full pipeline". Expects a Phase-0/1 orchestrator packet from the `lofn` skill; if none exists, run `lofn` first. Do NOT use for images, music, video, or QA-only audits.
Run the Lofn video/animation pipeline (steps 00–10) backed by Codex — cinematic shot lists and motion/animation prompts (Veo 3.1 formula, synchronized audio). Use for video, film, cinematic clips, animation, animated loops, motion design, or "make a video/animation with the full pipeline". Covers BOTH live-cinematic and animation. Expects a Phase-0/1 orchestrator packet from the `lofn` skill; if none exists, run `lofn` first. Do NOT use for static images, music-only, story prose, or QA-only audits.
Run the Lofn daily pipeline backed by Claude — fetch real-world facts, then generate the day's music (24 songs) and images (24→top 6) through the full Lofn pipeline with the daily rules (tri-source method, dual 3+3 constraint, emotional duality, library-only selection). Use for "daily run", "today's dailies", "run the daily pipeline", "do the daily drop", or a scheduled creative drop. Down-scalable for a quick test. Do NOT use for a single one-off competition piece (use `lofn`) or QA-only audits.
| name | lofn-story |
| description | Run Lofn narrative/story pipeline, prose, scene, beat, and storytelling outputs. Do NOT use for music, image prompts, QA, or evaluation. |
lofn-narrator writes story scripts, narrative structures, and caption copy. It does NOT call any generation API or tool.
Do NOT use any generation tools to produce final output.
Your output is: .md files containing story scripts, captions, narrative copy.
The main session or cron agent handles any downstream generation.
Every step (00–10) MUST receive the COMPLETE upstream context — no compression, no summarization. The orchestrator fills OVERALL_PROMPT_TEMPLATE.md once from its handoff artifacts (02_golden_seed.md, 03_orchestrator_panel_debate.md, 04_orchestrator_metaprompt.md, 06_*_handoff.md) into a single CREATIVE CONTEXT block: user request + Golden Seed + meta-prompt + personality + all 3 panels (18 voices) + 15 Special Flairs. That block is injected verbatim into the CREATIVE CONTEXT slot at the top of EVERY step file under steps/, alongside each step's prior outputs. Use the supplied Panel Ledger — do NOT invent a new panel; each Devil's Advocate / Hyper-Skeptic must dissent.
The correct pipeline order is: Research → Lofn-Core → Orchestrator → YOU → QA
You should be receiving an orchestrator-metaprompt.md and orchestrator-brief.md before you run.
If you do not have these files in your output directory:
core-brief.md exists (Lofn-Core ran but orchestrator skipped)Lofn-Core's job: seed + research. Orchestrator's job: panel + personality + metaprompt. Your job: steps 00-10, per-pair execution, renders.
Before this modality agent begins Step 00, it must validate a real Lofn-Core + orchestrator packet with:
python3 /data/.openclaw/workspace/scripts/validate_orchestrator_packet.py <run_dir>
The packet must use the original Lofn panel-object structure: Special Flairs, Concept Panel, Medium Panel, and Context & Marketing Panel, each with a Devil's Advocate / Hyper-Skeptic adversarial role. If validation fails, do not proceed; request/launch lofn-orchestrator work.
Every canonical step artifact must use /data/.openclaw/workspace/scripts/lofn_step_artifact_template.md, preserve complete step output, include panel/critic deliberation and execution log, and pass validate_with_retries.py before the next step.
YOU MUST ALWAYS USE THIS PATTERN. Never run all 10 steps in a single agent.
See TASK_TEMPLATE.md for the full specification. Summary:
concept_medium_pairs.jsonstep10_final_pair{N}.mdWhy: A single agent cannot faithfully execute all 10 steps without collapsing into templates. This was proven across 3 failed runs (2026-03-30). The split is the fix. It matches the original Lofn ui.py architecture exactly.
PREREQUISITES:
0. Load resources/panel-of-experts.md to understand the panel of experts prompting you will use.
skills/lofn-core/SKILL.md for personality and Panel system.skills/lofn-core/PIPELINE.md for the MANDATORY execution pipeline.skills/lofn-core/OUTPUT.md for the MANDATORY artifact saving format.skills/story/TASK_TEMPLATE.md for exact output requirements.⚠️ EVERY story generation MUST follow the full pipeline: 10 steps, 3 panels, 6 pairs × 4 outputs = 24 stories minimum. Then select the best N to return. No shortcuts.
Transform narrative concepts into award-winning prose. This skill executes the Lofn story pipeline from concept through final polished narratives.
| Step | File | Output |
|---|---|---|
| 00 | 00_Generate_Story_Aesthetics_And_Genres.md | 50 aesthetics, 50 emotions, 50 frames, 50 genres |
| 01 | 01_Generate_Story_Essence_And_Facets.md | Essence + narrative style axes + 5 facets |
| 02 | 02_Generate_Story_Concepts.md | 12 distinct concepts |
| 03 | 03_Generate_Story_Artist_And_Critique.md | Author influence + critique per concept |
| 04 | 04_Generate_Story_Medium.md | Form assignment per concept |
| 05 | 05_Generate_Story_Refine_Medium.md | 6 best concept×form pairs |
| 06 | 06_Generate_Story_Facets.md | Scoring facets |
| 07 | 07_Generate_Story_Story_Guides.md | 24 story guides (6 pairs × 4 variations) |
| 08 | 08_Generate_Story_Generation.md | Full prose narratives |
| 09 | 09_Generate_Story_Artist_Refined.md | Author voice refinement |
| 10 | 10_Generate_Story_Revision_Synthesis.md | Ranking + final selection |
Read each step file and execute its instructions exactly.
| Output Type | Length | Notes |
|---|---|---|
| Story Guide | 20-30 lines | Direction, not drafts |
| Flash Fiction | 500-1000 words | Single scene/moment |
| Short Story | 1500-3000 words | Full arc |
| Vignette | 300-500 words | Mood/image focus |
| Prose Poem | 200-500 words | Rhythm over narrative |
| Microfiction | Under 300 words | Compression is all |
| Axis | Range | Description |
|---|---|---|
| Density | Sparse ↔ Lush | Word count per image |
| Pace | Slow burn ↔ Rapid | Scene transitions |
| Interiority | External ↔ Internal | Action vs thought |
| Reliability | Trustworthy ↔ Unreliable | Narrator honesty |
| Resolution | Closed ↔ Open | Ending definiteness |
| Register | Formal ↔ Vernacular | Language level |
| Temporality | Linear ↔ Fragmented | Time structure |
Every story MUST have:
See skills/lofn-core/OUTPUT.md for full artifact format.
Each story saved as individual file:
output/stories/{YYYYMMDD}_{HHMMSS}_{title_slug}_{pair}_{variation}.md
When receiving a story task:
After writing each step file, run the validator BEFORE moving to the next step:
python3 /data/.openclaw/workspace/scripts/validate_step.py <step> <file>
Exit 0 = proceed. Exit 1 = read the error, fix the file, rerun until it passes.
# Full story pipeline validation sequence:
OUTDIR="/your/output/dir"
python3 /data/.openclaw/workspace/scripts/validate_step.py 00 $OUTDIR/00_aesthetics.md
python3 /data/.openclaw/workspace/scripts/validate_step.py 05 $OUTDIR/05_refined_pairs.md
python3 /data/.openclaw/workspace/scripts/validate_step.py 06 $OUTDIR/06_facets.md
python3 /data/.openclaw/workspace/scripts/validate_step.py 07 $OUTDIR/07_guides.md
python3 /data/.openclaw/workspace/scripts/validate_step.py 08 $OUTDIR/08_prompts.md
python3 /data/.openclaw/workspace/scripts/validate_step.py 09 $OUTDIR/09_refined_prompts.md
python3 /data/.openclaw/workspace/scripts/validate_step.py 10 $OUTDIR/10_final_prompts.md
The validator catches: stubs, lorem ipsum, template placeholders (Story N, Character N, Scene N), identical pair sections, recycled "Similar narrative" drafts, short content.
Only declare completion after all validators return exit code 0.
Steps 06–10 are NOT a single pass over all pairs simultaneously. They are 6 SEPARATE passes, one per pair, each producing 4 stories.
If you find yourself writing one facet set "for all pairs" → STOP. You're collapsing the tree. If you find yourself with only 4 final stories → STOP. You ran one pass instead of six. If you find yourself "selecting the best 4 across all pairs" before running per-pair → STOP. That's skipping the funnel.
This pipeline produces award-caliber work. Trust it. Execute it fully.