/obs-mgmt:init-workspacefrom obs-mgmt
Initialize 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.
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.
The management workspace is a single folder where everything Claude knows or generates about the user's OBS setup lives — config tarballs, exported scene collections, plugin install logs, hardware notes, and any Markdown docs Claude writes about the user's recording rig.
This skill bootstraps that folder and (optionally) turns it into a private GitHub repo so it's backed up and versioned.
setup skill.Idempotent: running it twice on an existing workspace just reports the current state.
Order of resolution:
$OBS_WORKSPACE env var if set.workspace_path in $CLAUDE_USER_DATA/obs-mgmt/config.json.~/Documents/OBS-Workspace.Confirm the path with the user before creating anything.
One workspace serves every machine; each machine gets its own folder named by hostname. Don't create one repo per machine. On a second machine, clone the existing workspace repo and add a folder.
$OBS_WORKSPACE/
├── README.md # machine table: host, folder, OBS version, notes
├── .gitignore
└── machines/<hostname>/
├── README.md # scenes, hotkeys, setup log, pending items
├── machine.json # hardware, OS, install type, stable device IDs (no secrets)
├── scenes/definitions/*.json # apply-scenes specs
├── hotkeys.json # set-hotkeys spec
├── snapshots/<date>-<why>/ # raw copies of <config>/basic before risky changes
├── backups/ # backup-config tarballs (gitignored)
├── plugins/ # third-party plugin artifacts and install logs
└── docs/ # notes, fixes, health.md
Fill machine.json from detect-install and health.py (cameras by /dev/v4l/by-id/, mics by pulse source name). Seed .gitignore with *.tar.gz, *.zip, *.AppImage, *.deb, *.bak-*, .DS_Store. Never commit the websocket password; the plugin's scripts read it from OBS's own config on each machine.
If the user already has an older single-machine OBS repo, convert it in place: move its content into machines/<that-host>/ and rename the repo, rather than starting a parallel one.
Ask the user: "Make this workspace a private GitHub repo so it's versioned and backed up?"
If yes:
Confirm gh is authenticated (gh auth status).
Decide repo name. Default: OBS-Machine-Configs. Confirm. If it already exists on GitHub, clone it to $OBS_WORKSPACE instead and just add this machine's folder.
Initialise and push:
cd "$OBS_WORKSPACE"
git init -q
git add -A
git commit -q -m "Initial OBS management workspace"
gh repo create <owner>/<repo-name> --private --source=. --push
Record the repo URL in $CLAUDE_USER_DATA/obs-mgmt/config.json:
{
"workspace_path": "/home/<user>/Documents/OBS-Workspace",
"workspace_repo": "[email protected]:<owner>/OBS-Machine-Configs.git",
"machine_dir": "machines/<hostname>",
"workspace_is_git": true
}
If no, just record "workspace_is_git": false and note that the user can re-run this skill later to git-ify.
Suggest the user add to ~/.bashrc / ~/.zshrc:
export OBS_WORKSPACE="$HOME/Documents/OBS-Workspace"
Don't write to shell rc files automatically — show the line and let the user paste it.
Other skills in this plugin (backup-config, install-plugin) can opt into auto-committing their outputs to the workspace if workspace_is_git is true. Mention this to the user but don't enable it without asking — some users prefer to review and commit manually.
If $OBS_WORKSPACE already exists and is git-tracked, just print:
Workspace OK
Path: <path>
Repo: <url>
Last commit: <hash> <date> <subject>
If it exists but isn't git-tracked, offer to git-ify it now.
What SKILL.md sets; muted values are Claude Code's defaults
obs-mgmt@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin obs-mgmt9 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./Other plugins' skills for the same job