Automated summary
An interactive wizard that walks the user through connecting a new dataset (CSV, DuckDB, MotherDuck, PostgreSQL, BigQuery, Snowflake) to the AI Analyst system, validating the connection and generating the dataset manifest.
Strengths
- Supports six source types, from local CSV files to cloud warehouses like BigQuery and Snowflake
- Actually performs the steps — creating files, testing connectivity, profiling schema — rather than only producing documentation
- Derives a normalized dataset id and scaffolds .knowledge/datasets/{id}/ with a manifest.yaml
- Steers users toward environment variables instead of asking for or storing plaintext passwords
Limitations
- Snowflake setup is handed off to a separate /setup-snowflake wizard rather than completed here
- MotherDuck assumes an MCP token already configured outside the wizard's control
- Does not address access roles, credential rotation, or permission auditing
Use it whenever a user wants to add a new data source or connect a database for analysis and no dataset has been set up yet.
Skip it when the dataset is already connected and the user only needs to switch to it via /switch-dataset or adjust an existing connection.
Security analysis
SafeThe skill is a legitimate interactive setup wizard for connecting datasets. It creates local knowledge files, validates database connections, and profiles schemas. It explicitly avoids storing passwords in plain text and directs users to environment variables. No destructive commands, obfuscated payloads, secret exfiltration, or safety-disabling instructions are present.
No concerns found
How this analysis is madeExamples
/connect-data type=postgres — I want to hook up our production Postgres replica for analysis.I have a folder of CSV exports at ./data/sales-2024 — add it as a new dataset I can analyze.Can you connect to my BigQuery dataset so I can start querying it?name: connect-data description: | Guided wizard to connect a new dataset to the AI Analyst system. Use this skill whenever the user wants to add a new data source, connect a database, set up data access, or configure a new dataset for analysis. This skill handles the full connection workflow: choosing connection type (CSV, DuckDB, MotherDuck, PostgreSQL, BigQuery, Snowflake), collecting credentials, validating connectivity, profiling schema, and setting up the knowledge brain. Trigger this skill when users say things like "/connect-data", "connect my database", "add a new dataset", "set up my data", "I have a database I want to analyze", "can you connect to my Postgres/BigQuery/Snowflake", "I need to add CSV files", "how do I get my data into this system", or "connect to my warehouse". Also trigger after first-run welcome when users need to set up their first dataset, or after /switch-dataset when the target dataset doesn't exist yet. This is the primary entry point for all new data connections — always offer this when users mention having data they want to analyze but haven't connected yet.
Skill: Connect Data
Purpose
This is an interactive setup wizard, not a documentation generator. Guide the user through the actual connection process by executing each step, creating files, testing connectivity, and setting up the knowledge system. Do not just explain what would happen — make it happen.
When to Use
- User says
/connect-dataor "connect my database" or "add a new dataset" - First-run welcome suggests connecting data
- After
/switch-datasetwhen the target dataset doesn't exist yet
Invocation
/connect-data — start the connection wizard
/connect-data type=postgres — skip type selection and go directly to Step 2
Parameter Handling: If the user provides type={connection_type} (e.g., type=bigquery, type=postgres), SKIP Step 1 entirely and proceed directly to Step 2 with that connection type already selected.
Instructions
Step 1: Choose Connection Type
Skip this step if type parameter was provided in the invocation.
Present options:
- CSV files — "I have CSV files in a local directory"
- DuckDB — "I have a local DuckDB database file"
- MotherDuck — "I have a MotherDuck cloud database"
- PostgreSQL — "I have a PostgreSQL database"
- BigQuery — "I have a Google BigQuery dataset"
- Snowflake — "I have a Snowflake warehouse"
Step 2: Collect Connection Details
For CSV:
- Ask: "What's the path to your CSV directory? (relative to this repo)"
- Verify the directory exists and contains .csv files
- List found files and ask to confirm
For DuckDB:
- Ask: "Path to your .duckdb file?"
- Verify file exists
- Test connection with
SELECT 1
For MotherDuck:
- Ask: "Database name and schema?"
- Note: "MotherDuck connects via MCP. Make sure your token is configured."
For PostgreSQL / BigQuery:
- Copy the appropriate template from
connection_templates/ - Ask user to fill in required fields
- IMPORTANT: Never ask for or store passwords directly. Guide the user
to use environment variables (e.g.,
$PG_PASSWORD).
For Snowflake:
- Route to the dedicated setup wizard: "Run
/setup-snowflakefor guided Snowflake setup — it'll configure your credentials, test the MCP connection, and explore your data." - If
.envalready hasSNOWFLAKE_ACCOUNT,SNOWFLAKE_USER, andSNOWFLAKE_PASSWORD, skip the wizard and use the Snowflake MCPrun_snowflake_querytool directly for testing and schema profiling.
Step 3: Create Dataset Brain
- Generate a dataset_id from the display name using lowercase letters with hyphens (NOT underscores).
- Example: "Production Analytics" →
production-analytics - Example: "GA4 Event Data" →
ga4-event-data - Example: "Sales Database" →
sales-database
- Example: "Production Analytics" →
- Create
.knowledge/datasets/{id}/directory - Write
manifest.yamlfrom the connection template + user inputs - Create empty
quirks.mdwith section headers - Create empty
metrics/index.yaml
Step 4: Test Connection
You MUST use ConnectionManager — do not write custom connection scripts.
Use ConnectionManager from helpers/connection_manager.py:
- Instantiate with the new config:
from helpers.connection_manager import ConnectionManager config = {"type": connection_type, "dataset_id": dataset_id, ...} mgr = ConnectionManager(config=config) - Call
test_connection():result = mgr.test_connection() - If fails: show error, offer to retry or edit config
- If passes: proceed to schema profiling
Why ConnectionManager? It handles connection pooling, error handling, and provides a consistent interface across all warehouse types (CSV, DuckDB, Postgres, BigQuery, Snowflake). Do not bypass it with psycopg2, pandas, or warehouse-specific clients.
Step 5: Profile Schema
Use ConnectionManager methods — do not write raw SQL for schema introspection.
- Call
mgr.list_tables()to enumerate tables - For each table: get column names and types via
mgr.get_table_schema(table_name) - Generate
schema.mdusingschema_to_markdown()fromhelpers/data_helpers.py - Write to
.knowledge/datasets/{id}/schema.md - Offer to run full data profiling: "Want me to deep-profile this dataset?"
Why? ConnectionManager abstracts away warehouse-specific schema queries (INFORMATION_SCHEMA for Postgres/BigQuery, PRAGMA for DuckDB, pandas for CSV).
Step 6: Set Active
- Update
.knowledge/active.yamlto point to the new dataset - Confirm: "Connected! {display_name} is now your active dataset."
- Show: table count, estimated row count, date range (if detected)
- Suggest next steps:
/exploreto browse,/metricsto define metrics, or just ask a question
Rules
- Never store credentials in plain text in manifest files
- Always test the connection before declaring success
- Always generate a schema.md — it's required for analysis
- Create the full .knowledge/datasets/{id}/ tree even if profiling fails
- If the user already has this dataset, ask before overwriting
Edge Cases
- Directory doesn't exist: Offer to create it
- No CSV files found: Check for other formats (.parquet, .json)
- Connection fails repeatedly: Suggest checking credentials, firewall, VPN
- Schema too large (>100 tables): Profile only, skip per-table details
- Dataset name collision: Append a number (e.g., "mydata-2")
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/data-connection-wizard-mrwakceb/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/data-connection-wizard-mrwakceb' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/data-connection-wizard-mrwakceb/download' --output '.skill-downloads/data-connection-wizard-mrwakceb/SKILL.md.part' && mv '.skill-downloads/data-connection-wizard-mrwakceb/SKILL.md.part' '.skill-downloads/data-connection-wizard-mrwakceb/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/data-connection-wizard-mrwakceb/SKILL.md' && test -s '.skill-downloads/data-connection-wizard-mrwakceb/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/connect-data' && cp -R '.skill-downloads/data-connection-wizard-mrwakceb' '.claude/skills/connect-data'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/data-connection-wizard-mrwakceb'openskills read 'data-connection-wizard-mrwakceb'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/data-connection-wizard-mrwakceb/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.