genbi
यह क्या करती है
यह स्किल Wren project से ब्राउज़र-आधारित business intelligence ऐप बनाने और उसे Vercel या Cloudflare पर साझा लिंक के साथ deploy करने में मदद करती है। यह उन analysts के लिए है जो बिना डेटाबेस लॉगिन के सहकर्मियों के साथ डेटा का दृश्य साझा करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपको अपने Wren डेटा से साझा करने योग्य डैशबोर्ड या रिपोर्ट ऐप चाहिए।
- ✓जब आपको डेटा का snapshot और वेयरहाउस से सीधे जुड़ने वाले live मोड में से चुनना हो।
- ✓जब आप ऐप को अपने Vercel या Cloudflare खाते पर deploy करवाना चाहते हों।
Skill का लिंक
https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/genbi/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Wren सेल्स project को snapshot डेटा वाले साझा करने योग्य डैशबोर्ड ऐप में बदलिए और उसे deploy कीजिए, ताकि मुझे एक लिंक मिले।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह स्किल CLI से build निर्देश बनवाती है, फिर आपका एजेंट ऐप को अपने फ़ोल्डर में लिखता है, और फिर ऐप रजिस्टर, जाँचा और deploy होकर एक सार्वजनिक लिंक देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
snapshot और live मोड में क्या फ़र्क है?
Snapshot डेटा को ऐप के साथ बंडल करके ब्राउज़र में चलाता है, जबकि live मोड हर बार देखे जाने पर वेयरहाउस से डेटा माँगता है।
कौन-से hosts समर्थित हैं?
स्किल आपके अपने Vercel या Cloudflare खाते पर deploy करती है।
ऐप का कोड कौन लिखता है?
आपका एजेंट CLI के build निर्देशों से ऐप लिखता है, जबकि CLI इंडेक्सिंग, जाँच और deployment संभालती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 18k
- रैंकिंग में स्थान
- #10726
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
dlt-connector
18kआपके एजेंट को HubSpot या Stripe जैसे SaaS टूल का डेटा स्थानीय DuckDB फ़ाइल में लोड करने में मदद करती है, ताकि Wren SQL विश्लेषण के लिए तैयार हो।
enrich-context
18kआपके एजेंट को Wren डेटा project में व्यावसायिक अर्थ जोड़ने में मदद करती है, जैसे units, enum वैल्यू, समानार्थी शब्द और standard metrics।
generate-mdl
18kआपके एजेंट को डेटाबेस schema खंगालकर, types साफ़ करके और YAML फ़ाइलें बनाकर Wren semantic project तैयार करने में मदद करती है।
onboarding
18kआपके एजेंट को Wren Engine शुरू से सेट करने में मदद करती है: माहौल जाँचना, project बनाना, डेटाबेस जोड़ना और पहली क्वेरी चलाना।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।