@rely-ai/caliber 1.5.4 → 1.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +75 -64
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="assets/social-preview.svg" alt="Caliber" width="640">
2
+ <img src="assets/social-preview.png" alt="Caliber" width="640">
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -8,13 +8,27 @@
8
8
  <a href="https://nodejs.org"><img src="https://img.shields.io/node/v/@rely-ai/caliber" alt="node"></a>
9
9
  </p>
10
10
 
11
- <p align="center"><strong>Analyze your codebase. Generate optimized AI agent configs. One command.</strong></p>
11
+ <p align="center"><strong>Improve your agentic development experience with one command</strong></p>
12
12
 
13
13
  ---
14
14
 
15
15
  Caliber scans your project — languages, frameworks, dependencies, file structure — and generates tailored config files for **Claude Code**, **Cursor**, and **OpenAI Codex**. If configs already exist, it audits them against your actual codebase and suggests targeted improvements.
16
16
 
17
- 🔑 **No API key required** — use your existing Claude Code or Cursor subscription. Or bring your own key (Anthropic, OpenAI, Vertex AI, any OpenAI-compatible endpoint).
17
+ 🔑 **API Key Optional** — use your existing Claude Code or Cursor subscription. Or bring your own key (Anthropic, OpenAI, Vertex AI, any OpenAI-compatible endpoint).
18
+
19
+ 🧠 **BYOAI** — Caliber works where you do. All LLM processing runs through your own models — no data is sent to third parties.
20
+
21
+ ### Why Caliber?
22
+
23
+ Caliber **generates, audits, and maintains** your agentic development sessions.
24
+
25
+ - 🏗️ **Generates, not just score** — builds your CLAUDE.md, Cursor rules, AGENTS.md, skills, and MCP configs from scratch
26
+ - 🔀 **Multi-agent** — one command sets up Claude Code, Cursor, and Codex together
27
+ - 🌍 **Any codebase** — TypeScript, Python, Go, Rust, Terraform, Java, Ruby — detection is fully LLM-driven, not hardcoded
28
+ - 🧩 **Finds and installs skills** — searches community registries and installs relevant skills for your stack
29
+ - 🔗 **Discovers MCP servers** — auto-detects tools your project uses and installs matching MCP servers
30
+ - 🔄 **Keeps configs fresh** — git hooks and session hooks auto-update your docs as your code changes
31
+ - ↩️ **Fully reversible** — automatic backups, score regression guard, and one-command undo
18
32
 
19
33
  ## 🚀 Quick Start
20
34
 
@@ -32,6 +46,7 @@ caliber onboard
32
46
  ```
33
47
 
34
48
  > **Already have an API key?** Skip the interactive setup:
49
+ >
35
50
  > ```bash
36
51
  > export ANTHROPIC_API_KEY=sk-ant-...
37
52
  > npx @rely-ai/caliber onboard
@@ -65,18 +80,18 @@ Caliber works on **any codebase** — TypeScript, Python, Go, Rust, Terraform, J
65
80
 
66
81
  ### 📦 What It Generates
67
82
 
