--- name: gauge-agents description: Test how coding agents discover and use your product. Use when asked to run agent evaluations, test whether agents can use an SDK, API, CLI, or MCP server, find where agents struggle with onboarding, or measure whether docs and skills improve agent success. Runs real agent sessions and scores outcomes through the Gauge CLI. Also use for Gauge Agents tasks; not ordinary unit tests or AI-search visibility tracking. --- # Gauge Agents ## Install the CLI If `gauge` is not installed, install it with Node.js 22.12 or later: ```sh GAUGE_SKIP_SKILL_INSTALL=1 npm install -g @withgauge/cli ``` The Skill is already installed; skip the CLI’s automatic Skill installation to preserve this selected version and its references. ## Load the instructions Before using Gauge, run: ```sh gauge instructions ``` Follow the returned instructions for setup and operation. They ship with the CLI and are the source of truth for agent workflows. Use `gauge instructions ` to reload a specific topic and `gauge --help` for flags. ## Set up repository PR checks When asked to set up Gauge PR checks, author Git-based eval cases, or connect a repository, read [references/github-setup.md](references/github-setup.md). It covers choosing inputs for an npm package, native CLI, docs preview, or Skill, reusing the repository’s CI, authoring advisory Agent Preference cases, selecting relevant file changes, and verifying setup before committing. ## What Gauge is Gauge helps you optimize how coding agents discover and use your product. It runs coding-agent sessions under stable conditions so you can evaluate performance and test improvements. - **Agent experience:** How successfully do agents use your product, where do they struggle, and how can you reduce friction? - **Agent preference:** Which tools do agents select for a given task, and why? Use the CLI to configure measurements, run sessions, inspect evidence, and test changes to your docs and skills headlessly.