{"id":"65b82c14-f299-4a0b-9662-db48ac362f74","shortId":"699gMv","kind":"skill","title":"workbench-runtime-hygiene","tagline":"Disk, swap, VM, agent workspace, and stale session hygiene for Multica workbench runtimes.","description":"# Workbench Runtime Hygiene\n\nUse this skill for runtime cleanup, disk/swap pressure, VM residue, stale\nconversation/session closeout, Codex/Multica/OpenClaw worktree growth, and\nSanity-backed closeout checks.\n\nRuntime hygiene is operations work. It protects throughput without destroying\nevidence.\n\n## Required First Move\n\nStart with `SELF_AWARENESS_BOOTSTRAP` and name:\n\n- runtime surface: local, remote, VM, or human desktop;\n- source of truth: Multica issue/run, repo, Sanity record, or local command;\n- cleanup authority: read-only, proposed, approved Trash batch, or blocked;\n- operator-call conditions.\n\n## Cleanup Tiers\n\n- **Tier A**: caches and temp artifacts that can be regenerated, including\n  completed-run `*/codex-home/.tmp` plugin sync caches. Move to Trash or prune\n  with the named guard only after the exact batch is approved.\n- **Tier B**: sessions, worktrees, Multica workspaces, OpenClaw workspaces,\n  Colima/Lima disks, local models. Propose only until retention is confirmed.\n- **Tier C**: repos, iCloud, chat apps, Photos, credentials, Sanity datasets,\n  daemon config, production state. Do not mutate from this skill.\n\nNever hard-delete and never empty Trash.\n\nException: `scripts/multica-codex-cache-janitor.sh --apply` may prune only\ncompleted-run `*/codex-home/.tmp` directories after dry-run review. Active runs,\nmissing `.gc_meta.json`, or missing `completed_at` are not eligible.\n\n## Preferred A-Tier Tool\n\nIf `mo` is installed on the target machine, prefer it for A-tier cleanup:\n\n```bash\nmo clean --dry-run\nmo clean\ndf -h /System/Volumes/Data\nsysctl vm.swapusage\n```\n\nIf the operator explicitly approves system-level cleanup, do not call `sudo`\nad hoc or inside repeated prompts. Use the shared sudo-session wrapper so the\noperator authenticates once and nested cleanup stays on a non-interactive sudo\ntimestamp:\n\n```bash\nscripts/workbench-sudo-session.sh -- bash -lc 'mo clean --dry-run && mo clean'\n```\n\nThe wrapper must not read password files, store passwords, or keep prompting.\nIf its non-interactive sudo refresh fails, stop and report `BLOCK`.\n\nTreat `mo clean` as good evidence when it stays within cache/log/temp cleanup\nand reports categories plus freed/free space. Do not run `mo purge`, Docker\nprune, app uninstall, LaunchAgent removal, Colima/Lima cleanup, or project\nartifact cleanup without a separate explicit approval.\n\n## Session Closeout Gate\n\nA conversation/session can close only if:\n\n1. the issue is `done` or latest review is `PASS`;\n2. no active run remains;\n3. Sanity/handoff/evidence summary exists or is explicitly not applicable;\n4. closing will not destroy the only copy of required evidence;\n5. the report names what was checked.\n\nUnknown state is `FLAG`, not permission to close.\n\n## Suggested Checks\n\n```bash\ndf -h /System/Volumes/Data\nsysctl vm.swapusage\ncommand -v mo && mo clean --dry-run\nscripts/multica-codex-cache-janitor.sh\nmultica --profile desktop-api.multica.ai daemon status\nmultica --profile desktop-api.multica.ai issue list --status in_progress --limit 100 --output json\nmultica --profile desktop-api.multica.ai issue list --status in_review --limit 100 --output json\ndu -xsh ~/.codex ~/.cache ~/.openclaw ~/.colima ~/Library/Caches 2>/dev/null\n```\n\nUse exact profile/workspace evidence when available, but do not paste private\nIDs into public docs.\n\n## Report\n\n```text\nRUNTIME_HYGIENE_REPORT\nruntime_surface:\ndisk_state:\nswap_state:\nactive_task_count:\nconversation_count:\nissue_backlog:\nsanity_sync_state:\ntier_a_candidates:\ntier_b_candidates:\nsession_close_candidates:\nactions_taken:\ntrash_batch:\nraw_artifacts_kept_out_of_git:\nvalidation:\nresidual_risk:\nnext_action:\nVERDICT: PASS | FLAG | BLOCK\n```\n\n## Verdicts\n\n- `PASS`: pressure is under threshold or approved cleanup/closeout completed\n  with readback.\n- `FLAG`: useful candidates exist, but approval, Sanity sync, or active-run\n  proof is missing.\n- `BLOCK`: destructive action, credential action, dataset write, daemon\n  mutation, or unknown source-of-truth risk requires the operator.","tags":["workbench","runtime","hygiene","multica","ultimate","fearvox","agent-skills","ai-agents","claude-code","codex","hermes-agent","sdd"],"capabilities":["skill","source-fearvox","skill-workbench-runtime-hygiene","topic-agent-skills","topic-ai-agents","topic-claude-code","topic-codex","topic-hermes-agent","topic-multica","topic-sdd","topic-skills-sh"],"categories":["multica-ultimate-workbench"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/Fearvox/multica-ultimate-workbench/workbench-runtime-hygiene","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add Fearvox/multica-ultimate-workbench","source_repo":"https://github.com/Fearvox/multica-ultimate-workbench","install_from":"skills.sh"}},"qualityScore":"0.456","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 12 github stars · SKILL.md body (4,025 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:07:14.596Z","embedding":null,"createdAt":"2026-05-13T01:05:04.022Z","updatedAt":"2026-05-18T19:07:14.596Z","lastSeenAt":"2026-05-18T19:07:14.596Z","tsv":"'/.cache':465 '/.codex':464 '/.colima':467 '/.openclaw':466 '/codex-home/.tmp':114,189 '/dev/null':470 '/library/caches':468 '/system/volumes/data':237,421 '1':366 '100':447,459 '2':376,469 '3':381 '4':390 '5':401 'a-tier':208,223 'action':516,530,564,566 'activ':196,378,497,557 'active-run':556 'ad':253 'agent':8 'app':157,342 'appli':182 'applic':389 'approv':89,133,244,356,542,552 'artifact':105,350,521 'authent':269 'author':84 'avail':476 'awar':60 'b':135,511 'back':40 'backlog':503 'bash':227,282,284,418 'batch':91,131,519 'block':93,316,534,562 'bootstrap':61 'c':153 'cach':102,117 'cache/log/temp':327 'call':96,251 'candid':509,512,515,549 'categori':331 'chat':156 'check':42,407,417 'clean':229,234,287,292,319,428 'cleanup':26,83,98,226,248,273,328,347,351 'cleanup/closeout':543 'close':363,391,415,514 'closeout':33,41,358 'codex/multica/openclaw':34 'colima/lima':142,346 'command':82,424 'complet':112,187,202,544 'completed-run':111,186 'condit':97 'config':163 'confirm':151 'convers':500 'conversation/session':32,361 'copi':397 'count':499,501 'credenti':159,565 'daemon':162,436,569 'dataset':161,567 'delet':175 'desktop':71 'desktop-api.multica.ai':435,440,452 'destroy':52,394 'destruct':563 'df':235,419 'directori':190 'disk':5,143,493 'disk/swap':27 'doc':485 'docker':340 'done':370 'dri':193,231,289,430 'dry-run':192,230,288,429 'du':462 'elig':206 'empti':178 'evid':53,322,400,474 'exact':130,472 'except':180 'exist':384,550 'explicit':243,355,387 'fail':312 'file':299 'first':55 'flag':411,533,547 'freed/free':333 'gate':359 'gc_meta.json':199 'git':525 'good':321 'growth':36 'guard':126 'h':236,420 'hard':174 'hard-delet':173 'hoc':254 'human':70 'hygien':4,13,20,44,489 'icloud':155 'id':482 'includ':110 'insid':256 'instal':215 'interact':279,309 'issu':368,441,453,502 'issue/run':76 'json':449,461 'keep':303 'kept':522 'latest':372 'launchag':344 'lc':285 'level':247 'limit':446,458 'list':442,454 'local':66,81,144 'machin':219 'may':183 'miss':198,201,561 'mo':213,228,233,286,291,318,338,426,427 'model':145 'move':56,118 'multica':15,75,138,433,438,450 'must':295 'mutat':168,570 'name':63,125,404 'nest':272 'never':172,177 'next':529 'non':278,308 'non-interact':277,307 'openclaw':140 'oper':46,95,242,268,580 'operator-cal':94 'output':448,460 'pass':375,532,536 'password':298,301 'past':480 'permiss':413 'photo':158 'plugin':115 'plus':332 'prefer':207,220 'pressur':28,537 'privat':481 'product':164 'profil':434,439,451 'profile/workspace':473 'progress':445 'project':349 'prompt':258,304 'proof':559 'propos':88,146 'protect':49 'prune':122,184,341 'public':484 'purg':339 'raw':520 'read':86,297 'read-on':85 'readback':546 'record':79 'refresh':311 'regener':109 'remain':380 'remot':67 'remov':345 'repeat':257 'repo':77,154 'report':315,330,403,486,490 'requir':54,399,578 'residu':30,527 'retent':149 'review':195,373,457 'risk':528,577 'run':113,188,194,197,232,290,337,379,431,558 'runtim':3,17,19,25,43,64,488,491 'saniti':39,78,160,504,553 'sanity-back':38 'sanity/handoff/evidence':382 'scripts/multica-codex-cache-janitor.sh':181,432 'scripts/workbench-sudo-session.sh':283 'self':59 'separ':354 'session':12,136,264,357,513 'share':261 'skill':23,171 'skill-workbench-runtime-hygiene' 'sourc':72,574 'source-fearvox' 'source-of-truth':573 'space':334 'stale':11,31 'start':57 'state':165,409,494,496,506 'status':437,443,455 'stay':274,325 'stop':313 'store':300 'sudo':252,263,280,310 'sudo-sess':262 'suggest':416 'summari':383 'surfac':65,492 'swap':6,495 'sync':116,505,554 'sysctl':238,422 'system':246 'system-level':245 'taken':517 'target':218 'task':498 'temp':104 'text':487 'threshold':540 'throughput':50 'tier':99,100,134,152,210,225,507,510 'timestamp':281 'tool':211 'topic-agent-skills' 'topic-ai-agents' 'topic-claude-code' 'topic-codex' 'topic-hermes-agent' 'topic-multica' 'topic-sdd' 'topic-skills-sh' 'trash':90,120,179,518 'treat':317 'truth':74,576 'uninstal':343 'unknown':408,572 'use':21,259,471,548 'v':425 'valid':526 'verdict':531,535 'vm':7,29,68 'vm.swapusage':239,423 'within':326 'without':51,352 'work':47 'workbench':2,16,18 'workbench-runtime-hygien':1 'workspac':9,139,141 'worktre':35,137 'wrapper':265,294 'write':568 'xsh':463","prices":[{"id":"1e511b0d-2c73-455a-b6aa-9159fec0ae48","listingId":"65b82c14-f299-4a0b-9662-db48ac362f74","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"Fearvox","category":"multica-ultimate-workbench","install_from":"skills.sh"},"createdAt":"2026-05-13T01:05:04.022Z"}],"sources":[{"listingId":"65b82c14-f299-4a0b-9662-db48ac362f74","source":"github","sourceId":"Fearvox/multica-ultimate-workbench/workbench-runtime-hygiene","sourceUrl":"https://github.com/Fearvox/multica-ultimate-workbench/tree/main/skills/workbench-runtime-hygiene","isPrimary":false,"firstSeenAt":"2026-05-13T01:05:04.022Z","lastSeenAt":"2026-05-18T19:07:14.596Z"}],"details":{"listingId":"65b82c14-f299-4a0b-9662-db48ac362f74","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"Fearvox","slug":"workbench-runtime-hygiene","github":{"repo":"Fearvox/multica-ultimate-workbench","stars":12,"topics":["agent-skills","ai-agents","claude-code","codex","hermes-agent","multica","sdd","skills-sh"],"license":null,"html_url":"https://github.com/Fearvox/multica-ultimate-workbench","pushed_at":"2026-05-14T23:12:50Z","description":"Public multi-agent workbench skill pack for SDD, review gates, context discipline, VM lanes, Sanity context, and autonomous agent coordination.","skill_md_sha":"bb79332e95cf6473cb685ae49018f26ff9486b59","skill_md_path":"skills/workbench-runtime-hygiene/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/Fearvox/multica-ultimate-workbench/tree/main/skills/workbench-runtime-hygiene"},"layout":"multi","source":"github","category":"multica-ultimate-workbench","frontmatter":{"name":"workbench-runtime-hygiene","description":"Disk, swap, VM, agent workspace, and stale session hygiene for Multica workbench runtimes."},"skills_sh_url":"https://skills.sh/Fearvox/multica-ultimate-workbench/workbench-runtime-hygiene"},"updatedAt":"2026-05-18T19:07:14.596Z"}}