68
- | File | Platform | Purpose |
69
- |------|----------|---------|
70
- | `CLAUDE.md` | Claude Code | Project context — build/test commands, architecture, conventions |
71
- | `.cursor/rules/*.mdc` | Cursor | Modern rules with frontmatter (description, globs, alwaysApply) |
72
- | `.cursorrules` | Cursor | Legacy rules file (if no `.cursor/rules/` exists) |
73
- | `AGENTS.md` | Codex | Project context for OpenAI Codex |
83
+ | File | Platform | Purpose |
84
+ | --------------------------- | ----------- | ------------------------------------------------------------------- |
85
+ | `CLAUDE.md` | Claude Code | Project context — build/test commands, architecture, conventions |
86
+ | `.cursor/rules/*.mdc` | Cursor | Modern rules with frontmatter (description, globs, alwaysApply) |
87
+ | `.cursorrules` | Cursor | Legacy rules file (if no `.cursor/rules/` exists) |
88
+ | `AGENTS.md` | Codex | Project context for OpenAI Codex |
74
89
  | `.claude/skills/*/SKILL.md` | Claude Code | Reusable skill files following [OpenSkills](https://agentskills.io) |
75
- | `.cursor/skills/*/SKILL.md` | Cursor | Skills for Cursor |
76
- | `.agents/skills/*/SKILL.md` | Codex | Skills for Codex |
77
- | `.mcp.json` | Claude Code | MCP server configurations |
78
- | `.cursor/mcp.json` | Cursor | MCP server configurations |
79
- | `.claude/settings.json` | Claude Code | Permissions and hooks |
90
+ | `.cursor/skills/*/SKILL.md` | Cursor | Skills for Cursor |
91
+ | `.agents/skills/*/SKILL.md` | Codex | Skills for Codex |
92
+ | `.mcp.json` | Claude Code | MCP server configurations |
93
+ | `.cursor/mcp.json` | Cursor | MCP server configurations |
94
+ | `.claude/settings.json` | Claude Code | Permissions and hooks |
80
95
 
81
96
  If these files already exist, Caliber audits them and suggests improvements — keeping what works, fixing what's stale, adding what's missing.
82
97
 
@@ -91,17 +106,17 @@ Every change Caliber makes is reversible:
91
106
 
92
107
  ## 📋 Commands
93
108
 
94
- | Command | Description |
95
- |---------|-------------|
96
- | `caliber onboard` | 🏁 Onboard your project — full 6-step wizard |
97
- | `caliber score` | 📊 Score your config quality (deterministic, no LLM) |
98
- | `caliber skills` | 🧩 Discover and install community skills |
99
- | `caliber regenerate` | 🔄 Re-analyze and regenerate your setup |
100
- | `caliber refresh` | 🔃 Update docs based on recent code changes |
101
- | `caliber hooks` | 🪝 Manage auto-refresh hooks |
102
- | `caliber config` | ⚙️ Configure LLM provider, API key, and model |
103
- | `caliber status` | 📌 Show current setup status |
104
- | `caliber undo` | ↩️ Revert all changes made by Caliber |
109
+ | Command | Description |
110
+ | -------------------- | ---------------------------------------------------- |
111
+ | `caliber onboard` | 🏁 Onboard your project — full 6-step wizard |
112
+ | `caliber score` | 📊 Score your config quality (deterministic, no LLM) |
113
+ | `caliber skills` | 🧩 Discover and install community skills |
114
+ | `caliber regenerate` | 🔄 Re-analyze and regenerate your setup |
115
+ | `caliber refresh` | 🔃 Update docs based on recent code changes |
116
+ | `caliber hooks` | 🪝 Manage auto-refresh hooks |
117
+ | `caliber config` | ⚙️ Configure LLM provider, API key, and model |
118
+ | `caliber status` | 📌 Show current setup status |
119
+ | `caliber undo` | ↩️ Revert all changes made by Caliber |
105
120
 
106
121
  ### Examples
107
122
 
@@ -134,7 +149,7 @@ caliber undo # Revert everything
134
149
 
135
150
  ## 📊 Scoring
136
151
 
137
- `caliber score` gives you a deterministic quality score no LLM calls, no network, instant results.
152
+ `caliber score` gives you a deterministic quality score using industry best practices.
138
153
 
139
154
  ```
140
155
  Config Score: 87/100 (A) ✨
@@ -147,37 +162,33 @@ caliber undo # Revert everything
147
162
  BONUS 5/5 ████████████████████████
148
163
  ```
149
164
 
150
- | Category | Points | What it checks |
151
- |----------|--------|----------------|
152
- | **Files & Setup** | 25 | Config files exist, skills present, cross-platform parity |
153
- | **Quality** | 25 | Has build/test commands, not bloated, no vague text, no duplicates |
154
- | **Coverage** | 20 | Mentions actual dependencies and services |
155
- | **Accuracy** | 15 | Documented commands and file paths are valid |
156
- | **Freshness & Safety** | 10 | Recently updated, no leaked secrets, permissions set |
157
- | **Bonus** | 5 | Auto-refresh hooks, AGENTS.md, OpenSkills format |
165
+ | Category | Points | What it checks |
166
+ | ---------------------- | ------ | ------------------------------------------------------------------ |
167
+ | **Files & Setup** | 25 | Config files exist, skills present, cross-platform parity |
168
+ | **Quality** | 25 | Has build/test commands, not bloated, no vague text, no duplicates |
169
+ | **Coverage** | 20 | Mentions actual dependencies and services |
170
+ | **Accuracy** | 15 | Documented commands and file paths are valid |
171
+ | **Freshness & Safety** | 10 | Recently updated, no leaked secrets, permissions set |
172
+ | **Bonus** | 5 | Auto-refresh hooks, AGENTS.md, OpenSkills format |
158
173
 
159
174
  ## 🧩 Skills
160
175
 
161
- Caliber searches three community registries and scores results against your project:
162
-
163
- - 🌐 [skills.sh](https://skills.sh) — OpenSkills registry
164
- - 🔧 [tessl.io](https://tessl.io) — Tessl skill registry
165
- - 📚 [Awesome Claude Code](https://github.com/hesreallyhim/awesome-claude-code) — Curated list
176
+ Caliber searches three community registries and scores results against your project
166
177
 
167
178
  ```bash
168
179
  caliber skills
169
180
  ```
170
181
 
171
- Skills are scored by LLM relevance (0–100) based on your project's actual tech stack, then you pick which ones to install via an interactive selector. Installed skills follow the [OpenSkills](https://agentskills.io) standard with YAML frontmatter.
182
+ Skills are scored by LLM relevance (0–100) based on your project's actual tech stack and development patterns, then you pick which ones to install via an interactive selector. Installed skills follow the [OpenSkills](https://agentskills.io) standard with YAML frontmatter.
172
183
 
173
184
  ## 🔄 Auto-Refresh
174
185
 
175
186
  Keep your agent configs in sync with your codebase automatically:
176
187
 
177
- | Hook | Trigger | What it does |
178
- |------|---------|--------------|
179
- | 🤖 **Claude Code** | End of each session | Runs `caliber refresh` and updates docs |
180
- | 📝 **Git pre-commit** | Before each commit | Refreshes docs and stages updated files |
188
+ | Hook | Trigger | What it does |
189
+ | --------------------- | ------------------- | --------------------------------------- |
190
+ | 🤖 **Claude Code** | End of each session | Runs `caliber refresh` and updates docs |
191
+ | 📝 **Git pre-commit** | Before each commit | Refreshes docs and stages updated files |
181
192
 
182
193
  Set up hooks interactively with `caliber hooks`, or non-interactively:
183
194
 
@@ -190,14 +201,14 @@ The refresh command analyzes your git diff (committed, staged, and unstaged chan
190
201
 
191
202
  ## 🔌 LLM Providers
192
203
 
193
- | Provider | Setup | Default Model |
194
- |----------|-------|---------------|
195
- | 🟣 **Claude Code** (your seat) | `caliber config` → Claude Code | Inherited from Claude Code |
196
- | 🔵 **Cursor** (your seat) | `caliber config` → Cursor | Inherited from Cursor |
197
- | 🟠 **Anthropic** | `export ANTHROPIC_API_KEY=sk-ant-...` | `claude-sonnet-4-6` |
198
- | 🟢 **OpenAI** | `export OPENAI_API_KEY=sk-...` | `gpt-4.1` |
199
- | 🔴 **Vertex AI** | `export VERTEX_PROJECT_ID=my-project` | `claude-sonnet-4-6` |
200
- | ⚪ **Custom endpoint** | `OPENAI_API_KEY` + `OPENAI_BASE_URL` | `gpt-4.1` |
204
+ | Provider | Setup | Default Model |
205
+ | ------------------------------ | ------------------------------------- | -------------------------- |
206
+ | 🟣 **Claude Code** (your seat) | `caliber config` → Claude Code | Inherited from Claude Code |
207
+ | 🔵 **Cursor** (your seat) | `caliber config` → Cursor | Inherited from Cursor |
208
+ | 🟠 **Anthropic** | `export ANTHROPIC_API_KEY=sk-ant-...` | `claude-sonnet-4-6` |
209
+ | 🟢 **OpenAI** | `export OPENAI_API_KEY=sk-...` | `gpt-4.1` |
210
+ | 🔴 **Vertex AI** | `export VERTEX_PROJECT_ID=my-project` | `claude-sonnet-4-6` |
211
+ | ⚪ **Custom endpoint** | `OPENAI_API_KEY` + `OPENAI_BASE_URL` | `gpt-4.1` |
201
212
 
202
213
  Override the model for any provider: `export CALIBER_MODEL=<model-name>` or use `caliber config`.
203
214
 
@@ -225,18 +236,18 @@ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
225
236
  <details>
226
237
  <summary>Environment variables reference</summary>
227
238
 
228
- | Variable | Purpose |
229
- |----------|---------|
230
- | `ANTHROPIC_API_KEY` | Anthropic API key |
231
- | `OPENAI_API_KEY` | OpenAI API key |
232
- | `OPENAI_BASE_URL` | Custom OpenAI-compatible endpoint |
233
- | `VERTEX_PROJECT_ID` | GCP project ID for Vertex AI |
234
- | `VERTEX_REGION` | Vertex AI region (default: `us-east5`) |
235
- | `VERTEX_SA_CREDENTIALS` | Service account JSON (inline) |
236
- | `GOOGLE_APPLICATION_CREDENTIALS` | Service account JSON file path |
237
- | `CALIBER_USE_CLAUDE_CLI` | Use Claude Code CLI (`1` to enable) |
238
- | `CALIBER_USE_CURSOR_SEAT` | Use Cursor subscription (`1` to enable) |
239
- | `CALIBER_MODEL` | Override model for any provider |
239
+ | Variable | Purpose |
240
+ | -------------------------------- | --------------------------------------- |
241
+ | `ANTHROPIC_API_KEY` | Anthropic API key |
242
+ | `OPENAI_API_KEY` | OpenAI API key |
243
+ | `OPENAI_BASE_URL` | Custom OpenAI-compatible endpoint |
244
+ | `VERTEX_PROJECT_ID` | GCP project ID for Vertex AI |
245
+ | `VERTEX_REGION` | Vertex AI region (default: `us-east5`) |
246
+ | `VERTEX_SA_CREDENTIALS` | Service account JSON (inline) |
247
+ | `GOOGLE_APPLICATION_CREDENTIALS` | Service account JSON file path |
248
+ | `CALIBER_USE_CLAUDE_CLI` | Use Claude Code CLI (`1` to enable) |
249
+ | `CALIBER_USE_CURSOR_SEAT` | Use Cursor subscription (`1` to enable) |
250
+ | `CALIBER_MODEL` | Override model for any provider |
240
251
 
241
252
  </details>
242
253
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rely-ai/caliber",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
4
4
  "description": "Analyze your codebase and generate optimized AI agent configs (CLAUDE.md, .cursorrules, skills) — no API key needed",
5
5
  "type": "module",
6
6
  "bin": {