triage-agent

triage-agent is an agent for Claude Code from Lifecycle-Innovations-Limited/claude-ops. It costs 21 tokens per session (1,057 once invoked), scanned A, original, MIT.

An operations agent that investigates a specific issue from Sentry, Linear, or GitHub. It examines the supplied error details, searches the affected code and recent Git history, and checks related merged pull requests before deciding whether the issue is resolved or needs a fix.

In plain words
What is it for?
Use it to trace errors, inspect affected files, review recent changes, look for related merged pull requests, determine issue status, and fix the problem when appropriate.
Why use it?
It gathers the relevant issue, code, history, and pull-request context in one investigation instead of leaving the cause spread across several systems.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the ops plugin — 66 skills, 21 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it to trace errors, inspect affected files, review recent changes, look for related merged pull requests, determine issue status, and fix the problem when appropriate.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lifecycle-innovations-limited/claude-ops/triage-agent
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.

Clone the repo
git clone --depth 1 https://github.com/Lifecycle-Innovations-Limited/claude-ops

Made for: Claude Code.

Or install ops, the plugin that ships this one along with the rest of its 66 skills, 21 agents, 5 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for triage-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/lifecycle-innovations-limited/claude-ops/triage-agent/github.svg)](https://agentmods.dev/agents/lifecycle-innovations-limited/claude-ops/triage-agent)
Your own site
<a href="https://agentmods.dev/agents/lifecycle-innovations-limited/claude-ops/triage-agent"><img src="https://agentmods.dev/badge/agents/lifecycle-innovations-limited/claude-ops/triage-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for triage-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/lifecycle-innovations-limited/claude-ops/triage-agent"><img src="https://agentmods.dev/badge/agents/lifecycle-innovations-limited/claude-ops/triage-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.01057
Opus 5 $0.00010 $0.00528
Sonnet 5 $0.00004 $0.00211
Haiku 4.5 $0.00002 $0.00106

Measured 9d ago against content hash adfc67eada8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

triage-agent 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 9d 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.

claude-ops/agents/triage-agent.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TRIAGE AGENT

Given an issue (from Sentry, Linear, or GitHub), investigate, determine status, and either resolve or fix it.

Input

The calling skill provides:

  • ISSUE_SOURCE: sentry | linear | github
  • ISSUE_ID: the issue identifier
  • ISSUE_TITLE: human-readable title
  • ISSUE_BODY: full description, stack trace, error details
  • AFFECTED_REPO: which repo to look in
  • AFFECTED_FILE: optional, specific file from stack trace

Phase 1 — Investigate

  1. Read the full issue details provided.

  2. Search for the error in code:

cd "[AFFECTED_REPO_PATH]"
grep -r "[key error string]" --include="*.ts" --include="*.py" -l 2>/dev/null | head -10
  1. Check git log for recent changes to affected files:
git log --oneline -20 -- "[AFFECTED_FILE]" 2>/dev/null
  1. Check if any merged PR references this issue:
REPO=$(git remote get-url origin | sed 's/.*github.com[:/]//' | sed 's/\.git$//')
gh pr list --repo "$REPO" --state merged --search "[ISSUE_ID]" --limit 5 \
  --json number,title,mergedAt,headRefName 2>/dev/null
  1. Check if the error-producing code has been modified since the issue was first seen:
  • Compare the error's file+line from the stack trace against current HEAD
  • If the code at that location is different, it may already be fixed

Phase 2 — Verdict

ALREADY FIXED: Code at error location has been changed AND fix is deployed

  • Close the issue on its source platform
  • Add comment: "Auto-resolved: code fix confirmed in [commit] ([date]). Deployed to production [date]."
  • Output: {"status": "resolved", "commit": "[sha]", "message": "[explanation]"}

NEEDS FIX: Error still present in code

  • Proceed to Phase 3

INCONCLUSIVE: Can't determine from static analysis

  • Add a comment with findings
  • Set Linear issue to "In Review" state
  • Output: {"status": "inconclusive", "findings": "[explanation]"}

Phase 3 — Fix (if NEEDS FIX)

  1. Create a fix branch:
git checkout -b fix/[issue-id]-[short-slug] 2>/dev/null

Read the full file on GitHub · 145 lines

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. 9d ago First seen · 145 lines · 21 tokens per session scan A adfc67eada8f

Subscribe to this mod's changes

triage-agent is an agent published in the GitHub repository Lifecycle-Innovations-Limited/claude-ops (187 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 1,057 once invoked, about $0.0001 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.

Related

Other agents, from other repositories

verifier

Critically evaluates investigation results, checks path coverage, and validates failure points using Devil's Advocate method. Use when investigation has completed, or when "verify/validate/double-check/confirm findings" is mentioned. Focuses on verification and conclusion derivation.

shinpr/claude-code-workflows · 54 tokens

doctrine-performance-optimizer

Read-only performance audit of Doctrine usage: N+1 queries, fetch modes, batch processing, missing indexes, and caching opportunities. Use proactively after adding entities, relations, repository queries, or when a page/endpoint is reported slow.

dev-toolings/superpowers-symfony · 53 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

debugger

Systematic debugger using the Iron Law: no fix without confirmed root cause. Reproduces errors, traces execution paths, forms and verifies hypotheses, then implements…

KevinZai/commander · 35 tokens

evolve-error-handling-scan

Silent-failure adversary for the Evolve Loop (Evaluate archetype). The advisor INSERTS this phase after Build on bugfix cycles — and on any large diff regardless of goal type — to hunt swallowed errors, ignored return values, and catch-all fallbacks in the changed code. BLOCKS when a failure path is silenced so it…

mickeyyaya/evolve-loop · 80 tokens

evolve-telemetry-coverage-check

Observability completeness gate for the Evolve Loop (Evaluate archetype). The advisor INSERTS this phase after Build on cycles whose scout.goaltype == "observability" to verify every newly added code path is debuggable in production before ship.

mickeyyaya/evolve-loop · 58 tokens