setup-chrome-for-reddit

setup-chrome-for-reddit is a skill for Claude Code from lexfrei/ccc. It costs 112 tokens per session (1,392 once invoked), scanned A, original, BSD-3-Clause.

A setup and repair guide for the Playwright browser used to access Reddit and other sites that block automated browsers.

In plain words
What is it for?
It helps configure Chrome and Playwright, log into Reddit when needed, and extract Reddit thread content.
Why use it?
It addresses access failures such as server blocks, login problems, and browser setup issues when collecting Reddit pages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the setup-chrome-for-reddit plugin — 1 skill shipped together

Good fit It helps configure Chrome and Playwright, log into Reddit when needed, and extract Reddit thread content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lexfrei/ccc/setup-chrome-for-reddit
View source ↗ lexfrei/ccc
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 lexfrei/ccc --skill setup-chrome-for-reddit
Clone the repo
git clone --depth 1 https://github.com/lexfrei/ccc

Made for: Claude Code.

Or install setup-chrome-for-reddit, the plugin that ships this one along with the rest of its 1 skill.

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 setup-chrome-for-reddit

README.md
[![agentmods](https://agentmods.dev/badge/skills/lexfrei/ccc/setup-chrome-for-reddit/github.svg)](https://agentmods.dev/skills/lexfrei/ccc/setup-chrome-for-reddit)
Your own site
<a href="https://agentmods.dev/skills/lexfrei/ccc/setup-chrome-for-reddit"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/setup-chrome-for-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 setup-chrome-for-reddit

Your own site · 80×15
<a href="https://agentmods.dev/skills/lexfrei/ccc/setup-chrome-for-reddit"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/setup-chrome-for-reddit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,392 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 26
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 34
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 35
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
How audits are shown
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.00112 $0.01392
Opus 5.5 $0.00045 $0.00557
Sonnet 5.5 $0.00022 $0.00278
Haiku 4.5 $0.00011 $0.00139

Measured 1mo ago against content hash 4b1f69028c71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-chrome-for-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 1mo ago.

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/setup-chrome-for-reddit/skills/setup-chrome-for-reddit/SKILL.md · 63 lines

How it starts

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

Setup Chrome (Playwright MCP) for Reddit

Background facts (checked 2026-08-30)

  • Reddit serves 403 + "You've been blocked by network security" to the stock Playwright headless browser on the FIRST document request — server-side detection of the HeadlessChrome UA token, before any JS runs. Same IP with a normal desktop UA gets 200.
  • Overriding the UA via the MCP's own --user-agent flag is sufficient to get normal pages, including the old.reddit login form. No stealth plugins needed.
  • Logged-out Reddit is effectively dead anyway: unauthenticated .json endpoints return an HTML shell, and old.reddit requires login for search (reason=lor2). A real account login through the normal form works. Reportedly the cause is Reddit closing self-service Data API access and locking unauthenticated endpoints — that part comes from write-ups, not from anything measured here.
  • Most search engines (Google, DDG, Brave, Mojeek, Startpage) captcha or 403 the headless browser. Bing lets it through but mangles quoted/OR queries. For finding thread URLs prefer the built-in WebSearch tool, then open the URLs in the browser.

Step 1: Ensure the MCP registration

Check with claude mcp list: the playwright entry should carry a --user-agent argument without the word "Headless". list prints the full command but not the scope, so before changing anything read claude mcp get playwright, which prints both — an entry in a scope you did not expect means a second registration is shadowing this one.

Re-registering rewrites a config that applies to every project, and the existing entry may carry flags someone chose deliberately (--user-data-dir, --caps, --allowed-origins, --output-dir). Take the args from claude mcp get, keep every one of them, replace only the user-agent, then show the user the current and proposed commands and wait for approval before running anything:

claude mcp remove playwright  # no --scope, so it hits whichever scope holds it
claude mcp add --scope <same scope it had> playwright -- docker run --interactive --rm --init <docker flags> mcr.microsoft.com/playwright/mcp <server flags> --user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<major>.0.0.0 Safari/537.36"

Read the full file on GitHub · 63 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. 1mo ago First seen · 63 lines · 112 tokens per session scan A 4b1f69028c71

Subscribe to this mod's changes

setup-chrome-for-reddit is a skill published in the GitHub repository lexfrei/ccc (11 stars, last pushed 14d ago), licensed BSD-3-Clause. It adds 112 tokens to every session and 1,392 once invoked, about $0.0004 per session on Opus 5.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-09-04.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts with the existing agent-browser CLI, including screenshots and keyboard or interaction checks. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser automation.

compozy/compozy · 49 tokens