snowflake

Snowflake cloud data warehouse with data sharing. Use for cloud analytics.

7 stars

Best use case

snowflake is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Snowflake cloud data warehouse with data sharing. Use for cloud analytics.

Teams using snowflake should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/snowflake/SKILL.md --create-dirs "https://raw.githubusercontent.com/G1Joshi/Agent-Skills/main/skills/databases/snowflake/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/snowflake/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How snowflake Compares

Feature / AgentsnowflakeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Snowflake cloud data warehouse with data sharing. Use for cloud analytics.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Snowflake

Snowflake is a cloud-native data warehouse. It separates compute ("Virtual Warehouses") from storage, allowing them to scale independently.

## When to Use

- **Data Warehousing**: Central repository for all business data.
- **ELT Workflows**: Load raw data (JSON/CSV) then Transform it via SQL.
- **Data Sharing**: Securely share live data tables with other companies/accounts without copying.

## Quick Start (SQL)

```sql
-- Create warehouse (Compute)
CREATE WAREHOUSE my_wh WITH WAREHOUSE_SIZE = 'X-SMALL';

-- Query JSON directly (Variant type)
SELECT src:sales.order_id::integer
FROM raw_data;
```

## Core Concepts

### Virtual Warehouses

Compute clusters. You can have an XS warehouse for reporting and a 4XL warehouse for heavy ML training running simultaneously on the same data.

### Zero-Copy Cloning

Clone a Multi-Terabyte database in seconds for testing. It points to the same underlying S3 objects until changed.

### Snowpark

Allows writing code in Python/Java/Scala that executes inside Snowflake (for ML/Data Engineering).

## Best Practices (2025)

**Do**:

- **Use auto-suspend**: Shut down warehouses after X minutes of idleness to save money.
- **Use Variant Type**: Load semi-structured data (JSON) as-is into `VARIANT` columns, then parse on read.
- **Use Clustering Keys**: For very large tables (>1TB), manual clustering improves query skipping.

**Don't**:

- **Don't use `INSERT INTO ... VALUES`**: For bulk loading, use `COPY INTO` from S3/Stage. It is much faster.

## References

- [Snowflake Documentation](https://docs.snowflake.com/)