What problem does it solve? AI agents often generate incorrect SQL because they lack business context such as metric definitions, units, and join rules. This Skill connects agents to the Wren CLI, a semantic SQL layer that turns business questions into governed SQL and shareable dashboards across 22+ data sources. ## Core Features & Use Cases - Semantic SQL querying: Execute SQL through the MDL layer with wren --sql, transpile without hitting the database via wren dry-plan, and manage project context with wren context. - Project scaffolding and enrichment: Generate an MDL project from a database schema, connect SaaS sources like HubSpot, Stripe, and Salesforce via dlt, and enrich the context layer with enums, units, and cubes such as ARR, DAU, and churn. - GenBI app deployment: Turn a project's context layer into a shareable analytics web app and deploy it to Vercel or Cloudflare. - Use Case: A user asks "show me top 10 customers by revenue this quarter"; the agent loads the usage workflow guide, runs the query through the governed MDL layer, and returns correct SQL results aligned with approved metric definitions. ## Quick Start Install the CLI with pip install wrenai, then ask your agent to set up Wren and answer a data question using the wren skill.