moli-cdp-server

moli-cdp-server is a skill for Codex from Soflutionltd/deepcrawl. It costs 74 tokens per session (709 once invoked), scanned A, a copy of moli-cdp-server, MIT.

A skill for starting Moli's CDP server and connecting browser tools such as Playwright or Puppeteer. CDP is a protocol that lets programs control and inspect a Chromium-based browser.

In plain words
What is it for?
Use it to run a headless browser endpoint, connect Playwright or Puppeteer, inspect page targets, work with layout and screenshots, or diagnose connection startup problems.
Why use it?
It handles starting the browser endpoint, checking that it is available, and attaching a client. This removes manual steps when browser tools need a running CDP connection.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to run a headless browser endpoint, connect Playwright or Puppeteer, inspect page targets, work with layout and screenshots, or diagnose connection startup problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soflutionltd/deepcrawl/moli-cdp-server
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 Soflutionltd/deepcrawl --skill moli-cdp-server
Clone the repo
git clone --depth 1 https://github.com/Soflutionltd/deepcrawl

Made for: 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 moli-cdp-server

README.md
[![agentmods](https://agentmods.dev/badge/skills/soflutionltd/deepcrawl/moli-cdp-server/github.svg)](https://agentmods.dev/skills/soflutionltd/deepcrawl/moli-cdp-server)
Your own site
<a href="https://agentmods.dev/skills/soflutionltd/deepcrawl/moli-cdp-server"><img src="https://agentmods.dev/badge/skills/soflutionltd/deepcrawl/moli-cdp-server/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 moli-cdp-server

Your own site · 80×15
<a href="https://agentmods.dev/skills/soflutionltd/deepcrawl/moli-cdp-server"><img src="https://agentmods.dev/badge/skills/soflutionltd/deepcrawl/moli-cdp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00074 $0.00709
Opus 5.5 $0.00030 $0.00284
Sonnet 5.5 $0.00015 $0.00142
Haiku 4.5 $0.00007 $0.00071

Measured yesterday against content hash 062405167e89, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

moli-cdp-server scanned grade A with 1 finding 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 yesterday.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --proto '=https' --tlsv1.2 -fsSL \
Origin

This is a copy

100% identical to moli-cdp-server — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

third_party/moli/skills/moli-cdp-server/SKILL.md · 74 lines

How it starts

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

Run Moli's CDP Server

Run one Moli CDP server and connect the requested CDP client to its endpoint. Preserve the client's existing API where Moli supports it.

Workflow

  1. Resolve moli from PATH. If it is unavailable, install the latest prebuilt release for the current platform:

    Linux or macOS:

    curl --proto '=https' --tlsv1.2 -fsSL \
      https://github.com/lexmount/moli/releases/latest/download/moli-installer.sh | sh
    

    On Windows, use PowerShell:

    powershell -ExecutionPolicy ByPass -c "irm https://github.com/lexmount/moli/releases/latest/download/moli-installer.ps1 | iex"
    

    Resolve the installed binary again and run moli --version. The default location is ~/.local/bin/moli on Linux/macOS and %LOCALAPPDATA%\Moli\bin\moli.exe on Windows when it is not yet on PATH.

  2. Start moli serve on the default loopback endpoint http://127.0.0.1:9222.

  3. Add --layout when the workflow needs real element geometry, coordinate input, screenshots, PDFs, or screencasts. Add --resource only when all optional visual/media resources are required.

  4. Probe /json/version before connecting the client.

  5. Connect with the client's remote/attach API; do not launch a second bundled browser.

  6. Close CDP clients cleanly, then stop the Moli server if this workflow owns it.

Playwright over CDP

import { chromium } from "playwright";

const browser = await chromium.connectOverCDP("http://127.0.0.1:9222");
const context = browser.contexts()[0];
const page = context.pages()[0] ?? await context.newPage();

await page.goto("https://example.com");
console.log(await page.locator("body").innerText());

await browser.close();

Integration rules

  • Bind to 127.0.0.1 by default. Expose another host only when the user explicitly needs remote access and has addressed network access controls.
  • Treat Moli as a remote endpoint. Avoid Chrome launch flags and assumptions that require a local Chromium executable.
  • Expect selected CDP coverage, not complete Chrome protocol parity. Preserve explicit unsupported errors.
  • Use a unique port for parallel isolated runs.
  • Persist state intentionally with --profile-dir; otherwise keep runs disposable.
  • Pass proxy, cookie, resource, user-agent, and private-network policy to the Moli server, not to a nonexistent child browser process.

Read the full file on GitHub · 74 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 74 lines · 74 tokens per session scan A 062405167e89

Subscribe to this mod's changes

moli-cdp-server is a skill published in the GitHub repository Soflutionltd/deepcrawl (0 stars, last pushed 2d ago), licensed MIT. It adds 74 tokens to every session and 709 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to moli-cdp-server, differing in 0 lines, and is treated as a copy.

Related

moli-cdp-server compared with skills from other repositories

moli-cdp-server next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
moli-cdp-serverSoflutionltd/deepcrawlSkill02d agoMITA74Codex
gold-triagechromium/chromiumSkill26ktodayBSD-3-ClauseA104Claude Code, Codex
android-multiprofilechromium/chromiumSkill26ktodayBSD-3-ClauseA73Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k11d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4ktodayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex