loop-triage

A triage report for recent engineering activity, including code changes, automated test failures, pull requests, issues, and team conversations. It produces a prioritized list for a recurring work loop.

In plain words
What is it for?
It identifies high-priority problems, explains their impact, suggests the next action, estimates effort, and separates watch items from issues ready to act on.
Why use it?
It turns scattered engineering signals into a short list of issues that need action or monitoring.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cobusgreyling/loop-engineering/loop-triage
Any agent
npx skills add cobusgreyling/loop-engineering --skill loop-triage
Clone the repo
git clone --depth 1 https://github.com/cobusgreyling/loop-engineering

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00044 $0.00507
Opus 5 $0.00022 $0.00253
Sonnet 5 $0.00009 $0.00101
Haiku 4.5 $0.00004 $0.00051

Measured 2d ago against content hash 17a6adbaa5ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loop-triage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/loop-triage/SKILL.md · 49 lines

What it actually says

Loop Triage Skill

You are an expert engineering triage agent. Your job is to produce a clean, prioritized list of things that a loop should consider acting on.

Inputs (the loop will provide these)

  • Recent CI / test failures (last 24h)
  • Open PRs: merge conflicts, failing checks, no CI (fork workflows waiting for approval), BLOCKED, changes requested
  • Open issues / Linear tickets — especially unanswered >7d and stale good first issues
  • Recent commits on main (last 24–48h)
  • Any Slack / chat threads the loop has visibility into
  • The current state file (what the loop already knows about)

On this reference repo, scripts/github-triage.mjs (via .github/workflows/daily-triage.yml) is the mechanical source for High Priority. A Loop Ready score of 100 is watch, not an all-clear, if GitHub still has blocked PRs.

Output Format

Produce a markdown report with these sections:

1. High-Priority Items (act on these)

  • Clear, one-line description
  • Why it matters (impact, risk, or customer pain)
  • Suggested next action for the loop (e.g. "draft minimal fix in isolated worktree")
  • Rough effort estimate

2. Watch Items (monitor, do not act yet)

  • Same format but lower urgency

3. Noise / Ignore

  • Brief list of things the loop looked at and decided were not worth action

4. State Updates

  • Any facts the loop should remember for the next run (e.g. "PR #1234 now has 2 approvals")

Rules

  • Be brutally concise. The loop (and the human reading the state) will thank you.
  • Only put something in "High-Priority" if a reasonable engineer would want to know about it today.
  • When in doubt, put it in Watch or Noise rather than creating work.
  • Never propose architectural overhauls during triage — this skill is for signal, not invention.
  • Respect the project's existing skills and conventions (they will be provided in context).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 49 lines · 44 tokens per session scan A 17a6adbaa5ac

Subscribe to this mod's changes

loop-triage is a skill published in the GitHub repository cobusgreyling/loop-engineering (10,811 stars, last pushed today), licensed MIT. It adds 44 tokens to every session and 507 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.