# Reddit Subreddit Sentiment Tracker

> Uses the Reddit OAuth2 API via PRAW to collect top posts and comments from subreddits on a rolling 24-hour window, then runs batch sentiment scoring via HuggingFace Inference API using twitter-roberta-base-sentiment. Aggregates scores into a daily time-series written to Google Sheets for Looker Studio visualization. Fires Slack alerts when sentiment drops more than 20 points week-over-week.

- Skill: `agentskillexchange/reddit-subreddit-sentiment-tracker` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/reddit-subreddit-sentiment-tracker`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/reddit-subreddit-sentiment-tracker/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/reddit-subreddit-sentiment-tracker

---


# Reddit Subreddit Sentiment Tracker

Uses the Reddit OAuth2 API via PRAW to collect top posts and comments from subreddits on a rolling 24-hour window, then runs batch sentiment scoring via HuggingFace Inference API using twitter-roberta-base-sentiment. Aggregates scores into a daily time-series written to Google Sheets for Looker Studio visualization. Fires Slack alerts when sentiment drops more than 20 points week-over-week.

## Installation

Requirements and caveats from upstream:
- A modhash is a token that the reddit API requires to help prevent
- with new images. If only the permissions on an emoji require updating
- Requires a string 'flair_csv' which has up to 100 lines of the form

Basic usage or getting-started notes:
- example, t3_15bfi0 .
- for posts. For example, casual conversation may be better sorted by new
- example by creating a text field in their app that does not allow

- Source: https://www.reddit.com/dev/api/

## Documentation

- https://www.reddit.com/dev/api/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/reddit-subreddit-sentiment-tracker/)

