Snowflake Automation
하는 일
Snowflake 데이터베이스와 상호작용하도록 돕는 도구입니다. 어떤 데이터베이스, 스키마, 테이블이 있는지 보고, SQL 명령을 실행하며, 데이터 작업 흐름을 관리할 수 있습니다.
사용하는 경우
- ✓사용할 수 있는 모든 데이터베이스를 보고 싶을 때.
- ✓스키마에서 특정 테이블을 찾아야 할 때.
- ✓데이터를 조회하거나 수정하려고 SQL 명령을 실행하고 싶은 경우.
스킬 링크
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/snowflake-automation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“'my_database' 데이터베이스의 'public' 스키마에 있는 모든 테이블을 나열해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Composio라는 도구를 통해 Snowflake 계정에 연결합니다. 그다음 데이터베이스, 스키마, 테이블 목록을 요청하거나 직접 작성한 SQL 명령을 실행하도록 할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Snowflake Automation
Automate your Snowflake data warehouse workflows -- discover databases, browse schemas and tables, execute arbitrary SQL (SELECT, DDL, DML), and integrate Snowflake data operations into cross-app pipelines.
Toolkit docs: composio.dev/toolkits/snowflake
Setup
- Add the Composio MCP server to your client:
https://rube.app/mcp - Connect your Snowflake account when prompted (account credentials or key-pair authentication)
- Start using the workflows below
Core Workflows
1. List Databases
Use SNOWFLAKE_SHOW_DATABASES to discover available databases with optional filtering and Time Travel support.
Tool: SNOWFLAKE_SHOW_DATABASES
Inputs:
- like_pattern: string (SQL wildcard, e.g., "%test%") -- case-insensitive
- starts_with: string (e.g., "PROD") -- case-sensitive
- limit: integer (max 10000)
- history: boolean (include dropped databases within Time Travel retention)
- terse: boolean (return subset of columns: created_on, name, kind, database_name, schema_name)
- role: string (role to use for execution)
- warehouse: string (optional, not required for SHOW DATABASES)
- timeout: integer (seconds)
2. Browse Schemas
Use SNOWFLAKE_SHOW_SCHEMAS to list schemas within a database or across the account.
Tool: SNOWFLAKE_SHOW_SCHEMAS
Inputs:
- database: string (database context)
- in_scope: "ACCOUNT" | "DATABASE" | "<specific_database_name>"
- like_pattern: string (SQL wildcard filter)
- starts_with: string (case-sensitive prefix)
- limit: integer (max 10000)
- history: boolean (include dropped schemas)
- terse: boolean (subset columns only)
- role, warehouse, timeout: string/integer (optional)
3. List Tables
Use SNOWFLAKE_SHOW_TABLES to discover tables with metadata including row counts, sizes, and clustering keys.
Tool: SNOWFLAKE_SHOW_TABLES
Inputs:
- database: string (database context)
- schema: string (schema context)
- in_scope: "ACCOUNT" | "DATABASE" | "SCHEMA" | "<specific_name>"
- like_pattern: string (e.g., "%customer%")
- starts_with: string (e.g., "FACT", "DIM", "TEMP")
- limit: integer (max 10000)
- history: boolean (include dropped tables)
- terse: boolean (subset columns only)
- role, warehouse, timeout: string/integer (optional)
4. Execute SQL Statements
Use SNOWFLAKE_EXECUTE_SQL for SELECT queries, DDL (CREATE/ALTER/DROP), and DML (INSERT/UPDATE/DELETE) with parameterized bindings.
Tool: SNOWFLAKE_EXECUTE_SQL
Inputs:
- statement: string (required) -- SQL statement(s), semicolon-separated for multi-statement
- database: string (case-sensitive, falls back to DEFAULT_NAMESPACE)
- schema_name: string (case-sensitive)
- warehouse: string (case-sensitive, required for compute-bound queries)
- role: string (case-sensitive, falls back to DEFAULT_ROLE)
- bindings: object (parameterized query values to prevent SQL injection)
- parameters: object (Snowflake session-level parameters)
- timeout: integer (seconds; 0 = max 604800s)
Examples:
"SELECT * FROM my_table LIMIT 100;""CREATE TABLE test (id INT, name STRING);""ALTER SESSION SET QUERY_TAG='mytag'; SELECT COUNT(*) FROM my_table;"
Known Pitfalls
| Pitfall | Detail |
|---|---|
| Case sensitivity | Database, schema, warehouse, and role names are case-sensitive in SNOWFLAKE_EXECUTE_SQL. |
| Warehouse required for compute | SELECT and DML queries require a running warehouse. SHOW commands do not. |
| Multi-statement execution | Multiple statements separated by semicolons execute in sequence automatically. |
| SQL injection prevention | Always use the bindings parameter for user-supplied values to prevent injection attacks. |
| Pagination with LIMIT | SHOW commands support limit (max 10000) and from_name for cursor-based pagination. |
| Time Travel | Set history: true to include dropped objects still within the retention period. |
Quick Reference
| Tool Slug | Description |
|---|---|
SNOWFLAKE_SHOW_DATABASES |
List databases with filtering and Time Travel support |
SNOWFLAKE_SHOW_SCHEMAS |
List schemas within a database or account-wide |
SNOWFLAKE_SHOW_TABLES |
List tables with metadata (row count, size, clustering) |
SNOWFLAKE_EXECUTE_SQL |
Execute SQL: SELECT, DDL, DML with parameterized bindings |
Powered by Composio
자주 묻는 질문
Snowflake가 무엇인가요?
클라우드 기반의 데이터 저장 및 처리 서비스입니다. 정보를 담아 두는 거대한 디지털 창고와 같습니다.
데이터베이스, 스키마, 테이블은 무엇인가요?
데이터베이스는 큰 캐비닛, 스키마는 그 캐비닛 안의 서랍, 테이블은 그 서랍 안의 파일이라고 생각하면 됩니다. 데이터를 정리하는 구조입니다.
SQL이 무엇인가요?
데이터베이스와 소통하는 언어입니다. 데이터를 조회하거나 추가하고, 기존 데이터를 바꾸는 등의 요청을 할 때 사용합니다.
상세 정보
작성자의 원본 설명
Automate Snowflake data warehouse operations -- list databases, schemas, and tables, execute SQL statements, and manage data workflows via the Composio MCP integration.
인기도
- GitHub 스타
- 77k
- 순위
- #2453
- 라이선스
- —
- 업데이트
- 2026. 9. 18.
댓글
- …
이 저장소의 다른 스킬
artifacts-builder
77k복잡한 사용자 인터페이스를 만들도록 에이전트를 돕습니다. 현대 기술을 사용해 풍부하고 상호작용이 있는 웹 페이지를 만듭니다.
brand-guidelines
77k공식 브랜드 색상과 글꼴을 자료에 적용하도록 에이전트를 돕습니다. 회사의 모습을 따라야 하는 자료의 시각 정체성을 유지하는 데 유용합니다.
canvas-design
77k.png와 .pdf 형식의 독창적인 시각 예술 작품을 만들도록 에이전트를 돕습니다. 포스터, 예술 작품, 기타 정적 디자인을 요청할 때 사용하세요.
changelog-generator
77k코드 커밋으로부터 사용자에게 보이는 출시 노트를 만들도록 에이전트를 돕습니다. 기술 정보를 이해하기 쉬운 글로 바꿉니다.