Skip to content
Development
Skill

/snowflake-pipelines

Monitor and manage Snowflake data pipelines — Dynamic Tables, streams, tasks, dbt projects, and Snowpipe. Check refresh status, diagnose failures, and inspect pipeline dependencies.

From plugin
snowflake-ai-kit
4310 skills

Claude Code

$ npx -y skills add Snowflake-Labs/snowflake-ai-kit --skill snowflake-pipelines --agent claude-code

SKILL.md

snowflake-pipelines.SKILL.md
name: snowflake-pipelines
description: >-
  Monitor and manage Snowflake data pipelines — Dynamic Tables, streams,
  tasks, dbt projects, and Snowpipe. Check refresh status, diagnose
  failures, and inspect pipeline dependencies.

Snowflake Pipelines

Monitor and manage data pipelines in Snowflake.

When to use

  • User asks about pipeline status, refresh failures, or data freshness
  • User wants to check dynamic table health or target lag
  • User asks about streams, tasks, dbt models, or Snowpipe
  • User says "why is my data stale" or "what's failing"

Dynamic Tables

Dynamic Tables are Snowflake's declarative pipeline primitive — SQL defines the transform, Snowflake manages refresh.

**List dynamic tables:**

SHOW DYNAMIC TABLES IN ACCOUNT;

**Check refresh status and lag:**

SHOW DYNAMIC TABLES LIKE '%my_table%';
-- Key columns: SCHEDULING_STATE, REFRESH_MODE, TARGET_LAG, DATA_TIMESTAMP

**Refresh history (find failures):**

SELECT name, state, refresh_trigger, refresh_end_time, statistics
FROM TABLE(INFORMATION_SCHEMA.DYNAMIC_TABLE_REFRESH_HISTORY())
WHERE state = 'FAILED'
ORDER BY refresh_end_time DESC
LIMIT 20;

**Diagnose UPSTREAM_FAILED:** A dynamic table fails with UPSTREAM_FAILED when a dependency failed. Check the upstream table's refresh history to find the root cause.

Streams (change data capture)

-- List streams
SHOW STREAMS IN SCHEMA my_db.my_schema;

-- Check for pending changes
SELECT SYSTEM$STREAM_HAS_DATA('my_db.my_schema.my_stream');

Tasks (scheduled execution)

-- List tasks
SHOW TASKS IN SCHEMA my_db.my_schema;

-- Task execution history (last 24 hours)
SELECT name, state, error_message, scheduled_time, completed_time
FROM TABLE(INFORMATION_SCHEMA.TASK_HISTORY(
  SCHEDULED_TIME_RANGE_START => DATEADD(hour, -24, CURRENT_TIMESTAMP())
))
ORDER BY scheduled_time DESC
LIMIT 20;

dbt on Snowflake

-- List deployed dbt projects (if using snow dbt deploy)
SHOW DBT PROJECTS IN ACCOUNT;

-- Describe a deployed project
DESCRIBE DBT PROJECT my_db.my_schema.my_project;

dbt models typically materialize as tables, views, or dynamic tables. Check the target schema for the materialized objects.

Snowpipe (continuous ingestion)

-- List pipes
SHOW PIPES IN SCHEMA my_db.my_schema;

-- Check pipe status
SELECT SYSTEM$PIPE_STATUS('my_db.my_schema.my_pipe');

-- Recent copy history
SELECT * FROM TABLE(INFORMATION_SCHEMA.COPY_HISTORY(
  TABLE_NAME => 'my_table',
  START_TIME => DATEADD(hour, -24, CURRENT_TIMESTAMP())
))
ORDER BY LAST_LOAD_TIME DESC
LIMIT 20;

Diagnosis checklist

1. **Data is stale** → Check dynamic table `DATA_TIMESTAMP` or refresh history 2. **Pipeline failed** → Check `DYNAMIC_TABLE_REFRESH_HISTORY()` for state=FAILED 3. **UPSTREAM_FAILED** → Trace upstream dependencies, fix the root failure first 4. **Task not running** → Check if task is suspended (`SHOW TASKS`), check `TASK_HISTORY()` 5. **Snowpipe not loading** → Check `SYSTEM$PIPE_STATUS`, verify stage files and notifications

Read more
@snowflake-labs
Ships withsnowflake-ai-kit

Connect your AI coding agent to Snowflake. Plugins for Claude Code and OpenAI Codex that automatically detect Snowflake prompts and route them to Cortex Code — where 55+ built-in skills handle SQL, data governance, dynamic tables, ML, and more.

Stars on GitHub

Momentum

stars in total
43
Star history of Snowflake-Labs/snowflake-ai-kit on GitHub, a chart by star-history.com

Other skills on snowflake-ai-kit.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about snowflake-pipelines.

Which coding agents can use snowflake-pipelines?
snowflake-pipelines installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.