본문으로 건너뛰기
cccskills
무료GitHub에 공개

genui

Build and review Kortix replies that display cards, comparisons, charts, maps, and tabs. The skill guides structured UI blocks in OpenUI Lang, their web and mobile rendering, validation, Markdown conversion, and compatibility checks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Generative UI for Kortix: the agent writes typed UI blocks (cards, comparisons, charts, maps, tabs) in OpenUI Lang inside its replies, and web, mobile, and SDK hosts render them through `@kortix/sdk/genui`. Load WHENEVER you design, build, review, or debug generative UI, the `openui` code fence, the `genui` project flag, the genui prompt instructions, a genui component, or the `@kortix/sdk/genui` or `/genui/react` subpaths.

설치 방법 보기

이럴 때 유용합니다

  • Designing visual components for Kortix replies
  • Implementing web and mobile renderers
  • Debugging invalid or undisplayable UI blocks
  • Evaluating reply formats and component compatibility

포함된 파일(14)

  • SKILL.md6.7 KB
  • references/eval-results.md10.9 KB
  • references/mobile-device-check.md15.3 KB
  • references/plan-1-sdk.md95.9 KB
  • references/plan-2-eval.md24.6 KB
  • references/plan-3-runtime.md27.2 KB
  • references/plan-4-web.md56.3 KB
  • references/plan-5-mobile.md54.2 KB
  • references/plan.md21.5 KB
  • references/spec.md26.5 KB
  • scripts/eval-prompts.json14.1 KB
  • scripts/eval.ts7.7 KB
  • scripts/score.test.ts7.7 KB
  • scripts/score.ts8.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Generative UI (genui)

Status (2026-10-10): built on branch genui, not merged to dev. SDK (@kortix/sdk/genui, /genui/react), runtime (genui flag, prompt on OpenCode and pi, channel guards), web, and mobile are implemented. Plans 1–5 are built. Open: plan-4 task 8 (browser checks), and plan-5 task 7's device check and OTA publish, which wait on Jay (references/mobile-device-check.md).

Phase 0 (provisional, local stand-in models): GO (2026-10-09, prompt 00a9030e). Valid: deepseek-v4.1-flash 100.0%, glm-5.3-flash 100.0%, gate 97.0%; kimi-k3 unavailable (503); Jay's 4 models untested. See references/eval-results.md.

PathWhat it is
references/spec.mdThe product spec: problem, goals, architecture, the 17 v1 components, streaming contract, toggle, requirements with acceptance criteria, Phase 4 guards, metrics, phases, risks, open questions
references/plan.mdMaster implementation plan: architecture, global constraints, review focus, spec deltas D1–D12, file map, interface contracts, order of work, delivery
references/plan-1-sdk.md@kortix/sdk/genui + /genui/react + default components (9 tasks; code verified before writing)
references/plan-2-eval.mdPhase 0 evaluation of 4 models on 46 synthetic cases, go/no-go gate (2 tasks)
references/plan-3-runtime.mdgenui flag, GENUI_ENABLED kill switch, prompt on OpenCode and pi, channel guards (5 tasks)
references/plan-4-web.mdWeb and desktop renderer, components, charts, map, settings, copy/export, telemetry, verification (8 tasks)
references/plan-5-mobile.mdMobile renderer, components, charts, map, settings, copy, device check, OTA (7 tasks)
references/eval-results.mdPhase 0 results: one summary table per eval run, appended by scripts/eval.ts
references/mobile-device-check.mdOn-device checklist for mobile (Jay runs it), the OTA publish procedure, the old-build check
scripts/eval.tsPhase 0 runner: every case against each model through the LLM gateway; writes output/genui-eval/ and appends eval-results.md. GENUI_EVAL_CASES runs a subset; GENUI_EVAL_EFFORT sends reasoning_effort. A Codex model needs a project gateway key (POST /v1/projects/{projectId}/gateway/keys) as GENUI_EVAL_TOKEN: a PAT has no project, so the gateway answers provider_not_connected
scripts/eval-prompts.jsonThe 60 synthetic eval cases: prompt, optional tool result (context), expected UI use (expect), forbidden components (forbid), richness bar (rich)
scripts/score.ts, scripts/score.test.tsScores one reply (valid blocks, overuse, underuse, forbidden components, images, foreign images, interleaving, prose share, thin) and applies the go/no-go gate

