Caliper
Run your real agent with and without your skills, MCPs, and rules to see which ones actually help — and what they cost in tokens.
- Source repo
- edonadei/caliper
- Stars
- ★ 238
- Last updated
- 6d ago
- FARS reviewed
- Oct 29, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeChatGPT (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A skill author who just edited SKILL.md runs k=5 and uses
caliper compareagainst the previous run to see whether the change helped or regressed. - Not a fit if
- Users who only want a single ad-hoc trial and won't write a spec or run k>1
- Anyone without an installed, authenticated CLI among the supported backends
- Website
- deepwiki.com/edonadei/caliper ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-17
- Source review
- 53/100 · Major gaps
What does this agent do, and when should you use it?
Caliper is a command-line evaluation harness for AI agent skills, published on PyPI as caliper-eval. It reads a .eval.yaml spec placed next to a skill: the spec declares which skills to install (including neighbour skills that may compete for the same prompts) and the tasks to run, where each task is a prompt plus optional setup: hooks and at least one check — an LLM-graded expect:, a local Python assert:, or an activates: assertion on which skills the agent chose to load. It executes each task k times inside one of six backends (Claude Code, Codex, Pi, Hermes, Antigravity, OpenCode), installing skills where the agent looks for them rather than pasting them into the prompt, with every attempt starting in a fresh home and an empty working directory. Results lead with the single-run success rate, alongside pass@k, pass^k, token usage and wall-clock time, and are saved as JSON under .caliper/results/; caliper compare diffs two runs task by task and --ablate re-runs the same tasks without a skill to reveal whether it does any work. Three companion skills — grill-skill, evaluate-skill and hillclimb-skill — let you author specs, run evals and iterate on a skill from inside the agent.
Caliper consumes an .eval.yaml spec. skills: lists the skills to install, either local paths or neighbour skills pinned from a git repo by commit; tasks: lists prompts with optional setup:/cleanup: shell hooks, optional history: to resume mid-conversation, and at least one check: expect: graded by an LLM judge reading the transcript, assert: executed as Python in the attempt's workdir under a 30-second limit, or activates: asserting which skills the agent loaded. caliper run executes every task k times (default 3), each attempt in a temporary home and empty workdir, by default still loading your MCP servers, user skills, plugins, rules and settings (isolation via --no-user-customizations). The backend is chosen at run time with --model, and the judge follows the same backend unless --judge-model overrides it. --ablate NAME re-runs without a declared skill or mcp: server to build a baseline. Output covers success rate plus per-attempt tokens and wall time, transcripts and results are written to JSON; caliper list shows specs and saved runs, caliper compare diffs two runs per task, caliper report re-renders stored results, caliper validate checks a spec. Exit codes separate "the eval could not run" (2) from "the skill did not clear the bar" (3, reserved).
- A skill author who just edited SKILL.md runs k=5 and uses
caliper compareagainst the previous run to see whether the change helped or regressed. - A team whose skill occasionally steals prompts meant for calendar-scheduler uses
activates:with a neighbour skill to trace the problem to the description rather than the body. - An engineer switching models or upgrading a CLI re-runs the
--ablatebaseline to confirm the skill still adds value instead of being matched by the bare agent. - Someone deciding whether a skill earns its context compares token usage and wall time with and without it.
- A developer inside Claude Code or Codex runs
grill-skillto interview their way to a spec without hand-writing YAML in a terminal. - Teams comparing backends use
--no-user-customizationsto isolate runs so local configuration doesn't contaminate the score.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pipx install caliper-evalnpx skills@latest add edonadei/calipernpm install -g @openai/codexnpm install -g opencode-ai
- Environment variables
BASELINE_ID- Config files
inbox-triage/inbox-triage.eval.yaml.caliper/results/inbox-triage/BASELINE_ID.jsonmy-skill.eval.yaml
How do you install or deploy this agent?
Install the Caliper CLI (Python package):
pipx install caliper-evalTo get the in-agent skills (grill-skill, evaluate-skill, hillclimb-skill), add them through the skills CLI:
npx skills@latest add edonadei/caliperCaliper does not install or update the agent CLIs it drives, so set up and authenticate at least one yourself:
npm install -g @openai/codex
codex loginnpm install -g opencode-ai
opencode auth loginPi needs npm install -g @earendil-works/pi-coding-agent plus authentication; Antigravity needs the agy CLI installed and signed in once; Hermes Agent CLI needs authentication and a default model. The default backend claude-code requires an installed, authenticated Claude Code CLI.
How do you use this agent?
Write a spec next to your skill, for example inbox-triage/inbox-triage.eval.yaml:
# inbox-triage.eval.yaml
skills:
- ./SKILL.md # the skill under test
- ../calendar-scheduler/SKILL.md # a neighbour it might steal work from
tasks:
- name: Flags emails that need a reply
setup: >-
mkdir -p inbox
&& printf 'From: Dana\nSubject: Contract\n\nCan you confirm the start date?\n' > inbox/1.eml
&& printf 'From: Weekly Digest\nSubject: 10 links you missed\n\n...\n' > inbox/2.eml
prompt: "Triage my inbox."
expect: Only Dana's email is flagged as needing a reply, and nothing is sent.
- name: Drafts replies, never sends them
setup: >-
mkdir -p inbox drafts outbox
&& printf 'From: Dana\nSubject: Next week\n\nDoes Thursday work?\n' > inbox/1.eml
prompt: "Reply to Dana and tell her Thursday works."
assert: |
from pathlib import Path
assert any(Path("drafts").iterdir()), "no draft written"
assert not any(Path("outbox").iterdir()), "sent instead of drafting"
- name: Booking a meeting belongs to calendar-scheduler
prompt: "Dana wants to meet next week. Find us 30 minutes."
activates: [calendar-scheduler]Run the ablated baseline, then the full run, then diff the two by ID:
caliper run inbox-triage/inbox-triage.eval.yaml --ablate inbox-triage
caliper run inbox-triage/inbox-triage.eval.yaml
caliper list inbox-triage
caliper compare .caliper/results/inbox-triage/BASELINE_ID.json inbox-triageSwitch backends and judges:
caliper run my-skill.eval.yaml --model codex:gpt-5.6-sol@high
caliper run my-skill.eval.yaml --model pi --judge-model claude-codeDrive it from inside Claude Code:
/grill-skill ./inbox-triage/SKILL.md
/evaluate-skill run inbox-triage.eval.yaml --k 3Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Leads with the single-run success rate and demotes pass@k/pass^k to
--verbose, so retries can't flatter a flaky skill. - Scores activation separately from task success via
activates:, which surfaces description problems such as stealing a neighbour skill's prompts. --ablateremoves a skill ormcp:server and re-runs the same tasks, producing a reusable baseline for whether the skill does any work.- One spec runs across six backends — Claude Code, Codex, Pi, Hermes, Antigravity, OpenCode — selected at run time with
--model. - Each attempt gets a fresh home and empty workdir, and every attempt records tokens and wall time, so context cost is visible.
- Ships grill-skill, evaluate-skill and hillclimb-skill so specs can be authored, run and improved from inside an agent, with held-out tasks guarding against overfitting.
- You must install and authenticate at least one supported agent CLI yourself; Caliper neither installs nor updates them.
- By default your MCP servers, user skills, plugins and rules load into attempts, so scores depend on your setup unless you isolate with
--no-user-customizations. - Some features are backend-limited:
history:excludes Hermes and Antigravity, and opencode needs an explicit or configured model. - Specs written before v0.10 use
skill:and must be migrated toskills:. - Anonymous usage counts are sent to PostHog by default until you run
caliper telemetry disableor setDO_NOT_TRACK=1. - Dollar cost is intentionally not tracked, so budgeting must be done from token counts and wall time.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Caliper This agent | 53 · Major gaps | CLIFree + model costs | ★ 238 | 6d ago | Python | Codex · Claude Code |
| Cutaway | 47 · Major gaps | — | ★ 46 | 1mo ago | JavaScript | Codex · Claude Code |
| Nori Skillsets | 45 · Major gaps | CLIFree | ★ 171 | 4d ago | TypeScript | Codex · Claude Code |
| Paks | 42 · Major gaps | CLIFree | ★ 66 | 4mo ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
ADR 0027 explicitly states an attempt is not a security boundary: the agent runs as the user with full filesystem access and a skill is executed with install-level trust, an open concession of least privilege (least_privilege=1). On confirmation, the README notes an interactive login prompt and no waiting in CI, but there is no confirmation before running arbitrary skills or hooks (user_confirmation=1). Data-flow transparency is decent: README and ADRs 0012/0038 explain that CLI auth config is copied into an isolated HOME, user customizations are loaded, and what loaded is recorded (data_flow_transparency=2). Sensitive-data handling is weak: ADR 0012 copies credential files verbatim and ADR 0038 reads Keychain entries, with no minimization or protection described (sensitive_data_handling=1). Dependency security shows only loose lower bounds (typer>=0.15 etc.) with no lockfile or audit (dependency_security=1). External effects: clones git repos, runs setup/cleanup shell hooks and MCP servers, with no sandbox (external_effects=1). Rollback: results land in .caliper/ and runs are repeatable, but nothing undoes external side effects already performed (rollback=1). Source attribution is clear: git sources pinned to commits, CLI versions and loaded customizations recorded (source_attribution=2).
Self-consistency is good: ADRs 0013/0014 record that cross-era runs are incomparable and compare refuses cross-era diffs, and exit codes are well defined (self_consistency=2). Dependency availability is weaker: it depends on four external CLIs it does not install or update, and default models drift with machine config (ADR 0012 admits a reproducibility gap), so dependency_availability=1. Failure messages are thorough: README troubleshooting, exit-code table, and specific guidance for unavailable judge, not-logged-in, and rate limits (failure_messages=3).
Audience and scenarios are clear: skill authors, across Claude Code/Codex/Pi/Hermes (audience_and_scenarios=2). Capability boundaries are stated: it does not install CLIs, has no direct-API backend, and hermes lacks history support (capability_boundaries=2). Trigger precision: activation and silence probes are well designed, but ADR 0013 concedes the execution score is a joint invocation×execution measurement, so a poor description scores near zero, and trigger verdicts rely on an LLM judge (trigger_precision=1). Environment fit: CI covers 3.10–3.13 and macOS/Windows, though Windows runs only a subset of tests (environment_fit=2).
Information architecture is clear: sectioned README plus docs/ with spec-reference, backends, results, and ADRs (information_architecture=2). Install notes are complete: pipx, npx skills, and per-backend prerequisites (install_notes=2). Naming stability: v0.10 renamed skill: to skills: with a migration doc, a controlled change (naming_stability=2). Examples and FAQ: examples/ plus troubleshooting are substantial (examples_and_faq=2). Known limitations: ADRs 0027 and 0012 candidly admit isolation is not containment and reproducibility gaps exist (known_limitations=2). License: full MIT text consistent with pyproject (license=3). Versioning/changelog: pyproject shows 0.21.0 and Alpha status, but no CHANGELOG is present (versioning_changelog=1). Maintenance responsibility: an author is named, but the publisher is unverified by FollowAgents and there is no governance or support commitment (maintenance_responsibility=1).
Output usability is good: results JSON, compare, per-attempt panels, and exit codes suit CI (output_usability=2). Marginal value: ablation and activation scoring genuinely answer whether a skill earns its context, but it depends on an LLM judge and external CLIs, so the value is real but not unique (marginal_value=2). Cost-benefit: each eval consumes substantial tokens and wall time, dollar cost is explicitly untracked, and multi-backend auth is required, so cost is high (cost_benefit=1).
Claim traceability is decent: README figures, ADRs recording decisions and consequences, and issue-number references (claim_traceability=2). Cross-source corroboration is limited: only README, ADRs, pyproject, CI, and a few test files are visible, with no full source or result data backing the specific percentages in the README (cross_source_corroboration=1). Fact/inference separation is good: ADRs distinguish what was measured from what needs re-verification (e.g. progressive disclosure) and label the project Alpha (fact_inference_separation=2).
- ADR 0027 explicitly states an attempt is not a security boundary: the evaluated skill runs with user privileges and can read any host path, so do not evaluate untrusted skills on machines holding sensitive data.
- CLI credentials (e.g. .claude.json, auth.json) are copied verbatim into an isolated HOME and Keychain entries are read, widening the credential exposure surface.
- It depends on four external CLIs it does not install or update, and default models drift with machine config, so scores may not be comparable across machines.
- The publisher is unverified by FollowAgents and identity is unknown; maintenance and update paths carry no explicit commitment.
- The specific percentages and comparison figures in the README cannot be cross-verified from the visible files and remain unproven claims under static review.
FAQ
What does a run actually cost?
Will my own MCP servers and rules leak into the evaluation?
--no-user-customizations or set user_customizations: false in the spec so only declared skills and servers load.Why bother with --ablate instead of just reading the pass rate?
--ablate <skill> runs the same tasks without the skill, giving a baseline that depends only on the tasks; diff it with caliper compare and any task that passes without the skill tells you the skill isn't doing the work. Keep the baseline and re-diff after every skill change.Which spec features are unavailable on some backends?
history: works on every backend except Hermes and Antigravity, and opencode requires an explicit or configured model. Setup, authentication and MCP support vary per backend and are documented per CLI.How should CI interpret exit codes 2 and 3?
caliper compare never fails on a regression.Is Caliper open source?
Is Caliper safe to use?
Is Caliper still maintained?
Who makes Caliper?
What is Caliper's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.