w2a-sensor-reddit
v0.1.0
Published
W2A sensor — monitors Reddit for keyword mentions in posts and comments via the public JSON API (no credentials required)
Downloads
22
Maintainers
Readme
w2a-sensor-reddit
A World2Agent sensor that monitors Reddit for keyword mentions in posts and comments.
No Reddit account or API credentials required — uses Reddit's public JSON search API.
Signals
| Event Type | Trigger |
|---|---|
| social.post.mentioned | A new post title or body contains a monitored keyword |
| social.comment.mentioned | A new comment body contains a monitored keyword |
Install
/world2agent:sensor-add w2a-sensor-redditThe install flow will ask for your keywords and optional subreddit filters.
Configuration
| Parameter | Default | Description |
|---|---|---|
| keywords | required | Keywords to monitor (e.g. ["Claude AI", "Anthropic"]) |
| subreddits | [] (all Reddit) | Restrict to specific subreddits |
| poll_interval_seconds | 60 | How often to check (min 30s) |
How it works
- Polls
reddit.com/search.jsoneverypoll_interval_secondsfor each keyword - Tracks the newest item's
created_utcper keyword viactx.store— emits only genuinely new results - Emits oldest-first per polling cycle to preserve chronological order
- First run seeds the cursor silently (no flood of historical results)
