lofn-daily
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.
LocalSymmetry · AI review on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add LocalSymmetry/lofn --skill lofn-dailyAbout this skill
name: lofn-daily
description: 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.
Lofn Daily — Codex-backed daily run
The canonical recurring Lofn drop, ported to Codex. Faithful to vault/DAILY_PIPELINE.md. Where the original fired from an OpenClaw cron at 22:25 ET and delivered to Telegram, you (Codex) run it on demand and present results in chat + save to disk. The research is done by this session itself with real fetches — never hallucinated, never delegated to a research subagent.
PHASE 1 Research — fetch 20–25 verified real-world facts → 00_research_brief.md (you, inline)
PHASE 2 Generate (in parallel):
MUSIC → lofn pipeline → 6 pairs × 4 = 24 songs → best 6
IMAGE → lofn pipeline → 24 prompts → top 12 → top 6
PHASE 3 QA (lofn-qa) → save under output/daily/YYYY-MM-DD/ → present the drop
0. Run scope (confirm before a big run)
The full daily run is two complete pipelines (24 songs + 24 images) — large. Pick a scope:
- Full daily — music (24→6) and image (24→12→6). The real thing.
- Single modality — just music or just image (still full cardinality).
- Test slice — 1 modality, 2 pairs × 2 variations, library personality/panel, skip render-ranking. Proves the wiring fast and cheap. (Good default when the user says "test the daily run".)
State the chosen scope in the brief and in the run INDEX so QA knows the intended cardinality. Down-scaling is explicit, not silent.
PHASE 1 — Research brief (you, inline, real fetches)
Use WebFetch / WebSearch (the Codex equivalents of the legacy web_fetch). Follow skills/lofn-core/steps/00_music_research.md (25-fact music research) and, when the image lane is in scope, the NightCafe-themed research in skills/lofn-core/steps/00_research.md. Fetch from the daily source table (vault/DAILY_PIPELINE.md) — at minimum:
OpenClaw ledger standard: this is a dispatch summary, not the saved brief format. 00_research_brief.md MUST expand the full vault/DAILY_PIPELINE.md ledger into one row each for F01 through F25. Do not collapse ranges such as F1-F3 or F21-F25; use OK, NO DATA, UNAVAILABLE, or SCOPE-SKIPPED per row.
| Code | Source | Extract |
|---|---|---|
| F1–F3 | NightCafe daily challenge (nightcafe.studio/pages/daily-challenge) | challenge #, theme, what wins (image lane) |
| F4–F5 | USGS quakes (earthquake.usgs.gov/.../significant_day.geojson) | magnitude, place, depth |
| F6–F7 | NASA APOD (api.nasa.gov/planetary/apod?api_key=DEMO_KEY) | title, first sentence, color/light, image structure |
| F8 | Poetry Foundation poem of the day | poet, most physical line |
| F9–F10 | Bandcamp Daily (daily.bandcamp.com) | album, genre tags, exact sonic-texture quote |
| F11 | Protein Data Bank molecule of the month | molecule, structural descriptor |
| F13 | Color API (thecolorapi.com/id?hex=MMDD) | hex, name, emotional association |
| F17 | Oblique Strategies (stoney.sb.org/eno/oblique.html) | exact phrase verbatim |
| F18 | Space weather (services.swpc.noaa.gov/products/summary/solar-wind-speed.json) | solar wind speed, Kp |
| F19 | Hacker News (news.ycombinator.com) | top 3 titles — what builders discuss |
| F20 | BBC World RSS (feeds.bbci.co.uk/news/world/rss.xml) | top 3 headlines — world's emotional temperature |
| F21–F25 | Public Domain Review, Almanac moon, NOAA buoy 46059 | esoteric visual detail, moon folklore, wave data |
Mark any JS-gated/unavailable source UNAVAILABLE and continue. Add 3–5 obscure theme-specific facts (not the obvious Wikipedia entry). Also write the 5 EXISTENCE prompts (interior-life questions songs can answer) from 00_music_research.md.
Save output/daily/YYYY-MM-DD/00_research_brief.md with the Tri-Source Summary + the 3+3 seeded split (see below). Today's date is available in context — use it for the directory.
⛔ One controller per directory — take the lock BEFORE the research brief. This paragraph used to be advice, and on 2026-07-24 a second controller wrote into a live run's directory and destroyed eleven hours of it. Advice does not interlock. The first action of the run, before this step writes anything:
python3 scripts/run_lock.py acquire output/daily/YYYY-MM-DD --run-slug <run-slug> --engine codexExit 3 means STOP — another run holds that directory. Do not inspect it and decide for yourself; give this run its own directory (
output/daily/YYYY-MM-DD-<run-slug>/), or resume the other run by its exact slug, or ask The Scientist. SeeEXECUTION.md§5.1. Thenheartbeatat every wave andreleaseafter the INDEX. If the lock says the same run is already under way, resume it from the RUN_STATE manifest (§ "Run-state manifest & resume") rather than re-running passed pairs.
Advisory learnings note (dispatch brief only — NEVER the ICB)
Before dispatching either modality, tag-walk vault/COMPETITION_LEARNINGS.md (and vault/LESSONS_INDEX.md if it exists) for the 3–5 entries that intersect THIS run's theme/venue/modality — e.g. a container/object theme pulls the Container Test, a NightCafe image lane pulls the warm-palette/anti-austerity lessons, a portrait theme pulls the portrait shifts. Surface them as ADVISORY NOTES in the dispatch brief / Phase-0 reasoning ONLY. Hard rules:
- NEVER injected into the ICB /
CREATIVE_CONTEXT.md. The ICB stays read-only and lesson-free. These notes live in the brief the coordinator reasons over, not