reddit-moderate

Solid

Reddit moderation via PRAW: fetch modqueue, classify reports, take actions.

AI & Automation 315 stars 30 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
83
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Reddit Moderate On-demand Reddit community moderation powered by PRAW. Fetches your modqueue, classifies content against subreddit rules and author history using LLM-powered report classification, and executes mod actions you confirm. ## Modes | Mode | Invocation | Behavior | |------|-----------|----------| | **Interactive** | `/reddit-moderate` | Fetch queue → classify → present with analysis → you confirm actions | | **Auto** | `/loop 10m /reddit-moderate --auto` | Fetch queue → classify → auto-action high-confidence items → flag rest | | **Dry-run** | `/reddit-moderate --dry-run` | Fetch queue → classify → show recommendations without acting | ## Prerequisites ```bash # Required env vars (add to ~/.env, chmod 600) REDDIT_CLIENT_ID="your_client_id" REDDIT_CLIENT_SECRET="your_secret" REDDIT_USERNAME="your_username" REDDIT_PASSWORD="your_password" REDDIT_SUBREDDIT="your_subreddit" ``` Credentials are loaded from `~/.env` via python-dotenv. Load them from `~/.env` via python-dotenv only. ```bash pip install praw python-dotenv ``` Bootstrap subreddit data before first use: ```bash python3 ~/.claude/scripts/reddit_mod.py setup ``` This creates `reddit-data/{subreddit}/` with auto-generated rules, mod log summary, repeat offender list, and template files. See the **LLM Classification Phase** section for details on what each file provides. ## Script Commands ```bash # Fetch modqueue (items awaiting review) python3 ~/.claude/scripts/reddit_mod.py queue --limit 20 # F...

Details

Author
notque
Repository
notque/claude-code-toolkit
Created
2 months ago
Last Updated
2 months ago
Language
Python
License
MIT

Related Skills