gauge-agents
Measure and improve how coding agents discover and use your product with Gauge Agents. Use when asked to run agent evaluations, test whether agents can use an SDK, API, CLI, MCP server, docs, or skill, find where agents struggle with onboarding, measure which tools agents choose, set up Gauge PR checks for a repository, or read and explain Gauge Agents results, sessions, and failed Gauge checks. Works through the Gauge CLI or the Gauge MCP. Not for ordinary unit tests or AI-search visibility tracking.
How do I install this agent skill?
npx skills add https://github.com/gauge-sh/gauge-skills --skill gauge-agentsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides integration with Gauge Agents, enabling users to perform agent evaluations and setup PR checks using the Gauge CLI and MCP. It is well-documented with clear security warnings regarding untrusted data.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
Gauge Agents
Choose the interface
Gauge Agents has two interfaces:
- Gauge CLI (
gauge) authors measurements and inputs, runs sessions locally or hosted, and sets up PR checks. It needs a terminal and Node.js. - Gauge MCP (
https://app.withgauge.com/mcp) reads hosted results (summaries, evals, preferences, sessions, insights, traces, diffs, and analytics), launches saved evals, and cancels runs. It needs no install, only an authorized connection.
When the Gauge MCP tools are connected and the task is to read or act on existing hosted results, or when no terminal is available, read references/mcp.md. Use the CLI for everything else and for all local work. Do not ask the user to log in to the CLI only to read results the connected MCP already provides.
Install the CLI
Check gauge --version. If it is missing, install it with Node.js 22.13 or later:
npm install -g @withgauge/cli
This skill is already installed. When gauge instructions or gauge init
recommends gauge install-skill, skip it so this copy stays in use.
If the user asks for a specific CLI version, install @withgauge/cli@<version>.
Load the instructions
Before using Gauge, run:
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 <topic> to reload a specific topic and gauge <command> --help for flags.
Choose guidance for the user's task:
| Task | Read |
|---|---|
| First pilot or improving a product, skill, or docs | gauge instructions hillclimb |
| Workspace and local/hosted selection | gauge instructions init |
| Save a reusable task-success evaluation | gauge instructions eval |
| Save a product-choice measurement | gauge instructions preference |
| Inputs, shared case files, previews, and launches | gauge instructions run |
| Stub or redirect proposed CLI commands in a hosted session | gauge instructions cli-rules --hosted |
| Read evidence and compare results | gauge instructions session-analysis |
Local is the default, independently of login or a configured organization. Use
the intended --local or --hosted mode when reading guidance and running commands.
Local measurement authoring needs neither Docker nor a Gauge account; execution
needs Docker, the runtime image, and agent credentials. Preserve .gauge/: its
SQLite database contains saved measurements and history.
For ongoing local work, save an eval or preference and rerun its ID with the
selected inputs. Use gauge-cases/ for shared or automated cases. The tested agent
receives only its prompt, selected inputs, and configured consumer repository;
it does not inherit the author's checkout. Preview exactly what each input will
deliver before launching. Keep task, criteria, model, and fixtures fixed when testing a skill change.
For replacing HTTPS documentation during a local test, read
references/web-fixtures.md for a complete fixture
example. A web-fixture supports local canonical-URL replacement; a website
input resolves GitHub deployment previews and requires hosted execution.
For proposed CLI behavior, use gauge run --hosted --cli-rules rules.json
with a prompt, saved eval/preference, or case files/spec. These launch-only
rules require no optimization or prior session and do not edit the fixture
repository or saved measurement. They require the target executable to be
available in the session. For discovery tests, expose the proposed command in
help or docs rather than naming it in the task. Read the CLI rules instructions
for the v4 stub/redirect format and inspect the trace to confirm a rule fired.
Set up repository PR checks
When asked to set up Gauge PR checks or connect a repository, read 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/gauge-sh/gauge-skills/gauge-agents">View gauge-agents on skillZs</a>