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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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
Comments
- …
More skills from this repository
dlt-connector
18kHelps your agent load data from SaaS tools such as HubSpot or Stripe into a local DuckDB file, ready for Wren SQL analysis.
enrich-context
18kHelps your agent add business meaning to a Wren data project, such as units, enum values, synonyms and standard metrics.
genbi
18kHelps your agent turn a Wren data project into a shareable browser dashboard and deploy it to the user's own hosting account.
generate-mdl
18kHelps your agent create a Wren semantic project by exploring a database schema, normalizing types and generating the YAML files.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.