Skip to content
Back to skills

Reddit 2

BSecurity

Read and search Reddit posts via web scraping of old.reddit.com. Use when Clawdbot needs to browse Reddit content - read posts from subreddits, search for topics, monitor specific communities. Read-only access with no posting or comments.

  • 651 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 10, 2026
developmentpythonbashdockerapi

Works with

  • api

Security analysis

B88/100
  • criticalAccesses sensitive system or user directories

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add sundial-org/awesome-openclaw-skills --skill reddit-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reddit 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Reddit 2
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-reddit-2/badge)](https://www.skillsdirectory.com/skills/sundial-org-reddit-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: reddit-2
description: "Read and search Reddit posts via web scraping of old.reddit.com. Use when Clawdbot needs to browse Reddit content - read posts from subreddits, search for topics, monitor specific communities. Read-only access with no posting or comments."
---

# Reddit Skill 📰

Read and search Reddit posts using the public JSON API. No API key required.

## Quick Start

```bash
# Read top posts from a subreddit
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit LocalLLaMA --limit 5

# Search for posts
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --search "clawdbot" --limit 5

# Read newest posts
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit ClaudeAI --sort nuevos --limit 5
```

## Options

| Option | Short | Description | Default |
|--------|-------|-------------|---------|
| `--subreddit` | `-s` | Subreddit name (without r/) | - |
| `--search` | `-q` | Search query | - |
| `--sort` | - | Sort: hot, new, top, populares, nuevos, rising | top |
| `--time` | `-t` | Time filter: hour, day, week, month, year, all | day |
| `--limit` | `-n` | Number of posts (max 100) | 25 |
| `--json` | `-j` | Output as JSON | false |
| `--verbose` | `-v` | Show post preview text | false |

## Examples

### Read subreddit posts
```bash
# Top posts of the day (default)
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit programming

# Hot posts
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit programming --sort hot

# New posts
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit programming --sort nuevos

# Top posts of the week
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit programming --sort top --time week
```

### Search posts
```bash
# Search all of Reddit
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --search "machine learning"

# Search within a subreddit
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit selfhosted --search "docker"

# Search with time filter
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --search "AI news" --time week
```

### JSON output
```bash
# Get raw JSON data for processing
python3 /root/clawd/skills/reddit/scripts/reddit_scraper.py --subreddit technology --limit 3 --json
```

## Output Fields (JSON)

- `title`: Post title
- `author`: Username
- `score`: Upvotes (net)
- `num_comments`: Comment count
- `url`: Link URL
- `permalink`: Reddit discussion URL
- `subreddit`: Subreddit name
- `created_utc`: Unix timestamp
- `selftext`: Post text (first 200 chars)
- `upvote_ratio`: Upvote percentage (0-1)

## Limitations

- **Read-only**: Cannot post, comment, or vote
- **Rate limits**: Reddit may rate-limit if too many requests
- **No auth**: Some content may be restricted

## Technical Details

See [TECHNICAL.md](references/TECHNICAL.md) for implementation details.

Files in this skill

  • SKILL.md2.9 KB
  • references/TECHNICAL.md1.6 KB
  • scripts/reddit_scraper.py7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.