genbi
Ce qu’il fait
Cette skill guide la création d'une application de business intelligence dans le navigateur à partir d'un projet Wren, puis son déploiement sur Vercel ou Cloudflare avec un lien partageable. Elle s'adresse aux analystes qui veulent partager une vue de données avec des collègues sans connexion à la base.
Quand l’utiliser
- ✓Quand vous voulez un tableau de bord ou un rapport partageable construit à partir de vos données Wren.
- ✓Quand vous devez choisir entre un instantané des données et une connexion en direct à l'entrepôt.
- ✓Quand vous voulez que l'application soit déployée sur votre propre compte Vercel ou Cloudflare.
Lien du skill
https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/genbi/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Transforme mon projet Wren de ventes en application de tableau de bord partageable, avec un instantané des données, et déploie-la pour que j'obtienne un lien.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
La skill fait produire par la CLI les instructions de construction, votre agent écrit l'application dans son propre dossier, puis l'application est enregistrée, vérifiée et déployée pour obtenir un lien public.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Quelle est la différence entre le mode instantané et le mode en direct ?
L'instantané regroupe les données avec l'application et l'exécute dans le navigateur, tandis que le mode en direct interroge l'entrepôt à chaque consultation.
Quels hébergeurs sont pris en charge ?
La skill déploie sur le compte Vercel ou Cloudflare de l'utilisateur.
Qui écrit le code de l'application ?
Votre agent écrit l'application à partir des instructions de la CLI, tandis que la CLI gère l'indexation, les vérifications et le déploiement.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 18k
- Position au classement
- #10726
- Licence
- —
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
dlt-connector
18kAide votre agent à charger des données d'outils SaaS comme HubSpot ou Stripe dans un fichier DuckDB local, prêt pour l'analyse SQL avec Wren.
enrich-context
18kAide votre agent à donner un sens métier à un projet de données Wren, par exemple les unités, les valeurs d'énumération, les synonymes et les métriques standard.
generate-mdl
18kAide votre agent à créer un projet sémantique Wren en explorant le schéma d'une base de données, en normalisant les types et en générant les fichiers YAML.
onboarding
18kAide votre agent à installer Wren Engine depuis le début : vérifier l'environnement, créer un projet, connecter une base de données et lancer une première requête.
Skills similaires
gitcrawl
394kPermet à votre agent de chercher dans une archive de tickets et pull requests GitHub, de regrouper les doublons et de vérifier leur statut actuel.
slacrawl
394kPermet à votre agent de chercher et de compter des messages dans une archive Slack locale, de vérifier sa fraîcheur et de la rafraîchir au besoin.
goplaces
394kAide votre agent à rechercher des lieux, obtenir leurs détails et avis, et identifier des noms de lieux avec Google Places, avec une sortie JSON pour les scripts.