genbi
Qué hace
Esta skill guía la creación de una aplicación de inteligencia de negocio en el navegador a partir de un proyecto de Wren, y su despliegue en Vercel o Cloudflare con un enlace compartible. Está pensada para analistas que quieren compartir una vista de datos con sus compañeros sin necesidad de acceso a la base de datos.
Cuándo usarla
- ✓Cuando quieres un panel o informe compartible creado a partir de tus datos de Wren.
- ✓Cuando quieres elegir entre una instantánea de los datos y una conexión en vivo con el almacén de datos.
- ✓Cuando quieres que la aplicación se despliegue en tu propia cuenta de Vercel o Cloudflare.
Link de la skill
https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/genbi/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Convierte mi proyecto de ventas de Wren en un panel compartible con una instantánea de los datos, y despliégalo para que tenga un enlace.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill hace que la CLI genere las instrucciones de construcción, tu agente escribe la aplicación en su propia carpeta, y después la aplicación se registra, se verifica y se despliega para obtener un enlace público.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Wren GenBI App — Agent Workflow Guide
This guide is served by the
wrenCLI (wren skills get genbi), so it always matches your installed wrenai version.
Turn a Wren context layer into a shareable GenBI app — from a natural-language request to a public URL in one conversation.
Division of labor: the CLI owns the authoritative build instruction (it
knows the live project facts and the pinned wren-core-wasm version) and all
deterministic state (index, verify, deploy). You — the agent — author the app
code by following the instruction. Never hand-write .wren/apps.yml.
Preconditions
- A Wren project is discoverable (
wren_project.ymlin cwd/ancestors, or ask for the path and pass-p). - The context layer exists. If
target/mdl.jsonis missing,wren genbi buildcompiles it implicitly — no separate step needed. wrenCLI ≥ the version that ships thegenbicommand group (wren genbi --helpworks).
Workflow
1. Resolve the app name and data mode
- App name: short kebab-case derived from the request (e.g.
sales-overview). - Data mode:
snapshot(default) — data is bundled with the app as parquet/duckdb and queried client-side. Fully serverless. Right for demos, reports, small data, and dlt-pipeline output.live— the app calls back to the user's warehouse/API at view time. Right for production-scale or always-fresh data. Requires a CORS-enabled endpoint and carries strict no-credentials rules.
- Ask the user ONLY if the choice is genuinely ambiguous.
2. Get the build instruction
wren genbi build <name> --prompt "<the user's request, verbatim>" --data-mode <mode>
For long or multi-line prompts use --prompt-file <file> or pipe to
--prompt -. The command prints the authoritative build instruction —
wasm wiring (pinned version, CDN load), the project's model/column inventory,
data-mode guidance, acceptance criteria, and the target folder. It writes no
app files — the only thing it may touch is target/mdl.json, which it compiles
first if missing (see Precondition 2).
3. Author the app
Follow the instruction exactly. Key conventions:
- Write everything under
apps/<name>/— never outside it. - Copy the compiled MDL into the app as
apps/<name>/mdl.json. - Load
wren-core-wasmfrom the CDN given in the instruction; never bundle the ~68MB binary. - snapshot: export the data the dashboard needs into
apps/<name>/data/as parquet (verifyrequires at least one.parquet/.duckdbasset). See Snapshot data export below for the recipe and where the data comes from. - live: write an endpoint-only connection config. NEVER inline credentials —
verifyscans for them (best-effort) anddeploygates onverify, but the rule is on you: a public static host exposes every shipped file. - Design the dashboard to actually answer the user's request: pick the right charts/tables for the question, not a generic template.
Snapshot data export
The CLI hands you the build instruction, but the snapshot bytes still have to be exported into the app folder — that step is yours.
Where the data comes from:
- DuckDB-backed project (incl. anything loaded by the
dlt-connectorskill — its pipelines always land in a.duckdbfile): the project's DuckDB file is your snapshot source. If the user is connecting SaaS data (HubSpot, Stripe, Salesforce, …) and has no project yet, run the SaaS→project flow first:wren skills get dlt-connector. Then come back here to ship it. - Warehouse-backed project (Postgres, BigQuery, Snowflake, …): run the
query/queries the dashboard needs through the MDL layer and write the result
to parquet. Keep snapshots small — snapshot mode is for demos/reports, not
full warehouse extracts; use
livemode for large or always-fresh data.
Recipe (DuckDB → parquet):
# from the project root; <db> is the project's DuckDB file (see wren_project.yml)
python - <<'PY'
import duckdb
con = duckdb.connect("<db>.duckdb", read_only=True)
con.execute(
"COPY (SELECT * FROM <table>) "
"TO 'apps/<name>/data/<table>.parquet' (FORMAT parquet)"
)
PY
Only export the columns/rows the dashboard uses. The compiled mdl.json you
copied in keeps the context layer intact regardless of how you bundle data.
4. Register and verify
wren genbi register <name> --data-mode <mode>
wren genbi verify <name>
If verify fails: fix the reported problems and
Preguntas frecuentes
¿Cuál es la diferencia entre el modo instantánea y el modo en vivo?
La instantánea incluye los datos con la aplicación y se ejecuta en el navegador, mientras que el modo en vivo consulta el almacén cada vez que alguien la ve.
¿Qué alojamientos son compatibles?
La skill despliega en la cuenta de Vercel o Cloudflare del usuario.
¿Quién escribe el código de la aplicación?
Tu agente escribe la aplicación a partir de las instrucciones de la CLI, mientras que la CLI se encarga de la indexación, las comprobaciones y el despliegue.
Detalles
Descripción original del autor
Turn a Wren project's context layer into a shareable, browser-side GenBI web app and deploy it to the user's Vercel or Cloudflare account. Orchestrates the full flow: `wren genbi build` returns a project-hydrated build instruction, the agent authors the app from scratch into apps/<name>/, then register → verify → deploy produce a shareable URL. Use this skill whenever the user wants to: build a dashboard from their Wren project, make a shareable analytics app, deploy their context layer as a web app, host a GenBI app on Vercel or Cloudflare Pages, or asks for a 'genbi app'.
repo: Canner/WrenAI
Popularidad
- Estrellas en GitHub
- 18 mil
- Posición en el ranking
- #10726
- Licencia
- —
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
dlt-connector
18 milAyuda a tu agente a cargar datos de herramientas SaaS como HubSpot o Stripe en un archivo DuckDB local, listo para el análisis SQL con Wren.
enrich-context
18 milAyuda a tu agente a añadir significado de negocio a un proyecto de datos de Wren, como unidades, valores enumerados, sinónimos y métricas estándar.
generate-mdl
18 milAyuda a tu agente a crear un proyecto semántico de Wren explorando un esquema de base de datos, normalizando tipos y generando los archivos YAML.
onboarding
18 milAyuda a tu agente a configurar Wren Engine desde cero: revisar el entorno, crear un proyecto, conectar una base de datos y ejecutar una primera consulta.
Skills parecidas
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
slacrawl
394 milPermite que tu agente busque y cuente mensajes en un archivo local de Slack, revise qué tan reciente es y lo actualice cuando haga falta.
goplaces
394 milAyuda a tu agente a buscar lugares, obtener sus detalles y reseñas, y resolver nombres de lugares usando Google Places, con salida JSON para scripts.