update-workspace
БесплатноБез исполняемых скриптовНе проверенSafely upgrade an existing Campus AI OS campus (any earlier version) to the installed version, keeping everything the owner wrote intact. Use when the owner…
от trainingsites★ 55 звёзд на GitHubОб этом скилле
/update-workspace - Upgrade Without Losing Anything
The prime directive: an upgrade can NEVER destroy anything the owner wrote.
This skill only ADDS. It never rewrites, deletes, renames, or "refreshes" an
existing file (exceptions: item 12e's kernel canons; department labels
after the owner types RENAME, part b). If a step would break
that rule, stop and ask. Lookup files: this skill's references/
(baseline-items.md, additions.md).
Platform resolution (do this first): resolve PLUGIN_MANIFEST and
ENTRY_FILE per PLATFORM.md at the plugin root. Never hardcode either.
Detect permissively - any of CLAUDE.md / AGENTS.md / AGENTS.override.md
/ CODEX.md. Edit the entry file THAT CAMPUS already has; create a missing
redirect as ENTRY_FILE. Never rename the owner's file.
Version resolution (do this second): OS_VERSION = PLUGIN_MANIFEST ->
version. Every version written or said is OS_VERSION. Never write a
hardcoded version literal.
Step 0 - What's here
↩️ "Undo the last update": do only additions.md -> "Undo". Skip the
edition check and every step below; the undo tool is the same in every
edition, so it runs whichever edition is installed.
The campus root holds a dean/ entry file (any of the four). Markers: workspace.json, that entry
file, shared/ with content, .campus-os/. Route by comparing the campus
marker to OS_VERSION:
🛑 Edition check - first, before any route below and before item 18. Only
when a campus marker exists (a fresh folder goes straight to "No markers"). Compare the
campus's workspace.json -> pack with the plugin's packs/active.json ->
active_pack (additions.md, "v5.3.5 additions", part b). Different
editions: stop, zero writes, say so in plain words. Never relabel an
existing campus for another edition. An owner who answers "this edition"
when the names differ is asked once more, with the renames shown, before
anything is written (part b, "Second confirm").
- No markers: fresh folder; offer /campus-start, never build here.
- Marker ==
OS_VERSION: "You're already up to date." Steps 1-3 first when anything below will write, then run item 18 (the kit check; a missing or damaged kit is re-copied) and the v5.3.5 parts of item 17 (seat file,pack, job cards, each only when absent), then offer /campus-doctor. The ONLY up-to-date case: a comparison, never a literal. - Marker <
OS_VERSION: an upgrade is owed. Pick the entry point for that marker frombaseline-items.md.
🔒 Closing rule - every upgrade path ends the same way, no exceptions.
Whatever the entry point, finish with additions items 11-18 (idempotent)
and stamp OS_VERSION.
📌 Non-default campuses are normal: read names and folders from what exists.
Steps 1-3 (every run)
- Ask in one line whether a backup includes this campus folder; if not, help them get one.
- Preview every create and insert with the actual text, zero writes, then wait for an explicit go.
- Copy the entry file, memory.md, TASKS.md and each shared file to
dean/archive/pre-v3/{date}/(neverdean/recursively into itself); restore from it on failure. Then take the undo snapshot, before the first write of any kind:python3 -I -B tools/update_undo.py snapshot --campus-root {campus_root}from the plugin root; after the last write,sealwith the name it printed (additions.md, "Undo").
Step 4 - The upgrade (additive only)
Items 1-10, the v2/v3 baseline (baseline-items.md):
.campus-os/registry.json from templates/registry.json if absent;
workspace.json if absent (OS_VERSION, structure and filing key from
real folders); a root redirect as ENTRY_FILE only when none of the four
exists; missing kernel blocks inserted into dean/{ENTRY_FILE} (owner text
never rewritten); ledger header; shared/setup-progress.md with the goals
row; goals stub if absent; dean/skill-candidates/; item 8,
.campus-os/registration-block-spec.md, now item 16.
Items 11-18 run on every path (additions.md). Item 18 (the kernel
kit) runs FIRST, after the Step 0 edition check and the Step 3 snapshot, before item 11: every later tools/ command runs from
the kit (Kernel preamble §5).
- v4 additions (every campus, run last).
a. Stamp three targets with
OS_VERSION, resolved at runtime:workspace.json->version.campus-os/registry.json-> EVERY entry whosetypeiskernel- match ontype: kernelfirst, thenteam, never on team alone; two matches -> stamp NONE and ask..campus-os/registry.json-> top-levelcampus_os_version(add if absent) a-ii. Add every top-level key the template has and the campus lacks (campus_os_version,updated= today,teams,playbooks); never touch_-prefixed keys. b-h.playbooks[], kernel entries to full spec, thetype: systemscatalog, each if absent; `.campus-os/sc
Установить update-workspace в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл update-workspace?
Safely upgrade an existing Campus AI OS campus (any earlier version) to the installed version, keeping everything the owner wrote intact. Use when the owner says "/update-workspace", "upgrade my campus", "update my campus", "undo the last update", or when an older campus is detected.
Как установить скилл update-workspace?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл update-workspace запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic