Repository navigation
Releases
mod-kit 0.5.0
Desktop preview (scripts/desktop-preview/preview.mjs)
- Reads Claude Desktop 18.19841: the installed build's own validator, size pre-check and tree bounds decide what draws. A refused tree is named and not drawn, and a dropped node on an oversized tree is reported.
--test <file>draws every tree a test mounts, including timed-out mounts. Each session trigger the test fires (compaction, turns, tool calls, session start and end, agent spawn) becomes a step on the contact sheet, with the trees it changed, every$.theme.setand$.theme.clear, and the mod's answers for the transcript rows the test asks for. A step with no visible effect is listed as such.--site transcriptpreviews a sequence of transcript rows. Unanswered and refused rows are drawn as Desktop 18.19841 draws them, and a component Desktop gives up on stays native.--pluginseats a rail Pane by the 2.1.332 placement types.CodeandMarkdownnodes the preview does not draw are reported asLEAF_NOT_DRAWN.- A test run stops cleanly on a signal, a second signal no longer cuts its cleanup short, and a finished or stopped run leaves no browser profile or run folder in the system temp folder. A run killed outright can still leave one.
New scripts
scripts/probe/: a probe mod that records real event and render payload shapes; read them withscripts/probe/read.mjs.scripts/transcript-rows.mjs: counts the row kinds in a session JSONL.
mod-native-guide
- New references: which transcript rows reach a mod, agent, workflow and child-session payloads, and a topic index of what Desktop already shows natively.
- A table of the triggers a test can fire, with what Desktop delivers and where the effect shows, plus a live-check recipe.
- Claims read only from the bundled engine types are labelled DOC with their build.
mod-auditor
- Ten checks instead of seven: lifecycle and keys, states and motion, and native twins are new. It accepts owner-accepted recipes.
- A dock pane flags only real hover cards as transparent.
mod-kit 0.4.1
- Added
docs/knowledge/limits.md, updated the README,how-it-works.md,install.mdand manifest description with current Claude Desktop and Claude Code build references, and added an animated workflow illustration (assets/demo.svg). - No skill, Desktop preview or
mod-auditorbehavior changes.
mod-kit 0.4.0
The Desktop preview is faster, runs a live mod or theme directly through the CLI's UI protocol with no model turn, covers every UI site and theme surface, and adds automated layout and wire diagnostics.
New in 0.4.0
- Live mod and theme preview.
--plugin <dir>attaches toclaudeover its streaming UI protocol with zero model turns, auto-discovers panes, hooked sites, theme colors,ThemeStyle, still grounds and moving backdrops, and records each step. - Interactive UI actions.
--press,--input,--submit,--select,--pointerand--step-framesdrive buttons, inputs, selects and pointer hits in order and capture the tree after every interaction. - Every site and a full theme specimen.
--sitenow renderspane,rail,band,footer,message,toolandtheme, including a conversation specimen with user messages, tool calls, prose, headings, links, inline code and code fences, plusThemeStyleCSS and still-ground or moving backdrops. - Hover and cropped screenshots.
--hover <key|text|selector>triggers real pointer hover and popover reveal before capture, and--crop [padPx]trims screenshots tightly around the active site and any open popover. - Wire and layout diagnostics. Every shot validates trees against Desktop's
ui_renderwire parser and flags degraded nodes, tree size limits, low-contrast text, touching buttons, horizontal overflow, transparent or unlifted hover cards, zero-size elements, mismatched glass tints, refused backdrop scenes and invalid or low-contrastThemeStylevalues. - Faster captures. Warm bundle caching, parallel page captures, event-driven completion and fast Windows package lookup cut multi-shot and multi-frame preview times.
- Updated theme and audit guidance.
mod-native-guideandmod-auditorcoverThemeStyle, glass tint luminance thresholds and live--pluginverification.
mod-kit 0.3.0
The skill can now run a local Desktop preview: it draws a mod the way the Claude desktop app does and reports what it saw. It runs only when you ask for it.
New in 0.3.0
- Desktop preview.
preview.mjsrenders a mod's trees in a page built from the installed app's own code, takes screenshots and writes a report. - Exact animation frames.
--timelineand--timessave one image per frame, with every SVG and CSS animation paused at that time. - A theme's Shader, played by the app's own worker.
--shader <plugin dir>plays the Backdrop Shader as the app does and records the frost readback, the GPU and the Desktop build. - Drawing size and sharpness. The report keeps every size the shader draws at and how sharp it is against the stage.
- Fixed-time Shader frames.
--framessteps the shader on a fixed clock, so each saved frame depends only on its number. - Clicks on the Shader.
--click x,y,tMs[,holdMs[,upX,upY]]presses and releases the pointer as the app does, and the report shows theui.pointerclick the mod would receive. - The real cost of a Shader.
--measure <ms>plays it on the real clock and reports ms per frame, frame rate, rests and stops. - A slow browser start no longer fails a capture. The preview waits up to 60 s for the browser's DevTools.
- The guide is re-measured on Desktop 6.28899.6 and engine 2.1.330. Changed values are marked, and the density setting, which is gone, is recorded.
mod-kit 0.2.3
The theme guide now covers what two more sessions building a shader theme showed, and what 0.2.2 added.
New in 0.2.3
- What restarts a shader. A new Svg source stops the shader and starts another about a second later, with the Svg shown alone in between. Change the Svg on rare events and send the rest as
values. - The still and the shader must agree. The still draws the state the shader will show, and holds no animation of its own.
composeris a last sighting. It starts at zeros, is not sent while a dialog or a question is open, and the chat column is not centred. The guide now says never to guess the column.- Links under glass. While a theme's glass lies over the conversation, links take the text color, and no theme key changes that.
- What a shader's cost is made of. A price per operation, the frame budget, the cost share
claude plugin validateprints per line, and three fixes that brought one shader down. - When the player rests. A shader with motion that never ends draws at full rate for as long as the window is open.
- Installed mods run a cached copy. A mod installed from a marketplace needs a version bump and an update before a change shows.
- Recipes. Palette harmony, the dark ground, how much to tint the app, glass opacity, measuring on screenshots, and asking for a reference photo.
- Verification.
validatecan print type errors and still pass;testdoes not read the shader; runtscwith--noEmit; draw every variant offline from a pure scene builder. - The auditor checks five more things in a theme mod.
Three older lines were wrong and are corrected: how composer places the column, generated palettes, and a flat ground in the chat column.
From 0.2.2
- A reference table of shader costs, and the rule to run
validatebefore and after each shader change. - What the test kit needs mocked, and what it cannot raise.
- How to preview a scene outside the app, and why that preview misleads.
- Recipes for contrast, glass and texture.
- Auditor checks for pointer targets, timers,
awaitintool.calland commands registered outside the theme'stry.
Each line names its evidence. Lines read in the app's code were not seen on screen unless they say so.
mod-kit 0.2.1
The assistant knows more about shader themes that answer the pointer, and about theme sound.
themes.mdexplains how a shader reads a held press and a drag. It says a click target has to be larger than one step ofui.pointer, and thatcomposerplaces the chat column.- It adds three facts about sound. A
clickcue plays for any click on the backdrop. The cue plays when the click ends.$.audio.playplays nothing on Windows. - The checklist before shipping a theme gains one line on click targets and holds.
- The verification steps say that
/reload-pluginspicks up a local mod's changes without a version bump. They also say that the test kit has notoBeCloseTo.
No hook or script behavior changes.
mod-kit 0.2.0
The assistant now knows how shipped theme mods are built.
- A new reference page,
themes.md, covers what Anthropic'stheme-examplesand two community theme mods do beyond the bundled guide. It explains how to set a theme so it shows, add sound safely, draw the backdrop, keep animations smooth across redraws, handle light and dark, and use shaders. It ends with a checklist to run before shipping a theme. - Each fact names its source and build. A new
MODlabel marks what comes from community mods and was not measured. - The mod audit follows the page. It no longer flags a second theme set when a window attaches, or an older backdrop shape that is tried after the current one.
No hook or script behavior changes.
mod-kit 0.1.2
The README is now written for readers with no programming background.
- The front page has seven short sections: what it does, how to install it, how to use it, whether it works, what to know, where to learn more, and the license.
- Settings, install steps for each host, the full list of limits and every result now live on the pages under
docs/knowledge/, including a new install guide. - The banner follows GitHub's light or dark theme and has a transparent background.
- Host cards show only the hosts this plugin runs on. The Codex and Antigravity cards are redrawn.
No hook, script or skill behavior changes.
mod-kit 0.1.1
Docs only, released as 0.1.1. No code or behavior changes.
- The README opens with shorter blocks, one fact per sentence.
- CONTRIBUTING follows the outline every Foundry plugin now shares: before opening a PR, structure, what to keep in mind, tests, Git hooks, release notes and code of conduct.
- SECURITY uses the shared reporting policy.
mod-kit 0.1.0
mod-kit 0.1.0
First release. Mod Kit is now listed in the Foundry marketplace.
Mod Kit helps the assistant build Claude Code mods that look native, in the Claude desktop app and in the terminal.
- Install it from Foundry:
/plugin marketplace add V-Songbird/foundry, then/plugin install mod-kit@foundryin Claude Code. Claude Code needs version 2.1.323 or later. Mod Kit has no Codex or Antigravity package. - The skill
mod-native-guideholds rules, recipes and traps for what a mod draws, and what Anthropic's mods pages add to the bundledplugin-authoringskill. Each rule names how it is known and the build it holds for. - The agent
mod-auditorreads one mod's source and reports what would not load, not draw or not look native, with file and line. It never edits. - Mod Kit has no hooks: nothing runs on its own.
The measurements were taken on Claude Desktop 5.11492.5 with Claude Code 2.1.325. On a newer build, treat a value as likely, not certain, and check the look with screenshots.
Not measured: no session with Mod Kit has been compared against one without it.