/kernel-cli:kernel-clifrom kernel-cli
Manages Kernel's cloud browser platform via CLI: create/delete browser sessions, run Playwright automation, configure proxies, manage API keys and projects. Useful for browser automation and cloud infrastructure tasks.
Ships in kernel-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Kernel CLI provides command-line access to Kernel's cloud browser platform for browser automation, serverless app deployment, and infrastructure management.
brew install kernel/tap/kernelnpm install -g @onkernel/cliVerify with kernel --version. Use kernel <command> --help as the source of truth for the installed version.
KERNEL_API_KEY environment variablekernel login for interactive OAuth# Authenticate
export KERNEL_API_KEY=your_api_key
# Create a browser session
kernel browsers create -o json
# Run Playwright automation (use `return` to get a value back)
kernel browsers playwright execute <session_id> '
await page.goto("https://example.com");
return await page.evaluate(() => document.title);
'
# Take a screenshot
kernel browsers computer screenshot <session_id> --to screenshot.png
# Cleanup
kernel browsers delete <session_id>
Before creating the first browser for a site, look up a configuration Kernel has already tested there. The CLI has no config registry command, so call the API with KERNEL_API_KEY. lookup is read-only.
TARGET_URL='https://www.example.com/'
curl -sS -X POST https://api.onkernel.com/config-registry/lookup \
-H "Authorization: Bearer $KERNEL_API_KEY" -H "Content-Type: application/json" \
-d "$(jq -n --arg url "$TARGET_URL" '{url: $url}')" | jq '{recommendation, guidance}'
Map a recommendation to kernel browsers create flags: browser.stealth to --stealth, browser.headless to --headless, browser.gpu to --gpu, and browser.viewport to --viewport WIDTHxHEIGHT@RATE (omit @RATE when there is no refresh_rate). For proxy.mode: "managed", create the proxy from proxy.create once, for example kernel proxies create --type isp --country US, and pass its ID with --proxy-id on every browser. For proxy.mode: "direct", pass --proxy-mode direct.
When recommendation is null or its type is no_recommendation, start an analysis and create the browser with --stealth for now. The analysis takes minutes, and its result answers the next lookup:
curl -sS -X POST https://api.onkernel.com/config-registry/resolve \
-H "Authorization: Bearer $KERNEL_API_KEY" -H "Content-Type: application/json" \
-d "$(jq -n --arg url "$TARGET_URL" --arg intent 'search for a product and open the first result' '{url: $url, intent: $intent}')" | jq '.analysis'
The config registry needs a Hobbyist plan or higher.
-o json plus jq for scripts; deploy and invoke emit JSONL rather than one JSON object.--project <id-or-name> or KERNEL_PROJECT when an API key can access multiple projects.# Rename, archive, or reactivate a project (provide at least one update)
kernel projects update <id-or-name> --name <new-name> -o json
kernel projects update <id-or-name> --status archived -o json
kernel projects update <id-or-name> --status active -o json
# Look up a soft-deleted API key
kernel api-keys get <id> --include-deleted -o json
# Inspect limits before changing the default project cap
kernel org limits get -o json
kernel org limits set --default-project-max-concurrent-sessions <n> -o json
For org limits set, 0 removes the default cap; the value cannot exceed the organization concurrency limit.
Rotate an API key interactively with kernel api-keys rotate <id>. Use --days-to-expire <1-3650> to set the replacement key lifetime and --expire-in-days <n> to set the old key's grace period (default 7 days; 0 revokes it immediately). The output contains the replacement plaintext key once: keep it out of logs, migrate callers during the grace period, and then verify the old key no longer works.
references/app-deployment.md (opens in a new tab)references/browser-management.md (opens in a new tab)references/browser-pools.md (opens in a new tab)references/computer-controls.md (opens in a new tab)references/extensions.md (opens in a new tab)references/filesystem-ops.md (opens in a new tab)references/managed-auth.md (opens in a new tab)references/process-execution.md (opens in a new tab)references/profiles.md (opens in a new tab)references/proxies.md (opens in a new tab)references/replays.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/create-agent-site-skillcreate reusable skills for automating specific websites with KERNEL cloud browsers. use when building a new site skill or turning an existing browser workflow into one./debug-browser-sessionSystematically 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)./diff-profile-archivesCompare two Kernel profile snapshots to investigate behavioral differences. Use when an issue (e.g. login failure, captcha, broken automation, vendor mismatch) reproduces on one profile but not another, or when a "good" vs "bad" profile needs to be diffed. Takes two profile IDs/names plus an issue description, downloads and extracts both profiles via the Kernel CLI, and surfaces differences in cookies, storage, preferences, extensions, and login state that could explain the issue./kernel-agent-browserBest practices for using agent-browser with Kernel cloud browsers. Use when automating websites with agent-browser -p kernel, tuning stealth or proxy behavior, persisting profiles, handling iframes, discovering Kernel session IDs or live views, or cleaning up cloud sessions./kernel-authuse KERNEL managed auth or vault credentials after choosing a browser path that genuinely requires an authenticated website ui or authenticated browser behavior. prefer a dedicated api, cli, mcp server, or authoritative local records for operations they support; a url alone does not require browser auth. reuse or create auth connections, complete hosted login without abandoning the task, launch profile-backed browsers with telemetry, and handle reauthentication safely. for per-user vault credentials, let the user choose KERNEL-hosted collection or 1Password brokered approval, and fill only with explicit approval./kernel-browser-harnessBest practices for using browser-use's open-source browser-harness with Kernel cloud browsers over CDP. Use when driving a Kernel browser from browser-harness, extracting a CDP URL from `kernel browsers create`, or running multi-step or parallel harness sessions against Kernel.npx claudepluginhub kernel/skills --plugin kernel-cliOther plugins' skills for the same job