Entry point for building with Boring UI (the @hachej/boring-* npm packages and shadcn registry blocks for apps with an AI agent inside, on the Pi agent harness). Use when a task mentions boring-ui, @hachej/boring-ui-kit, @hachej/boring-agent, @hachej/boring-files, boring-ui-blocks, PiChat, AgentWorkspace, FloatingComposer, AppShell, or asks to "add an agent/assistant/chat to my app", "build an app with an agent inside", or "use the Boring kit". Explains the packages, the rules every change must follow, and which boring-ui skill to load next.
Ships in boring-ui-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Boring UI is a kit for putting an AI agent inside an app. It has two halves:
The agent runs on Pi (@earendil-works/pi-durable). The app's server opens Pi's Harness; the kit adds agent definitions, tools and HTTP handlers around it.
| The task | Load |
|---|---|
| Create an app with an agent, or add an agent to an existing React/Node app | build-agent-app |
| Lay out the app (AppShell layouts, navigation, list and detail), place the agent (shell layer, full page, embedded, ambient), customise the chat (labels, conversations, mentions, cards) | app-layout-and-agent |
| Install, update, restyle or check UI blocks | add-blocks |
Style an app: theme tokens, DESIGN.md, which kit part to use, fixing a boring-ui-blocks design hit | boring-design-system |
| Give the agent tools, file access, approvals, questions, sub-agents or schedules | agent-capabilities |
Keep all @hachej/boring-* packages on the same version. Pi packages are peers pinned to ~1.6.0.
| Package | Use it for |
|---|---|
@hachej/boring-ui-kit | Headless controllers, editors and viewers; the registry items under r/; the boring-ui-blocks command |
@hachej/boring-agent | defineAgent (/agents), chat transport (/chat-transport), conversations (/conversations), present (/artifacts), file guard (/file-guard), approvals (/approval), questions (/ask-user), schedules (/schedule), memory (/memory/optchat) |
@hachej/boring-files | The workspace provider (/workspace), its journal (/journal, /sqlite), the browser revision provider (/revision) and its handler (/revision-handler), Node HTTP glue (/node-http) |
@hachej/boring-execution | Virtual Bash and Git (/virtual, /virtual-git), remote shell and file system adapters |
@hachej/boring-feedback | In-app feedback capture and delivery |
@earendil-works/pi-durable, pi-ai, chord | Pi itself: Harness, createRegistry, defineTool, storage, NodeExecutionEnv, models, context |
Main blocks: pi-chat (the conversation), pi-workspace (chat plus an artifact panel), pi-app (a whole agent page: sessions, chat, viewers), app-shell (one agent above any app, phone drawer and desktop panel). The full list is in registry/README.md.
Follow these on every change. They come from INVARIANTS.md and AGENTS.md.
Harness, its storage, its models and its credentials. Kit packages never open one. Do not wrap Pi in a new engine, registry or scheduler; use Pi's public APIs (defineTool, defineExtension, registry.install, conversation.configure).authenticate and resolve callbacks of the handlers). Never put a model key in browser code.createWorkspaceProvider). The agent's file tools (through createFileGuard), present, the viewers and the file tree all use that same instance. No second copy, mirror or sync.labels, icons, headerActions, artifactKinds, viewers, renderTool, …) and the shadcn theme tokens. Never edit an installed block file; npx boring-ui-blocks check fails on edited copies.ExecutionEnv (a shell or sandbox). Do not import() or eval workspace content.FieldLabel variant="flat"); in a flat list use a trailing Switch, a Checkbox row is a choice and is bordered; see pattern-labelled-row-flat in features/patterns.md.npm view @hachej/boring-ui-kit version. Use it for every @hachej/boring-* package and every registry URL.npx boring-ui-blocks check --design src passes.npm run check passes.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/add-blocksFind, install, update, check and theme Boring UI registry blocks (shadcn items such as pi-chat, app-shell, pi-workspace, pi-app, app-shell, viewers, file-tree, documents, feedback, windows) with the boring-ui-blocks command. Use when asked to "add a chat/agent block", "install pi-app", "upgrade/update the Boring blocks", "boring-ui-blocks check fails", "blocks edited", "restyle/rebrand the agent UI", "change the chat labels/icons/actions", "dark mode for the chat", or when tempted to edit a file under src/components/pi-*./agent-capabilitiesGive a Boring UI in-app agent capabilities and gate them safely - custom tools, workspace file access (file guard, present), Approve/Deny approvals, ask_user questions, sub-agents (delegate), schedules, sandboxes and self-evolving tools. Use when asked to "add a tool to the agent", "let the agent edit files", "require approval before X", "ask the user a question", "add a sub-agent/delegate", "schedule a follow-up/reminder", "dry-run/sandbox the agent", "let the agent write its own tools", or when choosing which tools to gate with requireApproval or createApprovalExtension./app-layout-and-agentLay out a Boring UI app and place its agent. Use for AppShell (layouts screen, workspace, chat), nav items, ListDetail, screen headers, the phone tab bar or sheet, the collapsed left pane, where the agent lives (shell layer, full page, embedded screen, ambient bar, placed), and for customising the chat from the app side (AgentSpec, chatProps, labels, conversations, mentions beyond files, tool cards, natural presentation). Pick this before writing any layout code or any PiChat prop./boring-design-systemHow every Boring app gets its look: theme tokens plus the app's own components built from kit parts, checked by one command. Use for any UI work in a Boring app (a new screen or component, restyling, rebranding, dark mode, phone layout, "make it look like X") and whenever `boring-ui-blocks design` reports a design-* or kit rule. Takes precedence over generic design skills on fonts, colours, icons and libraries./build-agent-appBuild a React + Node app with an AI agent inside using Boring UI, or add one to an existing app. Use when asked to "create an agent app", "add an AI assistant/chat/copilot to my app", "scaffold a Boring UI app", "wire AgentWorkspace/PiChat to a server", "set up the Pi Harness with the kit", or to connect the pi-app, pi-chat or app-shell blocks to defineAgent, createChatTransportHandler, createConversationsHandler and createRevisionHandler. Gives the verified smallest setup (one Node server, one page) and how to extend it./boring-ui-kit:boring-uifrom boring-ui-kit
boring-ui-kit@boring-stack is listed by hachej/boring-stack — review the source before installing
npx claudepluginhub hachej/boring-stack --plugin boring-ui-kitOther plugins' skills for the same job