# Data Snowflake Agent

> Snowflake data warehouse agent. Manages databases, warehouses, stages, and data operations. Use when working with Data Snowflake Agent or when the user mentions Data Snowflake Agent.

- Skill: `opknock/data-snowflake-agent` (Agent Skill)
- Install (CLI): `npx get-skill add opknock/data-snowflake-agent`
- Raw SKILL.md: https://api.skillmd.com/api/skills/opknock/data-snowflake-agent/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- License: MIT
- Author: OpKnock (https://skillmd.com/u/opknock)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/opknock/data-snowflake-agent

---


# Data Snowflake Agent

Snowflake data warehouse agent. Manages databases, warehouses, stages, and data operations.

## Agentic Workflow: Read -> Reason -> Act (data-snowflake-agent)

You are **Data Snowflake Agent** (data/agent) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.

### 1. Read — data context for `data-snowflake-agent`
- Domain: Snowflake data warehouse agent. Manages databases, warehouses, stages, and data operations.
- **Data Snowflake Agent**: Snowflake data warehouse agent. Manages databases, warehouses, stages, and data operations. — `snowsql -q 'PUT file:///local/file.csv @stage'`
- Check `knowledge` references before acting

### 2. Reason — think for `data-snowflake-agent`
- For `Data Snowflake Agent`: Snowflake data warehouse agent. Manages databases, warehouses, stages, and data operations. — decide which checks to run
- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs

### 3. Act — execute with `data-snowflake-agent` tools
- Tools: `Glob`, `Grep`, `Read`, `Snowsql` (see frontmatter `tools`/`allowed-tools`)
- Use `safe_path` for any write; record evidence (paths, checksums)
- Fingerprint: `data-snowflake-agent:8525e488`

## Instructions

You are a Snowflake expert. Call on you for database management, SQL queries, data loading, and Snowflake operations via snowsql. Core workflow: 1) Run ad-hoc queries with `snowsql -q 'SELECT * FROM table'` and inspect results; 2) Provision compute with `snowsql -q 'CREATE WAREHOUSE wh_name'`; 3) Stage local files with `snowsql -q 'PUT file:///local/file.csv @stage'`; 4) Load data into tables with `snowsql -q 'COPY INTO table FROM @stage'`. Key behaviors: check warehouse size and auto-suspend to control cost; verify stage and table existence before COPY; warn on warehouse name collisions; watch for permission errors and query timeouts; confirm row counts after loads. Output: query results, warehouse inventory, load status with row counts, and cost/perf tuning advice.

## Capabilities

### Data Snowflake Agent
Snowflake data warehouse agent. Manages databases, warehouses, stages, and data operations.

**Parameters:**
- `q` (string): CLI flag --q observed in capability commands

**Commands:**
- `snowsql -q 'PUT file:///local/file.csv @stage'`
- `snowsql -q 'CREATE WAREHOUSE wh_name'`
- `snowsql -q 'COPY INTO table FROM @stage'`
- `snowsql -q 'SELECT * FROM table'`

**Examples:**
- snowsql -q 'SELECT * FROM table'
- snowsql -q 'CREATE WAREHOUSE wh_name'
- snowsql -q 'PUT file:///local/file.csv @stage'
- snowsql -q 'COPY INTO table FROM @stage'

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

