Payload is an open-source, full-stack framework for Next.js that provides a TypeScript backend and an administration panel for managing application data and content. Developers use it as a headless content management system or as the backend and application framework for their own projects. The catalogue add-ons help agents work with Payload projects and their development workflows.
Borrowing it
Nothing to install: this file belongs to payloadcms/payload. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/payloadcms/payload/main/.claude/commands/triage.mdgit clone --depth 1 https://github.com/payloadcms/payloadWrote 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.
[](https://agentmods.dev/commands/payloadcms/payload/triage)<a href="https://agentmods.dev/commands/payloadcms/payload/triage"><img src="https://agentmods.dev/badge/commands/payloadcms/payload/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.
<a href="https://agentmods.dev/commands/payloadcms/payload/triage"><img src="https://agentmods.dev/badge/commands/payloadcms/payload/triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00769 |
| Opus 5.5 | $0.00010 | $0.00308 |
| Sonnet 5.5 | $0.00005 | $0.00154 |
| Haiku 4.5 | $0.00003 | $0.00077 |
Grade A, and why
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.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Triage GitHub Issue
Quickly triage GitHub issues to determine validity and identify where the issue exists in code. Do not write code during triage.
Process
Step 1: Validate & Fetch
- Check if
$ARGUMENTSprovided - if missing, ask user and stop - Create TodoWrite with: Fetch and validate issue data | Investigate codebase | Analyze validity and generate report | Offer next steps
- Fetch issue data:
gh issue view $ARGUMENTS --json author,title,number,body,comments,labels,url - If command fails: Inform user and stop
- Extract title, body, comments, labels, state, URL
- Verify issue has sufficient info to investigate
Step 2: Investigate
- Use Task tool with subagent_type=Explore to examine relevant parts of codebase
- Think step by step through the code paths involved until you understand the relevant files, functions, and logic
- Focus on understanding the problem space before judging validity
Step 3: Analyze & Report
- Think step by step about whether this issue is valid - be critical and consider alternative explanations
- Determine verdict: Valid | Invalid | Needs Info
- Determine confidence: High | Medium | Low
- If valid: Think deeply about the root cause before proposing fix direction
- Generate findings using output structure below
- Auto-save to
.claude/artifacts/triage-<issue-number>.md - Present findings to user
Step 4: Offer Next Steps
Use AskUserQuestion with multiSelect: true:
"What would you like to do next?"
- Create failing test - Write integration test that reproduces the issue
- Create resolution plan - Generate full plan using
/superpowers:write-plan - Done for now - End triage
If user selects test: Write an integration test that reproduces the issue.
If user selects plan: Use /superpowers:write-plan to create detailed implementation plan.
Output Structure
# Triage: #<issue-number> - <title>
**Verdict:** Valid | Invalid | Needs Info
**Confidence:** High | Medium | Low
## Problem
1-2 sentences on what's broken and why.
## Reproduction
Steps to reproduce from investigation:
1. ...
2. ...
## Code Locations
- `path/file.ts:123` - what's here
- `path/other.ts:456` - related
## Fix Direction
Brief hints on potential approach (not full plan):
- Consider X
- May need to change Y
## Issue Link
<url>
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.
- 1mo ago First seen · 109 lines · 25 tokens per session scan A 730d5a7414f1
triage is a command published in the GitHub repository payloadcms/payload (45,565 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 769 once invoked, about $0.0001 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-08-30.
Other commands, from other repositories
doctor
Quick connectivity + health probe of the Agent Monitor dashboard.
tail-events
Show the latest N ingested events with timestamp, eventtype, and toolname.
codebase-review
Review an entire codebase for architecture, engineering health, and exploitable risk; generate a prioritized remediation plan, an evidence-anchored system knowledge document, or both.
fix-bug
Fix a bug with a minimal change + regression test, under the review-workflow.
debug-react
Inspect a live React runtime with React-Sentinel before editing source code.
validate-fix
Validate a proposed React fix with React-Sentinel assertions or replay checks.