ov-selkies/skills/niri/SKILL.md
Niri Wayland compositor (Smithay-based) built from source with virtual output support. Use when working with niri compositor, headless Wayland, or Smithay-based desktop containers.
npx skillsauth add overthinkos/overthink-plugins niriInstall 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.
| Property | Value |
|----------|-------|
| Dependencies | dbus, rust, build-toolchain |
| Service | niri (supervisord, priority 10) |
| Install files | tasks:, config.kdl, niri-wrapper |
| Built from | QaidVoid/niri feat/virtual branch (Smithay + virtual outputs) |
| Variable | Value |
|----------|-------|
| WAYLAND_DISPLAY | wayland-1 |
| XDG_RUNTIME_DIR | /tmp |
| XDG_CURRENT_DESKTOP | niri |
| EGL_LOG_LEVEL | fatal |
Note: Niri/Smithay creates wayland-1 (not wayland-0 like wlroots). All downstream services must use wayland-1.
Niri is built from the QaidVoid/niri fork (feat/virtual branch) which adds:
NIRI_BACKEND=headless mode — creates virtual outputs without DRM/KMSniri msg create-virtual-output — dynamic virtual output creationBuild process (in tasks:):
git clone --depth 1 --branch feat/virtual https://github.com/QaidVoid/niri.gitcargo build --release/usr/local/bin/niriThe niri-wrapper starts niri with NIRI_BACKEND=headless:
HEADLESS-1 virtual output automatically (1920x1080@60Hz)--unsupported-gpu)cap_sys_nice stripping needed (niri is a Rust binary, no file capabilities)WLR_BACKENDS coordination needed| Aspect | Sway (wlroots) | Niri (Smithay) |
|--------|----------------|----------------|
| Headless mode | WLR_BACKENDS=headless | NIRI_BACKEND=headless |
| Socket name | wayland-0 | wayland-1 |
| GPU workarounds | 4 env vars + --unsupported-gpu | None needed |
| File capabilities | cap_sys_nice must be stripped | No file caps |
| IPC | sway-ipc socket | niri IPC socket |
| Config format | i3-style | KDL |
| Screen capture | wlr-screencopy | ext-image-copy-capture (pending) |
Niri does not implement the wlr-screencopy protocol (it's wlroots-specific). The ext-image-copy-capture protocol support is pending.
Part of niri-desktop composition.
/ov-selkies:sway -- wlroots compositor alternative/ov-foundation:dbus -- D-Bus session bus dependency/ov-selkies:chrome-niri -- Chrome browser on Niri/ov-selkies:niri-apps -- Desktop apps (terminal, file manager)/ov-selkies:niri-desktop -- Full desktop compositionUse when the user asks about:
/ov-build:layer — layer authoring reference (layer.yml schema, task verbs, service declarations)/ov-build:eval — declarative testing (tests: block, ov eval image, ov test)development
Claude Code multi-agent support in Overthink — sub-agents, dynamic workflows, and agent teams, and how each drives the existing `ov eval` disposable beds to test and verify. MUST be invoked before authoring or invoking an ov sub-agent / dynamic workflow / agent team, wiring agent-lifecycle hooks, or asking "which primitive should drive the R10 beds?".
tools
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).
development
MUST be invoked before any work involving: the `kind: android` schema kind, a `target: android` deploy, the `apk:` layer package format (installing Android apps declaratively), AndroidDeployTarget, an in-pod emulator OR a remote/physical adb-endpoint device, or nested `pod → android` deployment. The first-class Android device + app surface that sits above `ov eval adb`/`appium`.
tools
Use when committing, branching, pushing, merging, tagging, creating PRs, or approving/merging PRs with gh — the feat/-branch, R10-gated, never-force-push landing workflow across the main repo + the plugins submodule + image/<distro> submodules. Covers sync-to-upstream, branch/worktree pruning, the fork+PR path for contributors without write access, and cross-repo @github landing order.