Skip to content

abhisomala/triage-v5

Repository files navigation

Triage - Severity-Sorted Mod Queue for Reddit

The mod queue treats a death threat and a repost identically. Triage doesn't.

Triage applies the same principle emergency rooms use (sort by urgency, treat the worst first) to your Reddit mod queue. Urgent reports surface at the top. Routine spam sinks to the bottom. Mods approve or remove without ever leaving the tool.

No API keys. No webhooks. No configuration required to get immediate value.


The Problem

Reddit's mod queue is chronological. A post from someone in crisis sits behind forty spam reports. A doxxing attempt waits its turn after a wrong-flair complaint. Moderators (most of them unpaid volunteers) spend the first minutes of every session manually hunting for what actually needs attention.

For large subreddits, this isn't inefficiency. It's a burnout driver and a safety risk. Mods miss critical content not because they're absent, but because the queue gives them no signal about what needs them right now.


What Happens When You Install Triage

Your mod queue gets sorted into three tiers automatically:

Tier Examples
Urgent (red) Threats, self-harm, doxxing, CSAM, harassment, any mod-flagged report
Review (orange) Misinformation, impersonation, NSFW violations, rule infractions
Routine (grey) Spam, reposts, wrong flair

Within each tier, the oldest items surface first, so nothing ages out unseen.

Open Triage and the most dangerous content in your queue is already at the top. No sorting. No scanning. No missed crises.


Crisis Detection

When Triage detects self-harm or suicide language in a queued report, two things happen simultaneously: a red banner appears at the top of the interface, and a modmail alert goes to your entire mod team, even if no one is actively watching the queue.

For subreddits where people come when they're struggling, this isn't a convenience feature. It's the reason the tool exists. A post from someone in immediate danger shouldn't sit unseen for an hour because it arrived during off-peak hours.

The alert is rate-limited to once per 30 minutes to prevent fatigue. Your team gets notified once, urgently, rather than repeatedly.


Key Features

Inline moderation: Approve or remove any item directly in Triage. No tab switching. Actions sync back to Reddit immediately.

Action history with undo: Every action is logged in a persistent sidebar. Mistakes can be undone within 2 hours, critical when moving fast through a large queue.

Custom keyword configuration: Define your own urgent and review trigger words per subreddit, without touching code. A mental health community and a gaming community have different threat models. Triage adapts to yours.

Auto-refresh: Queue refreshes every 60 seconds automatically. New urgent items flash the Priority column border to draw attention.

Real-time sync: When a mod actions a post in Reddit's native queue, Triage removes it immediately. No stale items.

Weekly digest: Automatic modmail every Monday summarizing queue volume, tier breakdown, and crisis detections. Turns Triage from a reactive tool into a data layer for understanding your community over time.


Who Benefits Most

r/mentalhealth (1.1M members): Posts from people in active crisis arrive daily. With a chronological queue, a self-harm post can sit behind dozens of routine reports before a mod sees it. Triage surfaces it immediately and alerts the whole team by modmail, even overnight.

r/politics (8M members): During breaking news, report volume spikes sharply and coordinated harassment campaigns hide inside the noise. Triage surfaces the coordinated attacks above the off-topic complaints automatically, letting the mod team respond to the actual threat instead of clearing spam first.

r/teenagers (2.7M members): High volume, significant self-harm risk, and a volunteer mod team that can't watch the queue around the clock. Triage is designed exactly for this profile: automated severity sorting plus crisis alerts means the most vulnerable posts reach a human moderator faster.


Installation

  1. Find Triage in the Devvit App Directory
  2. Click Add to Community and select your subreddit
  3. From your subreddit mod tools, click ⋯ → Open Triage
  4. The queue loads automatically with no setup required

To customize severity thresholds for your community, go to Community Settings → App Settings → Triage. Adding your own keywords takes under a minute and requires no code.


Configuration (Optional)

Setting What it does Example
custom_urgent_keywords Additional words that trigger Urgent overdose,slur,raid
custom_review_keywords Additional words that trigger Review debate,controversial
routine_as_urgent Promote normally-routine reasons to Urgent spam,repost
urgent_as_routine Demote normally-urgent reasons to Routine self-harm

The last setting exists specifically for communities like r/SuicideWatch where self-harm content is the subject of the community, not a violation. Triage adapts to context rather than imposing a one-size-fits-all threat model.


Project Status

  • Built on Devvit Web, compliant with the March 2026 deprecation of Devvit Blocks
  • Builds and deploys without errors
  • Tested on live subreddit with real mod queue data
  • Scheduler, triggers, Redis cache, crisis detection, action log, and undo all verified end-to-end

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors