setup-caliber

Featured

Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot instructions update automatically on every commit. Use when Caliber hooks are not yet installed or when the user asks about keeping agent configs in sync.

AI & Automation 1,223 stars 116 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Setup Caliber Dynamic onboarding for Caliber — automatic AI agent context sync. Run all diagnostic steps below on every invocation to determine what's already set up and what still needs to be done. ## Instructions Run these checks in order. For each step, check the current state first, then only act if something is missing. ### Step 1: Check if Caliber is installed ```bash command -v caliber >/dev/null 2>&1 && caliber --version || echo "NOT_INSTALLED" ``` - If a version prints → Caliber is installed globally. Set `CALIBER="caliber"` and move to Step 2. - If NOT_INSTALLED → Install it globally (faster for daily use since the pre-commit hook runs on every commit): ```bash npm install -g @rely-ai/caliber ``` Set `CALIBER="caliber"`. If npm fails (permissions, no sudo, etc.), fall back to npx: ```bash npx @rely-ai/caliber --version 2>/dev/null || echo "NO_NODE" ``` - If npx works → Set `CALIBER="npx @rely-ai/caliber"`. This works but adds ~500ms per invocation. - If NO_NODE → Tell the user: "Caliber requires Node.js >= 20. Install Node first, then run /setup-caliber again." Stop here. ### Step 2: Check if pre-commit hook is installed ```bash grep -q "caliber" .git/hooks/pre-commit 2>/dev/null && echo "HOOK_ACTIVE" || echo "NO_HOOK" ``` - If HOOK_ACTIVE → Tell the user: "Pre-commit hook is active — configs sync on every commit." Move to Step 3. - If NO_HOOK → Tell the user: "I'll install the pre-commit hook so your agent configs sync automatically ...

Details

Author
caliber-ai-org
Repository
caliber-ai-org/ai-setup
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category