/hearth:hearth-setupfrom TestZeus Hearth
Installs the Hearth CLI and provisions a browser/device farm on Kubernetes (local kind, AWS, GCP, or existing cluster). Verifies the farm with `hearth status`.
Ships in TestZeus Hearth. 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.
None: SKILL.md is the whole skill.
Hearth is an open-source browser and device farm for Kubernetes. One URL serves Playwright, CDP, Selenium and Appium. This skill gets a working farm and a verified connection.
Docs: https://test-zeus-ai.github.io/testzeus-hearth/guide/getting-started/ and https://test-zeus-ai.github.io/testzeus-hearth/guide/install/
export HEARTH_KEY="$(hearth key)"), or tell the user the command to run in their own
terminal.hearth up aws and
hearth up gcp create billable cloud resources: get an explicit yes first.sudo unless the user asks for it.Run these and note the results; do not ask the user yet:
command -v hearth && hearth --version
command -v docker kind helm kubectl
docker info --format '{{.ServerVersion}}' 2>/dev/null # is Docker running?
kubectl config get-contexts 2>/dev/null
uname -sm
curl -fsSL https://raw.githubusercontent.com/test-zeus-ai/testzeus-hearth/main/install.sh | sh
hearth and hearth-agent into ~/.local/bin after checking the archive's SHA-256
against the release's SHA256SUMS. Supports macOS (arm64, x86_64) and Linux (x86_64, arm64,
glibc).sh -s -- --version 0.2.0, --install-dir DIR (or HEARTH_INSTALL_DIR), --dry-run,
--sudo (only if the user asked).~/.local/bin is not on PATH, the installer prints the line to add. Use the full path
(~/.local/bin/hearth) until the shell is reloaded.cargo install --path crates/hearth-cli --locked.Check: hearth --version prints a version.
Ask the user one question, with your best guess as the default:
| Choice | When | Command |
|---|---|---|
| Local (kind) | Trying it out, a laptop, a single CI runner with Docker | hearth up local |
| AWS | They want a farm in their AWS account | hearth up aws (see hearth up aws --help) |
| GCP | They want a farm in their Google Cloud project | hearth up gcp (see hearth up gcp --help) |
| Existing cluster | They already run Kubernetes | Helm, below |
hearth doctor checks the prerequisites for the choice and says what is missing; run it before
hearth up and fix what it reports (ask before installing tools).
Needs Docker running, plus kind, Helm 3 and kubectl.
hearth up local
It creates a kind cluster named hearth (port 8080 on this machine reaches the gateway), applies
the CRDs, installs the chart into namespace hearth, and waits up to 10 minutes. The first run
pulls browser images (over 1 GB): several minutes is normal. The farm is then at
http://localhost:8080. hearth up local prints an API key; do not echo it back to the user,
read it with hearth key as below.
Uses the user's current cloud credentials (aws sts get-caller-identity /
gcloud config list show which). Read hearth up aws --help or hearth up gcp --help first,
tell the user what it will create and in which account, region or project, and run it only after
a clear yes.
kubectl config use-context <context>
helm show crds oci://ghcr.io/test-zeus-ai/charts/hearth | kubectl apply --server-side -f -
helm install hearth oci://ghcr.io/test-zeus-ai/charts/hearth -n hearth --create-namespace -f values.yaml
Keep the release name hearth: hearth key reads the Secret hearth-key-<team>. Expose the
gateway for CI with gateway.ingress.* or a LoadBalancer (WebSockets must pass through and idle
connections must not be cut short). For a quick test:
kubectl -n hearth port-forward svc/hearth-gateway 8080:80.
export HEARTH_URL=http://localhost:8080 # or https://hearth.example.com
export HEARTH_KEY="$(hearth key)" # team "default"; `hearth key <team>` for others
hearth key reads the Secret from the cluster in the current kube context (namespace hearth,
-n to change). Without cluster access, the user must get a key from whoever runs the farm and
export HEARTH_KEY=... in their own terminal.
hearth status
curl -fsS -H "Authorization: Bearer $HEARTH_KEY" "$HEARTH_URL/api/me"
Expected:
hearth status prints team default: 0 running and one row per pool. Every browser pool
should reach READY of 1 or more within a few minutes of install./api/me answers {"team":"default","activeSessions":0,"maxSessions":0}.If a pool stays at READY 0: kubectl -n hearth get pods (look for Pending or
ImagePullBackOff) and kubectl -n hearth describe pod <pod>. 401 bad_key right after install
means the operator has not published the key yet (it does every 3 seconds): retry.
$HEARTH_URL (sign in with the key, from
their own terminal: hearth open opens it).hearth-connect-tests skill.claude mcp add --env HEARTH_URL="$HEARTH_URL" --transport stdio hearth -- hearth mcp
(the server reads HEARTH_KEY from the environment it starts in, or from the cluster like
hearth key). See https://test-zeus-ai.github.io/testzeus-hearth/guide/coding-agents/.hearth up local again, or helm upgrade with the same values after
applying the new CRDs.hearth down (deletes the kind cluster). For a cloud farm, read
hearth down --help and confirm with the user before deleting anything.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Kubernetes, Docker, AWS, GCP, Helm
hearth, browser-farm, device-farm, kubernetes-setup, playwright, selenium
4 skills in this plugin
/hearth-connect-testsPoint an existing Playwright, Selenium or Appium test suite at a Hearth farm - environment variables, Playwright version matching, connect code for Node, Python, Java and .NET, and CI setup for GitHub Actions and GitLab CI. Use when the user wants their tests to run on Hearth, sees a version mismatch (`428 no_pool`), or wants Hearth in CI./hearth-debug-sessionInvestigate a failed or stuck Hearth session - find it, read the gateway's error, download its video and device log, take a live screenshot of a running session, stop it, and map the error to a fix. Use when a test failed on the Hearth farm, a connect or new-session request was refused (401, 404, 428, 429, 502), a session ended early, or the user asks what happened in a session./hearth-devicesAdd Android emulators and iOS simulators to a TestZeus Hearth farm and run Appium tests on them - add a Mac with `hearth hosts add` and one pasted join line, choose its simulators with `hearth hosts plan`, drain, remove and reconnect hosts, in-cluster Android emulator pods, app upload by hash, and the Appium capabilities the farm accepts. Use when the user wants mobile or device testing on Hearth, wants more iOS capacity, a host is offline or unreachable, a device pool shows no READY devices, or an Appium session is refused.npx claudepluginhub test-zeus-ai/testzeus-hearth --plugin hearthOther plugins' skills for the same job