Repository navigation
The workbench as a plugin for Claude Code and Codex; Studio refreshes stale skill stubs - #230
Merged
Merged
Conversation
…e's outdated skill stubs - The repo is a plugin marketplace for both: .claude-plugin/marketplace.json and .agents/plugins/marketplace.json point at plugins/open-video-harness/, which holds the two skills (copied from skills/ by bin/vh sync-agents, held equal by CI) and each host's manifest; no version pinned, so updates follow main. Validated with claude plugin validate and installed in a temp home with claude plugin install and codex plugin add. - bin/vh studio, before it opens: the stubs bin/vh install-skill wrote for this clone that doctor calls outdated are written again (doctor --stale-skills), one line on stderr; a host nobody installed into, and a stub pointing at another clone that is there, are left alone. - README: the install lines for both.
…py where there is none; ci: own temp folder, skills/** reaches studio_checks
…untouched stubs, file by file; the sparse install (about 2 MB); a version that moves with the skills doctor.py: every stub ends with a mark, the hash of what is above it (one renderer, skill_stub; bin/vh install-skill writes what doctor.py --stub renders); --stale-skills prints the exact files that are this clone's, untouched and behind (a stub of the shape before the mark too); someone else's skill folder, another clone's stub, a whole copy (npx, through a link too) and a hand edit are left, said by doctor; nothing is added that a host did not have. bin/vh: install-skill exits 1 when it cannot write; the refresh says one line only when it wrote or could not, nothing for --print-address and --json, and does not run for -h and --icon-status; sync-agents copies whole skill folders and moves the plugin's version with them (tools/plugin_version.py). README (en, zh): the two sparse commands each, how to update, what to remove when both are installed; CONTRIBUTING and commands.json say what sync-agents and studio write.
… README (two sparse pairs and npx), collapsed
ZLHad
added a commit
that referenced
this pull request
Nov 21, 2026
…EADMEs give them (no plugin lines until #230); the pill at the card's top-left; sentences by kind of film; the toast cleared by a lightbox readme.py check: every command the page offers to copy is one a README gives on the same commit. The film's pill sits over the card's top-left, opposite the play button: on hover or keyboard focus (not clickable while hidden), always on a phone; the caption keeps its height. Reduced motion: no fade for the pill and the toast. The launch short's sentence leaves a blank.
ZLHad
marked this pull request as ready for review
November 22, 2026 08:53
ZLHad
enabled auto-merge (squash)
November 22, 2026 08:53
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part b of the 首片上手 batch. The workbench's skill can now be added as a plugin of Claude Code and of Codex, two shell commands each, about 2 MB. When Studio opens, it rewrites the skill stubs
bin/vh install-skillwrote for this clone that nobody has changed and that have fallen behind, and nothing else.Why
Today the only ways in are the install script and
npx skills add. Neither agent's own plugin marketplace can find or install it. A stub that falls behind (a renamed skill, a new one, a changed description) waits until someone readsbin/vh doctorand reinstalls it by hand.What changes
.claude-plugin/marketplace.json(Claude Code docs, plugin marketplaces);.agents/plugins/marketplace.json(OpenAI's "Package your plugin" page).plugins/open-video-harness/. It holds the two skills, copied fromskills/, plus each host's manifest (.claude-plugin/plugin.json,.codex-plugin/plugin.jsonwith"skills": "./skills/").bin/would load as a plugin component.skills/.bin/vh sync-agentscopies each skill's whole folder;tools/ci.shholds them equal file by file and checks that one name is used in all four files."version";tools/plugin_version.pykeeps the hash of the plugin's skills inskills.sha256and bumps the last number when, and only when, that hash changes (sync-agents runs it, CI checks it). A commit that leaves the skills is no new version, andclaude plugin validateno longer warns.--sparse, so only the plugin's own folders are fetched (measured from this branch in temp homes: Claude Code 1.8 MB, Codex 2.6 MB; without it, 210–230 MB of the repo):claude plugin marketplace add ZLHad/OpenVideoHarness --sparse .claude-plugin plugins/open-video-harness, thenclaude plugin install open-video-harness@open-video-harness. The one-stepclaude plugin install … --marketplacetakes no--sparse(checked in--help, 2.1.326), so it is not the documented form.codex plugin marketplace add ZLHad/OpenVideoHarness --sparse .agents/plugins --sparse plugins/open-video-harness, thencodex plugin add open-video-harness@open-video-harness.npx skills addroute does.claude plugin marketplace update open-video-harness, thenclaude plugin update open-video-harness@open-video-harness. Codex:codex plugin marketplace upgrade, thencodex plugin add …again.bin/vh studio, before it opens, writes again the stubstools/doctor.py --stale-skillsnames, file by file:skills/(a changed description, or the stub shape from before the mark);--print-addressand--json; it does not run for-h,--icon-status,--install-iconand--remove-icon.npx skills add, through a link too);npx skills addline, a collapsed "Or as a Claude Code or Codex plugin (about 2 MB)" with the two sparse pairs, so the page and the README carry the same five commands. Looked at after the merge with main, in the app's browser at 1440 (en, closed), 742 (zh, open) and 375 (en, open): no sideways scroll; the long commands wrap inside their boxes.bin/vh install-skillwrites whatdoctor.py --stubrenders, so there is one renderer. It exits 1 when a stub cannot be written.CONTRIBUTING.mdandtools/commands.jsonsay whatsync-agentsandstudiowrite.How it was checked
claude plugin validate .: passed, no warning now (a version is set).--sparse: Claude Code's marketplace and plugin (1.8 MB in~/.claude/plugins), Codex's marketplace (2.6 MB).tools/ci.sh:skills/file by file, one name throughout, the version andskills.sha256held to the skills;open-video-harness-webbeside a stale stub of ours; another clone's stub beside a stale one; an npx copy through a link; a hand edit; a stub of the shape before the mark; a folder that cannot be written; the quiet and the excluded flags; a second start that says nothing;-hrefreshing, a normal start speaking).tools/ci.sh --committedwith shellcheck and pyflakes (through uv): at 09a6ef2, at a0a7002 (main with Lighter install, a short last screen, a word before the local voice's first download #228 merged in) and at 629d5c0 (main with Mirrors in one step: the installer falls back to them, and every later download follows #231 and Homepage: a sentence to make one like each film and style; Get started lists the ways in #232 merged in), all passed; one check skipped (frames on a HyperFrames composition).Not looked at
ZLHad/OpenVideoHarnesswithout a ref): that works once this is on main. I tested from this branch's ref.codex plugin marketplace upgradewithout the secondcodex plugin add. Its docs do not say; the README gives both steps./plugin marketplace add … --sparse): only the shell CLI was run.sync-agentscopying a skill folder with files beside its SKILL.md: no skill has any today, so the folder copy and the file-by-file compare run only on SKILL.md here.Merged with main
tools/doctor.py's usage line (main's--first, this PR's stub flags; both kept).bin/vh sync-agentscopied Lighter install, a short last screen, a word before the local voice's first download #228's skill lines into the plugin and moved its version to 1.0.1.Review round 1 (all findings addressed in this PR)
--stale-skillsnow prints exact files, only this clone's untouched stubs, and the refresh writes only those. Both reproduced cases are tests: someone else'sopen-video-harness-webstays; another clone's stub stays.bin/vh doctorgoes on saying what to do.--sparse), with the sizes, and the README says the workbench itself still installs on first use, after asking.The version notes for the one-step form are gone with that form.
CONTRIBUTING.md: editingskills/needsbin/vh sync-agents, and untouched stubs refresh themselves;tools/commands.json: thewritesofsync-agentsandstudio;sync-agentscopies whole folders, and CI compares them.-hand--icon-statusexclusions (--install-iconis excluded by the same case, but not run, since it would install), and for--print-addressand--jsonsaying nothing.tools/plugin_version.py.