Skip to content

Releases: cryptoyasenka/chrome-cdp-skill

v1.0.0-fork — AgentX adapter + upload command

Choose a tag to compare

@cryptoyasenka cryptoyasenka released this 16 Apr 17:20

First tagged release of the pasky/chrome-cdp-skill fork maintained by @cryptoyasenka. Baseline: upstream commit 1fd55c7.

What this fork adds

  • AgentX antidetect browser adapter (scripts/agentx.mjs) — maps an AgentX profile (by id or name) to its CDP endpoint by reading %APPDATA%\AgentX\data.db via the built-in node:sqlite module. Subcommands: list, path, env, cdp, doctor.
  • agentx doctor — 10-check self-diagnostic (Node version, platform, %APPDATA%, AgentX install, data.db, profiles directory, profile count, running state, sibling cdp.mjs, Claude skill junction). Outputs [OK] / [WARN] / [INFO] / [FAIL] with actionable messages.
  • upload command in cdp.mjs — attach a local file to <input type="file"> via DOM.setFileInputFiles, bypassing the native OS picker dialog.
  • Multilingual trigger phrases — SKILL.md tells Claude to match AgentX intent in any human language (EN / RU / UK / PL examples + any-other-language fallback).
  • Self-respawn with `--experimental-sqlite` on Node 22.x — `node:sqlite` is gated behind the flag on the entire Node 22 LTS line; `agentx.mjs` detects Node 22.x and re-execs itself with the flag automatically. End-users never see the flag; the floor stays at 22.5+.
  • `docs/AGENTX-WITH-CLAUDE.md` — end-to-end guide for connecting AgentX profiles to Claude Code, including multilingual examples and troubleshooting.

Requirements

  • Node.js 22.5+ (enforced via `engines` in `package.json`, runtime check in `doctor`, and CI).
  • Zero npm dependencies — no `npm install` step.
  • Windows for the AgentX resolver (plain `cdp.mjs` works on macOS / Linux / Windows as upstream).

Install

```cmd
git clone https://github.com/cryptoyasenka/chrome-cdp-skill C:\chrome-cdp-skill
mklink /J %USERPROFILE%.claude\skills\chrome-cdp C:\chrome-cdp-skill\skills\chrome-cdp
```

PowerShell equivalent and full walkthrough in docs/AGENTX-WITH-CLAUDE.md.

Verify the install:

```bash
node ~/.claude/skills/chrome-cdp/scripts/agentx.mjs doctor
```

CI

Matrix: Ubuntu + Windows × Node 22.5 / 22.x / 24.x — all green. Covers syntax check, `--help` output, `doctor` failure-path (no AgentX present), and unknown-command exit codes.

Credits

  • Upstream: Petr Baudis (@pasky) — `cdp.mjs`, daemon architecture, browser auto-detection, all core commands.
  • Fork additions: @cryptoyasenka — AgentX resolver, `upload` command, `doctor` command, multilingual triggers, CI, documentation.

Full changelog: CHANGELOG.md.