Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Обзор
Your AI agent hallucinates paths that no longer exist, misses new dependencies, and gives advice based on yesterday's architecture. Caliber generates and maintains your AI context files (CLAUDE.md, .cursor/rules/, AGENTS.md, copilot-instructions.md) so they stay accurate as your code evolves — and keeps every agent on your team in sync, whether they use Claude Code, Cursor, Codex, OpenCode, or GitHub Copilot. Most repos start with a hand-written CLAUDE.md and nothing else. Here's what Caliber finds — and fixes: Scoring is deterministic — no LLM, no API calls. It cross-references your config files against your actual project filesystem: do referenced paths exist? Are code blocks present? Is there config drift since your last commit?
README
Caliber
Hand-written CLAUDE.md files go stale the moment you refactor. Your AI agent hallucinates paths that no longer exist, misses new dependencies, and gives advice based on yesterday’s architecture. Caliber generates and maintains your AI context files (CLAUDE.md, .cursor/rules/, AGENTS.md, copilot-instructions.md) so they stay accurate as your code evolves — and keeps every agent on your team in sync, whether they use Claude Code, Cursor, Codex, OpenCode, or GitHub Copilot.
Before / After
Most repos start with a hand-written CLAUDE.md and nothing else. Here’s what Caliber finds — and fixes:
Before After /setup-caliber
────────────────────────────── ──────────────────────────────
Agent Config Score 35 / 100 Agent Config Score 94 / 100
Grade D Grade A
FILES & SETUP 6 / 25 FILES & SETUP 24 / 25
QUALITY 12 / 25 QUALITY 22 / 25
GROUNDING 7 / 20 GROUNDING 19 / 20
ACCURACY 5 / 15 ACCURACY 13 / 15
FRESHNESS 5 / 10 FRESHNESS 10 / 10
BONUS 0 / 5 BONUS 5 / 5
Scoring is deterministic — no LLM, no API calls. It cross-references your config files against your actual project filesystem: do referenced paths exist? Are code blocks present? Is there config drift since your last commit?
caliber score --compare main # See how your branch changed the score
Get Started
Requires Node.js >= 20.
npx @rely-ai/caliber bootstrap
Then, in your terminal (not the IDE chat), start a Claude Code or Cursor CLI session and type:
/setup-caliber
Your agent detects your stack, generates tailored configs for every platform your team uses, sets up pre-commit hooks, and enables continuous sync — all from inside your normal workflow.
Don’t use Claude Code or Cursor? Run caliber init instead — it’s the same setup as a CLI wizard. Works with any LLM provider: bring your own Anthropic, OpenAI, or Vertex AI key.
Your code stays on your machine. Bootstrap is 100% local — no LLM calls, no code sent anywhere. Generation uses your own AI subscription or API key. Caliber never sees your code.
Audits first, writes second
Caliber never overwrites your existing configs without asking. The workflow mirrors code review:
- Score — read-only audit of your current setup
- Propose — generate or improve configs, shown as a diff
- Review — accept, refine via chat, or decline each change
- Backup — originals saved to
.caliber/backups/before every write - Undo —
caliber undorestores everything to its previous state
If your existing config scores 95+, Caliber skips full regeneration and applies targeted fixes to the specific checks that are failing.
How It Works
Bootstrap gives your agent the /setup-caliber skill. Your agent analyzes your project — languages, frameworks, dependencies, architecture — generates configs, and installs hooks. From there, it’s a loop:
npx @rely-ai/caliber bootstrap ← one-time, 2 seconds
│
▼
agent runs /setup-caliber ← agent handles everything
│
▼
┌──── configs generated ◄────────────┐
│ │ │
│ ▼ │
│ your code evolves │
│ (new deps, renamed files, │
│ changed architecture) │
│ │ │
│ ▼ │
└──► caliber refresh ──────────────►─┘
(auto, on every commit)
Pre-commit hooks run the refresh loop automatically. New team members get nudged to bootstrap on their first session.
What It Generates
Claude Code
CLAUDE.md— Project context, build/test commands, architecture, conventionsCALIBER_LEARNINGS.md— Patterns learned from your AI coding sessions.claude/skills/*/SKILL.md— Reusable skills (OpenSkills format).mcp.json— Auto-discovered MCP server configurations.claude/settings.json— Permissions and hooks
Cursor
.cursor/rules/*.mdc— Modern rules with frontmatter (description, globs, alwaysApply).cursor/skills/*/SKILL.md— Skills for Cursor.cursor/mcp.json— MCP server configurations
OpenAI Codex
AGENTS.md— Project context for Codex.agents/skills/*/SKILL.md— Skills for Codex
OpenCode
AGENTS.md— Project context (shared with Codex when both are targeted).opencode/skills/*/SKILL.md— Skills for OpenCode
GitHub Copilot
.github/copilot-instructions.md— Project context for Copilot
Key Features
Commands
| Command | Description |
|---|---|
caliber bootstrap |
Install agent skills — the fastest way to get started |
caliber init |
Full setup wizard — analyze, generate, review, install hooks |
caliber score |
Score config quality (deterministic, no LLM) |
caliber score --compare |
Compare current score against a git ref |
caliber regenerate |
Re-analyze and regenerate configs (aliases: regen, re) |
caliber refresh |
Update docs based on recent code changes |
caliber skills |
Discover and install community skills |
caliber learn |
Session learning — install hooks, view status, finalize analysis |
caliber hooks |
Manage auto-refresh hooks |
caliber config |
Configure LLM provider, API key, and model |
caliber status |
Show current setup status |
caliber uninstall |
Remove all Caliber resources from a project |
caliber undo |
Revert all changes made by Caliber |
FAQ
LLM Providers
No API key? No problem. Caliber works with your existing AI tool subscription:
| Provider | Setup | Default Model |
|---|---|---|
| Claude Code (your seat) | caliber config → Claude Code |
Inherited from Claude Code |
| Cursor (your seat) | caliber config → Cursor |
Inherited from Cursor |
| Anthropic | export ANTHROPIC_API_KEY=sk-ant-... |
claude-sonnet-4-6 |
| OpenAI | export OPENAI_API_KEY=sk-... |
gpt-5.4-mini |
| Vertex AI | export VERTEX_PROJECT_ID=my-project |
claude-sonnet-4-6 |
| Custom endpoint | OPENAI_API_KEY + OPENAI_BASE_URL |
gpt-5.4-mini |
Override the model for any provider: export CALIBER_MODEL= or use caliber config.
Caliber uses a two-tier model system — lightweight tasks (classification, scoring) auto-use a faster model, while heavy tasks (generation, refinement) use the default. This keeps costs low and speed high.
Configuration is stored in ~/.caliber/config.json with restricted permissions (0600). API keys are never written to project files.
Contributing
See CONTRIBUTING.md for detailed guidelines.
git clone https://github.com/caliber-ai-org/ai-setup.git
cd caliber
npm install
npm run dev # Watch mode
npm run test # Run tests
npm run build # Compile
Uses conventional commits — feat: for features, fix: for bug fixes.
Add a Caliber badge to your repo
After scoring your project, add a badge to your README:
Copy this markdown and replace 94 with your actual score:

Color guide: brightgreen (90+), green (70-89), yellow (40-69), red (<40).
License
MIT
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add caliber-ai-org/ai-setup