Clone this into your project root to run a report-only daily triage loop (L1 readiness) with opencode.
-
Scaffold (recommended):
npx @cobusgreyling/loop-init . --pattern daily-triage --tool opencodeOr copy manually:
cp -r starters/minimal-loop-opencode/skills . cp starters/minimal-loop-opencode/AGENTS.md . cp starters/minimal-loop-opencode/LOOP.md . cp starters/minimal-loop-opencode/STATE.md.example STATE.md cp starters/minimal-loop-opencode/opencode.json.example opencode.json
-
Customize
STATE.mdproject name. -
Start the loop:
opencode run "Run loop-triage. Read STATE.md first. Append high-priority and watch items. Update Last run timestamp. Do not auto-fix anything in week one." --agent loop-triage -
Read
STATE.mdeach morning for 1-2 weeks. Tune the triage skill. -
When triage quality is good, add
minimal-fixfromtemplates/SKILL.md.minimal-fixand enable small auto-wins with a verifier agent in a worktree.
| File | Purpose |
|---|---|
STATE.md.example |
State spine template |
skills/loop-triage/SKILL.md |
Triage skill |
AGENTS.md |
Always-on project rules for opencode |
LOOP.md |
Loop config doc for your team |
opencode.json.example |
Example opencode agent definitions |
- Loop Design Checklist
- Daily Triage pattern
- Opencode example
- Run
npx @cobusgreyling/loop-audit .for readiness score