Rules that already hold

  1. UI travels as an openui fenced block inside the existing text part. kortix.transcript.v1 does not change.
  2. Only @kortix/sdk/genui imports @openuidev/*. Pin it to an exact version.
  3. Every component has a zod schema, a web renderer, a native renderer, and toMarkdown. A component enters the prompt only when all four exist.
  4. The catalog is the kortix-genui managed system skill (packages/starter/templates/managed/skills/kortix-genui/SKILL.md), generated from buildGenuiPrompt() by bun packages/sdk/scripts/genui-skill.ts; packages/sdk/src/genui/skill.test.ts fails while it is stale. It is never in the system prompt. Project flag off = kortixd hides the skill (apps/kortix-sandbox-agent-server/src/lib/config/genui.ts).
  5. No raw model output reaches Slack, push, email, or the CLI. Run toMarkdown.
  6. Query, Mutation, Form, Input, and Button are Phase 4 only, with the guards in references/spec.md §9.
  7. A Map draws tiles only from a style we configure: web NEXT_PUBLIC_GENUI_MAP_STYLE_URL (optional NEXT_PUBLIC_GENUI_MAP_STYLE_URL_DARK), mobile EXPO_PUBLIC_GENUI_MAP_STYLE_URL. Unset, it renders the place list with OpenStreetMap links. Never mapcn's CARTO default (commercial license). Web loads MapLibre only with a style set, and serves its worker from /maplibre/ (copied out of node_modules by apps/web/scripts/viewer-wasm.mjs).
  8. A node that fails its schema never takes valid content with it. sanitizeTree (packages/sdk/src/genui/validate.ts) puts its valid subtrees in its place, in source order. A subtree the parent slot cannot hold rises to the nearest ancestor that can (any block fits a Stack); a non-block gives up its own children. A root that fails becomes a Stack of its subtrees. Only a block with no valid subtree has root: null.
  9. Every host runs separateGenuiClosers (@kortix/sdk/genui/fence) on reply text before it looks for fences: it moves a closer the model glued to the last statement (…")````) onto its own line. genuiToMarkdown runs it itself. The web (unified-markdown.tsx), mobile (selectable-markdown.tsx) and scripts/score.ts` call it directly.
  10. A block's root is any block (root = Steps(...)); sanitizeTree wraps a non-Stack root in a Stack. The skill body is ours: PREAMBLE, SYNTAX, the lang-core signatures from GENUI_LIBRARY.toSpec(), RULES, EXAMPLES (packages/sdk/src/genui/prompt.ts). lang-core's prose sections are not used.
  11. Photos for a visual answer come from ONE batched image_search call; a Checklist's ticks never leave the device.
  12. A client whose bundled SDK predates a component cannot render or convert it: the parser reports unknown-component and no-root, and the block shows This content could not be displayed., not the component's markdown. This hits a published CLI (genuiToMarkdown in apps/cli), a mobile build without the OTA, and third-party hosts on an older @kortix/sdk. Ship order for a new component: publish the CLI on the new SDK and send the mobile OTA first; only then let the regenerated kortix-genui skill that teaches it reach sandboxes.
  13. The kortix-genui description leaves software installs and terminal steps out on purpose ("How do I install Node.js on macOS? Step by step." stays prose with code fences). scripts/eval.ts puts the skill in the system message, so it measures the reply shape, not whether the agent loads the skill: measure the trigger in a real session.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Review Slack access requests against Okta role and team information, then prepare narrowly scoped GitHub or AWS IAM permissions. Apply changes only after an eligible person's approval and record the grant, reasoning, approver, and timestamp.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing GitHub repository access requests from Slack
  • Preparing AWS IAM permissions for a specific task
  • Routing sensitive access requests for additional review
kortix-ai/suna2만2026년 10월 19일 업데이트

Research companies and people before outreach or meetings. Combines business profiles, recent news, hiring signals, and key contacts into a sourced brief with talking points and suggested questions, adding relationship history when CRM data is connected.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Research a prospective customer before outreach
  • Prepare background information for meeting attendees
  • Compare a competitor's products and positioning
kortix-ai/suna2만2026년 10월 19일 업데이트

Review daily Google Ads and Meta Ads results for budget pacing, declining performance, and unusual activity. Get prioritized findings with supporting numbers and concrete recommendations for a marketing team to assess and carry out.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking whether campaign budgets are being spent on schedule
  • Investigating rising acquisition costs or falling ad returns
  • Finding ads and keywords that spend without converting
kortix-ai/suna2만2026년 10월 19일 업데이트

Automate website tasks such as navigating pages, filling forms, clicking buttons, taking screenshots, and extracting data. The skill also supports web app testing, with specialized guides for Electron desktop apps, Slack, and cloud browsers.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Automate form entry and page navigation
  • Capture screenshots and extract page data
  • Explore web apps for bugs
kortix-ai/suna2만2026년 10월 19일 업데이트

Process emailed vendor invoices by extracting details, comparing them with purchase orders and invoice history, and recording duplicates, overcharges, or missing orders. Summarize results in Slack for human review; payment approval and execution remain with people.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking incoming invoices against purchase orders
  • Finding duplicate invoices and likely resends
  • Reviewing unit prices and remaining order balances
kortix-ai/suna2만2026년 10월 19일 업데이트

billing

무료

Guide changes to Kortix billing code, admin controls, and pricing screens. Explain how plans, trials, enterprise contracts, and access exceptions should work, where pricing is defined, and which audited routes must handle account changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Update billing logic and its specification together
  • Review how trials and enterprise contracts are handled
  • Find the code that defines prices and allowances
kortix-ai/suna2만2026년 10월 19일 업데이트

kortix-ai의 스킬 모두 보기

이 스킬의 문제 신고