Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Candor UI

БесплатноБез исполняемых скриптовНе проверен

Build agent product UIs with Candor UI, a shadcn/ui registry of React components for agents that do real work - approvals, plans, diffs, run logs, chat and…

arunk3от arunk3398 установок в других каталогах

Об этом скилле

Candor UI

Candor UI is for agents that change real things: approvals, plans, diffs and run logs, with data that says how sure it is (a value is measured or provisional, a reasoning step verified or believed) and honesty rules every component keeps (https://candor.themethodic.com/principles). It is a shadcn/ui registry: components are copied into the project with the shadcn CLI and then belong to it. Every component takes plain, typed data, so it works with any model or backend; adapters map the Vercel AI SDK, the Claude Agent SDK and AG-UI onto that data.

Set up and install

Use the candor-ui CLI; it wraps the shadcn CLI and keeps a lockfile so updates can merge.

npx candor-ui@latest init --yes        # registry in components.json, the theme, its import; sets up shadcn if missing
npx candor-ui@4 add thread message composer
  • Where files land: in folders of their own: ui primitives in @/components/candor/ui/…, libraries and types in @/lib/candor/… (for example @/lib/candor/chat), everything else in @/components/candor/… (for example @/components/candor/thread). Import from those paths; the @/registry/… paths in Candor's own repo don't exist in an app, and @/components/ui/… is shadcn's, not Candor's.
  • Client components: anything with state or handlers needs "use client" at the top in the Next.js App Router.
  • Pro and Premium items need the buyer's licence key. The person runs npx candor-ui key <key> themselves (it goes in .env.local, which must stay out of git); never ask for the key in chat or put it in a file you write. In CI, CANDOR_LICENSE_KEY is a secret.
  • Updates: npx candor-ui update brings installed items to the latest release and keeps local changes with a three-way merge; commit candor-lock.json.
  • When something looks wrong: npx candor-ui doctor checks the registry, the key, the theme import, dark mode, React and Tailwind, and says how to fix each.

Without the CLI, add "@candor": "https://candor.themethodic.com/r/{name}.json" to components.json and run npx shadcn@latest add @candor/<name> (for paid items the registry entry needs "headers": { "Authorization": "Bearer ${CANDOR_LICENSE_KEY}" }). npx shadcn@latest mcp init --client claude lets a coding agent browse the registry.

Themes switch with data-theme="light" | "dark" | "hc" on <html>. With none set, the system's light or dark setting applies; "light" turns that off. "dark" and "hc" also work on an inner element (a dark panel in a light page), but "light" doesn't switch back inside a dark one: light is the :root default, not a theme of its own.

Look things up

The docs MCP server is the quickest way to the right component and its exact props. It's free and read-only (no licence key; it serves docs, never paid source). If it isn't connected, suggest the person adds it:

claude mcp add --transport http candor https://candor.themethodic.com/mcp

Other clients add https://candor.themethodic.com/mcp as a remote (streamable HTTP) server. When you build a new screen, call list_screens first: it lists the screens an agent product needs, and get_screen gives one with its layouts, the items that build each, the rules that matter on it and a brief for the agent that builds it. Its thirteen tools:

  • list_screens and get_screen: the screen catalogue, as above.
  • suggest_components: describe the screen or feature; get the items that fit, an install command per tier, and a plain "Candor has no item for this" when nothing does. Pass sdk (ai-sdk, claude or ag-ui) so only your agent SDK's adapter is suggested.
  • search_docs: find items and patterns by what they do.
  • get_component_docs: one item's page (props, example with app import paths, functions, types, LocaleProvider keys). Read it before using an item.
  • get_brief: the same page, as the brief to hand to another coding agent.
  • list_components: every item by group, or one group's items.
  • get_pattern: a common problem in agent UIs and the items that solve it.
  • get_started: installing, connecting an agent SDK, licence keys and updates.
  • get_design: the colour roles, type, radius, motion and themes, and how to re-token for a brand.
  • get_review_checklist: the checks to run after each screen.
  • theme_check: after editing candor-brand.css, call it with the file's contents; it runs the checks of npx candor-ui theme check and says what it couldn't measure.
  • item_changes: before updating an item, what changed in it between the project's version (in candor-lock.json) and another: props, exports and string keys added, removed or retyped, files touched, and the CHANGELOG entries that name it. Records start at 2.7.0; for an earlier version it says what isn't known.

Without it, every docs page is Markdown at https://candor.themethodic.com/docs/<name>.md, indexed in https://candor.themethodic.com/llms.txt.

Choose comp

Полный SKILL.md на ClawHub

Установить Candor UI в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Candor UI?

Build agent product UIs with Candor UI, a shadcn/ui registry of React components for agents that do real work - approvals, plans, diffs, run logs, chat and tool calls, traces and evals, and the app shell around them. Use when building or changing a React or Next.js interface for an AI agent, when the project's components.json lists the @candor registry, or when the user mentions Candor. Covers installing components, choosing the right one, wiring the Vercel AI SDK, Claude Agent SDK or AG-UI adapter, and the honesty rules every Candor screen follows.

Как установить скилл Candor UI?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Candor UI запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Candor UI с