snowflake
Installation
SKILL.md
Snowflake CLI
Operate Snowflake through the official snow CLI. Use the bundled wrapper for common connection, SQL, and object workflows; use the official CLI directly only when the wrapper does not cover a specialized command.
Requirements
- Require Python 3.10 or later for Snowflake CLI.
- Use the bundled wrapper for every operation. Before it runs a Snowflake command, it checks that
snow --helpsucceeds andsnow --versionidentifies Snowflake CLI; reject an unrelated or broken executable with the same name. - If
snowis missing, automatically runuv tool install snowflake-cli. uvis resolved automatically: the wrapper first searches common install locations (~/.local/bin,~/.cargo/bin,/opt/homebrew/bin,${FREVANA_BIN_DIR}, etc.). If missing, it auto-detects the environment and installsuvaccording to official Astral guidelines (PowerShell/winget/scoop on Windows; standalone installerhttps://astral.sh/uv/install.shviacurl/wgeton macOS/Linux, with Homebrew,pip, andcargofallbacks). Manualuvinstallation is only required if all installation methods are unavailable or blocked.- After installation, resolve
snowfromPATHor the uv tool bin directory, symlink it to${FREVANA_BIN_DIR}/snow(~/.frevana/bin/snow), and verify it withsnow --help. - Run
scripts/snowflake.sh checkbefore the first operation to report the installed version. - If
uvcannot be resolved or installed and the executable cannot be found, stop with a clear setup error. Do not silently fall back to systempip.