#!/usr/bin/env bash
# InfoLobby AI Agent Skill installer - https://infolobby.com/skill
set -e
BASE="https://infolobby.com/skill/files"
DIR="${CLAUDE_SKILLS_DIR:-$HOME/.claude/skills}/infolobby"
mkdir -p "$DIR/references"
curl -fsSL "$BASE/SKILL.md"                -o "$DIR/SKILL.md"
curl -fsSL "$BASE/references/endpoints.md" -o "$DIR/references/endpoints.md"
curl -fsSL "$BASE/references/fields.md"    -o "$DIR/references/fields.md"
echo "InfoLobby skill installed at $DIR"
