genbi
하는 일
이 스킬은 Wren 프로젝트로 브라우저 기반 비즈니스 인텔리전스 앱을 만들고, Vercel이나 Cloudflare에 공유 링크와 함께 배포하는 방법을 안내합니다. 데이터베이스 로그인 없이 동료와 데이터 화면을 공유하려는 분석가를 위한 스킬입니다.
사용하는 경우
- ✓Wren 데이터로 공유 가능한 대시보드나 보고서 앱을 만들고 싶을 때.
- ✓데이터 스냅샷과 웨어하우스 실시간 연결 중에서 고르고 싶을 때.
- ✓앱을 본인의 Vercel이나 Cloudflare 계정에 배포하고 싶을 때.
스킬 링크
https://github.com/Canner/WrenAI/blob/main/core/wren/src/wren/skills_content/genbi/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Wren 판매 프로젝트를 스냅샷 데이터를 쓰는 공유 가능한 대시보드 앱으로 바꾸고, 링크를 받을 수 있게 배포해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
CLI가 빌드 지침을 만들고, 에이전트가 자신의 폴더에 앱을 작성하면, 앱을 등록하고 검증한 뒤 배포해서 공개 링크를 만듭니다.
기술 내용 (원본 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
자주 묻는 질문
스냅샷 모드와 실시간 모드의 차이는 무엇인가요?
스냅샷은 데이터를 앱과 함께 묶어 브라우저에서 실행하고, 실시간 모드는 볼 때마다 웨어하우스를 다시 호출합니다.
어떤 호스트를 지원하나요?
사용자의 Vercel이나 Cloudflare 계정에 배포합니다.
앱 코드는 누가 작성하나요?
에이전트가 CLI의 빌드 지침으로 앱을 작성하고, CLI는 인덱싱, 검사, 배포를 맡습니다.
상세 정보
작성자의 원본 설명
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
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
dlt-connector
18k에이전트가 HubSpot이나 Stripe 같은 SaaS 데이터를 로컬 DuckDB 파일로 불러와 Wren SQL 분석에 쓸 수 있게 합니다.
enrich-context
18k에이전트가 단위, 열거형 값, 동의어, 표준 지표처럼 업무 의미를 Wren 데이터 프로젝트에 더하도록 돕습니다.
generate-mdl
18k에이전트가 데이터베이스 스키마를 탐색하고, 타입을 정리하고, YAML 파일을 생성해 Wren 시맨틱 프로젝트를 만들도록 돕습니다.
onboarding
18k에이전트가 처음부터 Wren Engine을 설정하도록 돕습니다. 환경 확인, 프로젝트 생성, 데이터베이스 연결, 첫 쿼리 실행을 포함합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.