Automated summary
A guided wizard that connects a new dataset (CSV, DuckDB, MotherDuck, PostgreSQL, BigQuery, or Snowflake), tests the connection, profiles the schema, and scaffolds the dataset's knowledge directory.
Strengths
- Walks through connection type, configuration, testing, and profiling step by step with no implicit stages
- Never asks for or stores plaintext passwords and steers users toward environment variables
- Always generates schema.md and the full .knowledge/datasets/{id}/ tree, even when profiling fails
- Handles common edge cases: missing directory, alternative file formats, name collisions, schemas over 100 tables
Limitations
- Assumes the Python helpers (ConnectionManager, schema_to_markdown) and connection templates already exist in the repo
- MotherDuck relies on a pre-configured MCP server and token outside the skill's control
- Deep data profiling is only offered as an option, not run automatically
- Restricted to the six listed source types, with no generic connector
Use it when you need to hook up a new database or folder of files and get an immediately usable schema for analysis.
Skip it when your data source is not one of the six supported types or the helper infrastructure is not in place.
Security analysis
SafeThe skill guides users through connecting data sources and explicitly instructs against storing credentials in plain text, recommending environment variables instead. It does not include destructive commands, exfiltration, or obfuscated payloads. Database connections are for legitimate validation and profiling purposes.
No concerns found
How this analysis is madeExamples
/connect-data type=postgres — connect my local Postgres database and profile its schemaI have a bunch of CSV files in ./data/exports, can you add them as a new dataset?/connect-data — I want to add our Snowflake warehouse as a dataset so I can query itSkill: Connect Data
Purpose
Guided wizard to connect a new dataset. Walks the user through selecting a connection type, configuring credentials, validating the connection, profiling the schema, and setting up the knowledge brain.
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
Instructions
Step 1: Choose Connection Type
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 / Snowflake:
- 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).
Step 3: Create Dataset Brain
- Generate a dataset_id from the display name (lowercase, hyphens)
- 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
Use ConnectionManager from helpers/connection_manager.py:
- Instantiate with the new config
- Call
test_connection() - If fails: show error, offer to retry or edit config
- If passes: proceed
Step 5: Profile Schema
- Call
list_tables()to enumerate tables - For each table: get column names and types via
get_table_schema() - 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?"
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/connect-data-mm5t8c3z/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/connect-data-mm5t8c3z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/connect-data-mm5t8c3z/download' --output '.skill-downloads/connect-data-mm5t8c3z/SKILL.md.part' && mv '.skill-downloads/connect-data-mm5t8c3z/SKILL.md.part' '.skill-downloads/connect-data-mm5t8c3z/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
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual 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/connect-data-mm5t8c3z/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.