跳到正文
Skillpedia
数据库18k · #10730

wren

它能做什么

这个技能让你的智能体使用 Wren 命令行。Wren 提供语义 SQL 层,支持二十多种数据库,并包含设置和查询的工作流程指南。适合希望通过 Wren 提出数据问题的分析师和开发者。

适用场景

  • ✓当你提出数据问题,例如有多少、给我看看或前十名这类问题,并希望 Wren 来回答时。
  • ✓当你想安装 Wren 或连接新数据库时。
  • ✓当你想获取生成项目或添加业务背景的工作流程指南时。

技能链接

https://github.com/Canner/WrenAI/blob/main/skills/wren/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Canner/WrenAI/blob/main/skills/wren/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我用 Wren 查看今年我们已连接数据库中收入最高的十个产品。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能会告诉你的智能体列出可用的 Wren 指南,并加载符合任务的那一份,这样说明始终与已安装的版本一致。

技术内容(原始 SKILL.md)

作者在 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.

常见问题

Wren 支持哪些数据库?

该技能说明 Wren 支持二十多种数据库,包括 Postgres、MySQL、BigQuery 和 Snowflake。

如何安装 Wren?

该技能提供了 wrenai Python 包的安装命令。

完整的文档在哪里?

该技能指向 GitHub 上的 Wren 文档,以及一个可以显示各数据源连接字段的命令。

详情

作者的原始描述

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

热度

GitHub 星标
18k
排名
#10730
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能