Skip to content
Back to skills

Crundi Widgets

ASecurity

Build live UI panels ("widgets") inside Crundi — a dashboard, table, chart, progress board or log view that you design in HTML, place beside the chat (docked, as a workbench pane, a full tab, an inline card or a top-bar chip), feed from pushed values, the chat's own activity, a file, a SQLite database, a command or a URL, and check yourself with screenshots on desktop and phone before the person sees it. Use when the crundi MCP server is connected and something would be better seen than read ...

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
developmentgosqlapidatabase

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add TheRealFaruhaan/crundi --skill crundi-widgets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Crundi Widgets?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Crundi Widgets
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/therealfaruhaan-crundi-widgets/badge)](https://www.skillsdirectory.com/skills/therealfaruhaan-crundi-widgets)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: crundi-widgets
description: Build live UI panels ("widgets") inside Crundi — a dashboard, table, chart, progress board or log view that you design in HTML, place beside the chat (docked, as a workbench pane, a full tab, an inline card or a top-bar chip), feed from pushed values, the chat's own activity, a file, a SQLite database, a command or a URL, and check yourself with screenshots on desktop and phone before the person sees it. Use when the crundi MCP server is connected and something would be better seen than read — showing progress on a long task, visualising data from a file or database, a build/test/service board, anything the person will glance at repeatedly — or when they say "panel", "widget", "dashboard", "show me live", "visualise", "chart this" or "keep an eye on".
---

# Crundi widgets

A widget is a small live UI you author and Crundi shows inside its own interface. It runs in a sandboxed frame with no network and no access to the page around it; data reaches it through sources the Crundi server reads.

The tools are `mcp__crundi__widget_*`. **Call `widget_guide` first**: it is the full reference (file layout, the `crundi` API in the frame, the design tokens and kit classes for this install, source kinds, slots, a complete example). This file is only the judgement around it.

## Decide whether to build one

Worth it:

- A task that runs for minutes, where the person wants to see where it is.
- Data they will look at more than once: a table from a database, a trend from a log, a board of services or tests.
- A choice they need to make from several options with detail.

Not worth it: a quick answer, one number, a list a sentence covers, a two-minute fix. A widget nobody needed is noise on a small screen.

If you open one without being asked, say so in one line, and close it (`widget_close`) when the work is done unless it is meant to stay (`lifecycle: "pinned"`).

## The loop, every time

1. `widget_open` with an id and a slot. It returns `sourceDir`.
2. Write `index.html` and `widget.json` there with your ordinary file tools. Saving reloads the widget.
3. `widget_render`. Read the report, then **look at each screenshot**. Lint finds overflow, clipped text, small tap targets and poor contrast; only you can tell whether it looks good. Include a phone frame: the person is often on one.
4. Fix and render again until it is clean and looks right. Then tell the person.

Do not report a widget as done without step 3.

## Picking the data source

- Showing your own progress: a `session` source. It follows this chat's todo list, running step and touched files with no pushing and no tokens. Keep your todo list current and the dashboard is good.
- A value only you know (a result you computed, a summary): `push`, updated with `widget_set_data`.
- Anything on disk: `file` or `sqlite`. These keep working after this chat ends, so a pinned dashboard stays live at no cost.
- A `command` or `http` source when nothing else can produce the value. The owner must approve these once on the widget; say that you have asked.

## Picking the slot

- `dock` for live progress on this chat's task. Keep it short: it shares the pane with the conversation.
- `cell` (with `beside`) for something used alongside the work.
- `tab` for dense dashboards and wide tables.
- `inline` for a one-off result that belongs at this point in the conversation.
- `chip` for a status worth a glance from anywhere. It can be a plain label and value, or the panel's own live face in the top bar (a number, a sparkline, a meter, your own icon): mark one top-level element with `data-chip`. Pick the face when the value moves or a graphic says it faster; leave it labelled otherwise.

The person can move, collapse or close a widget. `widget_get` tells you if they did; leave it as they put it.

## Design, briefly

Use the tokens and the `c-` kit from the guide; do not hard-code colours. Design for a 380px-wide frame first. One clear thing at the top. Draw the empty and error states, not only the full one, and write a fixture for each so `widget_render` can show them. Escape any data you put into `innerHTML` with `crundi.esc`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.