/faucet:faucet-deployfrom faucet
Deploys faucet to production or runs it unattended on cron, systemd, Airflow, Dagster, or Kubernetes. Covers scheduling, serving with auth/RBAC, Helm charts, container images, state backends, monitoring with Prometheus/OpenTelemetry/Grafana, event triggers, and hardening (TLS, secrets, least privilege).
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 runs a pipeline config three ways: once (faucet run), on its own
cron (faucet schedule), or as an HTTP control plane (faucet serve). All
three read the same config and the same state store. This skill is how to pick
one, run it so it survives restarts and upgrades, and know when it breaks.
Writing the pipeline config itself is the faucet-pipelines skill. Fixing a
failed or stuck pipeline is the faucet-debug skill.
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.
Use the runtime table in
Deploying faucet:
faucet run when something else owns the timer (cron, systemd, an
orchestrator, a Kubernetes CronJob), faucet schedule for one pipeline on a
timer with no orchestrator, faucet serve for many pipelines, API callers,
RBAC and audit, and faucet serve with triggers for runs fired by a webhook,
an object landing or a queue filling.
Whatever you pick, one row must never run twice at the same time. Make the scheduler enforce it as well as the run lease (one run per row at a time).
Connectors, state backends and runtime features (schedule, serve, its history backends, triggers, OTLP export, secret managers, notifications, catalog) are compile-time features, and builds differ: the prebuilt binary, each published image profile, and a custom build. Never assume; ask the exact binary or image you will deploy:
faucet --version
faucet list
faucet --help
faucet schema --help
faucet serve --help
faucet list names the connectors and state stores compiled in.faucet --help lists the subcommands; a missing schedule or serve means
the build lacks it.faucet schema --help lists the config blocks this build documents; a block
it lacks is rejected as an unknown field.For an image, run the same commands through it
(docker run --rm <image> list). If something is missing, pick another image
profile or build one: installation
and deploy/README.md.
faucet validate --no-secrets --no-env-file pipeline.yaml
faucet doctor pipeline.yaml
Run the first in CI with placeholder values for every ${env:…}; it checks
structure without credentials. A secrets-manager reference passes
--no-secrets even on a build that cannot resolve it, so also run
faucet validate pipeline.yaml (no flag) where the credentials exist. Run
faucet doctor at deploy time: it probes every connector and the state store.
Choose a durable state backend for where the process runs
(choosing a state backend);
read its keys from faucet schema config and the state section of
State stores.
Never memory in production.
faucet run from an orchestrator, cron or CronJob--no-env-file --log-format json --output json; read the exit
code and the stdout summary
(calling faucet run from an orchestrator).faucet run --help).faucet status (its exit code reports
healthy / degraded / failed). A one-shot run is usually gone before a
Prometheus scrape.faucet run /etc/faucet/orders.yaml --no-env-file --log-format json --output json
A production-shaped config that works for both faucet run and
faucet schedule is cli/examples/scheduled_production.yaml in the
faucet-stream repository (cli/examples;
read it at the tag faucet-cli-v<version> matching your binary).
faucet scheduleschedule: block. Read its keys with faucet schema schedule; decide the
overlap policy, a failure limit that exits non-zero so the supervisor
notices, a run timeout under the period, and a shutdown grace longer than
the slowest flush (Scheduling pipelines).
Examples: cli/examples/scheduled_production.yaml,
cli/examples/scheduled_nightly.yaml.Restart=on-failure,
or a one-replica Deployment with the Recreate strategy; a rolling update
briefly runs two schedulers).terminationGracePeriodSeconds,
TimeoutStopSec) above the schedule's shutdown grace.faucet validate /etc/faucet/orders.yaml
faucet schedule /etc/faucet/orders.yaml --no-env-file --log-format json
faucet validate reports whether the schedule: block parses.
faucet serveRead Running faucet as a service
first: a submitted config runs with the server's identity, so serve is code
execution on that host. Every flag below is in faucet serve --help.
--no-auth beyond loopback. Prefer RBAC (an --auth-config
file of named principals, or the per-role tokens) over one admin token;
give viewer by default and operator only to orchestrators. Pass tokens
through env vars or Secret-mounted files, never as command-line values. The
file format and roles: RBAC & audit log;
an approvals policy: Approvals.--history with a database URL) so runs, audit
and templates survive a restart; confirm the build accepts it (Step 2).--cluster on a shared Postgres history when more than one replica runs.
Every replica needs the same env, secrets and default config./healthz, readiness /readyz; a stop timeout above the
server's shutdown grace./metrics reachable only by Prometheus; egress
restricted.name: in every submitted config (it is the metric label and the
state-key prefix), and an idempotency key from orchestrators.--default-config file; see cli/examples/serve_minimal.yaml.faucet serve --listen 0.0.0.0:8080 --auth-config /etc/faucet-auth/auth.yaml --history "$FAUCET_HISTORY_URL" --cluster --log-format json
Event triggers: Event-driven triggers,
the triggers reference
(faucet schema triggers prints the file schema) and
cli/examples/triggers/triggers.yaml. Treat trigger bodies and headers as
untrusted input.
deploy/helm/faucet-stream
in the repository at the tag matching your version; read its README.md
and values.yaml (or helm show values on the published chart) rather
than guessing value names.helm template faucet ./deploy/helm/faucet-stream -f my-values.yaml
Render the chart and read the manifests before installing.
faucet schema config.observability/ (Dashboards & alerts).
Load those instead of writing alerts by hand.faucet validate --no-secrets --no-env-file passes in CI for every configfaucet doctor passes at deploy timememory/v1 behind auth and TLS--no-auth never exposed; tokens generated and stored as secrets${env:…} / ${file:…} or a secrets manager;
--no-env-file setinfo or quieter; never debug with resolved secretsfaucet doctor /etc/faucet/orders.yaml
faucet state export /etc/faucet/orders.yaml -o orders-state-backup.json
faucet migrate --state /etc/faucet/orders.yaml --check
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Docker, Kubernetes, Prometheus, OpenTelemetry, Grafana, Airflow, systemd
faucet-deployment, production-deployment, helm, kubernetes, monitoring, hardening
npx claudepluginhub faucet-hq/faucet-stream --plugin faucet11 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./faucet-migrateUse when migrating an existing Meltano project, Singer taps and targets, or Airbyte connections to faucet: reading and converting a meltano.yml (extractors, loaders, mappers, select and metadata, jobs, schedules, environments), choosing a native faucet connector, a Template Hub template or the Singer bridge for each tap and target, running an existing Singer tap or target inside faucet, moving incremental bookmarks and Singer state into faucet state so the first run does not re-sync, running old and new pipelines side by side, comparing them with `faucet verify`, and cutting over with a rollback path./faucet-operateUse when operating a running `faucet serve` (single node or `--cluster`): `/readyz` returning 503 or a member reported unhealthy, the run-history database degraded or unreachable, runs stuck in pending or running, queued runs piling up or a full queue, runs waiting on an execution pool no member serves, a cluster member gone or crashed, a run reclaimed or executed twice after a failover, cancelling, retrying or deleting runs, finding which member owns a run, draining a member, a rolling upgrade of a cluster, and querying or pruning run history./faucet-pipelinesUse when writing, editing, reviewing or debugging a faucet pipeline config (YAML/JSON run by the `faucet` CLI): moving data from one system to another (database, API, files, object storage, queue, warehouse), setting up an incremental sync, a CDC stream or a snapshot-then-CDC mirror, choosing write modes (append, upsert, delete, overwrite) and keys, adding transforms, PII masking, data-quality checks, data contracts, schema-drift handling or a data-flow policy, configuring state, dead-letter queues or exactly-once delivery, scheduling or backfilling a pipeline, generating per-table configs with discovery, and wiring credentials through secret references.Other plugins' skills for the same job