reddit-scrapelisted
Install: claude install-skill alectivism/organization-ai-skills
# Reddit Scraping (Apify)
## Setup (skip if Apify is already connected)
Requires the Apify connector (Claude Desktop) with your Apify token. If a scrape returns an auth or connection error, it isn't set up yet. Tell the user to follow the [Apify MCP setup guide](https://docs.apify.com/api/client/) or your organization's internal setup documentation.
Tool names: **Claude Desktop** → `Apify:call-actor`, `Apify:get-dataset-items`. **Claude Code** → deferred; load with `ToolSearch("apify call actor dataset")` first, then `mcp__claude_ai_Apify__*` (or `mcp__apify__*`).
## Two-step pattern (every scrape)
1. **`call-actor`** with actor + input JSON. Set `waitSecs: 45` (the max; it returns as soon as the run finishes, ~6–16s, not a fixed delay). Response gives the dataset id (`defaultDatasetId` / `storages.datasets.default.id`), not the rows.
2. **`get-dataset-items`** with that id. **Always** pass `fields=` (rows carry 20–30 columns including HTML bodies).
## Primary actor: `harshmaur/reddit-scraper`
Default. Fast (~6s), 94% success, returns upvotes, images, per-comment upvotes. Cost: $0.02/run + $0.0018/result.
Inputs:
- `startUrls` — array of **OBJECTS**: `[{"url": "..."}]` (bare strings fail). Post, subreddit, user, or search-page URLs.
- `searchTerms` — array of strings; use instead of `startUrls` for keyword search.
- `crawlCommentsPerPost` (bool, default `false`) — scrape comment bodies.
- `maxCommentsPerPost` (int, default 10) — cap; applies only when crawling comments.