Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

chore: install and skill tools

Luigi Agosticbb11f04d49a
diff --git a/dev b/dev
index e7ad7187..cd1726bd 100755
--- a/dev
+++ b/dev
@@ -48,6 +48,7 @@ COMMANDS=(
" browserbench:📊:Run BrowserBench CSV tasks through PinchTab"
"doctor:🩺:Setup dev environment"
"install:📦:Build & install to ~/.local/bin (override with PINCHTAB_INSTALL_DIR)"
+ " skills:📦:Symlink ./skills/* into ~/.claude/skills (override with CLAUDE_SKILLS_DIR)"
"check go:🧪:Go only"
"check dashboard:🧪:Dashboard only"
"check npm:🧪:npm package only"
@@ -285,6 +286,7 @@ run_command() {
"dashboard") exec bash scripts/dev-dashboard.sh ;;
"build") exec bash scripts/build.sh ;;
"install") exec bash scripts/install.sh ;;
+ "install skills") exec bash scripts/install-skills.sh ;;
"binary") exec bash scripts/binary.sh ;;
"binary all"|"binaries") exec bash scripts/binary.sh all ;;
"all")
@@ -396,6 +398,13 @@ if [ $# -gt 0 ]; then
run_command "check"
fi
;;
+ install)
+ if [ $# -gt 1 ]; then
+ run_command "install $2"
+ else
+ run_command "install"
+ fi
+ ;;
test)
if [ $# -gt 1 ]; then
run_command "test $2"
diff --git a/scripts/install-skills.sh b/scripts/install-skills.sh
new file mode 100755
index 00000000..425bd1fd
--- /dev/null
+++ b/scripts/install-skills.sh
@@ -0,0 +1,56 @@
+#!/usr/bin/env bash
+# Symlink every skill under ./skills into ~/.claude/skills so Claude Code
+# picks them up globally. Editing files under ./skills/<name>/ is reflected
+# immediately because we use symlinks.
+#
+# Override the target directory with CLAUDE_SKILLS_DIR=<path> if you want
+# to install into a different Claude home (e.g. a project-local one).
+set -euo pipefail
+
+cd "$(dirname "$0")/.."
+
+TARGET_DIR="${CLAUDE_SKILLS_DIR:-$HOME/.claude/skills}"
+SOURCE_DIR="$(pwd)/skills"
+
+if [[ ! -d "$SOURCE_DIR" ]]; then
+ echo "no ./skills directory at $SOURCE_DIR" >&2
+ exit 1
+fi
+
+mkdir -p "$TARGET_DIR"
+
+installed=0
+skipped=0
+for skill in "$SOURCE_DIR"/*/; do
+ [[ -d "$skill" ]] || continue
+ name=$(basename "$skill")
+ if [[ ! -f "$skill/SKILL.md" ]]; then
+ echo " skip $name (no SKILL.md)"
+ skipped=$((skipped + 1))
+ continue
+ fi
+
+ link="$TARGET_DIR/$name"
+ src="${skill%/}"
+
+ if [[ -L "$link" ]]; then
+ current=$(readlink "$link")
+ if [[ "$current" == "$src" ]]; then
+ echo " ok $name (already linked)"
+ installed=$((installed + 1))
+ continue
+ fi
+ rm "$link"
+ elif [[ -e "$link" ]]; then
+ echo " conflict: $link exists and is not a symlink — skipping" >&2
+ skipped=$((skipped + 1))
+ continue
+ fi
+
+ ln -s "$src" "$link"
+ echo " link $name -> $src"
+ installed=$((installed + 1))
+done
+
+echo
+echo "installed $installed skill(s) into $TARGET_DIR (skipped $skipped)"