/snowflake-pack:snowflake-data-quality-sentinel [schema-2-evidence.json]from snowflake-pack
Assesses Snowflake data quality metric coverage and expectation evidence without reading customer rows. Detects missing evaluations, definition drift, notification gaps, and unhealthy monitoring states.
Ships in snowflake-pack. 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; scripts run unread.
Produce separate configuration, history-observation, and history-completeness verdicts from an owner-approved requirement denominator and trusted schema-2 collector receipts. Missing or untrusted evidence never becomes a pass, and this history surface never supports an unqualified present-tense quality pass.
Read the input contract before assembly and consult the source notes when interpreting provider semantics.
Use Python 3.10+, an owner-approved policy, and Snowflake CLI with an existing least-privilege profile. Never accept credentials or request customer rows, failed-row payloads, metric values, or SQL text.
Collect one bounded history receipt. For every distinct governed object, collect
one selector-bound live association receipt and one selector-bound live
expectation receipt. Also collect one notification receipt for every distinct
governed object whose notification_required is true:
# Example fixed UTC window; replace with the audited interval.
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface data-quality --connection readonly-observer \
--window-start 2026-09-01T00:00:00Z --window-end 2026-09-02T00:00:00Z \
--output ./dq-history.json
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface data-quality-associations-current --connection readonly-observer \
--data-quality-object GOVERNED_DB.GOVERNED_SCHEMA.GOVERNED_TABLE \
--data-quality-domain TABLE \
--output ./dq-associations.json
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface data-quality-expectations-current --connection readonly-observer \
--data-quality-object GOVERNED_DB.GOVERNED_SCHEMA.GOVERNED_TABLE \
--data-quality-domain TABLE \
--output ./dq-expectations.json
python3 "${CLAUDE_SKILL_DIR}/scripts/collect_snowflake_evidence.py" \
--surface data-quality-notification-current --connection readonly-observer \
--data-quality-object GOVERNED_DB.GOVERNED_SCHEMA.GOVERNED_TABLE \
--data-quality-domain TABLE --output ./dq-notification.json
The object selector is used only in reviewed local SQL. The receipt retains its scoped object hash and domain, never the raw selector. Do not escalate roles when a source is permission-blocked.
Maintain the owner-approved policy as a separate policy.json. Assemble exactly
schema_version, the byte-equivalent parsed policy, and collector_receipts in
the evidence wrapper. Record the evidence and policy digests independently when
each crosses its trusted local boundary. The embedded receipt checksums are not
trust anchors.
# Record these at their independent trusted local boundaries.
python3 "${CLAUDE_SKILL_DIR}/scripts/analyze_data_quality.py" evidence.json \
--print-input-sha256
python3 "${CLAUDE_SKILL_DIR}/scripts/analyze_data_quality.py" \
--policy-file policy.json --print-policy-sha256
python3 "${CLAUDE_SKILL_DIR}/scripts/analyze_data_quality.py" evidence.json \
--policy-file policy.json \
--evaluated-at 2026-09-03T12:00:00Z \
--trusted-input-sha256 sha256:RECORD_FROM_EVIDENCE_BOUNDARY \
--trusted-policy-sha256 sha256:RECORD_FROM_POLICY_BOUNDARY --pretty
Supplying digests recomputed from an already suspect file does not establish
trust. The policy's analysis_as_of_utc must equal --evaluated-at, preventing a
trusted old policy from being replayed against a shifted clock.
Preserve configuration_status, history_observation_status,
history_completeness_status, every finding code and hashed scope, evidence
integrity and coverage, the evaluated denominator, receipt hashes, and fixed
non-claims. Do not convert an inconclusive result or satisfied observation into
operational approval. If remediation would mutate Snowflake, produce a dry-run
proposal and obtain separate authorization.
EXPECTATION_VIOLATED=false is SATISFIED_OBSERVATION, never quality PASS.
Snowflake publishes no finality SLA for the history surface, so
history_completeness_status remains UNPROVEN_NO_PROVIDER_SLA,
pass_supported remains false, and settled_through_utc remains null.DQ_NO_EVALUATION, not a pass. true is a violation;
null is an evaluation failure.ENABLED proves configuration only. Delivery always remains
NOT_OBSERVED; missing visibility differs from disabled configuration.(association_key_sha256, expectation_key_sha256) policy key is unique.The report includes the three status axes, pass_supported,
settled_through_utc, integrity and coverage, denominator counts, deterministic
findings, safe provenance, fixed non-claims, and report_sha256. Findings contain
fixed text and validated requirement hashes only.
2 is a fixed generic malformed-input error and never reflects rejected input.evidence_integrity_status=INVALID means a trust or receipt check failed; recollect.evidence_complete remains false because history completeness is not provider-proven.False produces SATISFIED_OBSERVATION, while a missing row produces
DQ_NO_EVALUATION; neither produces quality PASS. A true row produces
VIOLATION_OBSERVED and quality FAIL.
The analyzer and collector are read-only. A remediation request ends at a dry-run change proposal unless the caller separately authorizes mutation. Findings use validated requirement hashes as scopes and fixed text, so rejected receipt fields or values are never reflected into output.
eval-spec.yaml (opens in a new tab)references/input-contract.md (opens in a new tab)references/source-notes.md (opens in a new tab)scripts/analyze_data_quality.py (opens in a new tab)scripts/collect_snowflake_evidence.py (opens in a new tab)scripts/sql/data-quality-associations-current.sql (opens in a new tab)scripts/sql/data-quality-expectations-current.sql (opens in a new tab)scripts/sql/data-quality-notification-current.sql (opens in a new tab)scripts/sql/data-quality.sql (opens in a new tab)tests/test_analyze_data_quality.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
inherithigh10 skills in this plugin
/snowflake-access-guardianAudit Snowflake effective access and produce a safe least-privilege change packet.
Trace account-role inheritance, primary and secondary roles, managed-access
schemas, ownership, direct-to-user/PUBLIC grants, orphaned principals, and
existing-versus-future-grant conflicts. Use when access is unexpectedly broad or
denied, a role graph needs review, or an authorization cleanup needs evidence.
Trigger with phrases like "Snowflake access audit", "trace Snowflake grants",
"why can this user read", "Snowflake RBAC drift", or "future grants conflict".
/snowflake-cost-leak-hunterAudit and analyze Snowflake warehouse, serverless, Adaptive, storage, transfer, and AI cost evidence with a typed ledger that prevents double counting and exposes freshness, attribution, control, and invoice boundaries. Use when a Snowflake bill increased, a team needs chargeback/showback evidence, credits appear unexplained, or an operator asks which usage merits investigation. Trigger with "Snowflake bill increased", "find idle Snowflake credits", "Snowflake cost attribution", or "untagged Snowflake spend". Do not use to mutate cost controls or claim savings./snowflake-deploy-medicReview and safely diagnose Snowflake infrastructure and database deployments
across the snowflakedb/snowflake Terraform 2.x provider, grants/state/imports,
schemachange versioned and repeatable migrations, Snowflake CLI/drivers, and
behavior-change releases. Use before a production deploy, when a plan wants
to replace or revoke grants, state is unreadable, a migration checksum drifts,
or a CLI/driver upgrade changes behavior. Produces a zero-change/plan verdict,
ordered remediation, and tested rollback requirements. It never applies,
destroys, deploys, runs mutating SQL, or edits state/history automatically.
Trigger with "Snowflake Terraform plan", "grant import", "terraform state",
"schemachange checksum", "repeatable migration", "Snowflake CLI upgrade",
"driver BCR", or "rollback Snowflake deploy". Use when a production change
needs a current plan, migration-integrity, toolchain, or rollback gate.
/snowflake-failover-readiness-drillAnalyze Snowflake failover-group RPO/RTO readiness from independently trusted,
privacy-preserving live receipts without executing refresh, failover, failback,
redirect, cancellation, resume, or session changes. Use when an owner needs a
Business Critical disaster-recovery preflight, replication failure diagnosis,
dangling-reference check, or operator-executed drill proof. Trigger with "Snowflake
failover drill", "replication RPO", "failback proof", or "secondary refresh".
/snowflake-governance-coverage-auditorAudit trusted Snowflake classification, tags, masking, row access, projection,
join, aggregation, and privacy-policy evidence without reading customer data.
Use when governance enforcement may be missing or ambiguous. Trigger with
"Snowflake governance coverage", "policy precedence", "tag policy gaps",
"classification failure", or "POLICY_CONTEXT verification".
/snowflake-native-app-release-sheriffPreflight Snowflake Native App package releases from trusted, privacy-safe
provider evidence without publishing, upgrading, altering, granting, or
approving anything. Use when reviewing manifest/setup safety, security-scan gates,
version and release-directive validation, App Spec or privilege changes,
upgrade-cohort compatibility, and rollback readiness. Trigger with "Native
App release", "application package scan", "upgrade cohort", or "App Spec".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin snowflake-packOther plugins' skills for the same job