ContextGuard — The AI-powered mod copilot that turns vague help requests into structured threads The problem

Every help-oriented subreddit drowns in the same low-effort posts: "my game crashes pls help", "it's not working", "how do I fix this". They have no platform, no version, no error log, no repro steps. They sit unanswered for hours, and moderators waste their day either replying with boilerplate ("please add more details") or manually removing posts. Helpers can't help, authors get nothing, and mods burn out.

The solution

ContextGuard is a Devvit app that watches new posts as they're submitted, runs them through an LLM-style analyzer, and — when key context is missing — quietly invites the author to fill in a form whose fields are tailored to the exact type of post they wrote.

A tech support post is asked for platform, repro steps, and error output. A bug report is asked for environment and expected-vs-actual behavior. A how-to question is asked for goal, prior attempts, and constraints. The author fills out the form. ContextGuard appends a clean, structured Markdown table to the original post as a sticky comment. The thread becomes immediately answerable. Moderators never touched it.

What makes ContextGuard different

Adaptive forms, not static templates. The form regenerates per post. We classify the post type, pick the minimum set of questions that would unlock an answer, and ship just those. Public mod dashboard as a Devvit custom post. A single click drops an interactive React-based dashboard into your sub: quality score ring, post-type distribution, resolution rate, recent posts feed, and a top-contributor leaderboard. Everyone sees the value being created, which builds community trust. Gamified contribution. "Adding context" becomes a small badge of honor — top contributors appear publicly on the dashboard, turning a chore into a status signal. LLM provider abstraction. Ships with a deterministic rule-based provider so it works out of the box. Set CONTEXTGUARD_CLAUDE_KEY and it switches to real Claude with zero code changes — the output contract is identical. Built end-to-end on the new Devvit Web stack. Hono backend, React 19 + Tailwind 4 webview, Redis-backed stats, full TypeScript with strict types from the server through the shared API layer into the client. Why mods will install it

Zero ongoing mod work. The bot speaks to the author, the author updates the post, the thread becomes answerable. No silent removals. Authors aren't punished — they're guided. Drop-in setup. One menu click installs the dashboard. The analyzer ships with sensible defaults. Open architecture. Swap the LLM, customize the form templates, hook into the public stats API. Tech stack

Devvit Web · Hono · React 19 · Tailwind 4 · TypeScript · Redis · (optional) Anthropic Claude

Built for the Reddit Devvit Hackathon. Designed to reduce moderator workload at scale while making help-oriented communities measurably more answerable.

Built With

Share this project:

Updates