Skip to content

Documentation / Using Ombelle with AI agents

Using Ombelle with AI agents

Rules, docs and skills that help coding agents install Ombelle safely.

Install rules

A coding agent installs Ombelle with the published CLI, the same way you do. These are the rules every agent follows. They are repeated in llms.txt, the catalog JSON and the agent skills, so all of them stay in step.

  1. Run the published CLI with npx @ombelle-ui/cli@1.1.2 (or the project's pnpm dlx, yarn dlx --quiet or bunx equivalent). Never run shadcn add and never hand-copy component source.
  2. Initialize with the preset code the developer gives you (init --preset ps_…@1), or with a preset JSON file they give you.
  3. If the developer gave no preset code or file, ask for one and point them to the preset editor at https://ombelle-ui.com/editor/preset. Never write preset JSON yourself.
  4. Run every command that writes files with --dry-run --json first, and show the developer the planned changes.
  5. Rerun the same command with --yes only when the dry run's status is planned (exit code 0) and no warning has resolutions. Agents have no TTY, so --yes is required.
  6. On FILE_CONFLICT, or any warning with resolutions, stop and ask the developer. Offer --beside <path> (component files only) or --overwrite <path>, and never choose either yourself.
  7. When the dry run's status is error, read error.code, error.message and error.nextAction. On UNSUPPORTED_PROJECT or UNSUPPORTED_RELEASE, explain the message and its next action to the developer. Do not work around it.
  8. Finish with doctor --json and report its result.
  9. Liquid glass is labelled Accessibility not guaranteed because its contrast depends on the backdrop. Say so whenever you offer it.

Docs for agents

Every page has a plain-text form that agents can read without a browser.

Agent skills

Five agent skills in the skills/ folder of the repository teach a coding agent the same guarded loop. They work with agents that read the open Agent Skills format.

  • ombelle-install installs components and initializes a preset with the guarded CLI loop.
  • ombelle-choose picks the right component or block from the live catalog.
  • ombelle-theme switches or applies a preset and adds a component-only preset.
  • ombelle-blocks installs and wires login, settings, pricing and dashboard blocks.
  • ombelle-check inspects, diagnoses and updates an existing install.

Install all five with npx skills add whritou/ombelle-ui, or one with npx skills add whritou/ombelle-ui --skill ombelle-install.

Tell your agent

Paste this into your project’s AGENTS.md or CLAUDE.md. It points the agent at the install rules and the published CLI. Replace ps_…@1 with your own preset code from the preset editor.

AGENTS.md
## Ombelle UI

Before installing any Ombelle component, read https://ombelle-ui.com/llms.txt and follow its install rules.
- Run only the published CLI: npx @ombelle-ui/cli@1.1.2 (never `shadcn add`, never hand-copied source).
- Initialize with the preset code I give you (npx @ombelle-ui/cli@1.1.2 init --preset ps_…@1) or the preset JSON file I give you. If I gave neither, ask me for one; never write preset JSON yourself.
- Run every command that writes files with --dry-run --json first and show me the plan; rerun it with --yes only when its status is planned (exit code 0) and no warning has resolutions.
- On FILE_CONFLICT or any warning with resolutions, stop and ask me; never choose --overwrite or --beside yourself.
- On status error, read error.code and error.nextAction. On UNSUPPORTED_PROJECT or UNSUPPORTED_RELEASE, explain the message and its next action to me and stop; don't work around it.
- Finish with doctor --json and tell me its result.
- Liquid glass is labelled Accessibility not guaranteed; say so whenever you offer it.

Liquid glass is labelled Accessibility not guaranteed, because its contrast depends on what sits behind it. Agents are told to say so when they offer it.