netlify/axis/configure-axis

Claude Code and agent skill by netlify/axis

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Author AXIS (Agent Experience Index Score) scenarios and axis.config.json for a project. Use when the user asks to set up AXIS, add a scenario, write or edit axis.config.json, define profiles or split scenarios into suites, stage an external repo into a scenario workspace, or evaluate an AI agent with AXIS.

Install

npx vskill@latest install netlify/axis/configure-axis

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as netlify/axis/configure-axis.

Configure AXIS

AXIS (Agent Experience Index Score) is a synthetic testing framework for AI agents. This skill teaches you to author the two files an AXIS user maintains:

  1. Scenarios under scenarios/ (or any path the config points at): one JSON file per task the agent will be asked to perform.
  2. `axis.config.json` at the project root: which agents to run, where scenarios live, and what is shared across them.

When to use this skill

Trigger phrases include "set up AXIS", "add an AXIS scenario", "write an axis.config.json", "evaluate my agent with AXIS", "score my agent on X".

Before authoring, do this:

  1. Look for an existing axis.config.json (or axis.config.{js,ts}) at the project root. If one exists, read it; do not overwrite without confirmation.
  2. List the existing scenarios directory if present. Match its naming and style.
  3. If no config exists, suggest running npx @netlify/axis init first, or scaffold one yourself using the patterns below.

Conceptual model

For each scenario, AXIS runs every configured agent against the same prompt in an isolated workspace, then scores each run on four dimensions and produces an HTML + JSON report.

  • Goal achievement (default weight 0.4): did the agent satisfy the judge's checks?
  • Environment (0.2): did filesystem / shell / network operations succeed reliably?
  • Service (0.2): did external services (APIs, MCP servers) respond reliably?
  • Agent (0.2): were the agent's decisions sound across every tool call?

Refer to the framework's output as the AXIS Result. The acronym expands to Agent Experience Index Score.

Authoring a scenario

A scenario is a JSON file under the scenarios directory. The file path (without extension, relative to that directory) becomes the scenario's key. Only name, prompt, and judge are required.

The annotated examples below are labeled jsonc for documentation only. They contain // comments and trailing commas. Real .json files do NOT support either. When copying these examples into output, strip every // comment line and every trailing comma. Plain JSON examples (in the Recipes section) are safe to copy verbatim.

Full annotated shape:

