Skip to content
Skillpedia
Databases18k · #10730

wren

What it does

This skill points your agent to the Wren command line, which gives a semantic SQL layer over more than twenty databases and includes workflow guides for setup and querying. It is for analysts and developers who want to ask data questions through Wren.

When to use it

  • ✓When you ask a data question such as how many, show me or top N, and Wren should answer it.
  • ✓When you want to install Wren or connect a new database.
  • ✓When you want the workflow guides for generating a project or adding business context.

Skill link

https://github.com/Canner/WrenAI/blob/main/skills/wren/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/skills/wren/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

“Use Wren to show me the top ten products by revenue this year from our connected database.”

5 new skills a week. 1 minute to read.

How it works

The skill tells your agent to list the available Wren guides and load the one that fits the task, so the instructions always match the installed version.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Wren CLI

This is a discovery stub. The actual workflow guides and prompt helpers live inside the wren CLI itself, so they always match the installed wrenai version (no skill cache, no version drift).

Install: pip install wrenai.

Workflow guides

wren skills list                        # all available workflow guides
wren skills get onboarding              # set up Wren end-to-end
wren skills get usage                   # day-to-day querying
wren skills get generate-mdl            # generate MDL from a database schema
wren skills get dlt-connector           # connect SaaS sources via dlt
wren skills get enrich-context          # add business context (units, enums, cubes)
wren skills get genbi                   # build & deploy a shareable GenBI web app
# add --full to include the skill's reference docs
# add --script <name> to fetch a bundled script (e.g. dlt-connector / introspect_dlt)

Reference docs

Full reference docs live on the web: https://github.com/Canner/WrenAI/tree/main/docs/core

wren docs connection-info <ds>          # required + optional connection fields for a data source

Prompt enhancement (wraps a user question for an agent)

wren ask "<question>" --guided          # for weaker LLMs (strict task flow)
wren ask "<question>" --direct          # for stronger LLMs (minimal wrapping)

Day-to-day data commands (not a sub-app — top-level)

wren --sql '...'                        # execute SQL through the MDL layer
wren query --sql '...'                  # same, explicit
wren dry-plan --sql '...'               # transpile only, no DB hit
wren context show / build / validate    # project / MDL lifecycle
wren profile add / list / switch        # named connection profiles
wren memory index / recall / store      # semantic memory (needs `[memory]` extra)

Run wren --help for the full surface; load the matching wren skills get <name> guide before driving any multi-step workflow.

FAQ

Which databases does Wren support?

The skill says Wren works with more than twenty databases, including Postgres, MySQL, BigQuery and Snowflake.

How do I install Wren?

The skill gives the install command for the wrenai Python package.

Where are the full docs?

The skill points to the Wren documentation on GitHub and to a command that shows connection fields for each data source.

Details

Original description by the author

Wren CLI for AI agents — a semantic SQL layer over 22+ databases (Postgres, MySQL, BigQuery, Snowflake, Spark, …). The actual workflow guides live inside the `wren` CLI itself; this is just a discovery stub. Use whenever the user asks a data question (how many, show me, top N, compare, trend, breakdown, metric, revenue, customers, orders), wants to install / set up Wren Engine, connect a new database, connect SaaS data via dlt (HubSpot, Stripe, Salesforce, GitHub, Slack), generate or regenerate an MDL project from a database schema, enrich a project with business context (enum meanings, units,

repo: Canner/WrenAI

Popularity

GitHub stars
18k
Ranking position
#10730
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills