Systematically debug a Kernel cloud browser session — VM issues, network errors, Chrome crashes, page-load failures, and live-view problems. Use when a browser session misbehaves (e.g. ERR_HTTP2_PROTOCOL_ERROR, "browser not responding", blank/error pages, captcha or "checking your browser" blocks, live view not loading) and you have the session ID. Drives the Kernel CLI to inspect session status, screenshots, page state, VM logs, network connectivity, and telemetry events (which remain readable even after the session is deleted).
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Systematically debug a Kernel cloud browser session — VM issues, network errors, Chrome crashes, page-load failures, and live-view problems. Use when a browser session misbehaves (e.g. ERR_HTTP2_PROTOCOL_ERROR, "browser not responding", blank/error pages, captcha or "checking your browser" blocks, live view not loading) and you have the session ID. Drives the Kernel CLI to inspect session status, screenshots, page state, VM logs, network connectivity, and telemetry events (which remain readable even after the session is deleted).
Debug a Kernel Browser Session
Diagnose a misbehaving Kernel cloud browser session using the Kernel CLI. The CLI has full access to the session's VM — status, screenshots, Playwright execution, log files, and in-VM command execution — which is everything you need to localize a failure to bot detection, a Chrome crash, a network/DNS problem, or live-view/WebRTC issues.
Inputs
Two things drive the investigation:
Session ID — the browser session to debug (e.g. abc123example456xyz).
Issue description — what's going wrong (e.g. "ERR_HTTP2_PROTOCOL_ERROR navigating to a specific site", "browser not responding", "page not loading", "live view is blank").
If either is missing, ask for it before proceeding. The issue description determines which checks below to weight.
Prerequisites
Load the kernel-cli skill for Kernel CLI installation and authentication. Its references cover the full command surface (browser-management, filesystem-ops, process-execution, computer-controls) when you need options beyond the ones below.
Core CLI commands
Substitute your session ID for <SESSION_ID>.
Session status
kernel browsers get <SESSION_ID> -o json
kernel browsers get <SESSION_ID> --include-deleted -o json
# If the normal lookup returns not found, recover the soft-deleted record by session ID.
The deleted record provides static configuration and timestamps such as created_at and deleted_at; VM, Playwright, screenshot, curl, log, and live-view commands still require a live session.
Browser telemetry events (works even after deletion)
Telemetry only helps if it was enabled before the failure — capture is off by default. When it was on, captured events stay readable after telemetry is disabled or the session is deleted. A soft-deleted session's static record is also available with kernel browsers get <SESSION_ID> --include-deleted; runtime inspection still needs a live session.
The debug-critical categories are console (console output and uncaught exceptions), network (request/response metadata), and page (navigation and lifecycle). High-signal event types: console_error, network_loading_failed, network_response with non-2xx status, system_oom_kill, and monitor_disconnected (telemetry gap — treat following events as incomplete). For the full category and event-type catalog, see the telemetry categories docs.
--since accepts an RFC-3339 timestamp or a duration like 5m, and defaults to the last 5 minutes. When in doubt, use a generous window like --since 24h (as in the examples); for a deleted session, use browsers get --include-deleted to recover its created_at and bound the window precisely. --all walks every page in the window (default is one page of 20 events, --limit up to 100, with an --offset cursor for manual paging); a --types filter walks the whole window automatically. Use -o json for full event payloads — the default table shows only sequence, time, category, and type, so anything that depends on event contents (a network_response status code, a console error message, a URL) requires json output. The same events are available via the API/SDK (GET /browsers/{session_id}/telemetry/events, which has the same 5-minute since default) and — if your Kernel MCP server build includes it — the manage_browsers tool's get_telemetry action (which defaults to the full session window). For a live session, kernel browsers telemetry stream <SESSION_ID> tails events as they happen.
Capture starts the moment it's enabled and can't backfill. For automations you expect to debug, enable telemetry (including console, network, page) at create time so the evidence exists when something fails; on a live session, enable the categories, reproduce the issue, then read the events.
Gotchas:
Telemetry is opt-in. No events may just mean it was never enabled — not that nothing happened.
The default bundle omits the debug-critical categories (console, network, page).--telemetry=all captures control/connection/system/captcha only; request console, network, and page explicitly (as above) when you need those signals.
monitor_disconnected marks a telemetry gap. The collector dropped; treat console/network/page/interaction coverage as incomplete until the next monitor_reconnected, or through the end of the event history if none appears.
Bot detection is a common cause. Many sites use CDNs like Cloudflare, Imperva, or Akamai that fingerprint browsers and block automation.
Signs of bot detection:
VM curl works but the page or kernel browsers curl fails
"Access Denied", captcha pages, or "Checking your browser…" messages
stealth: false in the browser config
Check kernel browsers get <SESSION_ID> -o json for stealth and an explicit proxy_id. If a stealth session is expected to use Kernel's default proxy, isolate that route only after capturing the screenshot, telemetry, and logs:
# This mutates live routing.
kernel browsers update <SESSION_ID> --disable-default-proxy
# Reproduce the failing request once and capture the result.
kernel browsers update <SESSION_ID> --disable-default-proxy=false
Only run this A/B test when the session owner confirms the default proxy should currently be enabled, because browsers get does not expose the prior disable_default_proxy state. Do not substitute --clear-proxy; that removes an explicit proxy. Restore the default proxy regardless of the result; if direct routing fixed the failure, investigate the proxy path.
Stealth is set at creation and can't be toggled on a live session. If you create a stealth replacement to reproduce, preserve the original session and delete only the diagnostic replacement when done:
kernel browsers delete <DIAGNOSTIC_SESSION_ID>
Browser not responding
Cause: Chrome process crashed or hung.
Check: supervisor logs for chromium restart events.
Solutions: confirm the timeout wasn't reached, look for memory issues in the logs, create a new session.
Page not loading
Cause: network, DNS, or proxy issues.
Check: compare kernel browsers curl with VM curl, inspect /etc/resolv.conf, then inspect the configured proxy. A Chrome-only failure points toward Chrome state, TLS fingerprinting, cookies, or its proxy route; failure in both paths points lower in the VM/network stack.
Live view not working
Cause: Neko/WebRTC issues.
Check: fetch the live view URL with kernel browsers view <SESSION_ID> and open it; read Neko logs with browsers logs stream; verify headless is false in browsers get.
Solutions: check for a firewall blocking WebRTC and compare whether Playwright and screenshots still work. If they do, the browser is healthy and the fault is isolated to live view.
Expected log entries (normal operation)
These are normal and don't indicate problems:
Failed to call method: org.freedesktop.DBus.Properties.GetAll — DBus permission (expected in container)
vkCreateInstance: Found no drivers — no GPU in the VM (expected)
DEPRECATED_ENDPOINT for GCM — Google deprecation (harmless)
Active session found, or deleted metadata recovered with --include-deleted
Screenshot shows expected content (or reveals the error)
Current URL is as expected
Supervisor logs show all services running
Chrome-stack and VM curl results compared
No critical errors in chromium logs
Cookies/session state are correct
Telemetry events checked for console_error / network_loading_failed / system events (especially if the session is gone)
Any temporary default-proxy change restored; any diagnostic replacement deleted
Suggested order
Get browser info; retry with --include-deleted if it is gone.
Preserve evidence: screenshot, URL/title, telemetry, then logs.
Compare Chrome-stack curl with VM curl for connection failures.
Reproduce once; only then run a temporary default-proxy A/B test if relevant.
Restore changed routing and delete any diagnostic replacement session.
If the session is deleted, recover its static metadata with browsers get --include-deleted; telemetry is the remaining runtime signal, and only if capture was enabled while it ran.