brsbl/bb-plugins/desktop-apps
Claude Code and agent skill by brsbl/bb-plugins
- community
Checking that the SKILL.md file is still in the repository.
Make a bb plugin open in the Desktop plugin's Windows XP windows, Start menu, and Quick Launch. Use when a plugin author wants their panel, tool, or controls to be a Desktop app, or asks to make a plugin compatible with Desktop.
Install
npx vskill@latest install brsbl/bb-plugins/desktop-appsSKILL.md
The same SKILL.md was published earlier as brsbl/bb-plugins/desktop-apps.
Desktop apps
The Desktop plugin turns bb's new-thread page into Windows XP. Any plugin can opt in so its UI opens as an XP window on that desktop:
- The app appears under Apps in the Start menu and can be pinned to Quick Launch.
- Opening it creates a draggable, resizable, minimizable XP window with a taskbar button.
- The plugin renders its own React UI inside the window. Its SDK hooks (
useRpc,useSettings, sidebar threads, and so on) keep working, because the UI is portaled from one of the plugin's own slots.
Opting in is optional and safe: when Desktop is not installed, turned off, or on a phone-sized screen, nothing renders and the plugin behaves as before.
Steps
- Copy desktop-app.tsx into the plugin (for example
desktop-app.tsxnext toapp.tsx). It has no dependencies beyond React. - Render
DesktopAppfrom anexperimental_appOverlayslot. The host draws no chrome around an overlay and mounts it once per bb window, so nothing shows when Desktop is absent. If your plugin already registers an overlay, renderDesktopAppinside it instead.
- Build the plugin and install it in bb, for example
bb plugin install "path:$PWD" --yesfrom the plugin's directory, then reload it after each change. The app appears in Start › Apps once the plugin is loaded.
- Optional: open the window from elsewhere in your plugin, falling back to your normal UI when Desktop is not active.
Fields
| Field | Required | Meaning | |
|---|---|---|---|
pluginId | Yes | Your plugin's id (letters, digits, -, _). Use the same value every time; it keys saved windows and Quick Launch pins. | |
id | Yes | The app's id within your plugin. Register several apps with different ids if you have several tools. | |
title | Yes | Window title, taskbar button, Start menu, and Quick Launch label (80 characters max). | |
description | No | One line, shown as the app's tooltip in the Start menu's Apps list. | |
icon | No | An image URL: a same-origin path such as your plugin's asset route, an https: URL, or a data:image/ URI. Without one, Desktop shows a generic app icon. | |
width, height | No | The window's first size in CSS pixels (240 to 2000). |
children is a function that receives the window's id and returns the UI to render in that window. It renders once per open window of the app (Desktop opens at most one window per app).
Design
Your UI sits inside an XP window body. Keep bb's own components and tokens for the content; Desktop supplies the window chrome. For icons, follow the icon rules in Desktop's docs/DESIGN.md if you want the app to feel native: an angled object lit from the upper left, a colored outline, and room for a soft drop shadow.
Sidebar footer panels need nothing
If your plugin already has a sidebar footer panel (experimental_sidebarFooter with kind: "disclosure"), Desktop shows that panel as an XP window when the sidebar is collapsed, with no changes on your side. Use a Desktop app when you want a real window with a taskbar button and a Start menu entry.
Contract
- Desktop publishes
window.bbDesktopAppswithversion: 1and dispatches abb-desktop-apps:readyevent when it loads, reloads, or turns off (when it turns off,window.bbDesktopAppsis gone). The helper re-reads the registry on that event, so load order does not matter and a plugin lets go when Desktop turns off. registerAppreturns an unregister function; the helper calls it on unmount. Registering the samepluginId/idagain replaces the earlier registration.- Invalid registrations are ignored with a console warning.
- The registry lives in the browser tab. There is no CLI for it, because the apps exist only while their plugins are loaded in a bb window.
window.bbDesktopAppsstays version 1 for as long as Desktop exists, so copied helpers keep working. A breaking change would be published alongside it under a new name rather than by changingversionon this object.- Plugins that followed an earlier version of this skill and render
DesktopAppfrom a homepage section keep working: Desktop hides that section.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/desktop/skills/desktop-apps/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brsbl/bb-plugins/desktop-apps)