agentsclimarketplace

Workbench runtime hygiene

Skill Fearvox/multica-ultimate-workbench/skills/workbench-runtime-hygiene

Disk, swap, VM, agent workspace, and stale session hygiene for Multica workbench runtimes.From its SKILL.md

Install
npx -y skills add Fearvox/multica-ultimate-workbench --skill workbench-runtime-hygiene

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

4.1 KB, 953 tokens by cl100k_base, as published. Nobody here has run it

Workbench Runtime Hygiene

Use this skill for runtime cleanup, disk/swap pressure, VM residue, stale conversation/session closeout, Codex/Multica/OpenClaw worktree growth, and Sanity-backed closeout checks.

Runtime hygiene is operations work. It protects throughput without destroying evidence.

Required First Move

Start with SELF_AWARENESS_BOOTSTRAP and name:

  • runtime surface: local, remote, VM, or human desktop;
  • source of truth: Multica issue/run, repo, Sanity record, or local command;
  • cleanup authority: read-only, proposed, approved Trash batch, or blocked;
  • operator-call conditions.

Cleanup Tiers

  • Tier A: caches and temp artifacts that can be regenerated, including completed-run */codex-home/.tmp plugin sync caches. Move to Trash or prune with the named guard only after the exact batch is approved.
  • Tier B: sessions, worktrees, Multica workspaces, OpenClaw workspaces, Colima/Lima disks, local models. Propose only until retention is confirmed.
  • Tier C: repos, iCloud, chat apps, Photos, credentials, Sanity datasets, daemon config, production state. Do not mutate from this skill.

Never hard-delete and never empty Trash.

Exception: scripts/multica-codex-cache-janitor.sh --apply may prune only completed-run */codex-home/.tmp directories after dry-run review. Active runs, missing .gc_meta.json, or missing completed_at are not eligible.

Preferred A-Tier Tool

If mo is installed on the target machine, prefer it for A-tier cleanup:

mo clean --dry-run
mo clean
df -h /System/Volumes/Data
sysctl vm.swapusage

If the operator explicitly approves system-level cleanup, do not call sudo ad hoc or inside repeated prompts. Use the shared sudo-session wrapper so the operator authenticates once and nested cleanup stays on a non-interactive sudo timestamp:

scripts/workbench-sudo-session.sh -- bash -lc 'mo clean --dry-run && mo clean'

The wrapper must not read password files, store passwords, or keep prompting. If its non-interactive sudo refresh fails, stop and report BLOCK.

Treat mo clean as good evidence when it stays within cache/log/temp cleanup and reports categories plus freed/free space. Do not run mo purge, Docker prune, app uninstall, LaunchAgent removal, Colima/Lima cleanup, or project artifact cleanup without a separate explicit approval.

Session Closeout Gate

A conversation/session can close only if:

  1. the issue is done or latest review is PASS;
  2. no active run remains;
  3. Sanity/handoff/evidence summary exists or is explicitly not applicable;
  4. closing will not destroy the only copy of required evidence;
  5. the report names what was checked.

Unknown state is FLAG, not permission to close.

Suggested Checks

df -h /System/Volumes/Data
sysctl vm.swapusage
command -v mo && mo clean --dry-run
scripts/multica-codex-cache-janitor.sh
multica --profile desktop-api.multica.ai daemon status
multica --profile desktop-api.multica.ai issue list --status in_progress --limit 100 --output json
multica --profile desktop-api.multica.ai issue list --status in_review --limit 100 --output json
du -xsh ~/.codex ~/.cache ~/.openclaw ~/.colima ~/Library/Caches 2>/dev/null

Use exact profile/workspace evidence when available, but do not paste private IDs into public docs.

Report

RUNTIME_HYGIENE_REPORT
runtime_surface:
disk_state:
swap_state:
active_task_count:
conversation_count:
issue_backlog:
sanity_sync_state:
tier_a_candidates:
tier_b_candidates:
session_close_candidates:
actions_taken:
trash_batch:
raw_artifacts_kept_out_of_git:
validation:
residual_risk:
next_action:
VERDICT: PASS | FLAG | BLOCK

Verdicts

  • PASS: pressure is under threshold or approved cleanup/closeout completed with readback.
  • FLAG: useful candidates exist, but approval, Sanity sync, or active-run proof is missing.
  • BLOCK: destructive action, credential action, dataset write, daemon mutation, or unknown source-of-truth risk requires the operator.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.