Official agent skill

SDK AI Bot Run Evaluation

by Azure in Azure/azure-sdk-tools

Run Azure SDK QA bot evaluations on curated datasets locally, including a single test case.

OfficialMITAuto-check: notesKnowledge Management

Install SDK AI Bot Run Evaluation

skills CLI
$ npx skills add Azure/azure-sdk-tools --skill sdk-ai-bot-run-evaluation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Azure/azure-sdk-tools sdk-ai-bot-run-evaluation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Azure/azure-sdk-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/sdk-ai-bot-run-evaluation .claude/skills/sdk-ai-bot-run-evaluation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sdk-ai-bot-run-evaluation
GitHub stars
134
Token cost
~1.1k tokens
SKILL.md length
386 words
Files
2 (incl. references)
Skills in repo
35
Repo updated
First seen
Licence
MIT

At a glance

Run Azure SDK QA bot evaluations on curated datasets locally, including a single test case.

  • Works in 5 steps: Ensure the required env vars are set;… → Choose the dataset: a scenario file, an… → Run python evals_run.py --dataset <...>… → …
  • Uploading datasets
  • SKILL.md covers Triggers, Rules, Environment and Common commands, plus 1 more section
  • Calls python and az; needs BOT_AGENT_ACCESS_TOKEN

What it does

SDK AI Bot Run Evaluation is an agent skill from Azure/azure-sdk-tools, published by the product's own GitHub organization. Run Azure SDK QA bot evaluations on curated datasets locally, including a single test case. WHEN: "run evaluation", "run eval", "evaluate the bot", "run perf evaluation", "run basic evaluation", "run a single test case", "evaluate one question", "run all scenarios", "score the bot", "run evals locally". DO NOT USE FOR: preparing or uploading datasets, pipeline troubleshooting, knowledge-graph indexing.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/running-evaluations.md`). Compatibility notes: local azure-sdk-tools clone, python 3.12 venv, az login, bot /completion endpoint

It sits in Knowledge Management, covering Test generation, LLM evaluation and Knowledge graphs. It works with Microsoft Azure. The repository describes itself as: Tools repository leveraged by the Azure SDK team. The licence is MIT.

When your agent uses it

  • Uploading datasets
  • Pipeline troubleshooting
  • Knowledge-graph indexing

Example prompts

  • “run evaluation”
  • “run eval”
  • “evaluate the bot”
  • “/sdk-ai-bot-run-evaluation”

