Use Case
Niri IPC is a powerful AI agent skill that extends your assistant with new capabilities. Control the Niri Wayland compositor on Linux via its IPC (`niri msg --json` / $NIRI_SOCKET). Use when you need to query Niri state (outputs/workspaces/windows/focused window) or perform actions (focus/move/close windows, switch workspaces, spawn commands, reload config) from an OpenClaw agent running on a Niri session. This guide walks you through installing Niri IPC, configuring it for your setup, and running your first commands β so you can start getting value in minutes.
Install Niri IPC: npx clawhub@latest --dir ~/.claude/skills install niri-ipc
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to developer & devops to trigger Niri IPC
Review the output and refine your prompt for better results
Combine Niri IPC with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing Niri IPC
Help me get started with Niri IPC
What can Niri IPC do for my developer & devops workflow?
Show me an example of using Niri IPC
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install niri-ipcOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install niri-ipcβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/niri-ipc/π‘Extract and place the folder at the path above, then restart your agent.