/faucet:faucet-operatefrom faucet
Operates a running faucet serve instance: health checks, stuck runs, cluster membership, failover recovery, rolling upgrades, and run history management.
Ships in faucet. 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.
faucet serveThis skill keeps a running server healthy: reading its health, unsticking
runs, losing or adding a member, upgrading, and managing run history.
Standing the server up is faucet-deploy; one pipeline's failure is
faucet-debug; building a client is faucet-api.
The project decides which faucet to use, not whatever is on the PATH: a
config written for a newer faucet can fail or be misread on an older one.
Find the pin: the "github:faucet-hq/faucet-stream" entry under [tools]
in the project's mise.toml (faucet init writes it). A config may also
carry requires_faucet: ">=X.Y". The pin is used in commands, URLs and
image tags below, so accept only a release version: it must match
^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.]+)?$. Stop and ask the user about
anything else.
Run faucet --version. Use that binary if it equals the pin (with no pin:
if it satisfies every requires_faucet in the project).
Otherwise, if mise is installed, run mise install
in the project and prefix every command with mise exec --.
Otherwise use the pinned container image; its entrypoint is faucet:
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD:/work" -w /work ghcr.io/faucet-hq/faucet-stream:<version> --version.
Otherwise download that version's archive for this platform, check it, and only then unpack it. Never pipe a download into a shell.
v=<version> # the checked pin
t=aarch64-apple-darwin # or x86_64-apple-darwin, x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu
printf '%s\n' "$v" | grep -Eqx '[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.]+)?' || exit 1
base="https://github.com/faucet-hq/faucet-stream/releases/download/faucet-cli-v$v"
curl --proto '=https' --tlsv1.2 -fLsS -O "$base/faucet-cli-$t.tar.xz" -O "$base/faucet-cli-$t.tar.xz.sha256"
shasum -a 256 -c "faucet-cli-$t.tar.xz.sha256"
gh attestation verify "faucet-cli-$t.tar.xz" --repo faucet-hq/faucet-stream # when gh is installed
tar -xJf "faucet-cli-$t.tar.xz" # the binary is faucet-cli-$t/faucet
If the checksum or the attestation does not verify, stop and tell the user.
With no pin at all, install the latest release the same way (the archive
and its .sha256 from releases/latest/download/) and pin it as described in
Pinning the faucet version.
Every version-specific fact (which connectors and blocks exist, config keys,
types, defaults, commands and flags) comes from that binary: faucet list,
faucet schema --help, faucet schema source|sink|transform <name>,
faucet <command> --help. Never from memory or from this skill. When a config
passes faucet validate, set its requires_faucet: to ">=<major>.<minor>"
of that binary; if validate rejects requires_faucet as an unknown field, the
binary predates it, so leave it out.
The server's own version is the version label of faucet_build_info on its
/metrics endpoint; read flags with faucet serve --help from that same
release.
/readyz, GET /v1/runs, GET /v1/runs/{id},
/metrics and the logs change nothing. Read them first./healthz vs /readyz/healthz says the process serves; /readyz says it should get traffic.
Read the /readyz JSON body
(/readyz body):
history, queue, draining, and on a cluster every live member with its pools
and load.
/readyz says | Meaning | Do |
|---|---|---|
| draining | The member got a stop signal | Expected during a deploy; it hands unfinished runs back on a cluster |
| queue not ok | Submissions get 429 | Add capacity or members, or slow the callers |
| history not ok, single node | Degraded: history fell back to memory | Below |
| history not ok, cluster | The member cannot reach the shared database; it never falls back | Fix the database or the network path to it |
What still works and what does not is in
Run history & persistence:
runs keep going with records in memory, while template, tenant, connection
and change-request calls, and idempotency-keyed submissions, fail with 503.
/readyz, the history-degraded gauge in /metrics, and the
one log line the server writes when it degrades.503;
re-apply it now and confirm with a GET.GET /v1/runs/{id}: status, attempt and timestamps. The record does not
name its owner; on a cluster, /readyz lists the live members and their
in-flight counts, and the owner's logs carry the run id.GET /v1/runs/{id}/logs) and use faucet-debug; a row held by another
run fails with the holder named.POST /v1/runs/{id}/cancel to any member; it reaches the
owner within one poll interval
(Cross-instance cancel).faucet serve --help)./readyz, then
the next. Mixed versions are expected meanwhile; features gated on every
member (execution pools, new state formats) switch on only once the last
old member is gone.faucet template revalidate (or let the server
do it on start) and check that label-holding templates still pass
(Faucet upgrades and revalidation).GET /v1/runs: filter by status, name, time and labels
(?label=key:value), page with the cursor
(GET /v1/runs).GET /v1/audit (admin).faucet serve --help); templates, catalog and usage are never purged by
run retention.DELETE /v1/runs/{id} removes a terminal run and frees its idempotency
key.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/faucet-apiUse when integrating an application or service with `faucet serve` over HTTP: discovering the server's API and auth model, choosing which role's token a caller needs, registering, testing and launching templates over HTTP, rolling out a source and sink template change together, triggering template runs or raw config runs programmatically with idempotency keys, labels and an execution pool, polling a run until it is terminal and mapping its status and per-row results, finding runs by label, and decoding a 401, 403, 409, 422, 429 or 503 response from the API./faucet-connectorUse when writing a new faucet source or sink connector in Rust: scaffolding a faucet-source-* or faucet-sink-* crate (or a faucet-common-* crate shared by a pair), implementing the Source or Sink trait from faucet-core, adding a config struct with a JSON Schema, streaming pages with bounded memory and resumable bookmarks, making a sink idempotent or effectively-once (keyed upsert or atomic watermark), mapping failures to typed FaucetError variants so retries behave, passing the faucet-conformance battery, publishing the crate to crates.io, running it from a custom faucet binary, or listing it in the connector registry index./faucet-debugUse when a faucet pipeline misbehaves: a `faucet run` failed or exited non-zero, a run is slow, stuck or behind its source (CDC / stream lag), the source is rate-limited or throttled, rows are missing or duplicated, rows landed in the dead-letter queue, wrong values landed in the destination, a bookmark needs moving or resetting, stored state will not read after an upgrade, a scheduled run was skipped, a run refuses to start because another holds the row, a connector fails with an auth or permission error, or a network failure: "error sending request", connection refused or reset, timeouts, DNS or TLS handshake errors, an IP allowlist, a proxy, or a connection that works locally but not in the cluster (or the reverse). Covers `faucet doctor`, `status`, `dlq`, `state`, `verify`, `rollback`, `profiling`, `explain`, `plan`, logs and Prometheus metrics.npx claudepluginhub faucet-hq/faucet-stream --plugin faucetOther plugins' skills for the same job