#!/usr/bin/env bash # Install Claude Code skills from a skill-share catalogue. # # curl -fsSL /install.sh | bash -s -- --from skill-a skill-b # bash install.sh # pick from a numbered menu # bash install.sh --list # show what is available # bash install.sh --all # everything # bash install.sh --update NAME # replace a skill you already have (a backup is kept) # # Skills go into ${CLAUDE_CONFIG_DIR:-~/.claude}/skills/ (or --dir DIR). # Every archive is checked against its SHA-256 before anything is unpacked, and an # archive is refused if any path in it would land outside its own skill folder. # Existing skills are never touched unless you pass --update; even then the old copy # is saved first to ~/.claude/skill-backups/-