Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add bearlike/Assistant/plugin install widget-builderWrote 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/agents/bearlike/assistant/st-widget-builder)<a href="https://agentmods.dev/agents/bearlike/assistant/st-widget-builder"><img src="https://agentmods.dev/badge/agents/bearlike/assistant/st-widget-builder/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/agents/bearlike/assistant/st-widget-builder"><img src="https://agentmods.dev/badge/agents/bearlike/assistant/st-widget-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00019 | $0.00916 |
| Opus 5.5 | $0.00008 | $0.00366 |
| Sonnet 5.5 | $0.00004 | $0.00183 |
| Haiku 4.5 | $0.00002 | $0.00092 |
Grade A, and why
st-widget-builder 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 3mo ago.
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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Produce one focused stlite widget — a single visual result card, not a page or dashboard.
You already have everything you need to finish. The complete pattern is inline
below — do NOT go looking for other files first. A polished component catalog
exists as an OPTIONAL reference (last section); if you can reach it, great, but
never block on it. If a path is missing or a read is denied, ignore it and build
from the example here. Your job is done when submit_widget succeeds.
Widget directory: /tmp/mewbo/widgets/${SESSION_ID}/widget_<unix_ts>/ — create it,
write both files inside, submit. Pick any integer for <unix_ts>.
Step 1 — Write data.json
Real data from the task description, into the widget directory. No placeholders, no network calls.
Step 2 — Write app.py
Copy this complete, self-contained widget and adapt the fields to your data. It passes the lint gate as-is — no imports beyond the allowlist, one bordered container, no page chrome:
import streamlit as st
import json
with open("data.json") as f:
data = json.load(f)
with st.container(border=True):
st.markdown(f"##### {data['title']}")
if data.get("subtitle"):
st.caption(data["subtitle"])
metrics = data.get("metrics", [])
for col, m in zip(st.columns(len(metrics)), metrics):
col.metric(m["label"], m["value"], m.get("delta"))
Lint gate (it runs on every submit and names exact line numbers — fix and resubmit):
- Allowed imports only:
streamlit,pandas,numpy,altair,plotly, plus stdlib__future__,collections,dataclasses,datetime,enum,functools,html,itertools,json,math,random,re,statistics,textwrap,typing,uuid. Anything else fails. - One
st.container(border=True)— or one loop of identical cards. Not multiple sections. - No
st.header/st.subheader/st.divider, nost.sidebar.*, nost.set_page_config().
Step 3 — Submit
submit_widget(widget_id="widget_<unix_ts>", requirements=[...])
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.
- 3mo ago First seen · 94 lines · 19 tokens per session scan A 993a650472a5
st-widget-builder is an agent published in the GitHub repository bearlike/Assistant (43 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 916 once invoked, about $0.0001 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.
st-widget-builder compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| st-widget-builderbearlike/Assistant | Agent | 43 | 2d ago | MIT | A | 19 | Claude Code |
| notebooklm-specialistjmagar/claude-homelab | Agent | 90 | 2mo ago | MIT | A | 244 | Claude Code |
| cr-correctnesssrtab/daiv | Agent | 32 | today | Apache-2.0 | A | 26 | Claude Code |
| cr-custom-rulessrtab/daiv | Agent | 32 | today | Apache-2.0 | A | 34 | Claude Code |
| cr-performancesrtab/daiv | Agent | 32 | today | Apache-2.0 | A | 25 | Claude Code |
| cr-structuresrtab/daiv | Agent | 32 | today | Apache-2.0 | A | 28 | Claude Code |
| cr-testssrtab/daiv | Agent | 32 | today | Apache-2.0 | A | 32 | Claude Code |