Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mindsdb/anton --skill build-html-dashboardgit clone --depth 1 https://github.com/mindsdb/antonWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mindsdb/anton/build-html-dashboard)<a href="https://agentmods.dev/skills/mindsdb/anton/build-html-dashboard"><img src="https://agentmods.dev/badge/skills/mindsdb/anton/build-html-dashboard/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mindsdb/anton/build-html-dashboard"><img src="https://agentmods.dev/badge/skills/mindsdb/anton/build-html-dashboard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Anti-Refusal · line 106 Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00195 | $0.08066 |
| Opus 5.5 | $0.00078 | $0.03226 |
| Sonnet 5.5 | $0.00039 | $0.01613 |
| Haiku 4.5 | $0.00019 | $0.00807 |
Grade A, and why
build-html-dashboard scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LIST THE INSIGHTS (terse — one line each, not an essay):
Before coding, list the insights you want to present/convey/highlight as 1 - <chart/infographic/etc>: <insight it conveys and why it matters>..
Example: 1 - Line chart of weekly signups: shows growth inflection after the March launch, flags whether momentum is sustained.
This is a checklist, not a brief — no narrative prose, no design discussion.
For an Earth map or globe, follow the always-available MAPS AND GLOBES guidance: use real coastlines and country geometry, never invented or hand-transcribed outlines, coordinate arrays, decorative blobs or a blank sphere. SVG paths generated from authentic geographic data are allowed, as is authentic user-supplied GeoJSON; non-geographic maps and explicitly requested schematics remain valid. Load the atlas in the page's JavaScript, not in Python or a scratchpad. During repairs, preserve the real geography and requested views and interactions while fixing the failure; this also applies when no skill recall is needed. Keep library names and loading details out of the user-facing brief.
BUILD THE DASHBOARD — use multiple scratchpad cells, but produce ONE single self-contained HTML file:
Before the first write, call create_artifact(type="html-app", name=..., description=..., primary="index.html") (with display="inline" for a chart shown inside the chat reply, or display="widget" for a page that collects the user's input there: see INLINE AND WIDGET at the end) and use the returned <artifact_path> for every file you write. All paths below referring to "the output directory" mean <artifact_path>. The final dashboard MUST be a single .html file with all data, CSS, JS and images inlined, with no exception: the web app preview shows only the page itself, so a separate file next to it (dashboard_data.js, logo.png) does not load there, whatever its size. Build every page this way so it renders on every deployment. Keep the whole page under 8 MB; a larger page cannot be checked in a browser.
REROUND DISCIPLINE (critical — most "round-cap exhaustion" failures we've seen on real dashboards come from drifting off one or more of these):
- ONE scratchpad, ONE name. Pick a name on the first cell (e.g.
dash) and reuse it for the entire build. Switching names (build_pres→write_html→pres1…) creates separate isolated environments — variables in one don't exist in another — and burns rounds on recovery. - WRITE TO DISK INCREMENTALLY. Open the output
.htmlonce in 'w' mode, thenopen(path, 'a')to append head → body skeleton → each chart section → nav/JS → closing tags. Each cell appends a small chunk you can sanity-check. Do NOT build a single 20KB+ HTML string in memory and write it at the end. - CAP STRING SIZE PER CELL at ~5KB. Large-string scratchpad calls are the single biggest cause of silent failures (the tool occasionally drops the
codepayload on oversized inputs and the cell comes back with an empty-code error, which still counts against the round cap). If a section is too big, split it. - NEVER re-emit the full HTML mid-build. Append deltas, don't re-print the world. Assembly is a one-line concat at the end, not a re-render of everything you've written so far.
- KEEP READS SMALL. To verify what landed,
os.path.getsize(path)or theread_text_filetool withstart_line=-20— never read a multi-KB HTML whole.
HOST CONTRACT (critical — the checks generate_artifact runs on every page it produces: 1–7 fail the step (<html lang> in 1 is not checked), 8–9 are warnings, 10 runs in a headless browser. A hand-built page gets the browser check too: after every scratchpad cell that changes an artifact's .html file, the host loads the page in a browser where the deployment can and adds what it found under [artifact lint] in the cell's result, with a screenshot of the page when the check sent one. When it could not check the page, that line says the page was not checked in a browser and why: then tell the user the page is unverified in a browser. Items 1–9 are not checked for a hand-built page, so verify them yourself before you finish):
- A complete HTML document with an explicit
<body>...</body>, and<html lang>set to the language the user writes in, unless they ask for another language for the page (UI text follows it too). <meta name="viewport" content="width=device-width, initial-scale=1.0">in<head>.- No absolute URL in any
fetch()call. A map loads its atlas,https://cdn.jsdelivr.net/npm/[email protected]/countries-110m.json, withd3.json(...)(item 9), not withfetch(). No root-relative path either, insrc,href,fetch()ornew EventSource(): a value that starts with a single/(/logo.png,/api/export) breaks in the app preview and once published, because the page is served under a path prefix that a path from the root drops. Use a relative path for a link to another page (details.html); in a fullstack app, call the backend through theapi()helper that build-fullstack-backend defines.https://,//,data:,blob:,#andmailto:values are fine, sohref/srclinks to external sources stay allowed. Moving the same root-relative path into a JS string does not fix it. - Every opened
<script>block is closed with</script>— an unclosed one silently disables all JS. - The global name
window.__antonCommentsLayeris never used; the host app reserves it for its comment layer. - No universal
* { ... !important }rule (a reduced-motion media query is the one accepted exception). - Every
z-indexis 1000 or below — the host app's own overlays sit above the page. - Significant block containers (
div,section,table,main,article) carry stableidattributes — the host app attaches comments to them. - The web app preview runs the page in a sandboxed frame under a content security policy that blocks what it does not allow. Build to that policy so the page renders on every deployment. Scripts load only from
https://cdn.jsdelivr.net/npm/<package>@<exact version>/...: pin an exact version, since a floating@4,@5or@latestcannot be checked. Styles are inline only (<style>orstyle=): no external stylesheet, so no Leaflet CSS and no web fonts. No external images or map tiles: embed an image as adata:URI. Noeval/new Functionand no web workers. The default external resources are the two CDN scripts named under Visual design (Tailwind, ECharts); another library only when the user asked for it, from jsDelivr at an exact version. For a map or a globe, use a tested recipe: [email protected] with [email protected] and [email protected], loadingcountries-110m.jsonwithd3.json(item 3) and turning it into GeoJSON withtopojson.feature(world, world.objects.countries). Draw that GeoJSON with d3 into an<svg>; or with ECharts 5.5.1 throughecharts.registerMap(name, geoJson)and amapseries; or on a globe with [email protected] withpolygonsData. Also tested: [email protected] as an ES module, [email protected]. For motion, use CSS transitions and keyframes, the Web Animations API (element.animate()), or the animation ECharts and d3 already have; load no animation library. Leaflet, raster tiles, MapLibre (it needs a worker) and echarts-gl (it needseval) break that policy, so they do not render in the web app preview. - Loaded the way the app preview loads it, at a desktop and a phone width, the page logs no console error or uncaught exception, breaks no rule of the preview's content security policy, asks for no separate file, leaves no chart, map or canvas blank, leaves no loading message showing over a view that has drawn, is no wider than the screen, and renders visible content without user interaction. Start every view through this one helper: each chart, map, globe or other view that runs setup code, on load or on its tab's first visit. Put the helper alone in the page's first inline
<script>:const viewSetups = new Map(); function defineView(name, setup) { viewSetups.set(name, viewSetups.has(name) ? () => { throw new Error('two scripts defined this view'); } : setup); } function runView(name, el) { const fail = (err) => { const why = err && err.message ? err.message : String(err); if (el) { el.setAttribute('data-view-failed', name); el.textContent = name + ' could not load.'; } console.error(name + ' failed: ' + why); if (typeof reportError === 'function') reportError(new Error(name + ': ' + why)); }; const setup = viewSetups.get(name); if (typeof setup !== 'function') { fail(new Error('no script defined this view')); return; } try { const done = setup(el); if (done && typeof done.then === 'function') done.catch(fail); } catch (err) { fail(err); } }. Give each view an inline<script>of its own that holds only its setup, registered under the view's title as the page shows it. Give each view a title no other view on the page uses: two scripts that register one title fail both views. The setup takes the view's element and may beasync:<script>defineView('Shipment map', (el) => { /* draw the map */ });</script>. Declare nothing else at a view script's top level: every function and constant the view uses goes inside its setup. A page's scripts share one global scope, so two views' top-levelfunction rendersilently swap, and one view draws the other's chart with no error. Shared code, such as the data and formatters, goes in scripts before the views'. The page's last script starts each view by its title once the page has parsed, on load or on its tab's first visit:addEventListener('DOMContentLoaded', () => { runView('Shipment map', document.getElementById('world-map')); });. A<script type="module">runs after every classic script, so a view it registers exists only by then. Keep the functions the page's HTML calls, such as a tab'sshowPage, outside that listener, where anonclickattribute finds them. The browser parses each<script>on its own, so a syntax error in one view's script stops only that view: it shows a plain-text message in its place, and every other view still draws. A view whose setup throws or whose promise rejects fails alone the same way. Never put two views' code in one script, and never pass a setup function torunView. Await or return every promise the setup starts, such as the atlas'sd3.json(...). Don't end it with a.catchof your own: the helper must see the failure to name and mark the view. Keep the helper as written: itsconsole.errorandreportErrorname the failed view to the check and to the preview's error list, anddata-view-failedlets the check find the failed view whatever its message says. A view's owntry/catchthat only writes a message hides the error from the check. Log withconsole.erroronly a view that failed to draw. An expected failure stays silent or usesconsole.warn: the storage helper in item 11 catches a throw on every load in the preview frame, and aconsole.errorthere fails the check. Not checked by the pipeline, but the page breaks inside the frame without them: - BROWSER STORAGE (critical):
localStorage/sessionStorage/indexedDB/document.cookiemay be unavailable — the in-app preview runs the page in a sandboxed frame. Never touch them directly during top-level initialisation: a throw there aborts the script before any listener is bound, and the page renders with every control dead. Go through one guarded helper with an in-memory fallback. - LINKS: the page runs inside a frame, in the app preview and on the published link alike.
target="_top"andtarget="_parent"do not work; give a link to another artifact or an external sitetarget="_blank", or it opens inside the frame.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +59 lines · +52 tokens per session 53ac0849f5db
- 9d ago Changed bc4ddb972f8e
- 27d ago Changed · +5 lines 0b32789ccc77
- 1mo ago Changed · +2 lines · +22 tokens per session 7fe9d1f47d5b
- 1mo ago Changed · -9 lines 147a9bb0c5ff
- 1mo ago Changed · +2 lines 3e6d9ee65702
- 1mo ago Changed · +1 lines · +25 tokens per session fd05c242f36a
- 2mo ago Changed · +24 lines · +6 tokens per session 147f13bf5cea
- 2mo ago Changed · +31 lines 020cdcdae0a5
- 3mo ago First seen · 92 lines · 90 tokens per session scan A e148b77aab88
build-html-dashboard is a skill published in the GitHub repository mindsdb/anton (753 stars, last pushed today), licensed MIT. It adds 195 tokens to every session and 8,066 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
build-html-dashboard compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| build-html-dashboardmindsdb/anton | Skill | 753 | today | MIT | A | 195 | Claude Code, Codex |
| knowledge-basewonderwhy-er/DesktopCommanderMCP | Skill | 10k | today | MIT | A | 112 | Claude Code |
| dd-code-generationDataDog/pup | Skill | 1.0k | today | Apache-2.0 | A | 16 | Claude Code |
| build-teaql-appteaql/teaql-agent-kit | Skill | 2.8k | 20d ago | MIT | A | 112 | Codex |
| taiyi-ui-designDong90/oh-my-taiyiforge | Skill | 855 | 14d ago | MIT | A | 35 | Claude Code, Codex |
| output-standardsWrongStack/WrongStack | Skill | 444 | today | MIT | A | 77 | Claude Code, Codex |
| web-platform-baselineWrongStack/WrongStack | Skill | 444 | today | MIT | A | 110 | Claude Code, Codex |