---
name: reddit-972a29cb98d7
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.


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/javicasper/reddit-scraper/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/javicasper/reddit-scraper/SKILL.md
Attribution basis: Source repository record

Fields of work: Education & Research, Marketing
Roles: Content Marketer, Influencer Marketer, Marketing Analyst, Researcher, Social Media Manager
Specialties: API
Tools: Reddit
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: b571ac56d3c56683228d6ae0a8a175923aba531958eb5a8e22287bd4f544bb14