jsonc
{
// Display name shown in reports.
"name": "Refactor utility module",
// Set true to exclude this scenario from runs without deleting it.
"skip": false,
// Run before the agent starts. Two action types: run_script and copy.
"setup": [
{ "action": "run_script", "command": "git init -q && git add -A && git commit -q -m init" },
{ "action": "copy", "match": "fixtures/sample-repo/**", "destination": "." },
// …or stage a real codebase: { "action": "copy", "match": "https://github.com/org/project#v1.2.3", "destination": "." }
],
// The task. Be specific and verifiable.
"prompt": "Refactor src/utils.js to split it into two files: src/strings.js and src/numbers.js. Update all import sites and ensure `npm test` still passes.",
// Judge: either a single string OR an array of weighted checks.
// Use the array form for multi-criterion scoring. Weight is optional;
// remaining weight is distributed equally across unweighted entries.
"judge": [
{ "check": "src/strings.js exists and exports the string utilities", "weight": 0.3 },
{ "check": "src/numbers.js exists and exports the numeric utilities", "weight": 0.3 },
{ "check": "All import sites are updated and reference the new files", "weight": 0.2 },
{ "check": "`npm test` passes after the change", "weight": 0.2 },
],
// Run after the agent finishes, before scoring.
"teardown": [{ "action": "run_script", "command": "rm -rf node_modules" }],
// Only these agents run this scenario. Overrides the top-level agents list.
"agents": ["claude-code"],
// Skills passed to the agent under test. Each entry is a local path,
// GitHub shorthand (owner/repo), or a full GitHub URL.
"skills": ["./skills/repo-conventions", "anthropics/skills"],
// MCP servers available to the agent for this scenario only. Merged
// with the top-level mcp_servers from axis.config.json.
"mcp_servers": {
"filesystem": { "type": "stdio", "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "."] },
},
// Per-scenario time/token limits. Defaults: 15 minutes, no token cap.
"limits": { "time_minutes": 10, "tokens": 200000 },
// How many times to run this scenario against each agent. Overrides
// settings.runs. Defaults to 1. Must be ODD (1, 3, 5, …), max 19. Raise it
// for a scenario whose score swings between runs; each extra run costs a
// full agent execution plus its judge calls. See "Repeated runs" below.
"runs": 3,
// Glob patterns (relative to the workspace) of files to capture into the
// report after teardown. Merged with the top-level artifacts list.
"artifacts": ["src/**/*.js", "test-output.log"],
}
Judge: string vs weighted array
  • String when one statement captures the whole pass/fail bar: "The agent should have written summary.md with at least three sentences."
  • Weighted array when there are multiple checks the agent could partially satisfy. Each entry has a check (the statement) and an optional weight (sum your weights to 1.0; unweighted entries split the remainder evenly).

Write checks as observable facts a third party could verify, not vibes. "Agent wrote a file named summary.md with at least three sentences" beats "Agent did a good job summarizing".

Lifecycle actions

Two action types are allowed in setup and teardown:

  • { "action": "run_script", "command": "<shell command>" }: runs with the agent's workspace as cwd. Available env vars include AXIS_PHASE (setup/teardown), AXIS_WORKSPACE, and AXIS_OUTPUT (a file path where the script can append markdown that will surface in the report).
  • { "action": "copy", "match": "<glob>", "destination": "<workspace-relative path>" }: copies files matching match (resolved relative to the config file) into destination (relative to the workspace). The path of each matched file relative to the longest non-glob prefix of match is preserved under destination.

match also accepts a git URL, which stages a real codebase instead of a local fixture:

  • { "action": "copy", "match": "https://github.com/org/project", "destination": "." } clones the repo and copies its working tree (including .git) into the workspace.
  • Pin a ref with a fragment ("https://github.com/org/project#v1.2.3") or a "ref" field. Pin whenever you care about comparing results over time; an unpinned repo is fetched once and then reused as-is.
  • Paste a directory URL ("https://github.com/org/project/tree/main/examples/blog") to copy just that subtree. The subpath may itself be a glob.
  • "include_git": false drops the .git directory, leaving a plain file tree.
  • git@github.com:org/project.git, git://, and ssh:// URLs work too.

Each repo + ref is cloned once into .axis/repos/ and reused by every scenario, variant, and agent in the run (and by later runs). axis run --refresh-repos re-clones. Dependencies are not installed for you: follow the copy with { "action": "run_script", "command": "npm install" } when the scenario needs them.

Variants

When a scenario should run multiple times with small differences, define variants. The parent does not run by itself; each variant inherits all parent fields and may override prompt, judge, setup, teardown, agents, skills, mcp_servers, limits, runs, artifacts, or skip.

Variants and runs are different axes and should not be confused. A variant is a deliberately different configuration that gets its own key and its own score. runs repeats the _same_ configuration to measure how much its score moves. A scenario with two variants and runs: 3 executes six times and reports two results.

jsonc
{
"name": "Summarize the docs",
"prompt": "Summarize the contents of docs/ into summary.md.",
"judge": "summary.md exists and is at least 200 words.",
"variants": [
{ "name": "baseline" },
{ "name": "concise", "prompt": "Summarize the contents of docs/ into summary.md in fewer than 100 words." },
],
}

Each variant's key is {scenarioKey}@{variantName}. Variant names must match /^[a-zA-Z0-9_-]+$/.

Authoring axis.config.json

Sits at the project root. Minimum viable file:

json
{
"scenarios": "./scenarios",
"agents": ["claude-code"]
}

Full annotated shape:

jsonc
{
// Shown in report headers.
"name": "My Project",
// Where scenarios come from. Three forms:
// - "./path" (a directory, walked recursively for *.json scenarios)
// - ["./path1", "./scenarios/special.json"] (mix of dirs and single files)
// - Mixed with inline scenarios (objects with a required "key" field) when
// authoring axis.config.{js,ts} programmatically.
// - Git URLs ("https://github.com/owner/repo") cloned into .axis/remotes/
// and merged from their own axis.config.
// Defaults to "./scenarios" when omitted.
"scenarios": ["./scenarios", "https://github.com/netlify/agent-runner-orchestrator"],
// Suite selection. Scenario key globs, applied to whatever "scenarios"
// discovered. "include" keeps only matches, then "exclude" drops matches.
// Omitting "include" keeps everything; "include": [] selects nothing.
// A bare "*" in either list means every scenario (plain glob "*" does not
// cross "/", so it would otherwise skip keys like "cms/create-post").
// Use "exclude" to hold a group of scenarios out of the default suite so a
// profile can claim them; to disable a scenario outright, set "skip": true
// on the scenario itself.
"exclude": ["ask-*"],
// Named config overlays, selected with `axis run --profile ask`.
// See "Profiles" below.
"profiles": {
"ask": {
"include": ["ask-*"],
"agents": [{ "agent": "claude-code", "flags": { "disallowed-tools": "Edit,Write" } }],
},
},
// Agents to evaluate. Strings are shorthand for { "agent": "<name>" }.
"agents": [
"claude-code",
{ "agent": "claude-code", "model": "claude-opus-4-6" },
{ "agent": "codex", "model": "gpt-5-codex" },
{
"agent": "echo", // custom adapter (see "adapters" below)
"command": "./bin/my-agent", // CLI override for custom adapters
"scenarios": ["hello-world"], // restrict this agent to a subset (scenario keys)
"skills": ["./skills/my-conventions"], // per-agent skills
"flags": { "debug": true, "max-turns": "5" },
"name": "echo|control", // stable report/baseline/-a identity, see below
},
// Provider-prefixed models (e.g. OpenRouter) are supported. The raw string
// is passed verbatim to the CLI via --model; the derived agent name slugifies
// the slashes, so this becomes "claude-code|anthropic-claude-3.5-sonnet".
{ "agent": "claude-code", "model": "anthropic/claude-3.5-sonnet" },
],
// Agents used to score runs. When omitted, each agent judges itself
// (it scores its own transcript). Otherwise the first entry whose adapter
// name differs from the run's own agent is picked; if every entry matches,
// the first entry is used. Order is precedence.
"judging": {
"agents": [{ "agent": "claude-code", "model": "claude-opus-4-7" }, "codex"],
},
// MCP servers shared across all agents and all scenarios. Two types:
// stdio (local subprocess) and http (remote endpoint).
"mcp_servers": {
"filesystem": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."],
"env": { "DEBUG": "1" },
},
"search": {
"type": "http",
"url": "https://mcp.example.com/search",
"headers": { "Authorization": "Bearer ${SEARCH_TOKEN}" },
},
},

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
59
Repository forks
4
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/netlify/axis/configure-axis/badge)](https://verified-skill.com/skills/netlify/axis/configure-axis)

Something wrong with this skill or its page? Tell us.