
Sweetlink
- 16 installs
- Updated July 31, 2026
- bjesuiter/skills
SweetLink is a Claude Code skill that connects an AI agent to a real authenticated Chrome tab via a local daemon for screenshots, DOM queries, and DevTools telemetry.
About
SweetLink is a Claude Code skill that connects an AI agent to a real authenticated browser tab through a local daemon on https://localhost:4455. It exposes CLI commands for screenshots, DOM snapshots and queries, console and network log tailing, and form automation, all inside your actual Chrome session so cookies and auth carry over. Developers use it for smoke tests and DevTools telemetry against web apps that need a logged-in session, similar to Playwright but on the current tab.
- Connects the agent to a real authenticated Chrome tab via a local daemon
- Screenshots, DOM queries, console/network tailing, and form automation
- Auth and cookies persist from your browser profile for smoke tests
Sweetlink by the numbers
- 16 all-time installs (skills.sh)
- Ranked #1,469 of 2,153 Testing & QA skills by installs in the Skillselion catalog
- Data as of Aug 1, 2026 (Skillselion catalog sync)
sweetlink capabilities & compatibility
- Capabilities
- testing · debugging
- Works with
- chrome · playwright
- Use cases
- testing · debugging
- Platforms
- macOS
- Runs
- Runs locally
- Pricing
- Free
What sweetlink says it does
Connect your AI agent to a real browser tab. Like Playwright, but works in your current tab.
Works on macOS with Chrome or Chromium-based browsers
npx skills add https://github.com/bjesuiter/skills --skill sweetlinkAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 16 |
|---|---|
| Last updated | July 31, 2026 |
| Repository | bjesuiter/skills ↗ |
What it does
Drive a real authenticated Chrome tab to screenshot, query the DOM, and read console/network logs for smoke testing a web app.
Who is it for?
Smoke-testing a web app in a real logged-in browser tab with screenshots and console/network telemetry
Skip if: Headless CI browser automation on a fresh profile without an existing authenticated session
When should I use this skill?
The task needs a real authenticated browser tab for screenshots, smoke tests, or DevTools telemetry
What you get
The agent can screenshot, query, and interact with your live authenticated browser tab and read its console and network logs.
- screenshots
- DOM snapshots
- console and network log tails
By the numbers
- daemon runs on https://localhost:4455
- port 4455 for the local daemon
Files
SweetLink 🍭
Connect your AI agent to a real browser tab. Like Playwright, but works in your current tab.
Why SweetLink?
- Real browser — Automate your actual browser session (Chrome with DevTools)
- Auth preserved — Cookies/sessions from your profile carry over
- Loop closed — Agent can see what you see, interact with your tab
- Smoke tests — Verify web apps in real browser context
Install
# From source (requires pnpm)
cd ~/Develop/bjesuiter/sweetlink
pnpm install
pnpm build
# Or globally
pnpm add -g sweetlink
# Trust CA for TLS
sweetlink trust-caStart Daemon
# Start the SweetLink daemon (runs on https://localhost:4455)
sweetlink daemon start
# Check status
sweetlink daemon status
# Stop daemon
sweetlink daemon stopCore Commands
Session Management
# List active sessions
sweetlink session list
# Reconnect after hot reload
sweetlink session reconnect <session-id>Browser Control
# Open browser with DevTools (from main profile)
sweetlink browser open --profile default
# Open incognito profile
sweetlink browser open --profile incognito
# Get browser status
sweetlink browser statusConsole & Network
# Tail console logs (last 50 entries)
sweetlink devtools console --tail 50
# Tail network requests
sweetlink devtools network --tail 50
# Clear buffers
sweetlink devtools clearScreenshot & DOM
# Capture screenshot
sweetlink screenshot --output screenshot.png
# Get DOM snapshot
sweetlink dom snapshot --output dom.json
# Query element (CSS selector)
sweetlink dom query ".submit-button" --property textContentAutomation Prompts
Use with Codex, Claude, or Cursor once a session is live:
# Example: Check if element exists
sweetlink dom query "#login-form" --exists
# Example: Click button
sweetlink dom click ".submit-btn"
# Example: Type in input
sweetlink dom type "#email" "user@example.com"
# Example: Get page title
sweetlink browser titleWorkflow with AI Agents
1. Start SweetLink Daemon
sweetlink daemon start
sweetlink trust-ca # First time only2. Open Browser Tab
sweetlink browser open --profile default3. Navigate to target site
- Do this manually in the opened browser
- Authenticate if needed (cookies persist)
4. Agent can now automate
# Agent uses these commands:
sweetlink dom query ".product-card" --property outerHTML
sweetlink screenshot --output products.png
sweetlink devtools console --tail 1005. Reattach sessions
sweetlink session list
sweetlink session reconnect <session-id>Example Use Cases
Smoke Test Web App
# Navigate to app
sweetlink browser open --profile default
# (manually navigate to http://localhost:3000)
# Check for console errors
sweetlink devtools console --tail 0Screenshot Testing
# Capture full page
sweetlink screenshot --full-page --output test.png
# Capture specific element
sweetlink dom query ".hero" --screenshot hero.pngForm Automation
sweetlink dom type "#name" "Test User"
sweetlink dom type "#email" "test@example.com"
sweetlink dom click "#submit"
sweetlink dom query "#success" --existsAPI Reference
Daemon API (internal)
GET /api/sweetlink/status— Check daemon health + TLS trustPOST /api/sweetlink/session— Create new sessionGET /api/sweetlink/sessions— List sessions
CLI Commands
| Command | Description |
|---|---|
| `sweetlink daemon start\ | stop\ |
| `sweetlink browser open\ | close` |
| `sweetlink session list\ | reconnect` |
| `sweetlink devtools console\ | network` |
| `sweetlink dom query\ | click\ |
sweetlink screenshot | Capture screenshots |
Troubleshooting
Daemon won't start
# Check if port is in use
lsof -i :4455
# Kill existing process
sweetlink daemon stop
sweetlink daemon startTLS certificate not trusted
# Re-run trust
sweetlink trust-ca
# Open browser to accept
open https://localhost:4455Session disconnected
# List sessions
sweetlink session list
# Reconnect
sweetlink session reconnect <session-id>Related Skills
- oracle — Prompt bundler for multi-model runs (pairs well with SweetLink)
- browser — Clawdbot's built-in browser control
Notes
- SweetLink uses real Chrome/Chromium with DevTools Protocol
- Cookies/auth persist from your browser profile
- Works on macOS with Chrome or Chromium-based browsers
- TLS certificate required for daemon communication
Related skills
FAQ
How is SweetLink different from Playwright?
SweetLink automates your actual browser session (Chrome with DevTools) so cookies and auth from your profile carry over, working in your current tab rather than a fresh automated context.
What can the agent do once a session is live?
It can capture screenshots, take DOM snapshots, query and click elements, type into inputs, and tail console and network logs via the sweetlink CLI.