#!/bin/sh
# Super Artifact Manager: puts the skill (and Super Annotator, for comments)
# into this project's .claude/skills. Run it from the project's folder.
#   curl -fsSL https://super-artifact-manager.vercel.app/install.sh | sh
# Source: https://github.com/SupermodularAI/super-artifact-manager
set -e
DEST="${1:-.claude/skills}"
mkdir -p "$DEST"
curl -fsSL https://github.com/SupermodularAI/super-artifact-manager/archive/refs/heads/main.tar.gz \
  | tar -xz -C "$DEST" --strip-components=1 \
      super-artifact-manager-main/artifact-manager super-artifact-manager-main/annotate
echo "Installed $DEST/artifact-manager and $DEST/annotate"
echo "Next, ask Claude Code: \"Add Super Artifact Manager to this prototype.\""
