caliper

Audit UI layouts and component styling with pixel-precision via the Caliper MCP server.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/issacnav/flashcardapp --skill caliper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: caliper
Source: https://github.com/issacnav/flashcardapp/tree/main/.agents/skills/caliper
Command: npx skills add https://github.com/issacnav/flashcardapp --skill caliper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

High-precision layout audits and component tracing for design engineering. Use when asked to "audit spacing", "measure contrast", "verify styling", "fix layout shift", or "reconcile design".

Core Features & Use Cases

  • High-Precision Auditing: Measure pixel-perfect spacing, geometry, and alignment.
  • Color Verification: Calculate WCAG contrast ratios and Delta E perceptual differences.
  • Source Tracing: Map rendered elements directly to specific source code lines.
  • Passive Observation: Monitor user selections in real-time via the caliper://state resource.

Quick Start

Start Caliper in development mode, connect to a live browser with an active Agent Bridge, and begin auditing the target component.

Frequently Asked Questions about caliper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit UI spacing and alignment with pixel precision?

You can audit UI spacing and alignment with pixel precision by using an agent to measure rendered geometry and spacing. This approach connects to a live browser session to verify layout measurements directly against your design specifications.

What is the best way to map rendered UI elements back to their source code?

Mapping rendered UI elements back to source code is achieved through source tracing, which links the pixel-perfect measurements directly to specific source code lines. This allows you to quickly locate and fix styling discrepancies during development.

How do I calculate WCAG contrast ratios for web components during a design audit?

Calculating WCAG contrast ratios during a design audit involves measuring the rendered colors and evaluating their perceptual differences. The system computes both the contrast ratio and Delta E to ensure your UI meets accessibility standards.

Do I need an active browser session to measure layout geometry and fix layout shift?

Yes, an active browser session connected to an MCP server is required to measure layout geometry and fix layout shift. The environment setup includes connecting to this live session to perform real-time, pixel-perfect verification.

Can I monitor user selections in real-time while verifying UI styling?

Yes, you can monitor user selections in real-time while verifying UI styling through passive observation. This feature utilizes a specific state resource to track selections dynamically without interrupting the development workflow.

What are the production safety cautions when running layout audits?

Production safety cautions for layout audits involve preventing the measurement tools and environment setup from leaking into production builds. You should run the auditing processes in development mode to avoid altering the shipped bundle.