whodecided: Skill for Claude Code

.claude/skills/workbench-ui/SKILL.md

workbench-ui is a skill for Claude Code from zhu-kai/whodecided. It costs 40 tokens per session (364 once invoked), scanned A, original, MIT.

A development guide for editing the HTML workbench, which is a self-contained browser interface generated from one template string.

In plain words
What is it for?
Use it when changing the workbench template, user-visible text, risk indicators, relationship displays, or verification process.
Why use it?
It highlights formatting hazards and project conventions that could otherwise make the workbench blank or inconsistent.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is zhu-kai/whodecided's own configuration. It tells Claude Code how to work on whodecided itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything whodecided configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zhu-kai/whodecided. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zhu-kai/whodecided/main/.claude/skills/workbench-ui/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/zhu-kai/whodecided

Made for: Claude Code.

Wrote 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.

agentmods badge for workbench-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhu-kai/whodecided/workbench-ui.svg)](https://agentmods.dev/skills/zhu-kai/whodecided/workbench-ui)
Your own site
<a href="https://agentmods.dev/skills/zhu-kai/whodecided/workbench-ui"><img src="https://agentmods.dev/badge/skills/zhu-kai/whodecided/workbench-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00364
Opus 5 $0.00020 $0.00182
Sonnet 5 $0.00008 $0.00073
Haiku 4.5 $0.00004 $0.00036

Measured 8d ago against content hash 2b034096e1f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

workbench-ui 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 8d 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.

.claude/skills/workbench-ui/SKILL.md · 21 lines

What it actually says

The workbench is ONE template-literal string emitting a self-contained page (embedded JSON, vanilla JS, no CDN).

Escaping trap (breaks the page silently): inside the emitted <script>, every backslash needs doubling for the outer literal - \\n not \n, \\" not \", and regex character classes like /[/]/ instead of escaped slashes. A single unescaped backslash produces a blank page with a console error.

Conventions:

  • All user-visible strings live in the T object, English only.
  • One signal, one cue: risk is the red left edge (high only), category is the small colored label, relationships are chips under the text. Never stack a second cue for the same fact.
  • Negative/actionable info goes in the drawer's needs-attention block; healthy states fold into collapsed <details class="dsec"> sections.
  • Benign categories render muted; only silent (red) should pull the eye.

Verify (required before done):

  1. npm run build && npm test.
  2. Render real data - a repo with a populated .wdd/ (not synthetic fixtures), via wdd review --html or a small node script importing dist/render/html.js.
  3. Serve over http (file:// is blocked for MCP browsers), open with Playwright: assert zero console errors, click through a decision drawer, screenshot and actually look at it.
  4. Clean up: temp server, screenshots, scratch scripts.
Changes

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.

  1. 8d ago First seen · 21 lines · 40 tokens per session scan A 2b034096e1f1

Subscribe to this mod's changes

workbench-ui is a skill published in the GitHub repository zhu-kai/whodecided (22 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 364 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

frontend-design

Production-grade UI/UX guidance — not generic AI slop. Triggers on design, UI, frontend, component, styling, layout, make it look good.

AyushParkara/syntra · 36 tokens

browser-extension-developer

Use this skill when developing or maintaining browser extension code in the browser/ directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

yamadashy/repomix · 43 tokens

code-review

Review frontend code for best practices, bugs, and improvements. Use when reviewing PRs, checking code quality, or before committing.

echoVic/blade-code · 29 tokens

optimise-seo

Implements Next.js crawlability, metadata, canonicals, status codes, JSON-LD, hreflang, and crawler policy with served-page evidence. Use when asked to "fix SEO", "add a sitemap", "fix soft 404s", or "add llms.txt". For demand research, briefs, or Search Console monitoring use seo-program.

mblode/agent-skills · 77 tokens

ui-design

Designs and builds React/Next/Tailwind UI and audits visual and interaction defects. Use when asked to "build a landing page", "extract our design system", "add dark mode", "make this responsive", "remove UI slop", or "audit this component". For product decisions use product-design; for browser measurements use…

mblode/agent-skills · 80 tokens

typography-audit

Audits font loading, type scales, measure, spacing, OpenType, and rendered punctuation with 78 scoped rules. Use when asked to "audit typography", "fix the fonts", or "review my type system". For a new visual direction use ui-design Direction; for general UI defects use ui-design Audit.

mblode/agent-skills · 68 tokens