/obs-mgmt:setupfrom obs-mgmt
First-run setup for the obs-mgmt plugin. Verifies OBS Studio is installed, enables and configures obs-websocket (bundled in OBS 28+), stores connection details in $CLAUDE_USER_DATA, and registers royshil/obs-mcp as an MCP server in Claude Code so later skills can drive OBS programmatically. Run this once before any other skill in this plugin.
Ships in obs-mgmt. 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.
None: SKILL.md is the whole skill.
This skill is the prerequisite for every other skill in obs-mgmt. After it succeeds, later skills assume:
obs-mcp MCP server registered in Claude Code.$CLAUDE_USER_DATA/obs-mgmt/config.json.This plugin separates plugin config (small pointers, owned by the plugin) from user-owned data (backups, exported scene collections, notes — owned by the user). Two env vars control where each lives:
| Env var | Purpose | Default if unset |
|---|---|---|
OBS_CONFIG_PATH | Override the auto-detected OBS config directory. Useful for non-standard installs, custom --profile flags, or running multiple OBS configs side by side. | Resolved by detect-install skill from install type. |
OBS_WORKSPACE (the management workspace) | User-owned folder for config backups, exported scene JSON, recording notes, and any docs Claude generates about the user's OBS setup. | Prompt the user during setup; suggest ~/Documents/OBS-Workspace/ or ~/repos/obs-workspace/. |
Setup will:
Resolve the plugin data root for config pointers only:
DATA_ROOT="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/obs-mgmt"
mkdir -p "$DATA_ROOT"
Bootstrap the management workspace by delegating to the init-workspace skill. That skill prompts for the path, scaffolds the layout (backups/, scenes/, plugins/, docs/), and offers to turn it into a private GitHub repo so the workspace is versioned. Persist the export in ~/.bashrc / ~/.zshrc so it's stable across sessions:
export OBS_WORKSPACE="$HOME/Documents/OBS-Workspace"
Persist pointers in $DATA_ROOT/config.json:
{
"install_type": "native|flatpak|snap|appimage",
"config_path": "/home/<user>/.config/obs-studio",
"workspace_path": "/home/<user>/Documents/OBS-Workspace",
"websocket": { "host": "localhost", "port": 4455 },
"mcp_bundled": true,
"setup_complete": true
}
Never store the websocket password in config.json — it stays in the user's shell env (OBS_WEBSOCKET_PASSWORD).
The workspace layout is scaffolded by init-workspace — see that skill for details. User-owned content (backups, exports, notes) must live under the management workspace, never under $CLAUDE_USER_DATA. Claude can freely write docs/notes/exports into $OBS_WORKSPACE/docs/ to build up a knowledge base about the user's specific OBS rig; if the workspace is a git repo, those writes can be committed for version history.
Delegate to the detect-install skill in this plugin. It returns one of native, flatpak, snap, or missing. If missing, stop and tell the user how to install OBS for their distro; do not proceed.
If the user has set OBS_CONFIG_PATH in their env, prefer that over the auto-detected path and validate it exists and contains a global.ini (the OBS marker file).
OBS 28+ bundles obs-websocket v5. The user must enable it once via the GUI (it cannot be enabled headlessly without editing config files OBS may overwrite):
4455 unless it conflicts.Don't copy the password anywhere. OBS keeps it in <config>/plugin_config/obs-websocket/config.json on this machine, and scripts/obs_ws.py reads it from there (or from OBS_WEBSOCKET_PASSWORD if set). With OBS closed, websocket can also be enabled headlessly by setting server_enabled: true in that file.
For older OBS (<28), instruct the user to install the standalone obs-websocket plugin from https://github.com/obsproject/obs-websocket/releases and restart OBS before continuing.
This plugin ships royshil/obs-mcp as a bundled MCP server via .mcp.json at the plugin root — no manual claude mcp add needed. When the plugin is enabled, Claude Code spawns the server automatically via npx -y obs-mcp@latest.
The bundled server reads two environment variables:
OBS_WEBSOCKET_URL (default ws://localhost:4455)OBS_WEBSOCKET_PASSWORD (required)Set them in the user's shell profile so they're inherited by Claude Code:
# ~/.bashrc or ~/.zshrc
export OBS_WEBSOCKET_PASSWORD="<password from step 2>"
# Optional, only if non-default:
# export OBS_WEBSOCKET_URL="ws://<host>:<port>"
Reload the shell, then restart Claude Code so the MCP server picks up the new env. Verify with:
claude mcp list
The obs server should appear and report connected.
Prerequisite: Node.js 18+ on PATH so npx can fetch obs-mcp. If the user prefers a pinned local install, they can npm i -g obs-mcp and Claude Code's npx call still resolves it.
In the same Claude Code session (or after a restart so the MCP server loads), call an obs-mcp tool that lists scenes — e.g. GetSceneList or equivalent. A successful response confirms:
If the call fails:
config.json.claude mcp list and re-run step 3.uv run --with obsws-python python3 ${CLAUDE_PLUGIN_ROOT}/scripts/obs_ws.py status validates the same thing without the MCP server, and is what apply-scenes and set-hotkeys use.
Write config.json with "setup_complete": true and a timestamp. Other skills in this plugin should read this file and refuse to run if setup is incomplete, pointing the user back here.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
9 skills in this plugin
/apply-scenesCreate or update OBS scenes on this machine from declarative JSON specs in the workspace (machines/<hostname>/scenes/definitions/). Idempotent; reuses inputs across scenes by name and lays out full-frame and picture-in-picture items. Use on "set up scenes", "create a webcam / screen / screen + webcam scene", "add a scene", or after moving to a new machine./backup-configBack up the OBS Studio config directory (scenes, profiles, global settings, plugin configs) to a user-defined folder. Resolves the correct config path based on install type (native, Flatpak, Snap), creates a timestamped tarball, and prunes old backups based on a retention policy. Stores the user's chosen backup folder pointer in plugin config so subsequent runs don't re-prompt./check-updatesCheck whether OBS Studio (and its third-party plugins) on this machine are up to date, and upgrade through the right channel for the install type (official PPA, Flatpak, distro archive). Use on "is OBS up to date", "update OBS", "upgrade OBS"./detect-installDetect how OBS Studio is installed on a Linux system — native package (apt/dnf/pacman), Flatpak (com.obsproject.Studio), Snap, or AppImage — and return the install type, version, binary path, and config directory. Used by other obs-mgmt skills that need to know where OBS reads config and stores plugins./health-checkCheck the health of OBS on this machine — install and update status, websocket, recording path and free space, cameras and mics, hardware encoder availability, dropped frames and errors in the latest OBS log, CPU/RAM/temperature. Read-only. Use on "is OBS OK", "OBS health", "why did my recording drop frames", or before an important recording./init-workspaceInitialize the OBS management workspace — one user-owned folder (ideally a private git repo) shared by all the user's machines, with a machines/<hostname>/ folder per computer for its scenes, hotkeys, device notes, snapshots and health logs. Run once per machine during onboarding (it adds this machine's folder to an existing workspace); safe to re-run.obs-mgmt@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin obs-mgmt