bb Dashboards

Ask any agent in bb for a dashboard and keep it: Claude, Codex, Qwen, DeepSeek or any open model you run there.

Why ask the same question every day?

Plugin · for bb · any agent · v0.1 · MIT · 2026. Built with TypeScript, React, OpenUI Lang, MCP, Zod.

Ask for it

Redrawn for this page, with invented data.

  • Weekly sales · Each Monday I save the shop’s weekly sales to exports/weekly.csv. Build a report of revenue and orders against the previous week, and a chart by product. · A weekly sales report: revenue and orders against the previous week, a trend by week and revenue by product · Reads a CSV file and sets this week against the previous week.
  • This branch · Make a dashboard for this branch: its commits since main and the changed files. Keep it refreshing. · A branch dashboard that refreshes itself: tiles for commits, checks passed as a strip of status dots, files reviewed as a progress bar and lines added, the list of commits, and a treemap of lines changed by file · Reads the branch’s commits and changed files, and refreshes itself while you work.
  • Benchmark · Read bench/results.json and compare p50 and p95 latency per endpoint with the previous run, worst regressions first. · A benchmark dashboard: p95 per endpoint as dumbbells from the previous run to this one, a heatmap of p95 over the last eight runs, and a table of the worst regressions · Reads a results file and shows p50 and p95 per endpoint against the previous run, worst regressions first.
  • Open orders · Using the shop connection, build a board of open orders, with a list I can click for details. · A board of open orders: tabs with counts, a warning about orders on hold, the order list with one order picked and its details in a drawer, and a funnel of how far today’s orders got · Reads a read-only tool of an MCP connection, refreshes on a timer with no model call, and gives a list you can click.
  • What-if · Build a small pricing tool for a café: sliders for the price of a coffee, cups sold per day and monthly rent, showing monthly profit and how many cups a day it takes to break even. · A café pricing tool: sliders for price, cups a day and rent with the profit and break-even they give, a waterfall from revenue to profit, and goals for cups a day and the day the rent is paid off · Sliders set the numbers and the program computes the profit, with no data source at all.

Why

A chart in a reply scrolls away. A dashboard stays, and answers without the model.

Asking the agent the same question each day costs a model turn and the time to rebuild the answer. bb Dashboards is a bb plugin that saves what the agent builds, opens it in the side panel, and answers filters and drill-down at once.

  • Turns a prompt into a saved dashboard in its own side-panel tab
  • Keeps its versions, and the newest 100 can be restored
  • Filters, tabs, search and drill-down need no model call
  • Loads live data and refreshes it without the agent
  • Lists every dashboard on a Dashboards page
  • Read-only by design: a dashboard has no way to write

Watch it work

Touch it to take over.

  • Build · Ask for it. · 1 model call · Build me a dashboard of this week’s sales. · A prompt becomes a checked, saved dashboard: version 1.
  • Change · Change it. · 1 more model call · Add a chart of orders by week. · A change saves the next version, and the open panel redraws.
  • Colour · Recolour it. · 0 model calls · The Colours button sets your own accent and chart colours, with no model call and no new version.
  • Edit · Point at it. · 1 more model call · Show this as bars. · In Edit mode you point at a part and say what should change. Each Send costs one agent turn.

In the real thing

The plugin itself, in bb.

  • Drill down without the model · Pick a ticket in a record list and its details open in a drawer, with no model call. · A support queue: one ticket picked in the record list, and its details below with customer, product, owner, age and priority · 1920 · 1200
  • Loads its own data · A dashboard reads files, git, the pull request, MCP connections and approved scripts, and refreshes every 10 seconds at the shortest. · A dashboard over a JSON file: Refreshes itself in the header, a freshness line and a Refresh button · 1920 · 1200
  • Point at a part · In Edit mode, click a part and a popover shows what you picked, with breadcrumbs and a box for what should change. · Edit mode: the revenue chart selected, and the change popover with breadcrumbs and a typed request · 1920 · 1200
  • 62
  • 100
  • 0

How it works

  • Ask · Ask in a thread · In any bb thread, ask for something you want to keep: a dashboard, a report, a tracker or a small tool.
  • Save · Checked, then saved · The plugin checks the whole program, and if anything is wrong nothing is stored and the agent gets the list of problems to fix.
  • Card · A card in the reply · The reply shows a card with the dashboard’s title and Open in side panel.
  • Side panel · Opens beside the thread · The dashboard opens in its own tab in the thread’s side panel, drawn with OpenUI’s renderer in bb’s colours.

Light and dark

Light

Dark

A dashboard follows bb’s theme in light and dark mode.

Read-only by design

The Connections section: one connection ready with 3 confirmed read-only tools, its secret set, and the tools the server offers · 1920 · 1664

Only read-only tools.

A connection can call only tools the server marks read-only and you confirmed. Tokens stay in the operating system’s secure store, never shown to the page or the agent.

  • Added on the Connections page
  • A web connection needs https

The script approval dialog: the warning, why it exists, what it gets, the script with line numbers, and Approve still off · 1536 · 1507

Read it before it runs.

A script source runs only after you approve its exact text. The dialog shows the whole script, flags risky lines and keeps Approve off until you have read to the end.

  • An approved script is not sandboxed

What the agent writes

Programs are checked before they are stored, then parsed and drawn by OpenUI’s renderer, never run as JavaScript.

openui-lang

root = Dashboard([lead, trends, breakdown, detail]) trends = Section("Trend", [Row([Card("Revenue by week", [TimeSeries(weeks, [Series("Revenue", revenue)], "area", "currency-compact")], "full", "Last 8 weeks · USD · weeks start Monday")])]) weeks = ["Sep 21", "Sep 28", "Oct 5", "Oct 12", "Oct 19", "Oct 26", "Nov 2", "Nov 9"] revenue = [18420, 18960, 19310, 18870, 19740, 20380, 21150, 22460]

The dashboard that program draws, in bb’s side panel · 1920 · 1200

What bb draws from that program

Components

62 components: the 45 of OpenUI’s dashboard library, and 17 of the plugin’s own.

  • Dashboard
  • Section
  • Row
  • Card
  • FilterBar
  • PeriodPicker
  • DateRangeFilter
  • Kpis
  • Kpi
  • Table
  • TimeSeries
  • Bars
  • Leaderboard
  • Donut
  • Treemap
  • Waterfall
  • Funnel
  • Heatmap
  • GeoMap
  • Tabs
  • Drawer
  • RecordList
  • SearchBox
  • Slider
  • Freshness
  • RefreshButton

Requirements and costs

  • bb · 0.49 or later · Plugin SDK 0.6.132 or later.
  • Agent · Any agent provider in bb · Tried so far with the Claude Code provider.
  • Git and pull requests · bb’s built-in plugins · Git and GitHub pull request status, for those sources.
  • View, filter, refresh · No model call
  • Change, Edit, AskAgent · One agent turn each · Each change, Edit request, AskAgent click or agent-source refresh.

Questions

What costs a model call?

Building or changing a dashboard is an agent turn. Filters, tabs, search, drill-down, colours, old versions and refreshing a declared source cost none. Data only the agent can reach is refreshed by asking the agent, one turn per refresh.

Can a dashboard change my data?

No. A dashboard has no way to write, and only MCP tools the server marks read-only can be called. That mark is the server’s own claim, so read-only credentials are the real guarantee.

Is an approved script sandboxed?

No. A script runs only after you read and approve its exact text, but approval is not a sandbox: the script can do anything your user account can. An agent allowed to run shell commands could also approve one without the dialog.

Does anything leave my machine?

Nothing the plugin keeps leaves your machine, and it has no telemetry of its own. Secrets are stored only in the operating system’s secure store.

How many versions are kept?

The newest 100, to view or restore in the panel. A save past that deletes the oldest for good.

Can I export or share a dashboard?

No. A dashboard cannot be exported as a web page or shared with other people.

Which agents can build one?

Any agent provider in bb: the plugin gives each one the same skill and tools, whether the model is Claude, Codex, Qwen, DeepSeek or another open model. So far it has been run for real with the Claude Code provider only.

Where has it been tested?

On macOS. Windows, Linux and installing from git are untested, and script sources are not supported on Windows.

Get it

Installs from its GitHub repository.

bb plugin install git:https://github.com/ahsan7162/bb-plugin-dashboards.git@^0.1.0