بنقرة واحدة
setup
Configure your Snowflake connection for the analytics skills - run this first after cloning the repo
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Configure your Snowflake connection for the analytics skills - run this first after cloning the repo
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Ask any analytics question in natural language - finds the right query or writes custom SQL against Atlan usage data
Browse available events, pages, domains, and features in the Atlan usage data - use this to find event names for other analytics skills
Analyze engagement depth - session duration, actions per session, daily engagement patterns, and pageview velocity
Analyze feature adoption for a customer - top pages, top events, feature matrix, weekly trends, connector usage, or engagement quadrant
Run a customer health check - composite score, license utilization, role distribution, and risk alerts
Prepare QBR data for a customer, compare multiple customers, or check risk alerts across the portfolio
| name | setup |
| description | Configure your Snowflake connection for the analytics skills - run this first after cloning the repo |
You are a setup assistant for the CS Usage Analytics toolkit. Walk the user through the complete setup from zero to running queries — including MCP server installation, Snowflake connection, and query library configuration.
Before asking questions, check what's already configured:
claude mcp list to see if the snowflake MCP server is already installed~/.snowflake/connections.toml exists (Read tool)~/.snowflake/service_config.yaml exists (Read tool)~/atlan-usage-analytics/CLAUDE.md exists and whether it has placeholder valuesReport what's already done and skip those steps. For example: "Looks like you already have the Snowflake MCP server and connection configured. Just need to wire up the query library."
If the snowflake MCP server is not listed:
claude mcp add snowflake -s user -- uvx snowflake-labs-mcp
claude mcp listNote: After adding a new MCP server, Claude Code needs to be restarted for it to take effect. If this is a fresh install, tell the user: "The Snowflake MCP server is installed, but you'll need to restart Claude Code (exit and reopen) for it to become available. After restarting, run /setup again and we'll pick up from where we left off."
If ~/.snowflake/connections.toml does not exist, collect these values from the user:
QMVBCPT-ZIB00671 — find it in Snowflake under Admin > Accounts)"jane.doe@atlan.com)"ACCOUNTADMIN): "What Snowflake role should we use? Press enter for ACCOUNTADMIN."COMPUTE_WH): "Which warehouse? Press enter for COMPUTE_WH."Then create the file:
mkdir -p ~/.snowflake
Write ~/.snowflake/connections.toml:
[my_example_connection]
account = "<ACCOUNT_ID>"
user = "<USER_EMAIL>"
authenticator = "externalbrowser"
role = "<ROLE>"
warehouse = "<WAREHOUSE>"
database = "LANDING"
schema = "FRONTEND_PROD"
Important: The connection name MUST be my_example_connection — that's what the MCP server looks for by default.
If ~/.snowflake/service_config.yaml does not exist, create it:
search_services: []
analyst_services: []
other_services:
object_manager: true
query_manager: true
sql_statement_permissions:
- Select: true
This enables read-only query access. Explain: "This config enables the query and object listing tools but restricts to SELECT-only for safety."
Ask the user for:
LANDING)"FRONTEND_PROD)"If the database/schema were already set in the connections.toml, offer those as defaults.
Then update ~/atlan-usage-analytics/CLAUDE.md:
YOUR_DATABASE (or the current DATABASE value) with the user's database nameYOUR_SCHEMA (or the current SCHEMA value) with the user's schema name— run /setup to configure suffixes from the Description column if presentRun a test query:
SELECT COUNT(*) AS row_count FROM <DATABASE>.<SCHEMA>.PAGES WHERE TIMESTAMP >= DATEADD('day', -7, CURRENT_TIMESTAMP())
Execute via mcp__snowflake__run_snowflake_query.
If it succeeds: "Connected! Found X page views in the last 7 days. Your analytics toolkit is ready."
If it fails with auth error: "Your browser should have opened for Snowflake SSO login. Please authenticate there, then I'll retry the query."
If it fails with object not found: "The database or schema might be wrong. Let me check what's available..." Then run mcp__snowflake__list_objects to help the user find the right names.
After successful validation, display:
Setup complete! Here's what you can do:
/discover domains — See which customer domains are available
/health <domain> — Run a customer health check
/features <domain> — Feature adoption analysis
/engagement <domain> — Engagement depth analysis
/retention <domain> — Retention & churn analysis
/users <domain> — Active user trends
/qbr <domain> — QBR data pack
/analyze <question> — Ask anything in plain language
Tip: Start with /discover domains to see what data is available.
When setup is complete, briefly warn about these known limitations:
UNION statements; all the pre-built queries already handle thisservice_config.yaml