Skip to content
Skillpedia
Databases18k Β· #10728

onboarding

What it does

This skill walks through installing Wren Engine, creating a project, connecting a data source through a profile and running the first query. It is for new users who want to connect their database to Wren.

When to use it

  • βœ“When you want to install Wren Engine and set it up for the first time.
  • βœ“When you need to connect a new database to an existing Wren setup.
  • βœ“When you want to try the bundled demo project and see a first query work.

Skill link

https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/onboarding/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œHelp me install Wren Engine, connect it to our MySQL database, and run a first query to make sure it works.”

5 new skills a week. 1 minute to read.

How it works

The skill moves through one step at a time: check the environment, install the command line, add a connection profile through environment settings and test the project with a query.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Wren Onboarding β€” Agent Workflow

This skill walks the agent through onboarding β€” environment checks, project scaffolding, profile creation, MDL generation, and first query. Procedural details, per-datasource setup notes, and the troubleshooting playbook live in the docs, not here. The skill's job is to enforce the agent-side rules (one step per turn, never ask for credentials in chat) and to dispatch the agent to the right doc / sibling skill at each step.

Reference docs (the skill points to these β€” never duplicate their content):

Mode of operation β€” READ THIS FIRST

One step per round-trip. Each numbered step below is its own turn: explain briefly, ask only what the step needs, run the command(s), confirm, move on.

  • ❌ Never collect information for future steps upfront. Do not ask for project name + database type + credentials in one message.
  • ❌ Never ask for credentials in chat β€” not host, port, user, password, tokens, anything. Credentials always go through .env. The user fills the file in their editor; the agent never sees the values.
  • ❌ Never query the database before MDL is built via wren skills get generate-mdl.
  • ❌ Never invent connection field names. Always run wren docs connection-info <ds> to see the real fields β€” it's introspected from the live Pydantic schema, so it's always correct.
  • βœ… Wait for each command to finish, report its output in plain language, then move on.
  • βœ… For any error, consult connect.md#troubleshooting and surface the relevant section to the user β€” don't carry a copy of the playbook here.

Preflight (environment only β€” no user questions about the project)

Read-only checks. Report findings, do not ask about project / credentials / datasource yet.

  1. python3 --version β€” requires Python 3.11+. If older, ask the user to upgrade and stop.
  2. Check virtualenv: python3 -c "import sys; print(sys.prefix != sys.base_prefix)". If False, offer to create one (python3 -m venv .venv && source .venv/bin/activate). PEP 668 systems will need this.
  3. wren --version β€” if already installed, confirm before reinstalling.
  4. pwd β€” record it. Don't ask where the project should live yet.

Report findings as a 4-bullet list, then continue.

Early branch β€” demo or own database?

"Try the bundled jaffle_shop demo first (~30s, no DB needed), or connect your own database?"

  • demo β†’ point at quickstart.md and stop this skill.
  • own DB β†’ continue.

Step 1 β€” Collect project name + database type

These two are the only thing Step 2 needs; ask both together so the user has a clean handoff:

"Two things before I scaffold:

  1. Project name β€” I'll create ~/<name>/ and cd into it.
  2. Database type β€” run wren docs connection-info (no argument) to see the full list, or pick a common one: postgres (use for Aurora PostgreSQL), mysql (use for Aurora MySQL), bigquery, snowflake, clickhouse, trino, duckdb, …"

Wait for both. Don't ask for credentials.

Step 2 β€” Workspace + .env setup (batch)

Side effects: creates ~/<project>/, installs wrenai[<ds>,main], generates an empty .env template. The project files (wren_project.yml etc.) come later in Step 3.5 β€” at this point we only have a directory with credentials waiting to be filled.

Run as a batch β€” report each command briefly, then end with one "please fill .env" ask:

  1. mkdir -p ~/<project> && cd ~/<project>.

  2. pip install "wrenai[<ds>,main]". For datasource-specific install gotchas (macOS mysql, etc.), see connect.md#per-datasource-setup-notes.

  3. Generate the .env template by introspecting the connector:

    wren docs connection-info <ds> --format md
    

    Use the field list to write .env with <DS>_<FIELD>= keys (UPPER_SNAKE), values empty. Example for po

FAQ

Will it ask for my database password in chat?

No. The skill says credentials should be entered through the environment setup, never collected in the conversation.

Why one step at a time?

The skill works step by step so each part can be checked before the next one starts.

Is there a demo to try first?

Yes. The skill points to a bundled demo project, the jaffle shop example, to test the setup.

Details

Original description by the author

Onboard a user to Wren Engine end-to-end. Walks through environment checks, project scaffolding, connection configuration via .env, and first query. Use when: user wants to install Wren Engine, set up a new data source connection, or bootstrap a new project from scratch. Triggers: '/wren-onboarding', 'install wren', 'set up wren engine', 'wren onboarding', 'connect new database to wren'.

repo: Canner/WrenAI

Popularity

GitHub stars
18k
Ranking position
#10728
License
β€”
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills