sb-dashboard
Skill1 starsChanged 40 days agoApache-2.0View on GitHub
Build and refine live dashboards on a Stable Baseline database table: suggested visuals, pages of cards, charts and tables, a picture of each page to check, and a PDF download. Use when user wants a dashboard, KPIs or charts over database rows, or run sb-dashboard.
In this repository14 other files it gives its agents.
- sb-agentSkill
- sb-connectSkill
- sb-create-diagramSkill
- sb-create-docSkill
- sb-create-whiteboardSkill
- sb-databaseSkill
- sb-edit-docSkill
- sb-edit-whiteboardSkill
- sb-manage-dataSkill
- sb-manage-imagesSkill
- sb-searchSkill
- sb-setupSkill
- sb-syncSkill
- sb-updateSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
If you don't know IDs yet: read .sb/config.json (cache.databases), or find the database with listDatabases and read its tables with …
- Very specific: line 13
Read the table: getDatabase with databaseId and table.
- Very specific: line 18
Look at every page you changed: getDashboardImage with databaseId, dashboard and page.
- Very specific: line 23
Every save's answer says how to undo it: saveDatabaseDashboard with restore (the version id from that answer) and dashboard puts it back.
- Very specific: line 29
Look before you report: call getDashboardImage after every save, for each page you changed.
- Distinctive: line 30
Never invent numbers or labels.
- Very specific: line 32
Ask before deleting a dashboard (deleteDatabase with dashboard.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Stable Baseline: Dashboards
Build dashboards over Stable Baseline database tables using MCP tools. A dashboard is live: its numbers update as the rows change. For a chart inside a document, use the sb-create-diagram skill instead.
If you don't know IDs yet: read .sb/config.json (cache.databases), or find the database with listDatabases and read its tables with getDatabase.
Steps:
- Read the table:
getDatabasewithdatabaseIdandtable. Note the field names and types.getDatabasealso lists the database's dashboards: change an existing one rather than making a near-copy. - Get suggestions:
getDatabasewithtableandprofile: true(andsuggest, up to 12) returns facts about each field and ready visuals, each with acandidateref. - Plan the pages with the user: the questions each page answers, and the visuals for them. A good page leads with cards and KPIs, then trends and breakdowns, then a table for the detail. Keep each page to one purpose.
- For a visual the suggestions do not cover:
listDashboardVisualTypes(optionally onegroup), thengetDashboardVisualGuidewith thetypefor its wells, its settings and a worked example. Copy the example's spec and change it. - Save:
saveDatabaseDashboardwithdatabaseId,nameandpages. Each page has anameandvisuals; each visual is acandidateref used as it is, or aspec, with an optionaltitleandsize(small, medium, large or full).layout: "tidy"lays a page out again in the order its visuals are listed. On a big change, call withcheck: truefirst: it checks everything and saves nothing. A dashboard only the user sees takespersonal: true. - Look at every page you changed:
getDashboardImagewithdatabaseId,dashboardandpage. Check the numbers are plausible, no visual is empty, titles fit, and the page reads in order. The answer names any visual with nothing to show. - Adjust and look again:
saveDatabaseDashboardwithdashboardand theversionyou read. A visual with anidis changed, or taken out withremove; one without anidis added. Repeat until the page looks right. - Report the dashboard's name and its link. If the user wants a file,
getDashboardImagewithformat: "pdf"(andpages: "all"for every page) answers a download link.
Undo and reading:
- Every save's answer says how to undo it:
saveDatabaseDashboardwithrestore(the version id from that answer) anddashboardputs it back. - To read an existing dashboard first:
getDatabasewithdashboard, andvisualfor one visual's numbers.
Limits: a dashboard holds at most 20 pages (fewer on smaller plans) and 30 visuals (8 on Free), 24 on one page. One call takes 20 pages, so build a bigger dashboard over several calls.
Hard rules:
- Look before you report: call
getDashboardImageafter every save, for each page you changed. - Never invent numbers or labels. Visuals work their numbers out from the rows; titles say what is shown.
- A shared dashboard is seen by everyone who can open the database. Use
personal: truewhen the user wants one just for themselves. - Ask before deleting a dashboard (
deleteDatabasewithdashboard; it waits in the trash for 30 days) or replacing a page someone built by hand.
Reference:
getDatabaseGuidewith topic dashboards,listDashboardVisualTypes,getDashboardVisualGuide- Tables, fields and rows: the sb-database skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

