/hermitd:hermit-dashboard-designfrom hermitd
Designs a custom dashboard for a hermit agent based on its tracked data, creating a deterministic renderer script that rebuilds the page from disk files on every refresh at no generation cost.
Ships in hermitd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every hermit ships with the same dashboard: status, brief, proposals, weekly, compiled index. It's a reasonable default and it's wrong for almost every hermit that has been running a while. A hermit tracking training load should lead with training load. One watching a house should lead with what's broken. One reading feeds should lead with what's worth reading.
This skill replaces that default with a page designed around this hermit, and does it in a way that stays free to keep current: you design once, and what you leave behind is a small program that rebuilds the page from the hermit's own files every time the page refreshes.
artifact-render: bun ${CLAUDE_PLUGIN_ROOT}/scripts/artifact.ts render <type> .hermitYou design the page. A script renders it — every time, forever, without you.
The dashboard republishes on every morning brief, every evening brief, every weekly review, and every proposal event. If a model composed the page on each of those, an always-on hermit would pay a generation several times a day for a page nobody may open. So the artifact of this session is not a page — it's dashboard-render.ts, a deterministic script in the hermit's state dir. After today, refreshes cost a script run.
This means: anything that changes between refreshes must be computed by the renderer from files on disk, never written as a literal by you. Text that never changes (headings, an operator's chosen framing, section labels) is fine as a literal.
Don't ask the operator what they want yet — most of the answer is already on disk. Read enough to know what this hermit accumulates and what its work is about:
.hermit/knowledge-schema.md — the per-hermit contract for what it produces and when. The single most useful file here..hermit/compiled/ — durable outputs (listing + frontmatter of the interesting ones). These are display-ready markdown and make excellent dashboard sections..hermit/state/ and fixed-name files in .hermit/raw/ — machine state: baselines, snapshots, digests. Rich, but usually JSON that needs shaping..hermit/OPERATOR.md — what the operator cares about, in their words..hermit/config.json — identity, language, what routines run (so you know what will be fresh and what won't).${CLAUDE_PLUGIN_ROOT}/../*/.claude-plugin/) — a domain hermit's own docs say what its data means.Then form a view: what is the one question this operator opens this page to answer? That question is the page's lead. Everything else supports it or goes.
A hermit with little history yet is a real answer too: say so, and suggest the default page until there's something worth showing.
Load the artifact-design skill and design properly — it owns the visual craft, and a dashboard is exactly the kind of page it's for.
What's yours to decide here:
<script> runs.Write in the operator's language from config.json when it's set.
dashboard-render.tsWrite it to .hermit/dashboard-render.ts. Its presence is the switch — core detects it and hands the whole dashboard render over to it. There is no config flag to set.
Contract the script must honor (core relies on exactly these):
argv[2].<hermitDir>/state/dashboard.html.{"path":…,"bytes":…,"hash":…} — and nothing else. Core fails an exit-0 run whose stdout doesn't parse as that receipt, so a stray debug console.log costs the refresh.<!DOCTYPE>, <html>, <head> or <body>; the Artifact tool supplies the shell. A <style> block and inline <script> are fine.The hash decides whether a publish happens, so compute it right: hash the page with the timestamp still a placeholder, then swap the real timestamp in afterwards. Otherwise the page mints a new artifact version on every single refresh, twice a day, forever.
Core hands you its own data if you want it. Call this from inside dashboard-render.ts, not from this session: the payload carries the whole stylesheet and all five rendered cards, sized for a script to parse rather than for your context.
bun ${CLAUDE_PLUGIN_ROOT}/scripts/artifact.ts state dashboard .hermit
returns {state, theme_css, core_sections, updated_token} — the same state the default page renders from, the live stylesheet (so core's theme and dark-mode fixes keep reaching your page), the default cards as ready HTML you can embed verbatim, and the placeholder to use for the hash trick. Use what helps; ignore the rest.
Escape everything that came from a file. Compiled docs and raw snapshots can contain text a hermit fetched from the web, which means an attacker's text can reach your page. Escape it into element content; never interpolate it into an attribute, a <script>, or a <style>, and only allow https:/#/mailto: links. This is not optional — the page is published to the operator's account and can be shared.
Skeleton to adapt (not to copy verbatim — the interesting part is what you put in sections):
import fs from 'node:fs';
import path from 'node:path';
const hermitDir = process.argv[2];
const esc = (s: string) => s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>')
.replace(/"/g, '"').replace(/'/g, ''');
const readJson = (rel: string) => { try { return JSON.parse(fs.readFileSync(path.join(hermitDir, rel), 'utf8')); } catch { return null; } };
const STAMP = '__DASHBOARD_UPDATED__'; // excluded from the hash, swapped below
const sections = [ /* your cards, computed from the hermit's files */ ].join('\n');
const page = `<style>/* … */</style>
<main class="page"><h1>…</h1>${sections}
<footer><span class="updated">updated ${STAMP}</span></footer></main>`;
const hash = new Bun.CryptoHasher('sha256').update(page).digest('hex');
const html = page.replaceAll(STAMP, esc(new Date().toISOString()));
const out = path.join(hermitDir, 'state', 'dashboard.html');
fs.mkdirSync(path.dirname(out), { recursive: true });
fs.writeFileSync(out, html);
process.stdout.write(JSON.stringify({ path: out, bytes: Buffer.byteLength(html), hash }) + '\n');
Before installing it: back up any existing dashboard-render.ts (the operator may have hand-edited it), run the new one, and confirm it exits 0 and writes the file.
Publish the rendered page following ${CLAUDE_PLUGIN_ROOT}/docs/artifacts.md § Shared refresh procedure — same dashboard state key, same URL as the default page had, so nothing else changes and the operator's existing link keeps working.
Then give the operator the URL and invite reactions in plain language. Don't present a checklist; show them the page and let them tell you what's wrong with it. "Move X up", "drop the cost card", "add last week's total" are all just edits to the renderer.
If the hermit runs permission_mode: auto, note that unattended refreshes may hit the permission classifier on the renderer call; since the operator asked for this in their own message, you may add a permissions.allow entry for it in this session.
${CLAUDE_PLUGIN_ROOT}/docs/artifacts.md; no redesign needed.dashboard-render.ts; the default page comes back on the next refresh, same URL.What SKILL.md sets; muted values are Claude Code's defaults
41 skills in this plugin
/briefReturns a 5-line executive summary of recent work. Checks open records first, then recent task outcomes. Activates on messages like "brief", "what happened", "morning update", "overnight summary", "progress", "what are you working on", "how's it going"./browserDrives the agent's own browser, or the operator's Chrome for their accounts. Use before giving steps that send someone to a web console to create or change something on an account (an API key, a bot, an app registration), even when the person will do them by hand or no browser is available. Also use when WebSearch fails, or when WebFetch cannot read a page: it is refused (such as 402 or 403), stays rate-limited after a retry, times out, or returns an empty page, a JavaScript-only shell, or a block notice in place of the content asked for. Use it before answering from other sites or searches, above all when the person named or linked the page, even if the browser may be off. Also use when a page needs clicks, forms, scrolling or sign-in; or when a screenshot or exact rendered text is needed. Public read-only lookups start with WebSearch or WebFetch./capability-brainstormMonthly routine plus on-demand hermit-voice brainstorm — synthesizes memory, capabilities, recent artifacts, and codebase shape into at most 2 capability ideas, each gated by proposal-triage before becoming a proposal task. Runs on the capability-brainstorm routine and when the operator asks to brainstorm capabilities or ideate, e.g. "brainstorm capabilities", "any capability ideas?"./channel-accessManage chat access. Let someone talk in a chat, remove them, see who can talk here, open a chat to everyone, turn a chat off, or remove someone who is no longer an approver./channel-responderHandles inbound messages tagged <channel source=...> from Claude Code Channels, routing replies, task work, approvals, and operator controls with session context./channel-setupGuided channel activation for local/tmux users; adds a channel entry when none is configured, installs the plugin, configures the bot token in the project-local state dir, and walks through pairing. Run after hatch, or any time to add or re-enable a channel.npx claudepluginhub gtapps/hermitd --plugin hermitdOther plugins' skills for the same job