marketing-reddit
Installation
SKILL.md
marketing-reddit
Reddit hard-blocks the public .json API for datacenter/cloud IPs and serves a
JS bot-challenge to anything automated. The decisive signal is the
HeadlessChrome token in the User-Agent — override it to a clean
Chrome/... UA and headless Chrome passes the challenge. The same-origin in-page
fetch() then carries the clearance cookie and returns real JSON.
This tool drives agent-browser (headless) with a clean UA — optionally through a
residential proxy — clears the challenge once per run, then fetches .json via
in-page fetch(), metering real wire bytes (proxy bandwidth) and cost. Question
detection + clustering are ported in-tool (no Python dependency).
Written in TypeScript, run with bun (runs .ts directly, zero install).