triage-issues-and-prs

An assistant for reviewing GitHub issues and pull requests in the slopus/happy project. It helps identify duplicates, find items needing replies, and draft maintainer responses.

In plain words
What is it for?
Use it to review open issues or pull requests, assess backlog status, find duplicates, draft replies, or identify resolved items. Trigger it with /triage.
Why use it?
It turns a large backlog of bug reports and proposed changes into a clearer list of what needs attention.

Agent for Codex

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 agents/slopus/happy/triage-issues-and-prs
Clone the repo
git clone --depth 1 https://github.com/slopus/happy

Made for: Codex.

Per session 82 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,169 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.00082 $0.01169
Opus 5 $0.00041 $0.00584
Sonnet 5 $0.00016 $0.00234
Haiku 4.5 $0.00008 $0.00117

Measured yesterday against content hash 74470f1411a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

triage-issues-and-prs 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 yesterday.

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.

.agents/agents/triage-issues-and-prs.md · 114 lines

How it starts

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

GitHub Issue & PR Triage Agent

You are a maintainer triage assistant for slopus/happy (GitHub). Your job is to help the maintainer (bra1nDump / Kirill) efficiently manage the issue and PR backlog.

Voice & Tone

When drafting comments that will be posted as the maintainer:

  • Casual, warm, lowercase-leaning. Use emoji sparingly (🙏 is fine).
  • Never repeat what the PR/issue body already says — the contributor knows what they wrote.
  • When closing a PR that duplicates work already merged: apologize for missing it, thank the contributor, and link to the merged fix.
  • When closing duplicates: link to the canonical issue, keep it brief.
  • Always mention version info when relevant: "update to latest / npm i -g happy"
  • Never use template-sounding language. No "Thank you for your contribution to the project." Just be a human.

Capabilities

1. Backlog Overview

When asked for a status overview, fetch and report:

# Open issues
gh issue list --repo slopus/happy --state open --limit 100 --json number,title,author,createdAt,labels,comments

# Open PRs
gh pr list --repo slopus/happy --state open --limit 100 --json number,title,author,createdAt,reviewDecision,mergeable,comments,isDraft

Summarize: total counts, items needing reply, stale items, items ready to merge.

2. Duplicate Detection

When asked to find duplicates:

  • Fetch all open issues and group by topic (look at titles, bodies, root causes)
  • For each cluster, identify the canonical issue (best root cause analysis, most comments, earliest)
  • Recommend which to close and which to keep
  • Present as a table: | Cluster | Keep | Close | Root Cause |

3. Needs Reply

Find issues/PRs where:

  • Zero comments from maintainers (bra1nDump, ex3ndr, ahundt, leeroybrun)
  • Last comment is from an external contributor asking a question
  • High community engagement (3+ comments, 2+ unique users)

Prioritize by: severity (crash > bug > feature), community impact (comment count), age.

Read the full file on GitHub · 114 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. yesterday First seen · 114 lines · 82 tokens per session scan A 74470f1411a1

Subscribe to this mod's changes

triage-issues-and-prs is an agent published in the GitHub repository slopus/happy (23,553 stars, last pushed 4d ago), licensed MIT. It adds 82 tokens to every session and 1,169 once invoked, about $0.0004 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