Snowflake Automation
Automate Snowflake data warehouse operations -- list databases, schemas, and tables, execute SQL statements, and manage data workflows via the Composio MCP integration.
What this skill does
# 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](https://composio.dev/toolkits/snowflake) --- ## Setup 1. Add the Composio MCP server to your client: `https://rube.app/mcp` 2. Connect your Snowflake account when prompted (account credentials or key-pair authentication) 3. 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](https://composio.dev)*
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.