Setup Snowflake
ai-analyst-lab/ai-analyst
First-time Snowflake setup wizard for the NATIVE ConnectionManager path (the connection the analyst actually queries through, with auto-logged provenance).
This skill should be used before any Snowflake command to verify MCP connectivity, guide users through access provisioning, and set the session context.
$ npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install openshift-eng/ai-helpers setup-snowflake --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/snowflake/skills/setup-snowflake .claude/skills/setup-snowflake && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "setup-snowflake" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflake into .claude/skills/setup-snowflake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-snowflake", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflakeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install openshift-eng/ai-helpers setup-snowflake --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/snowflake/skills/setup-snowflake .agents/skills/setup-snowflake && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "setup-snowflake" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflake into .agents/skills/setup-snowflake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-snowflake", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install openshift-eng/ai-helpers setup-snowflake --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/snowflake/skills/setup-snowflake .cursor/skills/setup-snowflake && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "setup-snowflake" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflake into .cursor/skills/setup-snowflake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-snowflake", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/openshift-eng/ai-helpers.git --path plugins/snowflake/skills/setup-snowflake--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install openshift-eng/ai-helpers setup-snowflake --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/snowflake/skills/setup-snowflake .gemini/skills/setup-snowflake && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "setup-snowflake" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflake into .gemini/skills/setup-snowflake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-snowflake", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install openshift-eng/ai-helpers setup-snowflakeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/snowflake/skills/setup-snowflake .github/skills/setup-snowflake && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "setup-snowflake" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflake into .github/skills/setup-snowflake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-snowflake", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install openshift-eng/ai-helpers setup-snowflake --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/snowflake/skills/setup-snowflake .opencode/skills/setup-snowflake && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "setup-snowflake" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/snowflake/skills/setup-snowflake into .opencode/skills/setup-snowflake/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "setup-snowflake", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
setup-snowflakeThis skill should be used before any Snowflake command to verify MCP connectivity, guide users through access provisioning, and set the session context.
Setup Snowflake is an agent skill from openshift-eng/ai-helpers. This skill should be used before any Snowflake command to verify MCP connectivity, guide users through access provisioning, and set the session context. Invoke this skill proactively whenever a command needs Snowflake data access.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Data warehousing. It works with Snowflake and Model Context Protocol. The repository describes itself as: Developer productivity tools for Claude Code & other AI assistants. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a627176. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlshdnfbrewFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
astral.shgithub.comAlso links to:
dataverse.pages.redhat.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Setup Snowflake loads about 1.9k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 894 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
curl -LsSf https://astral.sh/uv/install.sh | shure**: Suggest manual installation via `curl -LsSf https://astral.sh/uv/install.sh | sh`Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from openshift-eng/ai-helpers at commit a627176, republished under its Apache-2.0 licence (© openshift-eng). 894 words, ~1,900 tokens.
.claude/skills/setup-snowflake/SKILL.md (or your agent's skills folder).This skill verifies that the Snowflake MCP server is available and can execute queries. If it is not, it performs automated setup -- the user only needs to provide their Snowflake username. This skill should be invoked at the start of every command that needs Snowflake data.
Use this skill automatically at the beginning of any Snowflake-dependent command (e.g., /snowflake:activity-type-report). Do not skip this step -- it ensures the user has a working connection before any queries are attempted.
Attempt to call the Snowflake MCP tool to verify it exists:
mcp__snowflake__execute_sql(query="SELECT CURRENT_USER()")If the tool is available and succeeds, proceed to Step 3.
If the tool is not available (MCP server not configured) or the call fails because the server cannot start, proceed to Step 2.
When the Snowflake MCP server is not available, perform the following sub-steps. Each sub-step is idempotent -- skip it if the expected state already exists.
uvx Is InstalledUse the Bash tool to check if uvx is available:
which uvxIf uvx is not found, tell the user:
The Snowflake MCP server requires
uvx(part of theuvPython package manager). I need to install it.
Then install it (after the user grants permission). Use the appropriate method for the platform:
# Fedora/RHEL
dnf install -y uv
# macOS
brew install uv
# Other
curl -LsSf https://astral.sh/uv/install.sh | shAsk the user for their Snowflake username. It must be in ALL CAPS (e.g., BLEANHAR). Say:
What is your Snowflake username? It should be in ALL CAPS (e.g.,
BLEANHAR).If you don't have Snowflake access yet, follow the instructions at: https://dataverse.pages.redhat.com/data-docs/data-users/
Once you have access, come back and re-run this command.
Wait for the user to provide the username before proceeding. If they indicate they don't have access, stop setup and inform them to re-run the command after obtaining access.
First check if ~/.snowflake/connections.toml already exists with a [rhprod] section containing the correct username. If it does, skip this step.
Otherwise:
mkdir -p ~/.snowflake~/.snowflake/connections.toml (replacing THE_USERNAME with the username from Step 2b):[rhprod]
account = "GDADCLC-RHPROD"
user = "THE_USERNAME"
authenticator = "EXTERNALBROWSER"chmod 0600 ~/.snowflake/connections.tomlCheck if ~/.snowflake/service_config.yaml already exists. If it does with the correct content, skip this step.
Otherwise, use the Write tool to create ~/.snowflake/service_config.yaml:
other_services:
object_manager: true
query_manager: true
sql_statement_permissions:
- all: trueRead ~/.claude.json and check whether mcpServers.snowflake already exists with the correct configuration (including --service-config-file). If it already matches, skip this step.
Otherwise, use the Edit tool to add or update the mcpServers.snowflake entry in ~/.claude.json. The entry should be:
{
"type": "stdio",
"command": "uvx",
"args": [
"--from", "git+https://github.com/Snowflake-Labs/mcp",
"mcp-server-snowflake",
"--connection-name", "rhprod",
"--service-config-file", "~/.snowflake/service_config.yaml"
],
"env": {}
}If mcpServers does not exist as a top-level key in ~/.claude.json, create it. If it exists but does not contain snowflake, add the snowflake key. If snowflake exists but has incorrect or outdated configuration (e.g., missing --service-config-file), update it.
Important: Preserve all other existing content in ~/.claude.json. Only add or modify the mcpServers.snowflake key.
After completing steps 2a-2e, tell the user:
Snowflake MCP server has been configured. You need to restart Claude Code for the new MCP server to be loaded.
After restarting, re-run your command and setup will complete automatically (browser-based SSO will open for authentication on first connect).
Then stop the current command and inform the user why. Do not attempt to proceed to Step 3 -- the MCP server will not be available until Claude Code restarts.
Once the MCP tool is confirmed available, set the database, schema, and role for the session:
mcp__snowflake__execute_sql(query="USE ROLE PUBLIC")
mcp__snowflake__execute_sql(query="USE DATABASE JIRA_DB")
mcp__snowflake__execute_sql(query="USE SCHEMA CLOUDRHAI_MARTS")If any of these fail (e.g., role not granted), inform the user:
Your Snowflake account does not have the
PUBLICrole. Please request access through the access provisioning process at:
Run a quick verification query to confirm the user can read from the expected views:
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.VIEWS
WHERE TABLE_SCHEMA = 'CLOUDRHAI_MARTS'
ORDER BY TABLE_NAME
LIMIT 5If this returns results, the connection is verified. Report success and return the list of available views for diagnostic purposes.
If this returns an error or zero rows, warn the user that the schema may not be accessible with their current role.
Note: CLOUDRHAI_MARTS exposes views, not base tables. SHOW TABLES will return nothing — use SHOW VIEWS or query INFORMATION_SCHEMA.VIEWS as above.
snowsql -a GDADCLC-RHPROD -u YOUR_USERNAME --authenticator externalbrowser to refresh browser-based auth, then retryuvx install failure: Suggest manual installation via curl -LsSf https://astral.sh/uv/install.sh | sh~/.claude.json parse error: If the file contains invalid JSON, warn the user and do not attempt to modify it. Ask them to fix it manually.EXTERNALBROWSER authenticator triggers a browser-based SSO flow. This works in local development environments but may not work in headless CI containers.--service-config-file argument is required for the Snowflake MCP server to enable the query manager and object manager services. Without it, the server fails to start.connections.toml file must have 0600 permissions or the Snowflake connector will emit warnings.© openshift-eng, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/snowflake/skills/setup-snowflake of openshift-eng/ai-helpers.
Open the folder on GitHubat commit a627176
Setup Snowflake next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Setup Snowflake this skillopenshift-eng/ai-helpers | 120 | — | ~1.9k | Automated safety check: Notes | Apache-2.0 | |
| Setup Snowflakeai-analyst-lab/ai-analyst | 304 | — | ~2k | Automated safety check: Notes | MIT | |
| Migrating To Amazon Redshiftaws/agent-toolkit-for-aws | 2.8k | — | ~2.7k | Automated safety check: Notes | Apache-2.0 | |
| Agent BomLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.4k | Automated safety check: Pass | Apache-2.0 | |
| Clickhouse Best Practicesvemetric/vemetric | 394 | 2 repos | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Webapp Buildersidequery/sidemantic | 129 | — | ~5.5k | Automated safety check: Pass | AGPL-3.0 |
ai-analyst-lab/ai-analyst
First-time Snowflake setup wizard for the NATIVE ConnectionManager path (the connection the analyst actually queries through, with auto-logged provenance).
aws/agent-toolkit-for-aws
Guides an end-to-end data-warehouse migration to Amazon Redshift — discovery, schema/SQL/stored-procedure/macro/script conversion, data migration, validation, performance comparison, and reporting.
LeoYeAI/openclaw-master-skills
Open security platform for agentic infrastructure — broad scanning plus MCP discovery, CVEs, blast radius, SBOMs, CIS benchmarks (AWS, Azure, GCP, Snowflake), OWASP/NIST/MITRE compliance, AISVS…
vemetric/vemetric
MUST USE when reviewing ClickHouse schemas, queries, or configurations.
sidequery/sidemantic
Build interactive analytics webapps, demos, dashboards, or embedded app surfaces from Sidemantic semantic models using copyable component primitives and deterministic query inspection.
dbt-labs/ade-bench
A skill your agent uses when authoring or debugging ade-bench tasks that must run on both DuckDB and Snowflake, including shared project migrations, setup patches, and solution patches
openshift-eng/ai-helpers
Find and independently validate actionable reliability defects across OpenShift release jobs and presubmits, then export portable issue handoffs.
openshift-eng/ai-helpers
Fetch and address all PR review comments — categorize by priority, make code changes, post replies, and push.
openshift-eng/ai-helpers
Categorize Jira issues into Red Hat Sankey Activity Type categories using MCP Jira tools.
openshift-eng/ai-helpers
Decide whether a GitHub PR has unanswered authorized review comments or new required CI failures worth a follow-up agent.
openshift-eng/ai-helpers
Analyze OpenShift must-gather diagnostic data including cluster operators, pods, nodes, and network components.
openshift-eng/ai-helpers
Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file
Works with
Categories
This skill should be used before any Snowflake command to verify MCP connectivity, guide users through access provisioning, and set the session context. Setup Snowflake is an agent skill from openshift-eng/ai-helpers. This skill should be used before any Snowflake command to verify MCP connectivity, guide users through access provisioning, and set the session context.
Setup Snowflake fits situations like: tasks that involve Data warehousing.
Run `npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a claude-code`. Or copy the skill folder (plugins/snowflake/skills/setup-snowflake in openshift-eng/ai-helpers) into .claude/skills/setup-snowflake in your project. Claude Code loads it when a task matches its description.
Run `npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a codex`. Or copy the skill folder (plugins/snowflake/skills/setup-snowflake in openshift-eng/ai-helpers) into .agents/skills/setup-snowflake in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openshift-eng/ai-helpers --skill setup-snowflake -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-snowflake, .gemini/skills/setup-snowflake, .github/skills/setup-snowflake and .opencode/skills/setup-snowflake in your project.
Going by SKILL.md and its folder, Setup Snowflake needs the command-line tools its instructions call (curl, sh, dnf and brew). Our summary lists: Python 3.
SKILL.md names 3 domains. In commands or code: astral.sh and github.com; the agent is likely to contact these when it follows the instructions. As links in the text: dataverse.pages.redhat.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pipes a well-known installer script into a shell), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Setup Snowflake is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Setup Snowflake: Setup Snowflake (ai-analyst-lab/ai-analyst, 304 stars), Migrating To Amazon Redshift (aws/agent-toolkit-for-aws, 2.8k stars), Agent Bom (LeoYeAI/openclaw-master-skills, 2.2k stars) and Clickhouse Best Practices (vemetric/vemetric, 394 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
openshift-eng (a GitHub organization) maintains it in openshift-eng/ai-helpers, which has 120 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on October 6, 2026.
Source: openshift-eng/ai-helpers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.