main
Kyle Bergstedt Publish 0.3.0 6ecd974
#!/usr/bin/env bash
# Installs the spotify-ytmusic-bridge USER skill. The bridge runtime is not here: Adom Bridge installs it
# from the release zip (bridge_install with this page's manifest).
set -e
PKG_DIR="$(cd "$(dirname "$0")" && pwd)"
deploy_into() {
  rm -rf "$1/spotify-ytmusic"   # 0.2.0 installed a second copy under this name
  mkdir -p "$1/spotify-ytmusic-bridge"
  cp "$PKG_DIR/SKILL.md" "$1/spotify-ytmusic-bridge/SKILL.md"
  echo "  -> $1/spotify-ytmusic-bridge"
}
echo "Installing the Spotify + YouTube Music skill:"
deploy_into "$HOME/.claude/skills"
[ -d "$HOME/.codex" ] && deploy_into "$HOME/.codex/skills"
echo "Done. Drive it with: adom-bridge music_readiness '{}'"