Skill instructions
about-kombai3.61 KB
View saved version →
---
name: about-kombai
description: Answer the user's questions about Kombai itself (what it is, which agents it works with, accounts and guest mode, credits and plans, where designs and data live, sharing, privacy, updates and support). Use when the user asks about Kombai rather than for design work.
---
**Codex only.** Kombai runs its CLI in a shell on the user's computer. If this chat is in ChatGPT's Chat or Work (chatgpt.com, or the Chat or Work tab of the ChatGPT desktop app) rather than Codex, run nothing, not even in the chat's own code tool, and do no design work: reply with only this, word for word, and add nothing else (no prompt to paste elsewhere, no other help): "Kombai's plugin works only in Codex, not in ChatGPT's Chat or Work. Switch to Codex and ask there."
When running in Codex's sandbox, run every Kombai command outside it **from the first try**: use
`sandbox_permissions: "require_escalated"` on the execution tool call for the first command and every later Kombai
CLI command, and do not try the restricted command first. The commands need network access and write `~/.kombai`,
npm's cache and, for `mcp install codex`, Codex's config folder; `npx` may contact the package registry before
Kombai starts. Retry only a confirmed sandbox denial before any write was sent; for an unknown write outcome, inspect
state first. If this chat is in ChatGPT's Chat or Work, run nothing and reply only that Kombai's plugin works only
in Codex, not in ChatGPT's Chat or Work, and to switch to Codex and ask there. Otherwise, if this chat can't run a command outside the sandbox, or the user declines, run nothing and do not retry
inside the sandbox. Reply with only this, word for word:
> Kombai needs to run outside Codex's sandbox to design, and this Codex session blocks it. Fix it one of these ways, then send your message again:
> - In the Codex app: approve Kombai when Codex asks (if the chat never asks, pick a project for it), or pick **Full access** in the permissions menu under the message box.
> - In Codex in a terminal: start it with `codex --sandbox danger-full-access`, or run your request with `codex exec -s danger-full-access "<your request>"`.
>
> Kombai doesn't run in ChatGPT's Chat or Work tabs.
Run Kombai's CLI (`kombai` below) from `node "$HOME/.kombai/cli/install/latest/launch.mjs"` if that file exists; if not, fall back to `npx -y @kombai/cli@0.3.0`.
Run `kombai skill faq` and answer from what it prints; it is this skill's full text.
If that command fails before it prints anything:
- **`npx` or `node` not found.** Kombai needs Node.js 20 or later. Tell the user, give them the steps for their OS, and wait; do not install Node yourself.
- macOS: `brew install node` if Homebrew is installed, otherwise the LTS installer from https://nodejs.org.
- Windows: `winget install OpenJS.NodeJS.LTS`, otherwise the LTS .msi from https://nodejs.org.
- Linux: nvm (https://github.com/nvm-sh/nvm), then `nvm install --lts`. The distro's package is often older than 20.
When they say it is installed, run the command again. If `node` is still not found, ask them to restart this agent or its editor, so it picks up the new PATH; do not ask them to install again.
- **`CLI_NODE_TOO_OLD`.** The same steps upgrade Node; with nvm, `nvm install --lts` then `nvm alias default lts/*`. If the error comes back after an upgrade, an older `node` is first on PATH: show the user `which -a node` (`where node` on Windows).
- **Windows PowerShell says running scripts is disabled.** Run `npx.cmd` in place of `npx`.
- **The network is blocked** (a sandboxed shell). Get access as above; do not retry inside the sandbox without it. Node is not missing.
Referenced files: 1 — file references are metadata, not package contents.
generate-assets-with-kombai4.23 KB
View saved version →
---
name: generate-assets-with-kombai
description: Generate an AI image or video with Kombai and get a hosted https link to put in the code — hero art, an illustration, a texture, a background video. Use it only when the user asks for Kombai to make the image or video (names Kombai or picks this skill), or to make the videos a Kombai taste run left as prompts once the user asked for AI video. Never on your own — an image or video request that does not name Kombai is not for this skill (use the host's own image or video tool, if it has one); not for stock photos or for designing a whole UI (that is work-with-kombai).
---
**Codex only.** Kombai runs its CLI in a shell on the user's computer. If this chat is in ChatGPT's Chat or Work (chatgpt.com, or the Chat or Work tab of the ChatGPT desktop app) rather than Codex, run nothing, not even in the chat's own code tool, and do no design work: reply with only this, word for word, and add nothing else (no prompt to paste elsewhere, no other help): "Kombai's plugin works only in Codex, not in ChatGPT's Chat or Work. Switch to Codex and ask there."
When running in Codex's sandbox, run every Kombai command outside it **from the first try**: use
`sandbox_permissions: "require_escalated"` on the execution tool call for the first command and every later Kombai
CLI command, and do not try the restricted command first. The commands need network access and write `~/.kombai`,
npm's cache and, for `mcp install codex`, Codex's config folder; `npx` may contact the package registry before
Kombai starts. Retry only a confirmed sandbox denial before any write was sent; for an unknown write outcome, inspect
state first. If this chat is in ChatGPT's Chat or Work, run nothing and reply only that Kombai's plugin works only
in Codex, not in ChatGPT's Chat or Work, and to switch to Codex and ask there. Otherwise, if this chat can't run a command outside the sandbox, or the user declines, run nothing and do not retry
inside the sandbox. Reply with only this, word for word:
> Kombai needs to run outside Codex's sandbox to design, and this Codex session blocks it. Fix it one of these ways, then send your message again:
> - In the Codex app: approve Kombai when Codex asks (if the chat never asks, pick a project for it), or pick **Full access** in the permissions menu under the message box.
> - In Codex in a terminal: start it with `codex --sandbox danger-full-access`, or run your request with `codex exec -s danger-full-access "<your request>"`.
>
> Kombai doesn't run in ChatGPT's Chat or Work tabs.
Run Kombai's CLI (`kombai` below) from `node "$HOME/.kombai/cli/install/latest/launch.mjs"` if that file exists; if not, fall back to `npx -y @kombai/cli@0.3.0`.
Run `kombai skill assets` and follow what it prints; it is this skill's full text.
**Sign-in compatibility:** If `sign_in_card` is available, use `reason: "assets"` only when its
advertised `reason` values include `assets`; otherwise use `reason: "account"`. This overrides the
reason in the printed assets and sign-in instructions. Without that tool, follow the printed
sign-in instructions.
If that command fails before it prints anything:
- **`npx` or `node` not found.** Kombai needs Node.js 20 or later. Tell the user, give them the steps for their OS, and wait; do not install Node yourself.
- macOS: `brew install node` if Homebrew is installed, otherwise the LTS installer from https://nodejs.org.
- Windows: `winget install OpenJS.NodeJS.LTS`, otherwise the LTS .msi from https://nodejs.org.
- Linux: nvm (https://github.com/nvm-sh/nvm), then `nvm install --lts`. The distro's package is often older than 20.
When they say it is installed, run the command again. If `node` is still not found, ask them to restart this agent or its editor, so it picks up the new PATH; do not ask them to install again.
- **`CLI_NODE_TOO_OLD`.** The same steps upgrade Node; with nvm, `nvm install --lts` then `nvm alias default lts/*`. If the error comes back after an
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
get-started-with-kombai6 KB
View saved version →
---
name: get-started-with-kombai
description: Kombai's onboarding in Codex. Sets Kombai's canvas view up if this Codex doesn't have it yet, checks the user is signed in, and shows prompts to try in a new chat. Run by the plugin's setup and by Codex's Try now after an install, and whenever the user asks to set Kombai up, get started with it, or see what to try. Not for design requests; those are work-with-kombai's.
---
**Codex only.** Kombai runs its CLI in a shell on the user's computer. If this chat is in ChatGPT's Chat or Work (chatgpt.com, or the Chat or Work tab of the ChatGPT desktop app) rather than Codex, run nothing, not even in the chat's own code tool, and do no design work: reply with only this, word for word, and add nothing else (no prompt to paste elsewhere, no other help): "Kombai's plugin works only in Codex, not in ChatGPT's Chat or Work. Switch to Codex and ask there."
When running in Codex's sandbox, run every Kombai command outside it **from the first try**: use
`sandbox_permissions: "require_escalated"` on the execution tool call for the first command and every later Kombai
CLI command, and do not try the restricted command first. The commands need network access and write `~/.kombai`,
npm's cache and, for `mcp install codex`, Codex's config folder; `npx` may contact the package registry before
Kombai starts. Retry only a confirmed sandbox denial before any write was sent; for an unknown write outcome, inspect
state first. If this chat is in ChatGPT's Chat or Work, run nothing and reply only that Kombai's plugin works only
in Codex, not in ChatGPT's Chat or Work, and to switch to Codex and ask there. Otherwise, if this chat can't run a command outside the sandbox, or the user declines, run nothing and do not retry
inside the sandbox. Reply with only this, word for word:
> Kombai needs to run outside Codex's sandbox to design, and this Codex session blocks it. Fix it one of these ways, then send your message again:
> - In the Codex app: approve Kombai when Codex asks (if the chat never asks, pick a project for it), or pick **Full access** in the permissions menu under the message box.
> - In Codex in a terminal: start it with `codex --sandbox danger-full-access`, or run your request with `codex exec -s danger-full-access "<your request>"`.
>
> Kombai doesn't run in ChatGPT's Chat or Work tabs.
The user can run this as often as they like. Do each step without asking first, and do no design work here.
Kombai's plugin id in this Codex is `kombai@<marketplace>`, where `<marketplace>` is the folder after
`plugins/cache/` in this skill's own path: `~/.codex/plugins/cache/openai-curated-remote/kombai/…` gives
`kombai@openai-curated-remote`.
The prompts to try, each the request a new chat starts with (the same ones as the CLI's starters card):
- Design a standout UI for my website
- Explore design directions on canvas
- Redesign this section for my app
To show them as links, build each in exec as `codex://threads/new?prompt=` followed by
`encodeURIComponent('[@Kombai](plugin://<id>) ' + prompt)` with Kombai's plugin id, then `(` and `)` as `%28` and
`%29`. End your reply with **Try one in a new chat:** and the links as a list, each `[@Kombai <prompt>](link)`, so a
link reads as what it puts in the new chat's message box, unsent, with Kombai mentioned. Give a link no other title.
Run Kombai's CLI (`kombai` below) from `node "$HOME/.kombai/cli/install/latest/launch.mjs"` if that file exists; if not, fall back to `npx -y @kombai/cli@0.3.0`.
First look for Kombai's tools in this chat: in exec, `ALL_TOOLS.filter((t) => t.name.startsWith('mcp__kombai'))`.
Then follow one of the two paths below.
**If `canvas_app` is there**, Kombai's view is set up and this chat has it:
1. Run `kombai whoami`. If the user isn't signed in, sign them in as
`kombai skill sign-in` says.
2. If `starters_card` is there too, call it with `plugin` set to Kombai's plugin id, and end your turn with one
line, such as "Pick one to Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
kombai-workflow8.22 KB
View saved version →
---
name: kombai-workflow
description: Set up or repair Codex's connection to the installed Kombai desktop app for UI design and implementation work. Use when the user asks to work with Kombai, especially when its local MCP tools are missing; do not activate for ordinary coding without Kombai.
---
# Work with Kombai
Kombai's installed desktop app owns the local `kombai` MCP server. This plugin supplies instructions only. The app may open in the background for a tool call, but it runs normally, not headlessly. Use the Kombai tools already available to the current Codex task when possible.
## Recover a missing connection
If the `kombai` MCP tools are unavailable, inspect `codex mcp get kombai --json` and check whether the Kombai desktop app is installed. An MCP entry in Codex is separate from the app installation. Resolve an installed app's executable from the actual installation or operating-system app metadata; do not guess a path, use a source checkout, or invent a localhost port.
Identify which Kombai build the user requested before choosing an executable. If they request Kombai Dev or another non-production build, check that build's installation and the MCP entry's executable and gateway paths. Never substitute an installed production build. The `kombai` entry is shared across app builds, so another build can replace it; verify the entry again before beginning work with the requested build.
- If the requested build is absent and it is the production build, install it yourself; do not send the user to a download page. Use only the official build from agent.kombai.com, verify its signature before running anything from it, and tell the user in one line what you installed. Your client may ask the user to approve the download or the install; that is expected.
- macOS on Apple Silicon: with Homebrew, `brew install --cask kombai-io/kombai/kombai`. Otherwise download `https://agent.kombai.com/desktop/download/mac/arm64/Kombai.dmg`, attach it with `hdiutil attach -nobrowse -readonly`, check `codesign --verify --deep --strict` and `spctl --assess --type execute` on `Kombai.app` (both must pass), copy it to `/Applications` (or `~/Applications` when that is not writable), then detach the image and delete the download.
- Windows x64: download `https://agent.kombai.com/desktop/download/win/x64/Kombai-Setup.exe`, check that `Get-AuthenticodeSignature` reports `Valid` for signer `Kombai INC`, then run it and wait for it to finish (it installs for the current user).
- Linux x64: download `https://agent.kombai.com/desktop/download/linux/x64/Kombai.AppImage` to `~/Applications` and make it executable.
- Anything else (an Intel Mac, ARM Windows or Linux), a failed signature check, or a download that is not the installer: stop, say why, and give https://agent.kombai.com/download. Never run an installer from anywhere else.
- For Kombai Dev or another non-production build, use the build supplied by the user or their team; never substitute production. After installation, check again and continue registration.
- If the requested build is installed but its MCP entry is missing or stale, run that build's executable with `mcp install codex`. This registration command exits without opening a Kombai window. If your shell runs commands in a sandbox, run that command outside it from the first try, asking for escalated or unsandboxed execution the way your client does. Inside a sandbox the executable cannot reach the window server or Kombai's local bridge: on macOS it crashes before printing anything, with exit code 134, and the user sees a crash dialog. Exit code 134 with no output from a sandboxed run means exactly that, not a broken Kombai: run the command again outside the sandbox. Do not attempt to run an executable from this plugin package.
- This task's permissions may not let you run anything outside the sandbox: escalation can be switched off, so a request is refused before the user is asked. The Codex desktop app does this in a ch
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
work-with-kombai5.34 KB
View saved version →
---
name: work-with-kombai
description: Design UI with Kombai's taste agent. Designs go on a Kombai canvas, which the Codex app shows beside the chat, or in another design tool or the repo's code when the user asks for that; design systems are .ds files in the Kombai account and need no canvas. Use when the user asks to work with Kombai, for a design, mockup, variants or a design system, or pastes a Kombai canvas link; not for ordinary coding, and not for a design in another tool unless the user names Kombai.
---
**Codex only.** Kombai runs its CLI in a shell on the user's computer. If this chat is in ChatGPT's Chat or Work (chatgpt.com, or the Chat or Work tab of the ChatGPT desktop app) rather than Codex, run nothing, not even in the chat's own code tool, and do no design work: reply with only this, word for word, and add nothing else (no prompt to paste elsewhere, no other help): "Kombai's plugin works only in Codex, not in ChatGPT's Chat or Work. Switch to Codex and ask there."
When running in Codex's sandbox, run every Kombai command outside it **from the first try**: use
`sandbox_permissions: "require_escalated"` on the execution tool call for the first command and every later Kombai
CLI command, and do not try the restricted command first. The commands need network access and write `~/.kombai`,
npm's cache and, for `mcp install codex`, Codex's config folder; `npx` may contact the package registry before
Kombai starts. Retry only a confirmed sandbox denial before any write was sent; for an unknown write outcome, inspect
state first. If this chat is in ChatGPT's Chat or Work, run nothing and reply only that Kombai's plugin works only
in Codex, not in ChatGPT's Chat or Work, and to switch to Codex and ask there. Otherwise, if this chat can't run a command outside the sandbox, or the user declines, run nothing and do not retry
inside the sandbox. Reply with only this, word for word:
> Kombai needs to run outside Codex's sandbox to design, and this Codex session blocks it. Fix it one of these ways, then send your message again:
> - In the Codex app: approve Kombai when Codex asks (if the chat never asks, pick a project for it), or pick **Full access** in the permissions menu under the message box.
> - In Codex in a terminal: start it with `codex --sandbox danger-full-access`, or run your request with `codex exec -s danger-full-access "<your request>"`.
>
> Kombai doesn't run in ChatGPT's Chat or Work tabs.
Run Kombai's CLI (`kombai` below) from `node "$HOME/.kombai/cli/install/latest/launch.mjs"` if that file exists; if not, fall back to `npx -y @kombai/cli@0.3.0`.
**First, before anything else, even `kombai skill`:** in the Codex app, look for Kombai's
`canvas_app` tool. Codex lists no MCP tool up front, so search inside exec with
`ALL_TOOLS.filter((t) => t.name.endsWith('canvas_app'))`. If it doesn't exist, Kombai's view isn't set up in Codex
yet: set it up without asking, with `kombai mcp install codex` (outside the sandbox, like every
Kombai command), tell the user in one line, then follow its `next`. When it answers `notStarting: true` (Kombai's
server isn't starting in Codex) or `codexApp: false` (this Codex isn't the app, so it shows no view), its `next` starts
no new task: follow it, and carry on in this task as it says. Otherwise it moves the work to a new task: one offer,
with a link that opens it with the request filled in, and on yes a new task that carries the request; the new task's
prompt starts with Kombai's mention. Then do no design work in this task: it can't show the canvas or taste's card. Kombai's
plugin id in this Codex is `kombai@<marketplace>`, where `<marketplace>` is the folder after `plugins/cache/` in
this skill's own path: `~/.codex/plugins/cache/openai-curated-remote/kombai/…` gives `kombai@openai-curated-remote`.
Once `canvas_app` exists, it is the only way to show a canvas here: call it with the canvas id right after
`kombai canvas create`, before you write any design, or when you firstPreview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.