feat: agent setup one-liner (agents.sh → install.sh --agents → insta setup agent)

Merged
TO
3mo ago
+112-0

Railway-referenced onboarding (curl -fsSL agents.railway.com | sh → thin shim → install.sh --agents -y):

  • insta setup agent [-y] — installs the insta skill user-globally for all coding agents (npx skills add InsForge/insta-skills -s insta -a '*' -g -y --copy). Rationale: the skill carries zero project state (binding lives in ./.insta/project.json at command time), and its triggers are brand-gated — one machine-level copy beats N per-project copies. Stack skills (neon/tigris/better-auth) deliberately remain per-project: their presence doubles as the project's stack manifest.
  • install.sh --agents [-y] — post-install hook running insta setup agent.
  • agents.sh — the thin shim for the published one-liner (point agents.instacloud.com-style DNS at it whenever ready):
    curl -fsSL https://raw.githubusercontent.com/InsForge/insta-cli/main/agents.sh | sh
    

Tests: 42/42 (2 new); shell syntax checked.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GMbAe5K1RfwaAcge5inX7P


Summary by cubic

Adds a one-liner agent installer and a CLI command to install the insta skill user-globally across supported coding agents, reducing setup to a single step. This streamlines onboarding and avoids per-project skill copies.

  • New Features

    • insta setup agent [-y]: installs InsForge/insta-skills for all supported agents at the user level via npx skills add InsForge/insta-skills -s insta -a "*" -g -y --copy. Stack skills remain per-project.
    • install.sh --agents [-y]: post-install hook that runs insta setup agent.
    • agents.sh: thin shim for the one-liner curl -fsSL https://raw.githubusercontent.com/InsForge/insta-cli/main/agents.sh | sh.
  • Migration

    • Recommended: curl -fsSL https://raw.githubusercontent.com/InsForge/insta-cli/main/agents.sh | sh
    • Manual: install the CLI, then run insta setup agent -y