/obs-mgmt:backup-configfrom obs-mgmt
Back 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.
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.
Creates a timestamped tarball of the OBS config directory at a user-chosen location.
setup skill has run.detect-install resolves the active OBS config dir.Resolve the backup folder in this order:
$OBS_WORKSPACE/backups/ — default. The setup skill prompts for OBS_WORKSPACE and scaffolds the backups/ subfolder.backup_folder override in $CLAUDE_USER_DATA/obs-mgmt/config.json — if the user explicitly set a non-default location (e.g. an external drive mount).$OBS_WORKSPACE/backups/ (preferred — keeps everything in one workspace)./run/media/<user>/<drive>/obs-backups/.Persist any override in config.json:
{
"backup_folder": "/run/media/<user>/<drive>/obs-backups",
"retention_count": 10
}
The backup folder is user-owned data. Store only the pointer under $CLAUDE_USER_DATA; the tarballs themselves live in $OBS_WORKSPACE (or the user's chosen override path).
Resolve config dir via detect-install (Flatpak, Snap, and native paths all differ — see that skill).
Confirm OBS is not running (pgrep -x obs returns nothing). If it is, warn that hot-backups can capture mid-write state and ask the user whether to continue or close OBS first.
Build the archive name:
obs-config-<install_type>-YYYY-MM-DD-HHMMSS.tar.gz
Create the tarball:
TS=$(date +%Y-%m-%d-%H%M%S)
ARCHIVE="$BACKUP_FOLDER/obs-config-$INSTALL_TYPE-$TS.tar.gz"
tar -czf "$ARCHIVE" -C "$(dirname "$CONFIG_DIR")" "$(basename "$CONFIG_DIR")"
Verify the archive: tar -tzf "$ARCHIVE" >/dev/null && echo OK.
Print the archive path and size.
After a successful backup, prune older archives in the backup folder beyond retention_count (default 10), oldest-first. Match only files following the obs-config-*-*.tar.gz pattern so user files in the same folder aren't touched.
ls -1t "$BACKUP_FOLDER"/obs-config-*.tar.gz 2>/dev/null \
| tail -n +$((RETENTION + 1)) \
| xargs -r rm -v
This skill only backs up. To restore:
mv ~/.config/obs-studio ~/.config/obs-studio.bak.If the user asks to restore, do it explicitly under their supervision — never auto-restore.
What SKILL.md sets; muted values are Claude Code's defaults
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./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.Other plugins' skills for the same job
obs-mgmt@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin obs-mgmt