#!/bin/sh # Install Simple Host skills into your agent's skills directory. # Pure HTTPS, no git, no npm. # # Usage: # curl -fsSL https://www.simple-host.app/install.sh | sh # # Override the destination (e.g. for Codex CLI / generic agents): # curl -fsSL https://www.simple-host.app/install.sh | sh -s -- ~/.agents/skills set -e DEST="${1:-$HOME/.claude/skills}" TMP="$(mktemp -d)" ZIP="$TMP/simple-host-skills.zip" mkdir -p "$DEST" echo "Downloading skills bundle..." curl -fsSL 'https://www.simple-host.app/skills.zip' -o "$ZIP" echo "Extracting into $DEST" unzip -oq "$ZIP" -d "$DEST" rm -rf "$TMP" echo echo "Installed:" ls -1 "$DEST" | sed 's/^/ /' echo echo "Restart your agent if it caches the skills directory."