Caliber CLI
A CLI that generates and maintains AI context files, CLAUDE.md, Cursor rules, AGENTS.md and Copilot instructions, keeping them accurate as code changes
- 1,313 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Installs git and session-end hooks that run automatically
- Sends a project summary to a model provider and collects anonymous analytics by default
- Reads project files and writes configs, and handles provider keys
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/caliberDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Installs git and session-end hooks that run automatically
- Sends a project summary to a model provider and collects anonymous analytics by default
- Reads project files and writes configs, and handles provider keys
This is third-party code. Review the repository files before installing.
What it does
Caliber generates and updates context files for coding agents so they do not go stale after a refactor. A single npx @rely-ai/caliber bootstrap installs the /setup-caliber skill, then the agent detects your stack, generates configs for every platform your team uses and installs hooks. The caliber score command gives a deterministic quality score with no model call: it cross-references paths and code blocks against your real project tree. Pre-commit and session-end hooks refresh the docs from code changes. Every edit is shown as a diff, originals are backed up, and caliber undo reverts them.
Who it is for. For developers and teams who keep context files for Claude Code, Cursor, Codex, OpenCode and Copilot up to date.
Good fit when
- The agent's context files are stale after a refactor
- You need one project description shared across several agents
- You want to score CLAUDE.md and rules quality without a model call
Not a fit when
- Keeping one short file by hand is enough
- You have no Node.js 20 or a suitable model provider for generation
Example request
Check and refresh my CLAUDE.md and Cursor rules against the current codeLimitations
It needs Node.js 20 or newer. Bootstrap and scoring run locally with no model, while generation calls a provider: a Claude Code or Cursor subscription, or an Anthropic, OpenAI, MiniMax or Vertex AI key. Some providers are not directly available from Russia, so availability depends on the option you pick. Generation sends out a project summary (languages, structure, dependencies, not source code), and anonymous analytics are collected by default via PostHog, which you can turn off. Keys are stored in ~/.caliber/config.json with restricted permissions.
How to disable. Remove Caliber's resources from the project with caliber uninstall, revert edits with caliber undo, and drop the hooks with caliber hooks --remove.
FAQ
Does my code leave the machine?
Scoring is fully local. Generation sends only a project summary, not source code, to the provider you choose.
Do I need an API key?
Not for bootstrap and scoring. Generation works with a Claude Code or Cursor subscription or your own Anthropic, OpenAI, MiniMax or Vertex AI key.
Discussion
No questions or reviews yet.
Related
CLI toolsTasks, docs, specs and decisions live as markdown files in your repository, and the agent reads them through the CLI and MCP
Over twenty skills for coding agents: MCP and hooks, plan mode, a bug-fix protocol, prompting and a bash safety hook
A set of 116 skills, 44 agents and safety hooks for Claude Code, Cursor, Codex, Gemini CLI and nine more editors
A CLI that keeps agent instructions in one place and distributes them to the right config files for Claude Code, Cursor, Codex, Copilot and two dozen other tool
Shared Claude Code settings for a team: hooks against dangerous commands, a check before finishing and skills from spec to review
A Claude Code plugin that generates and maintains CLAUDE.md: a 0 to 100 quality score, a 150-line cap and stale reference checks
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| Caliber (this card) | no | 1,313 | |
| Repository Harness | no | 1,268 | repository Harness installs an AGENTS.md entrypoint |
| MDA: one source for SKILL.md and AGENTS.md | no | 616 | the mda CLI compiles one .mda file into ready SKILL.md |
| ClaudeForge | no | 434 | a Claude Code plugin that generates and maintains CLAUDE.md |
README in short
The README presents Caliber as a tool that generates and maintains context files for coding agents and keeps them in sync across Claude Code, Cursor, Codex, OpenCode and Copilot. Installation is npx @rely-ai/caliber bootstrap, after which the agent runs the /setup-caliber skill, or you use the caliber init wizard without an agent. The caliber score check is deterministic and calls no model, cross-referencing configs against the real project tree across six categories. Edits are shown as diffs, originals are backed up, and there is undo, dry-run and clean uninstall. Generation works with a Claude Code or Cursor subscription or with Anthropic, OpenAI, MiniMax and Vertex AI keys. MIT licensed.