Requirements

  • Python 3
  • A credential in BOT_AGENT_ACCESS_TOKEN
  • Compatibility (from SKILL.md): local azure-sdk-tools clone, python 3.12 venv, az login, bot /completion endpoint

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Ensure the required env vars are set; for a local run, start the agent server.py.
  2. Choose the dataset: a scenario file, an asset name, or a one-row file for a single case.
  3. Run python evals_run.py --dataset <...> --is_ci False (add --baseline_check False
  4. Open the printed Foundry Report URL and review the per-case score table.
  5. With --cache_result full, inspect cache/-*.json for per-case and

What it can do on your machine

Read from SKILL.md and the folder at commit 942ef24. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • az

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use az, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • BOT_AGENT_ACCESS_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    local azure-sdk-tools clone, python 3.12 venv, az login, bot /completion endpoint

    From compatibility in the SKILL.md frontmatter.

Context cost

SDK AI Bot Run Evaluation loads about 1.1k tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 108 tokens; SKILL.md has 386 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~108
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:36
    user to set these before running (loads `.env`; copy and fill

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Azure/azure-sdk-tools at commit 942ef24, republished under its MIT licence (© Azure). 386 words, ~1,148 tokens.

Download SKILL.mdSave it as .claude/skills/sdk-ai-bot-run-evaluation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
sdk-ai-bot-run-evaluation
description
Run Azure SDK QA bot evaluations on curated datasets locally, including a single test case. WHEN: "run evaluation", "run eval", "evaluate the bot", "run perf evaluation", "run basic evaluation", "run a single test case", "evaluate one question", "run all scenarios", "score the bot", "run evals locally". DO NOT USE FOR: preparing or uploading datasets, pipeline troubleshooting, knowledge-graph indexing.
compatibility
local azure-sdk-tools clone, python 3.12 venv, az login, bot /completion endpoint
license
MIT
metadata.version
1.0.0
metadata.distribution
local

Run QA Bot Evaluation

Run the Azure SDK QA bot evaluation locally with evals_run.py in the package tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation. It calls the bot /completion endpoint concurrently to collect answers, then grades them with the Foundry builtin LLM evaluators.

Run all commands from tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation with the package .venv active and az login done. See running evaluations for flags, the bot endpoint options, single-case and all-scenario recipes, and how to read results.

Triggers

USE FOR: run an evaluation on a curated dataset (basic or perf); run a single scenario; run all scenarios; run a single test case; grade against the local or deployed bot; inspect results and the pass/fail gate WHEN: "run evaluation", "run eval", "evaluate the bot", "run perf evaluation", "run basic evaluation", "run a single test case", "evaluate one question", "run all scenarios", "score the bot", "run evals locally" DO NOT USE FOR: preparing or uploading datasets, pipeline troubleshooting, knowledge-graph indexing

Rules

  • --dataset accepts a local evaluation_datasets/<target>/<scenario>.jsonl path or a Foundry asset name qa-bot-<target>-<scenario>[:version] (the asset name resolves to the local file; the version is informational).
  • There is no single-testcase flag. To run one case, make a one-row JSONL file and pass it as --dataset (see the reference).
  • Use --is_ci False locally (uses az login); CI uses pipeline identity.
  • The bot endpoint comes from BOT_SERVICE_ENDPOINT; if unset it defaults to the local http://localhost:8089 — start the agent server.py first for local runs.
  • Default evaluators are all seven; pass --evaluators to subset.
Show full SKILL.md (147 more words)Show less

Environment

Confirm and remind the user to set these before running (loads .env; copy and fill tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation/env-variables):

PurposeVariables
Foundry gradingAZURE_AI_PROJECT_ENDPOINT, AZURE_EVALUATION_MODEL_NAME, EVALUATE_THRESHOLD (default 3)
Deployed botBOT_SERVICE_ENDPOINT + (BOT_AGENT_TOKEN_RESOURCE or BOT_AGENT_ACCESS_TOKEN)
Local botnone — run agent server.py (defaults to http://localhost:8089)
Tenant routingSTORAGE_BLOB_ACCOUNT, BOT_CONFIG_CONTAINER, BOT_CONFIG_CHANNEL_BLOB
Authaz login (with --is_ci False)

Common commands

bash
# One scenario (all evaluators), against the local server, no baseline gate:
python evals_run.py --dataset evaluation_datasets/perf/typespec.jsonl \
  --is_ci False --baseline_check False --cache_result full

# Same via the asset name:
python evals_run.py --dataset "qa-bot-perf-typespec:latest" --is_ci False --baseline_check False

# Subset of evaluators:
python evals_run.py --dataset "qa-bot-basic-python:latest" \
  --evaluators "bot_evals,groundedness" --is_ci False --baseline_check False

For a single test case, all scenarios, the deployed bot, and reading results / the gate, see running evaluations.

Steps

  1. Ensure the required env vars are set; for a local run, start the agent server.py.
  2. Choose the dataset: a scenario file, an asset name, or a one-row file for a single case.
  3. Run python evals_run.py --dataset <...> --is_ci False (add --baseline_check False for ad-hoc runs, --evaluators to subset).
  4. Open the printed Foundry Report URL and review the per-case score table.
  5. With --cache_result full, inspect cache/<scenario>-*.json for per-case and failed-case detail.

© Azure, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .github/skills/sdk-ai-bot-run-evaluation of Azure/azure-sdk-tools.

  • SKILL.md
  • references/running-evaluations.md

Open the folder on GitHubat commit 942ef24

Compare with similar skills

SDK AI Bot Run Evaluation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SDK AI Bot Run Evaluation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SDK AI Bot Run Evaluation this skillAzure/azure-sdk-tools134—~1.1kAutomated safety check: NotesMIT
Synthetic Eval Data Generatorai-evals-course/evals-skills1.5k—~1.4kAutomated safety check: PassApache-2.0
Axiom Eval Writeropenclaw/clawhub9.5k—~4.1kAutomated safety check: WarnMIT
Eval Guidemicrosoft/eval-guide138—~22kAutomated safety check: WarnMIT
Eval Creatorpskoett/pskoett-ai-skills315—~2.6kAutomated safety check: PassNone
Testinginbrainfun/inbrain1421 repos~2kAutomated safety check: PassCustom licence

Similar skills

  • Synthetic Eval Data Generator

    ai-evals-course/evals-skills

    Builds diverse synthetic test inputs for LLM pipeline evaluation by defining failure-focused dimensions, drafting tuples with you and turning them into realistic queries.

    1.5k GitHub stars~1.4k tokensUpdated 16 days ago
    AI & LLM EngineeringAuto-check passed
  • Axiom Eval Writer

    openclaw/clawhub

    Scaffolds evaluation suites for the Axiom AI SDK: eval files, scorers, flag schemas and axiom.config.ts, generated from plain descriptions of an AI capability.

    9.5k GitHub stars~4.1k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: warnings
  • Eval Guide

    microsoft/eval-guide

    Official

    Eval enablement accelerator — help customers think through "what does good look like" for their AI agent, then generate a structured eval plan and test cases they can use immediately.

    138 GitHub stars~22k tokensUpdated 3 mo ago
    Testing & QAAuto-check: warnings
  • Eval Creator

    pskoett/pskoett-ai-skills

    [Beta] Creates permanent eval cases from promoted learnings and runs regression checks against them.

    315 GitHub stars~2.6k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Testing

    inbrainfun/inbrain

    Skill validation framework PLUS daily test-suite health and regression intelligence.

    142 GitHub starsUsed in 1 repo~2k tokens
    Testing & QAAuto-check passed
  • Neo4j Document Import Skill

    neo4j-contrib/neo4j-skills

    Ingests unstructured and semi-structured documents into Neo4j as a knowledge graph.

    114 GitHub stars~5.4k tokensUpdated yesterday
    Knowledge ManagementAuto-check: notes

More from Azure/azure-sdk-tools

All 35 skills in this repo
  • Apiview Feedback Resolution

    Azure/azure-sdk-tools

    Official

    Analyze and resolve APIView review feedback on Azure SDK PRs.

    134 GitHub stars~547 tokensUpdated today
    Auto-check passed
  • Official

    Deploy test resources and run Azure SDK tests in live, record, or playback mode.

    134 GitHub stars~1.5k tokensUpdated today
    Auto-check: notes
  • Azsdk Common Pipeline Analysis

    Azure/azure-sdk-tools

    Official

    Analyze Azure SDK CI/CD pipeline failures into a structured diagnosis, and define the required output format.

    134 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Official

    Create, get, update, abandon, and link SDK PRs to release plan work items for Azure SDK releases.

    134 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Azure Typespec Assessment

    Azure/azure-sdk-tools

    Official

    Assess Azure TypeSpec Git diffs for semantic intent, REST and downstream SDK breaking changes, Azure Guidelines compliance, and documentation completeness.

    134 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Works with

Questions about SDK AI Bot Run Evaluation

What does SDK AI Bot Run Evaluation do?

Run Azure SDK QA bot evaluations on curated datasets locally, including a single test case. SDK AI Bot Run Evaluation is an agent skill from Azure/azure-sdk-tools, published by the product's own GitHub organization. Run Azure SDK QA bot evaluations on curated datasets locally, including a single test case.

When should I use SDK AI Bot Run Evaluation?

SDK AI Bot Run Evaluation fits situations like: uploading datasets; pipeline troubleshooting; knowledge-graph indexing.

How do I install SDK AI Bot Run Evaluation in Claude Code?

Run `npx skills add Azure/azure-sdk-tools --skill sdk-ai-bot-run-evaluation -a claude-code`. Or copy the skill folder (.github/skills/sdk-ai-bot-run-evaluation in Azure/azure-sdk-tools) into .claude/skills/sdk-ai-bot-run-evaluation in your project. Claude Code loads it when a task matches its description.

How do I install SDK AI Bot Run Evaluation in Codex?

Run `npx skills add Azure/azure-sdk-tools --skill sdk-ai-bot-run-evaluation -a codex`. Or copy the skill folder (.github/skills/sdk-ai-bot-run-evaluation in Azure/azure-sdk-tools) into .agents/skills/sdk-ai-bot-run-evaluation in your project. Codex loads it when a task matches its description.

Can I use SDK AI Bot Run Evaluation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Azure/azure-sdk-tools --skill sdk-ai-bot-run-evaluation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sdk-ai-bot-run-evaluation, .gemini/skills/sdk-ai-bot-run-evaluation, .github/skills/sdk-ai-bot-run-evaluation and .opencode/skills/sdk-ai-bot-run-evaluation in your project.

What does SDK AI Bot Run Evaluation need to run?

Going by SKILL.md and its folder, SDK AI Bot Run Evaluation needs the command-line tools its instructions call (python and az) and credentials named BOT_AGENT_ACCESS_TOKEN. Our summary lists: Python 3; A credential in BOT_AGENT_ACCESS_TOKEN. Compatibility (from SKILL.md): local azure-sdk-tools clone, python 3.12 venv, az login, bot /completion endpoint.

Does SDK AI Bot Run Evaluation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is SDK AI Bot Run Evaluation safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does SDK AI Bot Run Evaluation use?

SDK AI Bot Run Evaluation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does SDK AI Bot Run Evaluation use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to SDK AI Bot Run Evaluation?

Skills that share tags, products or a category with SDK AI Bot Run Evaluation: Synthetic Eval Data Generator (ai-evals-course/evals-skills, 1.5k stars), Axiom Eval Writer (openclaw/clawhub, 9.5k stars), Eval Guide (microsoft/eval-guide, 138 stars) and Eval Creator (pskoett/pskoett-ai-skills, 315 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SDK AI Bot Run Evaluation?

Azure (a GitHub organization, an official publisher) maintains it in Azure/azure-sdk-tools, which has 134 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 10, 2026.

Source: Azure/azure-sdk-tools on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.