app
kicad-bridge-macos
Public Made by Adomby adom
KiCad Bridge for macOS: the AI skill for driving KiCad on the user's Mac through Adom Bridge (kicad_* verbs), in the background. DOCS ONLY: the bridge runtime is one signed macOS binary that Adom Bridge installs and updates, published on the Releases tab as adom-bridge-kicad-macos-v<ver>.zip. The pkg version is kept in lockstep with the Release version.
main
#!/usr/bin/env bash
# Install the KiCad Bridge for macOS user skill. The skill directory name must equal SKILL.md's `name:`
# (kicad-bridge-macos). The bridge RUNTIME is not here: Adom Bridge installs and updates it from this
# page's Releases. The Adom Bridge CLI + core skills arrive through this pkg's dependencies.
set -e
PKG_DIR="$(cd "$(dirname "$0")" && pwd)"
deploy_into() {
mkdir -p "$1/kicad-bridge-macos"
cp "$PKG_DIR/SKILL.md" "$1/kicad-bridge-macos/SKILL.md"
echo " -> $1/kicad-bridge-macos"
}
echo "Installing KiCad Bridge for macOS skill:"
deploy_into "$HOME/.claude/skills"
[ -d "$HOME/.codex" ] && deploy_into "$HOME/.codex/skills"
echo "Done. The skill drives KiCad on the Mac through the adom-bridge CLI; Adom Bridge installs the bridge on first use."