Cronus UI
v0.7.6Search, install, compose, add-page, and theme Cronus UI from the live registry.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components List Cronus UI components
List the installable Cronus UI components (registry items of type 'registry:ui'). Returns each component's name, a readable title, its npm and registry dependencies, and the `npx cronus-ui add <name>` command to install it.
list_blocks List Cronus UI blocks
List the installable Cronus UI blocks (registry items of type 'registry:block') — larger, composed sections such as hero, pricing, login, and dashboard. Returns each block's name, title, dependencies, and its `npx cronus-ui add <name>` install command.
list_catalog List the tagged Cronus UI catalog
Return compact Hydra-ready cards for every component, block, variant, and template: name, short description, design style, palette, motion, intents, and the install command. No source files — cheap on tokens. Filter with `kind`. Use `match_catalog` to pick the best item for a prompt (login + smooth animation, etc.).
| Parameter | Type | Description |
|---|---|---|
kind | string | Restrict to component, block, variant, or template cards. |
match_catalog Match Cronus UI catalog tags
Two-query catalog match for low-context agents. Pass a free-text `query` (e.g. 'login page with smooth animation') and/or structured filters (`intent`, `motion`, `style`, `palette`). Returns `pick` (the recommended combination), `intent` hits, `motion` hits, and ranked `matches`. Cards carry description, design style, palette, motion, and intents — not source. Fetch source with `get_component` only after picking a name.
| Parameter | Type | Description |
|---|---|---|
intent | string | Use-case intent: login, signup, pricing, dashboard, chart, form, … |
kind | string | Restrict to component, block, variant, or template. |
limit | integer | Max hits per list. Default 8. |
motion | string | Motion: none, snappy, smooth, cinematic. |
palette | string | Palette: semantic (follows theme), aurora, neutral, midnight, sunset, emerald. |
query | string | Natural-language request, e.g. 'login page with smooth animation'. Intent and motion are inferred from the text when those fields are omitted. |
style | string | Design style: default, editorial, operational, glass, brutalist. |
search_registry Search the Cronus UI registry
Fuzzy-search Cronus UI components and blocks by name (case-insensitive substring match). Use this to find the right item before fetching its source with `get_component`.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text matched against component and block names, e.g. 'button' or 'card'. |
get_design_context Get Cronus UI DESIGN.md taste
Return the Cronus UI visual taste file (DESIGN.md) for a theme × look. Use this before generating UI so the agent follows Aurora/Neutral dual identity, one primary CTA, hairline elevation, and look rules. compact fits a system prompt; extended is the repo file. Does not modify the project.
| Parameter | Type | Description |
|---|---|---|
format | string | compact (~prompt) or extended (full DESIGN.md). Default extended. |
look | string | Material: default, brutalist, or glass. Orthogonal to theme. |
theme | string | Palette: aurora (generated product), neutral (docs chrome), midnight, sunset, emerald. |
get_component Get a Cronus UI component or block
Fetch the full detail for a single Cronus UI component or block by name: its source file(s) (path + content), its npm `dependencies`, its `registryDependencies` (other registry items it needs), and the `npx cronus-ui add <name>` install command. Works for both components and blocks.
| Parameter | Type | Description |
|---|---|---|
name * | string | The exact registry item name, e.g. 'button', 'data-table', or 'pricing'. |
get_install_command Build a Cronus UI install command
Build the `npx cronus-ui add ...` command for one or more components/blocks. The CLI resolves and installs each item's registry dependencies automatically. This only returns the command string — to actually install, use `install_component`.
| Parameter | Type | Description |
|---|---|---|
names * | array | One or more registry item names to install, e.g. ['button', 'card', 'dialog']. |
install_component Install Cronus UI components into the project
MODIFIES THE FILESYSTEM. Install one or more Cronus UI components/blocks into the current project by running the version-pinned `cronus-ui add` CLI at the detected project root (nearest directory with cronus-ui.json, else package.json). It writes the component source files, pulls in their registry dependencies, and installs their npm packages with the project's package manager. Use this — not a shell command — whenever the user asks to add/install a Cronus UI component or block. Existing files are skipped unless `overwrite` is true (overwrite discards local edits to those files). Requires…
| Parameter | Type | Description |
|---|---|---|
names * | array | Registry item names to install, e.g. ['button', 'card'] or ['pricing']. Registry dependencies are resolved automatically. |
overwrite | boolean | Overwrite files that already exist in the project (destroys local edits to those files). Default: existing files are skipped. |
skipInstall | boolean | Write the source files but skip the package-manager install of npm dependencies; the result then lists them as pending. |
upgrade_components Upgrade installed Cronus UI components and composed pages
MODIFIES THE FILESYSTEM. Upgrade installed Cronus UI components and composed pages/layouts to the current registry release by running the version-pinned `cronus-ui upgrade` CLI at the detected project root. 3-way merge of installed items AND composed pages/layouts so local edits survive. Prefer this over install_component overwrite and over compose --overwrite. dryRun first is recommended. Defaults to `--all` when `names` is omitted (the usual "pull latest" request). Pass `manifest` for custom compose apps. Requires a project initialised with `npx cronus-ui init`.
| Parameter | Type | Description |
|---|---|---|
all | boolean | Upgrade every installed component and composed pages/layouts (`--all`). Default when `names` is empty. Set false only when passing `names`. |
dryRun | boolean | Preview the per-file plan (fast-forward / merge / conflict) without writing. |
manifest | string | Path to the compose manifest file (`--manifest`). Required when the app was composed from a custom `--manifest` whose name collides with a bundled template (or is not a bundled template). |
names | array | Registry item names to upgrade, e.g. ['button', 'card']. Omit (and leave `all` unset or true) to upgrade every installed component and composed pages/layouts. Named upgrades do not touch pages. |
yes | boolean | Pass `-y`: write conflict markers and confirmed overwrites without asking. Unlike compose_app, this does not default to true. |
apply_theme Apply a Cronus UI theme to the project
MODIFIES THE FILESYSTEM. Apply a theme built in the Cronus UI Create Studio to the current project by running the version-pinned `cronus-ui theme add` CLI at the detected project root. It updates the app layout's theme attributes, writes the theme override block into the global stylesheet (replacing any previous one), and records the theme in cronus-ui.json. Use this when the user provides a Create Studio permalink or an exported theme JSON file and wants it applied. Set `dryRun` to preview the changes without writing anything.
| Parameter | Type | Description |
|---|---|---|
source * | string | The theme to apply: a Create Studio permalink URL, a bare `c=` payload, or a path to an exported theme JSON file. |
dryRun | boolean | Preview what would change without writing any files. |
compose_app Compose a Cronus UI app from a template
MODIFIES THE FILESYSTEM. Generate a full multi-page app from a validated Cronus UI template (saas, store, landing, landing-*, mail, chat, finance) by running the version-pinned `cronus-ui compose` CLI at the detected project root. Prefer this over hand-writing pages: it installs the template's blocks, writes route files that only stack those blocks in <main>, and records the app in cronus-ui.json. Use when the user wants a full product, not a single primitive. Set `dryRun` to preview without writing. Requires a project initialised with `npx cronus-ui init` — this does not scaffold a new app…
| Parameter | Type | Description |
|---|---|---|
template * | string | Bundled app template (saas, store, landing, landing-*, mail, chat, finance). |
brand | string | Brand wordmark baked into chrome/hero. Ignored when empty. |
dryRun | boolean | Preview the validated plan without writing any files. |
overwrite | boolean | Overwrite files that already exist (`--overwrite`). |
skipInstall | boolean | Write the files but skip the package-manager install of npm dependencies. |
variant | array | Block variant selections as slug=id tokens, e.g. ['login=split']. Each becomes `--variant <token>`. |
yes | boolean | Pass `-y` (non-interactive). Defaults to true so agents never hang. |
add_page Add a page to a composed Cronus UI app
MODIFIES THE FILESYSTEM. Grow an already-composed app by one page: install the named blocks, write a generated page that stacks them in <main>, and update the chrome nav + composed record. Runs the version-pinned `cronus-ui add-page` CLI at the detected project root. Use after `compose_app` when the user wants a new route. Set `dryRun` to preview without writing. Pass `app` (`--app`) when the project has more than one composed app. Pass `manifest` when the app was composed from a custom `--manifest`.
| Parameter | Type | Description |
|---|---|---|
blocks * | string | Comma-separated block slugs to stack, e.g. 'pricing,cta'. Variant syntax 'login=split' is allowed. |
route * | string | Route to add, starting with '/', e.g. '/pricing'. |
app | string | Composed app key (`--app`). Required when the project has more than one composed app. |
chrome | string | Chrome group for the page (default: the app's first group). |
dryRun | boolean | Preview the plan without writing any files. |
manifest | string | Path to the compose manifest file (`--manifest`). Required when the app was composed from a custom `--manifest` whose name collides with a bundled template (or is not a bundled template). |
nav | string | Nav label; adds the page to the chrome nav. |
overwrite | boolean | Replace the page if the route already exists (`--overwrite`). |
skipInstall | boolean | Write the files but skip the package-manager install of npm dependencies. |
title | string | Page <title> (default: title-cased route). |
set_theme Set the Cronus UI theme preset
MODIFIES THE FILESYSTEM. Switch the baked-in Cronus UI theme preset (and optionally the color mode) by running the version-pinned `cronus-ui theme set` CLI at the detected project root. Use this for aurora / neutral / midnight / sunset / emerald. For Create Studio permalinks or exported JSON, use `apply_theme` instead.
| Parameter | Type | Description |
|---|---|---|
name * | string | Baked-in preset: 'aurora', 'neutral', 'midnight', 'sunset', or 'emerald'. |
mode | string | Color mode to pin ('dark' or 'light'). Omitting leaves the current mode. |