/vault-sync:vault-sync-uninstall [--keep-logs] [--purge] [--force-protected] [--reason=<text>] [--dry-run]from vault-sync
Removes vault-sync from the current host by stopping scheduler jobs, removing scripts and units, and leaving tombstone markers for forensic traceability. Supports dry-run, keep-logs, purge, and force-protected flags.
Ships in vault-sync. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Remove vault-sync from the current host. Stops scheduler jobs, removes deployed scripts and units, leaves tombstone markers for forensic traceability.
skillwiki config get vault_sync.installed. If false: exit 0 with message.launchctl bootout gui/$UID/<label> then rm ~/Library/LaunchAgents/com.karlchow.wiki-*.plist.systemctl --user disable --now wiki-push.timer wiki-fetch.timer wiki-fuse-refresh.timer then remove unit files.*.RETIRED.md next to each removed unit (ADR D7 pattern):
# RETIRED — com.karlchow.wiki-push
- Retired: <ISO date>
- Why: <reason from --reason flag, or "manual uninstall">
- Restore: claude plugin install vault-sync@llm-wiki && /vault-sync-install
rm -rf $(platform_share_dir)/bin
skillwiki config set vault_sync.installed false
skillwiki config set vault_sync.fetch_projection none
The projection clone itself is retained for recovery or manual removal; uninstall clears only the host-local routing key.--keep-logs (default): preserve wiki-*.log. --purge: also remove logs.fleet.yaml marks it as protected: true. Override: --force-protected (sg01 hand-migration scenario only).--force-protected is required for hand-migration.# Companion script (interactive)
bash packages/vault-sync/skills/vault-sync-uninstall/uninstall.sh --dry-run
bash packages/vault-sync/skills/vault-sync-uninstall/uninstall.sh --purge
bash packages/vault-sync/skills/vault-sync-uninstall/uninstall.sh --force-protected --reason \"manual host migration\"
# Companion script (headless / CI)
VS_DRY_RUN=1 VS_PURGE=0 bash packages/vault-sync/skills/vault-sync-uninstall/uninstall.sh
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub karlorz/llm-wiki --plugin vault-sync6 skills in this plugin
/vault-fuse-freshnessAudit Linux rclone FUSE wiki freshness. Use when dir-cache-time drifts or a bounded vfs/refresh is needed./vault-presyncPre-sync lint, collision dedup, and rebase for ~/wiki. Use before wiki-sync or git push./vault-snapshotLinux-only S3-to-Git snapshot/promotion job with tombstone-aware no-resurrection and bounded remote pruning. Single-writer-git invariant — only one host per fleet may run this./vault-sync-installInstall vault-sync: scripts, scheduler, optional Linux FUSE-only mode. Use for install, reinstall, or role switch./vault-sync-statusHealth snapshot of vault-sync: scheduler, push/fetch recency, snapshot guard, FUSE timer. Use after install or CI checks.