cast-triage

cast-triage is a skill for Claude Code from codecast-sh/codecast. It costs 80 tokens per session (454 once invoked), scanned A, original, MIT.

A workflow for reviewing many coding-agent sessions and leaving only the ones that need a person. A session is a recorded unit of work by an agent.

In plain words
What is it for?
Use it after parallel work or when the session inbox is crowded to classify finished work, answer agents, restart dead work, and surface human questions.
Why use it?
Following several agents at once can make it hard to see what is finished, stuck, waiting, or genuinely needs help. Triage turns that activity into a short list of actions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it after parallel work or when the session inbox is crowded to classify finished work, answer agents, restart dead work, and surface human questions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codecast-sh/codecast/cast-triage
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.

Any agent
npx skills add codecast-sh/codecast --skill cast-triage
Clone the repo
git clone --depth 1 https://github.com/codecast-sh/codecast

Made for: Claude Code.

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 cast-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/codecast-sh/codecast/cast-triage/github.svg)](https://agentmods.dev/skills/codecast-sh/codecast/cast-triage)
Your own site
<a href="https://agentmods.dev/skills/codecast-sh/codecast/cast-triage"><img src="https://agentmods.dev/badge/skills/codecast-sh/codecast/cast-triage/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 cast-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/codecast-sh/codecast/cast-triage"><img src="https://agentmods.dev/badge/skills/codecast-sh/codecast/cast-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 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.00080 $0.00454
Opus 5.5 $0.00032 $0.00182
Sonnet 5.5 $0.00016 $0.00091
Haiku 4.5 $0.00008 $0.00045

Measured 1mo ago against content hash 26cf440cf55b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cast-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 1mo 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.

packages/cli/skills/cast-triage/SKILL.md · 42 lines

What it actually says

Every fleet tool exists because a person cannot track eight sessions at once. Triage is the agent doing that tracking and leaving the person a short list.

Read

cast sessions [--label <name>] [--mine]        # grouped by who acts next
cast sessions --state needs-input --json       # the ones that claim a human

For each session under Needs Input: cast state show <id> and, when the pin does not explain the ask, cast read <id> for the last few turns. Decide whether it truly needs a human, is finished and never said so, is stuck on something another session or you can supply, or is dead with output.

Act

  • Finished but unclassified: read its result, then cast stash <id>; the work is in its diff and the human can restore it.
  • Stuck on a question you can answer from the code or another session's work: cast send <id> the answer.
  • Waiting on a peer that already delivered: point it at the delivery.
  • Dead, work complete: cast kill <id>. Dead, work incomplete: cast restart <id> and a message to continue from the pin.
  • Truly needs the human: leave it, and write its ask in one line.

Never kill or stash a session another person owns without saying so; their sessions get a message, not a gesture.

Report

Two lists: what needs the human, one line each with the ask and the short id; and what was tidied, with the action taken. The first list is the deliverable; the second is the receipt.

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. 1mo ago First seen · 42 lines · 80 tokens per session scan A 26cf440cf55b

Subscribe to this mod's changes

cast-triage is a skill published in the GitHub repository codecast-sh/codecast (40 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 454 once invoked, about $0.0003 per session on Opus 5.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-09-15.