0xMassi/redditlens — reverse-engineered prompt
Reverse engineered prompt
Build me a small TypeScript command line tool called redditlens that helps founders and marketers find real customer pain points on Reddit and draft helpful replies.
I want it to ask or accept a product topic, target audience, subreddit choices, time window, and reply tone. It should search Reddit threads through Google using a Serper API key, then fetch the matching Reddit posts and comments through Reddit’s public json endpoint. Keep it polite by default with throttling and backoff, and don’t require Reddit API keys or a database.
The CLI should support searching a topic, fetching one Reddit post, and discovering relevant subreddits. Output clean JSON so another AI tool can read it. Include a Claude Code skill file that asks the five questions, runs the CLI, groups the pain points, and writes value first draft replies that don’t sound spammy.
Please make it easy to install with npm or run with npx, include setup instructions for the Serper key, and keep the project simple and MIT licensed.
Want more depth? Deep Reverse