update-harnesses
Skill80 starsChanged 26 days agoApache-2.0View on GitHub
Update every agent harness on every fleet host: T3 Code, Codex, Claude Code, Grok Build, Kimi Code, Junie, Cursor Agent and Muse on DankStation, beep-worker, dankserver, tbk-worker, tom-pc-1-wsl and the grok-bot VM, plus the desktop apps (ChatGPT and Claude Desktop on DankStation and grok-bot; Cursor and Kimi Desktop on DankStation). Use on `/update-harnesses`, when a harness is out of date somewhere, or to audit which versions and install methods each host runs.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kununu/agent-bridgetheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kununu/agent-bridge★ 18same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository43 other files it gives its agents.
- AGENTS.mdAGENTS.md
- explorations/AGENTS.mdAGENTS.md
- adhdSkill
- alchemy-domainSkill
- alchemy-providerSkill
- atom-reactivity-specialistSkill
- auth-environmentsSkill
- browser-qa-loopSkill
- closeoutSkill
- codex-findingsSkill
- crispenSkill
- delete-commentSkill
- effect-first-developmentSkill
- exploreSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- jsdoc-annotation-specialistSkill
- motion-evidence-reviewSkill
- onepassword-secret-refsSkill
- ontology-architectSkill
- ontology-conceptualizerSkill
- ontology-curatorSkill
- ontology-foundational-auditorSkill
- ontology-mapperSkill
- ontology-requirementsSkill
- ontology-scoutSkill
- ontology-validatorSkill
- operator-handoffSkill
- orchestrateSkill
- plasma-sensitive-entrySkill
- portlessSkill
- qa-session-opsSkill
- quality-review-fix-loopSkill
- reflectSkill
- remote-development-agentsSkill
- schema-first-developmentSkill
- shadcnSkill
- sparql-expertSkill
- teachSkill
- turborepoSkill
- unslopSkill
- yeetSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Run status first unless the operator asked for a blind update.
- Very specific: line 70
Run update in the foreground with a long timeout (about 100 minutes when t3code is in scope: the hub's fork sync can build for up to 90).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update harnesses
One script does the work. It finds every install of each harness on each host, updates it with the method that owns it, and reports before and after versions. You choose the scope, announce the YubiKey touches and act on the summary.
s=.claude/skills/update-harnesses/scripts/update_harnesses.ts
bun $s plan # host x harness matrix, connects nowhere
bun $s status # read-only: versions, methods, pending, drift
bun $s update # everything, everywhere
bun $s update --host dankserver --harness codex --harness junie--host and --harness repeat and accept aliases (chatgpt, cursor,
claude-code, grok-bot-vm, tom-pc-1, hub...). Each run writes a JSON receipt and a
full log under ~/.local/state/beep/update-harnesses/.
1. Before an update
- Run
statusfirst unless the operator asked for a blind update. It shows each install's version, method and standing (active, shadowed, root-owned, stale). It marks rowscurrentorpendingwhere it can see upstream: Claude Code and Codex (npmlatest), T3 Code (the build the hub last published), and the hub's desktop apps (pacman and the Kimi feed). Every other row readsinstalled. That covers the other CLIs, whose self-updaters decide duringupdate, and grok-bot's ChatGPT and Claude Desktop, whose apt candidates are only known after the rootapt-get updatethatupdateruns. - grok-bot sleeps. If its rows come back
unreachable, ask the operator to open the Grok Bot app's computer view, then rerun with--host grok-bot. tom-pc-1-wsl is a WSL distro on an in-use Windows PC: it is reachable only while the PC is on and its Windows user is signed in, because theT3AgentWSLlogon task is what keeps the distro running. If its rows come backunreachableafter a good touch, ask the operator to check the PC, then rerun with--host tom-pc-1. - Announce the touches before starting. Expect one YubiKey touch per SSH host
(beep-worker, dankserver, tbk-worker, tom-pc-1-wsl), again only if its 2-hour
master expired during the hub's T3 build. With
--system-upgrade, add one for the hub'spacman -Syu. Each admin step takes two, one for its SSH login and one for sudo: a Cursor sandbox repin on a host with the pinned AppArmor profile (beep-worker today), and grok-bot apt (twice more if Debian pool files have to be pushed). Only the main thread authenticates, one touch at a time, retrying a missed touch up to three times; worker threads reuse the open masters and never start a login. - Updating
t3coderestarts the T3 server on any worker whose version changes, which ends the turns running there. The 30-minute pull timer would do the same; check with the orchestrator before forcing it mid-merge-wave, or leave it out with explicit--harnessflags. - Hub desktop packages (ChatGPT, Claude, Cursor) update only through a full
pacman -Syu, because Arch supports no partial upgrades. Without--system-upgradethey staypending. Pass the flag when the operator agrees to a whole-system upgrade.
Run update in the foreground with a long timeout (about 100 minutes when
t3code is in scope: the hub's fork sync can build for up to 90).
2. What it does
| Harness | Hub (DankStation) | Workers / grok-bot |
| t3code | t3code-source-update.service: fork sync, build, publish | after the hub: t3code-fork-pull.service (grok-bot: ensure-services.sh) |
| claude, codex, grok, kimi, junie, cursor-agent, muse | per install: native self-updater, npm i -g <pkg>@latest in the owning prefix, or bun add -g | same |
| chatgpt / claude / cursor desktop | pacman -Syu, only with --system-upgrade | grok-bot: apt --only-upgrade over the admin route; Debian pool files fetched on the hub, hash-checked and pushed |
| kimi desktop | AppImage from the vendor's electron feed, sha512-checked, previous kept as .prev | — |
Per-harness mechanics, install-method detection and the reasons behind each rule are in references/harnesses.md. Read it before changing a method or adding a host.
3. Read the summary
| Status | Meaning | Your move |
updated / current | done | nothing |
installed / absent | status only: no upstream check for this row / not installed on that host | nothing; absent is never auto-installed |
skipped | not writable, unknown method, stale node version, or migration declined | read the note; root-owned copies need the host's admin route, not this account |
failed | updater or auth failed | read the log; rerun that host/harness once the cause is fixed. Never rerun an uncertain privileged step blindly |
unreachable | SSH master did not open | missed touch, asleep (grok-bot), or the PC off or signed out (tom-pc-1-wsl) |
pending | a newer version exists: status rows behind upstream (see step 1), hub desktop apps left without --system-upgrade, or a T3 pull still running | run update, with the flag if needed |
Also:
- A
cursor-sandboxrow on beep-worker means the AppArmor profile was repinned to the current Cursor CLI and T3 SDK helpers. Restart T3 there once idle if Cursor turns still fail preflight. - Junie on the workers moves from the frozen npm package (1468.x) to the managed
launcher the first time, only when the account's
.local/bin/junieentry is the active one. The previous entry is kept under~/.local/state/beep/update-harnesses/.--no-junie-migratekeeps the old install. - Desktop apps that are open keep running the old version until restarted.
- A
musenote aboutschema_versionmeans that host's Muse settings file (~/.config/muse/settings.json) lacks it, somuse serveexits 3 and T3's Muse provider shows "could not read the model catalog". The script only reports it; fix it on that host as the T3 fleet runbook's Gotchas describe (docs/runbooks/t3code-fleet.md).
4. After
Report the summary table and receipt path. For a host still behind, say why
(skipped note, failure, asleep). Add a newly linked host to HOSTS in the
script with its canonical wrapper only. Never put IPs, tailnet names or
environment ids there: the repository is public. Routes live in
remote-development-agents.
Verification
bun test ./.claude/skills/update-harnesses/scripts/update_harnesses.test.tsDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

