scraping-reddit

scraping-reddit is a skill for Claude Code, Codex from valtterimelkko/agent-workflow-skills. It costs 153 tokens per session (3,691 once invoked), scanned A, original, MIT.

A toolkit and process for searching Reddit for unmet software needs and recurring user frustrations. Reddit is a discussion website, and this method looks for strong demand signals, emerging trends, and problems that existing products do not address.

In plain words
What is it for?
It is for finding relevant subreddits, collecting posts and contributor patterns, detecting high-intent requests, measuring discussion momentum, and evaluating SaaS ideas.
Why use it?
It helps turn real user complaints into possible software opportunities instead of relying only on guesses. It also includes handling for scraping failures and access limits.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It is for finding relevant subreddits, collecting posts and contributor patterns, detecting high-intent requests, measuring discussion momentum, and evaluating SaaS ideas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/valtterimelkko/agent-workflow-skills/scraping-reddit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add valtterimelkko/agent-workflow-skills --skill scraping-reddit
Clone the repo
git clone --depth 1 https://github.com/valtterimelkko/agent-workflow-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scraping-reddit

README.md
[![agentmods](https://agentmods.dev/badge/skills/valtterimelkko/agent-workflow-skills/scraping-reddit/github.svg)](https://agentmods.dev/skills/valtterimelkko/agent-workflow-skills/scraping-reddit)
Your own site
<a href="https://agentmods.dev/skills/valtterimelkko/agent-workflow-skills/scraping-reddit"><img src="https://agentmods.dev/badge/skills/valtterimelkko/agent-workflow-skills/scraping-reddit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scraping-reddit

Your own site · 80×15
<a href="https://agentmods.dev/skills/valtterimelkko/agent-workflow-skills/scraping-reddit"><img src="https://agentmods.dev/badge/skills/valtterimelkko/agent-workflow-skills/scraping-reddit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.03691
Opus 5 $0.00077 $0.01845
Sonnet 5 $0.00031 $0.00738
Haiku 4.5 $0.00015 $0.00369

Measured 10d ago against content hash 77d4ebe04ba1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

scraping-reddit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (scripts/__init__.py, scripts/analysis.py, scripts/credentials.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scraping-reddit/SKILL.md · 506 lines

How it starts

The opening of the file, as written. The whole thing — 506 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Reddit SaaS Opportunity Hunter

Production-quality Reddit scraping toolkit for discovering unaddressed user frustrations and emerging market trends for software development.

Overview

This skill provides a comprehensive framework for Reddit-based SaaS opportunity discovery through three distinct layers:

  1. Navigation - Where to look (subreddit discovery, wiki scanning, contributor analysis)
  2. Extraction - What to pull (high-intent patterns, sentiment scoring, velocity tracking)
  3. Synthesis - How to interpret (trend persistence, cross-pollination, opportunity scoring)

Prerequisites

Required Credentials

The skill uses the same credential hierarchy as saas-idea-finder:

  1. Environment variables (highest priority)
  2. Optional vault/secret store (for service users like openclaw)
  3. Shell startup file such as ~/.bashrc (fallback)

Environment variables:

export REDDIT_PROXY_URL="http://user:pass@proxy:8080"  # Residential proxy (recommended)
export REDDIT_CLIENT_ID="your_reddit_app_id"           # OAuth2 (optional, for higher rate limits)
export REDDIT_CLIENT_SECRET="your_reddit_app_secret"   # OAuth2 (optional)

Optional vault/secret store setup:

vault kv put secret/skills-apis/reddit/proxy_url value="http://user:pass@proxy:8080"
vault kv put secret/skills-apis/reddit/client_id value="your_client_id"
vault kv put secret/skills-apis/reddit/client_secret value="your_client_secret"

Rate Limits

  • Unauthenticated: ~10 requests/minute (6 second delays)
  • OAuth2 Authenticated: 100 requests/minute (0.6 second delays)
  • With Residential Proxy: More reliable access, less blocking

Quick Start

Basic Usage

import asyncio
from scripts import RedditScraper, OpportunityAnalyzer

async def main():
    # Initialize scraper (auto-loads credentials)
    scraper = RedditScraper()
    
    # Fetch posts from a subreddit
    posts = await scraper.get_subreddit_posts("startups", limit=50)
    
    # Analyze for opportunities
    analyzer = OpportunityAnalyzer()
    for post in posts:
        analysis = analyzer.analyze_post(post)
        if analysis["intent_signals"]:
            print(f"💡 Opportunity: {post.title}")
            print(f"   Problem: {analysis['problem_statement']}")
    
    await scraper.close()

asyncio.run(main())

Read the full file on GitHub · 506 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 506 lines · 153 tokens per session scan A 77d4ebe04ba1

Subscribe to this mod's changes

scraping-reddit is a skill published in the GitHub repository valtterimelkko/agent-workflow-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 153 tokens to every session and 3,691 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens