distros/skills/workspace-mount/SKILL.md
Mounts a virtiofs share tagged `workspace` at /workspace inside a VM guest via a systemd .mount unit. Use when a kind:vm entity shares a host directory into the guest and you need it auto-mounted (and re-mounted at every boot).
npx skillsauth add overthinkos/overthink-plugins workspace-mountInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A guest-side candy that mounts the virtiofs share tagged workspace at
/workspace and enables it so it re-mounts on every boot — load-bearing for an
autostarting VM that must come back with its share already mounted.
mkdir /workspace/etc/systemd/system/workspace.mount (What=workspace, Where=/workspace,
Type=virtiofs, WantedBy=multi-user.target)systemctl daemon-reload + enable (boot) + start (now, tolerant) — the
start is || true so an image-build chroot with no device / no systemd does
not fail the candy; the enabled unit mounts at the next boot.The mount tag workspace is the contract between the host-side share and
this candy. The kind: vm entity must declare a matching virtiofs filesystem:
libvirt:
devices:
filesystems:
- {driver: virtiofs, accessmode: passthrough, source: /home/me, target: workspace}
target: workspace (the entity) ↔ What=workspace (this candy). The shared
memory backing virtiofs requires is auto-paired by the renderer (see
/charly-internals:libvirt-renderer), so the entity declares only the filesystem.
workspace-mount-unit — the .mount unit file contains Type=virtiofs.workspace-virtiofs-rw — skip-aware: N/A when no share is attached (image
build / no-device target); when /workspace IS mounted it MUST be virtiofs
and writable. Mirrors the GPU eval gate's skip-with-explanation pattern.The cachyos-coder operator workstation VM (box/cachyos), mounting the
operator's /home/atrawog → /workspace. Generic for any pod-in-VM share.
/charly-internals:libvirt-renderer — mapFilesystem + ensureVirtiofsSharedMemory/charly-vm:vms-catalog — filesystems: authoring on the kind:vm entity/charly-vm:cachyos — the CachyOS VM family that consumes it/charly-image:layer — candy authoring referenceUse when authoring or debugging a virtiofs host-directory share mounted into a VM
guest, or the workspace-mount candy specifically.
tools
OpenCharly CLI (charly) binary installed into container/VM images for in-container use. Use when working with charly binary deployment inside containers, native D-Bus support, or the full charly toolchain (charly binary + virtualization + gocryptfs + socat).
development
Operator CachyOS workstation profile — a kind:local template + target:local deploy that installs the full dev stack (30 candies) onto a CachyOS host via ShellExecutor. Lives in the overthinkos/cachyos submodule. MUST be invoked before editing or applying the charly-cachyos workstation profile.
tools
Fedora box with the full charly toolchain using shared candies. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Same candy list as charly-arch. Includes NVIDIA GPU runtime. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-fedora box.
tools
Arch Linux box with the full charly toolchain. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Composes /charly-coder:charly-mcp so the box is reachable as an MCP gateway on port 18765. NVIDIA GPU runtime composed in. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-arch box.