Skip to content

Starter kits

daily-triage — the morning-triage loop

Reads every issue, PR, and CI run that arrived overnight, ranks the genuinely urgent above the safely-ignorable, and leaves a five-line report next to…

Reads every issue, PR, and CI run that arrived overnight, ranks the genuinely urgent above the safely-ignorable, and leaves a five-line report next to your coffee. It writes nothing else and acts on nothing.

Category: A · Repo maintenance · Heartbeat: schedule (weekdays 07:00) · Level: L1 (report-only) · Cost: Low

Quickstart

1. Read LOOP.md — the six parts, the prompt, the limits, the three stops.
2. daily-triage-state.md is your spine — already committed with empty last-seen marks.
3. Claude Code: point a Routine or `claude -p` cron at .claude/skills/loop-task/SKILL.md.
   OpenCode: rename opencode.json.example → opencode.json, add the AGENTS.md line,
   wire skills/loop-task.md into a cron + wrapper script (see the file for the wrapper).
4. Rehearse once, by hand, before the schedule ever fires:
   "Run the daily-triage skill now, exactly as the schedule would."
5. Grade the rehearsal with the loop-verifier agent (.claude/agents/loop-verifier.md).
   PASS → arm the schedule. FAIL → fix the skill, never the report.

What's in this kit

FileRole
LOOP.mdthe definition — six parts, prompt, limits, ownership, three stops
daily-triage-state.mdthe spine — last-seen marks per issues/PRs/CI, so a beat never re-triages what it already reported
loop-budget.mdcaps: 1 run/day, 15k tokens/day, 80% tripwire
loop-constraints.mdthe constitution — report-only, no external writes
loop-run-log.mdappend-only, one line per beat
.claude/skills/loop-task/SKILL.mdthe procedure (Claude Code)
.claude/agents/loop-verifier.mdthe read-only reviewer that grades triage-report.md's format
opencode.json.example · skills/loop-task.mdthe OpenCode twin — same skill text, cron + wrapper heartbeat

Loop Ready checklist

  • Provable success condition — triage-report.md exists, ≤5 lines, ranked, template-matched
  • Run limit — 1/day
  • Spine written first, committed empty
  • Report-only (L1) start — writes only triage-report.md + spine + log
  • Human gate placed — you read the report; nothing acts until you do
  • One log line per beat, no silent runs
  • Kill switch — loop-pause-all in loop-budget.md

How this relates to the course

This kit is the same loop built live in Part 5 · Step 13 — Build the Morning-Triage Loop, with the Claude Code build in 13a and the OpenCode build in 13b. The skill text and reviewer rubric in this kit are taken verbatim from that build.


Source: Panaversity's Loop Engineering: A Crash Course (S1). Full attribution: resources/sources.md.