Retrieves Estuary Flow task processing stats (bytes and documents per transaction) to check throughput, diagnose stalled tasks, and verify data movement.
Ships in estuary-operations. 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.
Concepts: Stats show document and byte counts per transaction for a task. They answer "is data actually moving, and how much?" — separate from flowctl catalog status, which only shows control-plane state. A task can show OK status while having zero recent stats (stalled, no new source data, or sync schedule delay).
IMPORTANT: The command is flowctl raw stats, not flowctl stats.
flowctl must already be authenticated — see the estuary-flowctl-setup skill.
Materialization — bytes read from source collections ("Data Read" in UI):
flowctl raw stats --task <task> --since 24h | \
jq -s '{
total_gb: ([.[] | select(.materialize != null) | .materialize | to_entries[] | .value.right.bytesTotal // 0] | add // 0 | . / 1073741824 * 10 | round / 10),
total_docs: ([.[] | select(.materialize != null) | .materialize | to_entries[] | .value.right.docsTotal // 0] | add),
transactions: ([.[] | select(.materialize != null)] | length)
}'
Capture — bytes written to Estuary collections ("Data Written" in UI):
flowctl raw stats --task <task> --since 24h | \
jq -s '{
total_gb: ([.[] | select(.capture != null) | .capture | to_entries[] | .value.out.bytesTotal // 0] | add // 0 | . / 1073741824 * 10 | round / 10),
total_docs: ([.[] | select(.capture != null) | .capture | to_entries[] | .value.out.docsTotal // 0] | add),
transactions: ([.[] | select(.capture != null)] | length)
}'
Useful for spotting gaps, spikes, or batch patterns. Matches the hourly bar chart in the Estuary UI.
Materialization:
flowctl raw stats --task <task> --since 48h | \
jq -s '[.[] | select(.materialize != null) | {
hour: .ts[0:13],
bytes: ([.materialize | to_entries[] | .value.right.bytesTotal // 0] | add),
docs: ([.materialize | to_entries[] | .value.right.docsTotal // 0] | add)
}] | group_by(.hour) | map({
hour: .[0].hour,
gb: (([.[].bytes] | add) / 1073741824 * 10 | round / 10),
docs: ([.[].docs] | add)
})'
Capture:
flowctl raw stats --task <task> --since 48h | \
jq -s '[.[] | select(.capture != null) | {
hour: .ts[0:13],
bytes: ([.capture | to_entries[] | .value.out.bytesTotal // 0] | add),
docs: ([.capture | to_entries[] | .value.out.docsTotal // 0] | add)
}] | group_by(.hour) | map({
hour: .[0].hour,
gb: (([.[].bytes] | add) / 1073741824 * 10 | round / 10),
docs: ([.[].docs] | add)
})'
Hours with no entry = no transactions that hour (expected for gaps, quiet sources, or batch sync schedules).
Raw entries are nested by task type, then by collection/binding:
{
"ts": "2026-04-10T00:01:00Z",
"capture": { "<collection>": { "out": { "docsTotal": N, "bytesTotal": N } } },
"materialize": { "<collection>": { "right": { "docsTotal": N, "bytesTotal": N },
"left": { "docsTotal": N, "bytesTotal": N },
"out": { "docsTotal": N, "bytesTotal": N } } },
"derivation": { "<transform>": { "input": { "docsTotal": N }, "out": { "docsTotal": N } } }
}
For materializations:
right — docs/bytes read from source Estuary collections ("Data Read" in UI)left — docs/bytes read from the destination (for merging)out — docs/bytes written to the destinationThe raw output also contains interval heartbeat entries and ack entries — the select(.materialize != null) / select(.capture != null) filters exclude these.
If flowctl catalog status shows OK but data isn't arriving:
# Check for any recent activity
flowctl raw stats --task <task> --since 6h | jq -s '[.[] | select(.materialize != null)] | length'
# → 0 = no transactions in 6h despite OK status
# Run hourly breakdown to find where the gap starts (substitute .capture for capture tasks)
flowctl raw stats --task <task> --since 48h | \
jq -s '[.[] | select(.materialize != null) | {hour: .ts[0:13], gb: ([.materialize | to_entries[] | .value.right.bytesTotal // 0] | add // 0 | . / 1073741824 * 10 | round / 10)}] | group_by(.hour) | map({hour: .[0].hour, gb: ([.[].gb] | add)})'
Common causes of stats silence with OK status:
flowctl logs --task <task> --since 2hWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/estuary-operations:estuary-task-statsfrom estuary-operations
npx claudepluginhub estuary/agent-skills --plugin estuary-operations8 skills in this plugin
/estuary-catalog-historyView publication history for catalog resources — who changed what and when. Use when investigating timeline of changes, finding who modified a connector, or correlating changes across capture/collection/materialization chains. Use when user says "what changed", "who changed", "publication history", "catalog history", "when was it published", "timeline of changes", or "what happened to my connector"./estuary-catalog-statusRun flowctl catalog status to check the control-plane state of an Estuary resource, or list catalog specs to see which connectors exist and which are active. Use when checking whether a task is running, disabled, or failing, interpreting status output, or enumerating connectors. Use when user says "check task status", "is my capture running", "catalog status", "flowctl catalog status", "what's wrong with my capture", "task failing", "check catalog status", "collection status", "derivation status", "why is my task disabled", "list my connectors", "show me my connectors", "list captures", "list materializations", "what connectors do I have", or "show me all my active connectors"./estuary-connector-restartPause and restart Estuary connectors by disabling and re-enabling shards via flowctl. Use when temporarily stopping a connector, performing source/destination maintenance, or forcing a fresh restart to clear transient errors or load updated configs immediately. Use when user says "pause connector", "stop connector", "restart connector", "disable connector", "enable connector", "re-enable task", "disable shards", "stop my capture", "stop my materialization", "disable my materialization", "force restart connector", "connector maintenance", "temporarily stop processing", "shards disable true", "enable shards", "resume connector", or "unpause connector"./estuary-flowctl-setupInstall and authenticate the flowctl CLI for Estuary. Use when setting up flowctl for the first time, troubleshooting authentication, upgrading to the latest version, or configuring programmatic access for CI/CD. Use when user says "install flowctl", "set up flowctl", "flowctl auth", "how to authenticate", "token expired", "not authenticated", "FLOW_AUTH_TOKEN", "CI/CD setup", "programmatic access", "upgrade flowctl", "flowctl not found", "command not found flowctl", "Exec format error", or "flowctl on Windows"./estuary-logsSearch and analyze Estuary task logs with jq filtering. Use when investigating task failures, debugging connector errors, analyzing behavior patterns, or streaming live logs. Use when user says "check logs", "show me logs", "task failing", "why is my capture failing", "why is my materialization failing", "error messages", "why did it fail", "search task logs", "shard failed", "follow logs", "increase log level", "debug logging", "is this log message normal", "what does this message mean", "connection timeout", or "i/o timeout"./estuary-ssh-tunnelsDiagnose and fix SSH tunnel connection issues for Estuary captures and materializations. Use when seeing tunnel failures, connection timeouts, or permission denied errors. Use when user says "SSH tunnel failed", "connection timeout via tunnel", "permission denied SSH", "tunnel not working", "network-tunnel failed", "no pubkey loaded", "bastion host not connecting", or "RSA key format".