Skip to content

Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.

docs: prepare SkillEvaluator documentation for launch

Christopher Kevinfdf3ea4b04de
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index b76cd080..7ed867ef 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
name: Bug report
-description: Report a reproducible problem in Skill Evaluator.
+description: Report a reproducible problem in SkillEvaluator.
title: "[BUG]: "
labels:
- bug
@@ -27,7 +27,7 @@ body:
- type: input
id: version
attributes:
- label: Skill Evaluator version or commit
+ label: SkillEvaluator version or commit
validations:
required: true
- type: textarea
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index db253573..decc5f0b 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
name: Feature request
-description: Suggest an improvement to Skill Evaluator.
+description: Suggest an improvement to SkillEvaluator.
title: "[FEA]: "
labels:
- enhancement
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6a09b79d..11e05e9b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog
-All notable changes to Skill Evaluator are documented in this file.
+All notable changes to SkillEvaluator are documented in this file.
## Unreleased
@@ -13,9 +13,13 @@ All notable changes to Skill Evaluator are documented in this file.
- Added NVIDIA Build live-agent paths: direct OpenCode support plus Docker
compatibility bridges for Codex and experimental Claude Code, including
multi-turn tool-call continuation.
-- Fern documentation site published to `docs.nvidia.com/skillevaluator`,
+- Fern documentation site configured for `docs.nvidia.com/skills/skillevaluator`,
building the `docs/` guides (installation, configuration, and the three
evaluation tiers) as MDX pages.
+- Expanded the documentation site to fifteen pages — quickstart, eval
+ datasets, agents and sandboxes, custom graders, reports, CI integration,
+ CLI reference, and environment variables — under a task-oriented
+ navigation, with every command verified against the current CLI.
### Security
@@ -35,6 +39,15 @@ All notable changes to Skill Evaluator are documented in this file.
### Changed
+- Simplified the repository README into a concise documentation landing page,
+ retained a compact keyless `validate` quickstart, LLM-provider setup, and a
+ one-command `validate --full` path through all three tiers, broadened the
+ project description to agent artifacts starting with agent skills, and moved
+ detailed guidance to `docs.nvidia.com/skills/skillevaluator`.
+- Added Tier 3 cost-planning guidance, including trial-volume multipliers,
+ cost-saving flags, and the cost and isolation tradeoffs of local mode.
+- Standardized the product name as `SkillEvaluator` across documentation,
+ repository metadata, CLI output, and generated report artifacts.
- Removed the optional OpenTelemetry integration, the
`skillevaluator[telemetry]` extra, and the `skillevaluator.telemetry` Python
module from the public distribution. Imports of that module now fail rather
@@ -74,8 +87,8 @@ All notable changes to Skill Evaluator are documented in this file.
unchanged outcomes, preserves actionable failures, and no longer mutates
process-wide command-line arguments.
- Security and full-feature installs now work on RHEL 8 and other glibc 2.28
- Linux systems by selecting a compatible Semgrep and pip-audit pair, while
- macOS and Windows retain the newer scanner release lines.
+ Linux systems by keeping Semgrep and SkillSpector in separate tool
+ environments while retaining compatible bundled Python dependencies.
- Tier 2 content collection now prunes configured evaluation and version
artifact directories before enforcing the discovered-path limit, so excluded
generated results cannot cause false path-count failures.
diff --git a/CITATION.cff b/CITATION.cff
index 8fe20776..5cd6fdb4 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -1,6 +1,6 @@
cff-version: 1.2.0
-message: "If you use Skill Evaluator in academic or technical work, please cite this software."
-title: "Skill Evaluator"
+message: "If you use SkillEvaluator in academic or technical work, please cite this software."
+title: "SkillEvaluator"
type: software
version: "0.1.0"
authors:
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index 05c49d84..20c911dd 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -2,7 +2,7 @@
## Overview
-Define the code of conduct followed and enforced for Skill Evaluator.
+Define the code of conduct followed and enforced for SkillEvaluator.
### Intended audience
diff --git a/Dockerfile b/Dockerfile
index f3736bb7..a999a06d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-# Skill Evaluator public runtime image.
+# SkillEvaluator public runtime image.
#
# The image installs every public optional dependency. Tier 3 still requires
# credentials for the selected provider and agent at runtime.
diff --git a/README.md b/README.md
index 00c3fdf6..65101e39 100644
--- a/README.md
+++ b/README.md
@@ -5,330 +5,138 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](LICENSE)
[![Python](https://img.shields.io/badge/Python-3.12%20%7C%203.13-blue.svg)](https://www.python.org/)
-SkillEvaluator is an open-source, multi-tier framework for evaluating AI
-agent skills — deterministic quality gates, semantic overlap detection,
-synthetic eval dataset generation, and live agent evaluation. A skill is a
-folder of instructions and scripts (a `SKILL.md` plus supporting files) that
-extends an AI agent — see the
-[Agent Skills specification](https://agentskills.io/).
-SkillEvaluator gates skills through three progressively deeper tiers, from
-free offline checks to live agent A/B evaluation:
-
-## Three-tier overview
-
-| Tier | Purpose | Representative commands | Requires |
-| --- | --- | --- | --- |
-| Tier 1 | Validate schema, quality, security, secrets, PII, licenses, code integrity, Unicode safety, and scripts; optionally add LLM judging and deeper security analysis | `validate`, `quality-check`, `security-scan`, `pii-scan`, `lint-scripts`, `rubric-eval` | Deterministic checks need no API key; full scanner coverage needs the `security` extra and Gitleaks; LLM checks need a provider key |
-| Tier 2 | Detect redundant content within one skill and overlapping skills across a collection or local catalog | `context-optimization-check` / `dedup-scan` (intra-skill), `similarity-check` (inter-skill) | An embeddings provider; intra-skill analysis also needs a chat LLM — local OpenAI-compatible endpoints work |
-| Tier 3 | Create evaluation datasets and measure agent behavior with and without a skill | `create-eval-dataset`, `evaluate`, `compare` | Keyless templates and report inspection need no credential; LLM generation needs a provider key; live evaluation also needs the agent credential and a Docker, local OS, or cloud sandbox |
-
-Each tier is an independent entry point — run any command directly; nothing
-requires running the earlier tiers first. With no keys configured and the Tier
-1 scanners installed, `validate` runs without an API credential (its dedup pass
-skips gracefully); the
-[credential map](docs/configuration.mdx#what-needs-credentials-and-what-runs-offline)
-lists exactly what each command needs.
+SkillEvaluator is an open-source, multi-tier framework for evaluating AI agent
+artifacts, starting with agent skills: deterministic quality gates, semantic
+overlap detection, synthetic eval dataset generation, and live agent evaluation.
+
+Agent skills are folders of instructions and supporting files that extend AI
+agents, as defined by the [Agent Skills specification](https://agentskills.io/).
+SkillEvaluator is part of the
+[NVIDIA Verified Skills pipeline](https://docs.nvidia.com/skills/), with
+[SkillSpector](https://github.com/NVIDIA/SkillSpector) providing the specialized
+security-scanning capability used by Tier 1 and
+[Harbor](https://github.com/harbor-framework/harbor) powering Tier 3 sandboxed
+agent evaluation.
## Quickstart
-Install every SkillEvaluator Python feature with one command. [uv](https://docs.astral.sh/uv/)
-automatically provisions Python 3.13; if uv is not installed yet, follow its
-[one-command installation](https://docs.astral.sh/uv/getting-started/installation/):
+Install all SkillEvaluator evaluation extras with
+[uv](https://docs.astral.sh/uv/), then run the built-in deterministic validation
+gates. This first result needs no API key, Docker daemon, or repository clone:
```bash
uv tool install --python 3.13 "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
+skillevaluator validate ./my-skill \
+ --checks schema,pii,license,quality,unicode,lint \
+ --no-dedup
```
-This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.
+`./my-skill` is any directory containing a `SKILL.md`. The command checks its
+schema, PII, license, quality, Unicode safety, and scripts. The scoped check
+list keeps this first run keyless; the complete Tier 1 security scan also uses
+external tools described in the
+[installation guide](https://docs.nvidia.com/skills/skillevaluator/installation).
+If your shell cannot find the command after installation, run
+`uv tool update-shell` and open a new terminal.
-The `all` bundle includes the Tier 1 Python scanners, Tier 2, Tier 3 with
-Harbor, and LLM clients. System-level tools remain explicit:
-Gitleaks is required for a complete Tier 1 security result, Docker is required
-for Tier 3 Docker mode, and live evaluation needs the selected agent CLI and
-credentials.
+## LLM provider setup
-Linux installs use scanner versions compatible with glibc 2.28, including
-RHEL 8; see the [installation guide](docs/installation.mdx#linux-security-scanner-compatibility)
-for the platform-specific dependency details.
-
-Run the first offline check directly against your own skill — **no API key,
-Docker, Gitleaks, or repository clone required**:
-
-```bash
-skillevaluator quality-check ./my-skill
-```
-
-For a complete offline Tier 1 run, install Gitleaks once, then use `validate`:
-
-```bash
-brew install gitleaks # macOS
-skillevaluator validate ./my-skill --no-dedup
-```
-
-On other platforms, install a binary from the official
-[Gitleaks releases](https://github.com/gitleaks/gitleaks/releases).
-
-For a smaller Tier 1-only environment, install the `security` extra instead of
-`all`; see [installation options](docs/installation.mdx#choosing-extras).
-
-If the shell can't find `skillevaluator` after installing, run
-`uv tool update-shell` and open a new terminal (uv installs tools to
-`~/.local/bin`, which may not be on PATH yet).
-
-Then work through the tiers below with your own skill.
-
-```mermaid
-flowchart LR
- S["Skill directory<br/>SKILL.md + scripts"] --> T1["Tier 1 core<br/>Deterministic gates<br/>schema, quality, security, PII<br/><i>offline, no API key</i>"]
- subgraph KEY["Needs an LLM or embeddings API key"]
- L["Tier 1 LLM checks<br/>rubric-eval + optional flags"]
- T2["Tier 2<br/>Semantic dedup<br/>embedding similarity"]
- T3["Tier 3<br/>Skill A/B eval with a live agent<br/>with skill vs. without<br/><i>+ agent credential + sandbox<br/>Docker, local, or cloud</i>"]
- end
- T1 -.-> L
- T1 --> T2
- T2 --> T3
- T3 --> R["Reports<br/>CLI, JSON, HTML, Markdown"]
-```
-
-## Tier 1: Static and Security Validation
-
-Deterministic checks run offline after their scanner binaries are installed —
-this is the everyday command and a ready-made CI gate (`validate` exits
-non-zero when a check fails or required scanner evidence is incomplete). Plain
-`validate` also runs the Tier 2 dedup pass by default, skipping it
-gracefully when no key is configured:
-
-```bash
-skillevaluator validate ./my-skill --no-dedup # all offline checks
-skillevaluator security-scan ./my-skill # one category at a time
-skillevaluator rubric-eval ./my-skill # LLM-as-judge scoring — the one Tier 1 command that needs a provider key
-```
-
-| Check | What it covers |
-| --- | --- |
-| `schema` | Frontmatter, folder structure, naming, and content policy |
-| `security` | SkillSpector scanning for prompt injection, data exfiltration, and related risks |
-| `pii` | Credentials, tokens, personal data, and other sensitive information |
-| `license` | Frontmatter, license-file, and SPDX compliance |
-| `code-integrity` | Bandit, Semgrep with packaged policy, Gitleaks, links, dependency declarations, and static test discovery |
-| `unicode` | Invisible Unicode, bidirectional overrides, and ASCII smuggling |
-| `quality` | Deterministic quality scoring with a 0–100 score and A–F grade |
-| `lint` | Advisory script structure, nesting, constants, shebang, and input-validation checks |
-| `version` | Default optional-version and monotonic SemVer validation |
-| `dependency` | Optional dependency vulnerability audit |
-
-`rubric-eval` adds an LLM-as-judge review across nine instruction-quality
-criteria. The optional `--llm` and `--llm-verify` flags deepen security
-analysis and can suppress false positives.
-
-Check selection (`--checks`), report formats (`-r cli,json,html,markdown`), the
-automatically generated `BENCHMARK.md`, skill discovery, the optional
-`--llm`/`--llm-verify` deepening, and a CI recipe:
-[Tier 1 guide](docs/tier1-validation.mdx).
-
-## Configure a provider (for the LLM-backed parts)
-
-LLM-backed features use the configured chat provider. Tier 2 also needs an
-embeddings provider: it can use the same service when embeddings are available,
-or a separately configured local or hosted endpoint. A free
-[NVIDIA API Catalog](https://build.nvidia.com/) key covers both LLM judging and
-Tier 2 embeddings with one variable:
+LLM-backed security analysis, rubric judging, Tier 2 deduplication, dataset
+generation, and Tier 3 grading need a configured provider. For NVIDIA Build,
+one API Catalog key covers both chat and embeddings:
```bash
export SKILL_EVAL_LLM_PROVIDER=nv_build
export NVIDIA_API_KEY='nvapi-...'
-skillevaluator models
+skillevaluator models --limit 10
```
-`skillevaluator models` shows a filtered, bounded view of model candidates
-visible to the selected provider key; add `--json` for machine-readable
-output. Catalog visibility is not proof that an agent harness can execute the
-model. Use `doctor` and a live Tier 3 evaluation for runtime and end-to-end
-verification.
+Other supported provider setups are:
-OpenAI, Anthropic, Bedrock, any OpenAI-compatible endpoint, and fully local
-servers work too: [configuration guide](docs/configuration.mdx).
+- OpenAI: `SKILL_EVAL_LLM_PROVIDER=openai` and `OPENAI_API_KEY`.
+- Anthropic: `SKILL_EVAL_LLM_PROVIDER=anthropic` and `ANTHROPIC_API_KEY`.
+- Amazon Bedrock: `SKILL_EVAL_LLM_PROVIDER=bedrock` plus the standard AWS
+ credential chain and region.
+- Local or hosted OpenAI-compatible endpoint: set
+ `SKILL_EVAL_LLM_PROVIDER=openai-compatible`,
+ `SKILL_EVAL_LLM_BASE_URL`, `SKILL_EVAL_LLM_MODEL`, and
+ `SKILL_EVAL_LLM_API_KEY`.
-The external publication profile is the default. `--external` is shorthand
-for `--profile external`, and `--policy` can overlay a custom policy file.
+When exactly one of `NVIDIA_API_KEY`, `OPENAI_API_KEY`, or `ANTHROPIC_API_KEY`
+is present, SkillEvaluator can auto-select that provider. Anthropic and Bedrock
+do not provide embeddings, so Tier 2 also needs a separate OpenAI, NVIDIA
+Build, or OpenAI-compatible embedding provider. See
+[Providers & Credentials](https://docs.nvidia.com/skills/skillevaluator/configuration)
+for model defaults, endpoint overrides, and fully local setup.
-## Tier 2: Semantic Deduplication
+## Run deeper evaluations
-With a provider configured, find duplicated guidance inside one skill or
-compare skills with embeddings. `dedup-scan` is an alias for the canonical
-intra-skill command:
+`similarity-check` needs an embeddings provider. `context-optimization-check`
+also needs a chat provider to check one skill for repeated guidance:
```bash
-# Intra-skill: cluster overlapping sections, then analyze them with a chat LLM
skillevaluator context-optimization-check ./my-skill
-skillevaluator dedup-scan ./my-skill # alias
-
-# Inter-skill: compare every skill in a local collection (embeddings only)
skillevaluator similarity-check ./skills
-
-# Or save that collection as a local catalog and query one candidate against it
-skillevaluator similarity-check ./skills --save-catalog ./skill-catalog.json
-skillevaluator similarity-check ./candidate-skill --catalog ./skill-catalog.json
```
-Similarity findings use four classifications: `EXACT_DUPLICATE` (at least
-0.95), `HIGH_SIMILARITY` (at least 0.90), `SIMILAR` (at least 0.75), and
-`LOOSELY_RELATED` (at least 0.50).
-
-The catalog is a versioned JSON file containing embeddings and skill metadata,
-not credentials. It stays local unless you choose to share it; no external
-vector database or catalog service is involved. Thresholds, reports, catalog
-validation, and exactly where the chat LLM comes in:
-[Tier 2 guide](docs/tier2-deduplication.mdx).
-
-## Tier 3: Live Agent Evaluation
-
-Tier 3 evaluates your skill by running a real agent (`opencode`, `codex`, or
-`claude-code`) against generated tasks, with and without the skill, inside
-[Harbor](https://github.com/harbor-framework/harbor) sandboxes. Most runs use
-**Docker** (the default) or **experimental local mode** (`--env-mode local`:
-Linux bubblewrap, no Docker; macOS Seatbelt is semi-trusted and blocks common
-detached shell patterns but has no PID namespace). Local mode is intended for
-trusted skills and workspaces; Docker provides stronger isolation for
-untrusted code. Native Windows local mode is unsupported, including
-trusted/unsandboxed overrides; use WSL2 for the Linux local path or Docker
-instead. Set `SKILLEVALUATOR_LOCAL_STRICT_READS=1` for deny-all reads with only
-selected runtime/system exceptions. On Linux/macOS, unsandboxed local execution
-requires explicitly opting into trusted mode. Cloud backends are available
-through the same `--env-mode` flag.
-
-`claude` is accepted as a convenience alias in agent lists, model overrides,
-and `evals/config.yml`. Skill Evaluator canonicalizes it to `claude-code`, so
-result keys, paths, progress, and reports always use `claude-code`.
-
-Standard grading reports lead with five human-readable dimensions. Skill Lift
-is the measured difference between the with-skill and without-skill runs, while
-pass@k shows multi-attempt reliability separately from the dimension scores.
-In `custom_only` mode, the user-owned grader defines the score instead.
-
-| Dimension | Question |
-| --- | --- |
-| **Security** | Is it safe to use? |
-| **Correctness** | Does it do what it is supposed to? |
-| **Discoverability** | Is it loaded when it should be? |
-| **Effectiveness** | Is it better with the skill than without? |
-| **Efficiency** | Does it use tools and tokens efficiently? |
-
-Live evaluation normally has **two credential roles**: the evaluator provider
-generates tasks and performs standard grading, while the selected agent uses
-its native provider credential. NVIDIA Build is an explicit Docker and local
-exception: one `NVIDIA_API_KEY` powers direct OpenCode and SkillEvaluator's
-compatibility bridges for Codex and experimental Claude Code. Operator
-credentials come only from the host environment; a checked-out skill cannot
-replace, alias, or reroute them through `evals/config.yml`.
-
-This external-user path needs only a Build key from
-[build.nvidia.com](https://build.nvidia.com/):
+Install Semgrep, SkillSpector, and Gitleaks before a full run; missing Tier 1
+scanner evidence makes validation incomplete. Then verify the selected agent
+runtime and use `validate --full`:
```bash
-# 1. Readiness check first — seconds, and it names any missing key or sandbox
-skillevaluator doctor --agents opencode --env-mode docker --verify-models
-
-# 2. Generate eval tasks (writes evals/evals.json; --no-llm for a keyless template)
-skillevaluator create-eval-dataset ./my-skill --full
-skillevaluator create-eval-dataset ./my-skill --full --refine
-
-# Or replace steps 2 and 3 with one non-destructive autopilot command
-skillevaluator tier3 evaluate ./my-skill --autopilot --agents opencode --env-mode docker
-
-# 3. Run the with-skill vs. without-skill evaluation
-skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker
-
-# 4. Read the results
-skillevaluator view ./my-skill # HTML report
-skillevaluator compare ./my-skill # side-by-side comparison
+skillevaluator doctor --agents codex --env-mode docker
+skillevaluator validate ./my-skill \
+ --full \
+ --agents codex \
+ --env-mode docker
```
-For Docker or local NVIDIA Build runs, change `--agents opencode` to
-`--agents codex` or `--agents claude-code`; no second provider key is needed.
-Direct OpenCode defaults to `nvidia/nemotron-3-nano-30b-a3b` (rendered as
-`nvidia/nvidia/nemotron-3-nano-30b-a3b`). Bridged Codex and experimental Claude
-Code default to `nvidia/nemotron-3-super-120b-a12b`, the verified model for
-their larger tool surfaces. Choose a different model explicitly when comparison
-requirements justify it:
+`--full` runs Tiers 1, 2, and 3 and enables autopilot. If the skill has no
+accepted evaluation source, autopilot creates one initial case at
+`evals/evals.json`; if the file already exists, SkillEvaluator reuses it. For a
+broader four-bucket dataset, generate and review it first:
```bash
-# Nemotron Super: explicit higher-quality override for each harness.
-skillevaluator evaluate ./my-skill --agents opencode --env-mode docker \
- --agent-model opencode=nvidia/nvidia/nemotron-3-super-120b-a12b
-skillevaluator evaluate ./my-skill --agents codex --env-mode docker \
- --agent-model codex=nvidia/nemotron-3-super-120b-a12b
-skillevaluator evaluate ./my-skill --agents claude-code --env-mode docker \
- --agent-model claude-code=nvidia/nemotron-3-super-120b-a12b
-
-# Llama remains an explicit direct-OpenCode alternative.
-skillevaluator evaluate ./my-skill --agents opencode --env-mode docker \
- --agent-model opencode=nvidia/meta/llama-3.1-8b-instruct
+skillevaluator create-eval-dataset ./my-skill --full
```
-SkillEvaluator never changes explicit model overrides silently. The bridges are
-available in Docker and local modes. Harbor cloud modes still require an
-independent OpenAI Responses credential for Codex or a native Anthropic
-credential for Claude Code. Do not put agent credentials in skill-owned
-`harbor.runtime_env`.
-
-Results are written under `evals/results` by default. Use `--results-dir` or
-`SKILLEVALUATOR_RESULTS_DIR` to place them elsewhere. The `--refine` option
-uses existing or collected agent trajectories to improve generated cases.
-Raw Harbor job and staged-task directories are temporary and deleted by
-default. Add `--harbor-keep-jobs` to retain them; the final **Artifacts** panel
-then prints the canonical `skillevaluator tier3 harbor-view <JOBS_DIR>` command.
-
-Custom graders, Harbor-format tasks, and agent credential setup:
-[Tier 3 guide](docs/tier3-live-evaluation.mdx).
-
-## Expert tier aliases
+Tier 2 needs chat and embedding providers. Tier 3 also needs the evaluator
+provider, the selected agent's credential, and a Docker, local, or cloud
+sandbox. Live model calls and managed sandboxes can incur charges; local mode
+avoids managed sandbox charges, not hosted model charges. It is experimental
+and only for trusted skills and workspaces; use Docker or cloud for untrusted
+code. Start with one agent and a small dataset.
+See the [Tier 3 guide](https://docs.nvidia.com/skills/skillevaluator/tier3-live-evaluation#plan-for-cost)
+before scaling a run. Tier 3 results are advisory within `validate`; Tier 1 and
+Tier 2 determine its exit status.
-Tier-prefixed commands call the same implementations as the primary commands:
-
-```bash
-skillevaluator tier1 validate ./my-skill --no-dedup
-skillevaluator tier2 similarity-check ./skills
-skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker
-```
-
-## Installation options
+## Documentation
-The quickstart one-liner installs everything. For per-tier extras, plain pip,
-or Docker, see [installation](docs/installation.mdx). Contributors work from a
-source checkout:
+Read the complete documentation at
+[docs.nvidia.com/skills/skillevaluator](https://docs.nvidia.com/skills/skillevaluator/)
+for installation, the quickstart, provider configuration, tier guides, results
+and CI integration, the CLI reference, and contributor guidance.
-```bash
-git clone https://github.com/NVIDIA/SkillEvaluator.git
-cd SkillEvaluator
-uv sync --python 3.13 --all-extras
-```
+## Installation and third-party software
-## Documentation
+Follow the [installation guide](https://docs.nvidia.com/skills/skillevaluator/installation)
+to choose the full installation or a smaller per-tier setup.
-- [Installation](docs/installation.mdx) — extras, pip, Docker, requirements
-- [Tier 1 guide](docs/tier1-validation.mdx) — checks, flags, reports, CI recipe
-- [Tier 2 guide](docs/tier2-deduplication.mdx) — dedup commands and thresholds
-- [Tier 3 guide](docs/tier3-live-evaluation.mdx) — skill evaluation with live agents, in depth
-- [Configuration](docs/configuration.mdx) — credential map, providers, and embeddings
-- [Developer guide](docs/developer-guide.mdx) — contributor setup
-- Related: [SkillSpector](https://github.com/NVIDIA/SkillSpector) (skill
- security scanner used by the `security` extra),
- [Agent Skills specification](https://agentskills.io/),
- [Harbor](https://github.com/harbor-framework/harbor)
+This project will download and install additional third-party open source
+software projects. Review the license terms of these open source projects before
+use.
## Contributing
-Contributions are welcome — read [CONTRIBUTING.md](CONTRIBUTING.md), include
-tests for behavior changes, and run the checks before opening a PR:
+Contributions are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md), include tests
+for behavior changes, and run the checks before opening a pull request:
```bash
make lint && make test && make build
```
-Project governance is described in [GOVERNANCE.md](GOVERNANCE.md).
-Participation is governed by the [Code of Conduct](CODE_OF_CONDUCT.md).
+Project governance is described in [GOVERNANCE.md](GOVERNANCE.md). Participation
+is governed by the [Code of Conduct](CODE_OF_CONDUCT.md).
## Support
diff --git a/SECURITY.md b/SECURITY.md
index dc5ba98f..0ea71efd 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -23,12 +23,12 @@ While NVIDIA currently does not have a bug bounty program, we do offer acknowled
For all security-related concerns, please visit NVIDIA's Product Security portal at https://www.nvidia.com/en-us/security
-## Reporting Details for Skill Evaluator
+## Reporting Details for SkillEvaluator
-When reporting a vulnerability in Skill Evaluator, include as much of the
+When reporting a vulnerability in SkillEvaluator, include as much of the
following information as you can safely provide:
-- Product name: Skill Evaluator
+- Product name: SkillEvaluator
- Affected version, branch, tag, or commit
- Vulnerability type and potential impact
- Reproduction steps
@@ -37,7 +37,7 @@ following information as you can safely provide:
## Supported Versions
-Security updates are provided for the latest public release of Skill Evaluator
+Security updates are provided for the latest public release of SkillEvaluator
unless a release note states otherwise.
For unreleased branches or pre-release snapshots, include the affected branch,
diff --git a/SUPPORT.md b/SUPPORT.md
index bb69dc9a..dbef16b1 100644
--- a/SUPPORT.md
+++ b/SUPPORT.md
@@ -2,7 +2,7 @@
Support level: **Experimental**.
-Skill Evaluator is community-supported software. Support is provided on a
+SkillEvaluator is community-supported software. Support is provided on a
best-effort basis by the maintainers through
[GitHub Issues](https://github.com/NVIDIA/SkillEvaluator/issues); there is no
SLA and no NVIDIA enterprise support entitlement for this project.
diff --git a/config/oss_boundary_allowlist.json b/config/oss_boundary_allowlist.json
index 35abca14..c292e7df 100644
--- a/config/oss_boundary_allowlist.json
+++ b/config/oss_boundary_allowlist.json
@@ -52,7 +52,7 @@
{
"path": "tests/test_oss_packaging.py",
"rule": "harbor-upload-integration",
- "line": 423,
+ "line": 455,
"reason": "Negative upload boundary assertion",
"expires": "2027-07-08",
"review_owner": "oss-release-reviewers"
@@ -60,7 +60,7 @@
{
"path": "tests/test_oss_packaging.py",
"rule": "internal-nvidia-credential",
- "line": 464,
+ "line": 496,
"reason": "Negative documentation boundary assertion",
"expires": "2027-07-08",
"review_owner": "oss-release-reviewers"
diff --git a/docs/AGENTS.md b/docs/AGENTS.md
index 749e4baa..04dff302 100644
--- a/docs/AGENTS.md
+++ b/docs/AGENTS.md
@@ -4,7 +4,7 @@
# AGENTS.md — `docs/`
Guidance for AI agents editing SkillEvaluator's long-form documentation. This
-folder holds MDX pages published to <https://docs.nvidia.com/skillevaluator> via
+folder holds MDX pages published to <https://docs.nvidia.com/skills/skillevaluator> via
[Fern](https://buildwithfern.com/). Human-facing notes live in
[`README.md`](README.md); this file is the machine-facing companion.
diff --git a/docs/README.md b/docs/README.md
index 7416616d..4909e260 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,7 +4,7 @@
# Documentation
Long-form documentation for SkillEvaluator. Pages are authored in MDX and
-published to <https://docs.nvidia.com/skillevaluator>. This page is the human
+published to <https://docs.nvidia.com/skills/skillevaluator>. This page is the human
quickstart; [`AGENTS.md`](AGENTS.md) holds the detailed authoring rules (MDX
gotchas, link conventions, page-adding checklist) for both AI agents and
contributors making non-trivial edits.
diff --git a/docs/agents-and-sandboxes.mdx b/docs/agents-and-sandboxes.mdx
new file mode 100644
index 00000000..18e48443
--- /dev/null
+++ b/docs/agents-and-sandboxes.mdx
@@ -0,0 +1,318 @@
+---
+title: Agents & Sandboxes
+description: Every agent Tier 3 can drive and every environment it can run them in — Docker tuning, local-mode sandbox policy, workspace modes, and readiness checks.
+---
+
+Tier 3 runs real agent CLIs against your eval cases, so two choices shape every
+run: which agents attempt the tasks (`--agents`) and where the trials execute
+(`--env-mode`). This page is the complete matrix for both, plus the resource,
+safety, and workspace controls around them and the readiness checks that tell
+you a run will work before you spend compute. The run workflow itself is
+[Tier 3: Live Evaluation](tier3-live-evaluation.mdx).
+
+## Supported agents
+
+Pass agents as a comma-separated list with `-a/--agents`. The default is
+`codex`. Three agents are supported:
+
+| Agent | Notes |
+| --- | --- |
+| `claude-code` | Anthropic's Claude Code CLI. `claude` is an accepted alias. |
+| `codex` | OpenAI's Codex CLI. The default agent. |
+| `opencode` | The OpenCode CLI. |
+
+The `claude` alias is canonicalized to `claude-code` everywhere an agent
+name can appear — `-a/--agents`, `--agent-model`, and `harbor.agents` in
+`evals/config.yml` — so both spellings always name the same agent.
+Naming both `claude` and `claude-code` in `--agent-model` or in
+`harbor.agents` is rejected as a duplicate; in `-a/--agents` the repeated
+agent is simply deduplicated.
+
+Each agent runs on a model, and the evaluator provider's default model is not
+automatically valid for every agent. Override the model per agent with
+`--agent-model AGENT=MODEL` (repeatable), or globally with `--model`:
+
+```bash title="Per-agent model override"
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker \
+ --agent-model codex=nvidia/nemotron-3-super-120b-a12b
+```
+
+To make an override persistent, set it in `evals/config.yml` under
+`harbor.agents.<name>.model` — see [Eval Datasets](eval-datasets.mdx).
+
+<Note>
+Agent CLIs are user-supplied: SkillEvaluator never installs an agent.
+Operator credentials come only from the host environment — a
+`harbor.runtime_env` entry in `evals/config.yml` that sets an operator-owned
+credential name (`ANTHROPIC_API_KEY`, `ANTHROPIC_BASE_URL`,
+`CLAUDE_CODE_USE_BEDROCK`, `NVIDIA_API_KEY`, `OPENAI_API_KEY`,
+`OPENAI_BASE_URL`) or references one with `${...}` is rejected at run time.
+See the two credential roles in [Providers & Credentials](configuration.mdx).
+</Note>
+
+## One NVIDIA Build key for everything
+
+When the evaluator provider is NVIDIA Build (`nv_build`) and trials run in
+`--env-mode docker` or `local`, a single `NVIDIA_API_KEY` powers the
+evaluator and all three agents:
+
+- **OpenCode** calls NVIDIA Build directly through its `nvidia` provider
+ adapter.
+- **Codex** runs against a SkillEvaluator-owned loopback compatibility
+ bridge that translates the OpenAI Responses API into NVIDIA Build Chat
+ Completions calls.
+- **Claude Code** (experimental on this path) runs against an equivalent
+ Messages-to-Chat-Completions bridge.
+
+Both bridges support multi-turn tool-call continuation, so agents complete
+real tool loops against Build models. The Claude Code bridge drops
+orchestration and server tools Build cannot execute — `WebFetch`,
+`WebSearch`, `Task`, and similar — before forwarding a request.
+
+### Models on the one-key path
+
+With `nv_build` and no explicit override, the bridged agents (`codex` and
+`claude-code`) default to `nvidia/nemotron-3-super-120b-a12b`. Direct
+OpenCode defaults to `nvidia/nemotron-3-nano-30b-a3b` and is automatically
+qualified with the `nvidia/` adapter namespace, so it renders as
+`nvidia/nvidia/nemotron-3-nano-30b-a3b` in run output — the doubled prefix
+is the adapter namespace plus the catalog publisher, not a bug.
+
+An explicit `--agent-model` value with NVIDIA Build must be a full
+`publisher/model` catalog ID; an explicit OpenCode override also carries the
+adapter namespace (`nvidia/publisher/model`). Overrides are never rewritten
+silently, and an unavailable model fails the run rather than falling back.
+
+### Key protection
+
+The bridged CLIs — Codex and Claude Code — never see the real Build key:
+
+- **Docker mode** hands the key to the trial through a host-only key file —
+ values never appear on `docker exec` argv.
+- **Local mode** keeps the real key in Harbor's trusted parent process; each
+ bridged CLI receives a unique per-trial capability token that only the
+ loopback bridge accepts.
+
+OpenCode is the exception: it calls NVIDIA Build directly, so it necessarily
+receives the key itself.
+
+NVIDIA Build local agents require network access. When
+`SKILLEVALUATOR_LOCAL_ALLOW_NET` is disabled, the run is rejected with
+`NVIDIA Build local agents require network access; unset
+SKILLEVALUATOR_LOCAL_ALLOW_NET or set it to 1`.
+
+### Other backends still need native credentials
+
+The bridges exist only in `docker` and `local` mode. On any other Harbor
+backend, each agent calls its native provider:
+
+| Agent | Requirement with `nv_build` on other backends |
+| --- | --- |
+| `claude-code` | Its own `ANTHROPIC_API_KEY` in the host environment, plus an explicit model (`--agent-model claude-code=MODEL`). |
+| `codex` | A full OpenAI Responses credential — `OPENAI_API_KEY` + `OPENAI_BASE_URL`, distinct from Build's — plus an explicit model. NVIDIA Build's `/responses` endpoint does not support Codex's tool schema. |
+| `opencode` | Works with `NVIDIA_API_KEY` directly. |
+
+Two provider-agent pairings are restricted regardless of NVIDIA Build: a
+Bedrock evaluator with `claude-code` requires an explicit
+`AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` pair or
+`AWS_BEARER_TOKEN_BEDROCK` and does not support local mode at all, and an
+Anthropic evaluator with `opencode` also does not support local mode.
+
+## Where trials run
+
+`--env-mode` accepts 16 values. Docker is the default; `local` is Skill
+Evaluator's own host-execution mode; everything else is a Harbor-native
+backend, enabled by installing the matching Harbor extra and supplying any
+credentials that backend requires.
+
+| Mode | Type | Notes |
+| --- | --- | --- |
+| `docker` | Container | Default. Runs on your local Docker daemon — see [Docker mode](#docker-mode). |
+| `daytona` | Harbor-native | Enabled by the matching Harbor extra. |
+| `e2b` | Harbor-native | Enabled by the matching Harbor extra. |
+| `modal` | Harbor-native | Enabled by the matching Harbor extra. |
+| `runloop` | Harbor-native | Enabled by the matching Harbor extra. |
+| `langsmith` | Harbor-native | Enabled by the matching Harbor extra. |
+| `gke` | Harbor-native | Enabled by the matching Harbor extra. |
+| `novita` | Harbor-native | Enabled by the matching Harbor extra. |
+| `apple-container` | Harbor-native | Enabled by the matching Harbor extra. |
+| `singularity` | Harbor-native | Enabled by the matching Harbor extra. |
+| `islo` | Harbor-native | Enabled by the matching Harbor extra. |
+| `tensorlake` | Harbor-native | Enabled by the matching Harbor extra. |
+| `cwsandbox` | Harbor-native | Enabled by the matching Harbor extra. |
+| `wandb` | Harbor-native | Enabled by the matching Harbor extra. |
+| `use-computer` | Harbor-native | Enabled by the matching Harbor extra. |
+| `local` | Host | Your machine, under an OS sandbox policy — see [Local mode](#local-mode). |
+
+<Tip>
+SkillEvaluator documents setup for `docker` and `local`. For any other
+backend, install the matching Harbor environment extra, set the credentials
+that backend requires, and confirm readiness with
+`skillevaluator doctor --env-mode <mode>` before a full run.
+</Tip>
+
+## Docker mode
+
+The default path needs a running Docker daemon and Docker Compose v2 —
+`skillevaluator doctor --env-mode docker` checks both. Each trial runs in its
+own container, and both arms of the comparison are staged from the same
+environment definition — the baseline image differs only by not containing
+the skill — so the skill stays the only variable.
+
+### Resource tuning
+
+If an agent's work is heavier than the defaults allow — large builds,
+memory-hungry test suites — override the per-container allocation. The flags
+pass straight through to Harbor:
+
+```bash title="Give each trial more headroom"
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker \
+ --override-cpus 4 --override-memory-mb 8192 --override-storage-mb 16384
+```
+
+To make the sizing part of the skill's run policy instead of a flag, set
+`harbor.resources` (`cpus`, `memory_mb`, `storage_mb`) in `evals/config.yml`
+— see [Eval Datasets](eval-datasets.mdx). A trial that dies mid-run with the
+agent process killed is the classic out-of-memory symptom; raise
+`--override-memory-mb` first.
+
+### Custom Dockerfiles
+
+When a skill ships its own `evals/environment/Dockerfile`,
+`--custom-dockerfile-mode` decides how it combines with the eval image:
+
+| Value | Effect |
+| --- | --- |
+| `rebase` (built-in default) | Swaps your `FROM` line onto the eval base image, keeping the rest of your Dockerfile. |
+| `preserve` | Keeps your `FROM` exactly as written and appends the eval dependencies on top. |
+
+Environment rules — size limits, auto-generated fallbacks, and sidecar
+containers — are part of the `evals/` contract in
+[Eval Datasets](eval-datasets.mdx).
+
+## Local mode
+
+<Warning>
+Local mode is experimental and executes the agent directly on your host
+rather than in a container. Its OS sandbox is designed for trusted skills
+and workspaces on a developer machine — use Docker or a remote Harbor backend for
+untrusted code. Every local run prints a "Local mode · Experimental"
+warning panel.
+</Warning>
+
+`--env-mode local` skips containers entirely: the agent CLI already installed
+on your machine runs the trials, wrapped in an OS-level sandbox. On Linux that
+is Bubblewrap — kernel namespace isolation, a read-only view of the system,
+writes confined to the run directories, and a network namespace that is
+isolated when the run is airgapped and shared for model egress when network
+is allowed. On macOS it is Seatbelt, which confines reads and writes and —
+even when network is allowed — denies inbound connections, socket binding,
+and Unix sockets (except the `mDNSResponder` DNS socket); it cannot provide
+full process isolation, so it is the weaker of the two. Native Windows is
+hard-unsupported and fails closed before agent-runtime discovery —
+`SKILLEVALUATOR_LOCAL_SANDBOX=prefer` or `off` is not a bypass; the error
+directs you to WSL2 or `--env-mode docker`. Only `claude-code`, `codex`,
+and `opencode` can run in local mode.
+
+The sandbox policy is controlled by environment variables:
+
+| Variable | Default | Effect |
+| --- | --- | --- |
+| `SKILLEVALUATOR_LOCAL_SANDBOX` | `require` | `require` fails closed when no OS sandbox backend is usable; `prefer` degrades to advisory-only guardrails with a loud warning; `off` skips the sandbox entirely — only for skills you fully trust. No value enables native Windows: the platform check rejects the run first. |
+| `SKILLEVALUATOR_LOCAL_ALLOW_NET` | `true` | Network egress for trials. Set to `0` to airgap a skill that must not reach the network — this also blocks NVIDIA Build local agents entirely, since they require network access. |
+| `SKILLEVALUATOR_LOCAL_STRICT_READS` | `false` | Tightens the sandbox's read-only view of the host system to a stricter path set. |
+| `SKILLEVALUATOR_LOCAL_INHERIT_AGENT_KEYS` | `false` | When true, trials inherit the host's agent credential variables into their ambient environment. Off by default so a hostile skill command cannot read them — agents receive credentials per-exec instead. |
+| `SKILLEVALUATOR_RUNTIME_DIR` | `~/.local/share/skillevaluator/runtimes` | Where local mode looks for managed agent CLIs. Must be a dedicated subdirectory — not the home directory or one of its parents. |
+
+Full semantics for each variable are in
+[Environment Variables](environment-variables.mdx). `doctor --env-mode local`
+verifies the sandbox backend and the installed agent CLIs before you commit to
+a run.
+
+## Workspace modes
+
+SkillEvaluator stages the agent's workspace itself, in both arms, so the
+skill under test never leaks into the without-skill baseline — that isolation
+is what keeps Skill Lift trustworthy. Three flags control what else the agent
+can see:
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--skill-workspace-mode [isolated\|group]` | `isolated` | `isolated` stages only the target skill; `group` also stages the sibling skills you name. |
+| `--include-skills PATH` | none | Additional skill directories to stage (repeatable). Requires group mode, via the flag or `skill_workspace.mode: group` in `evals/config.yml`. |
+| `--copy-repo` | off | Copy the surrounding repository into the task environment, for skills that operate on their own repo's files. |
+
+Use group mode when the skill delegates to companion skills and evaluating it
+alone would be unfair; keep the default otherwise — a smaller workspace is a
+cleaner experiment.
+
+## Readiness checks
+
+`doctor` and `health-check` run the same readiness checks and exit `0` only
+when every check passes, so either can gate a script or CI job.
+
+### doctor
+
+```bash title="Readiness check before the first run"
+skillevaluator doctor --agents codex --env-mode docker
+```
+
+`doctor` prints a check-by-check table and names exactly what is missing:
+
+| Check | What it verifies |
+| --- | --- |
+| CLI package | SkillEvaluator is installed, with its version. |
+| Public LLM provider | The evaluator provider resolves — the key that powers dataset generation and grading. |
+| Agent runtime credential | The full credential and model plan for each selected agent resolves — the same plan a real run would use, including the host credentials the agents need. |
+| Harbor agents | Every requested agent name is known. |
+| `<env-mode>` prerequisite | The selected `--env-mode` is usable — Docker Compose responds, the local sandbox and agent CLIs are ready, or the selected Harbor backend's prerequisites are met. |
+
+`doctor` also accepts `--agent-model AGENT=MODEL` (repeatable), so you can
+check the exact model plan a run would use. Add `--verify-models` to probe
+each agent's resolved model live against the provider's catalog — one extra
+pass/fail row per agent, catching a bad model selection before a long run.
+When a probe fails, browse what your credential can actually see with
+`skillevaluator models` (top 10 of the authenticated catalog by default;
+`--limit` and `--json` to adjust).
+
+### health-check
+
+```bash title="Quick readiness check"
+skillevaluator health-check
+```
+
+`health-check` runs the same checks and prints the same table as a plain
+`doctor` run — the only difference is that it lacks two of doctor's flags:
+`--verify-models` and `--agent-model`. Use it as an install smoke test or a
+CI preflight.
+
+## Debug a run
+
+Staged-task and raw Harbor job directories are transient: they are deleted
+by default when a run finishes, on success and on failure alike. Retain them
+with `--harbor-keep-jobs`, then open them with Harbor's own trajectory
+browser — the final Artifacts panel prints the exact `harbor-view` command
+whenever a retained jobs directory exists:
+
+```bash title="Retain job artifacts, then browse them"
+skillevaluator tier3 evaluate ./my-skill --agents codex --harbor-keep-jobs
+skillevaluator harbor-view <jobs-dir>
+```
+
+The retained tree holds the full agent trajectory and grader output for every
+trial — the fastest way to see what an agent actually did. The results layout
+and where `<jobs-dir>` lands on disk are in
+[Reports & Results](reports.mdx); debugging custom graders this way is
+covered in [Custom Graders & Tasks](custom-graders.mdx).
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Tier 3: Live Evaluation" icon="flask" href="tier3-live-evaluation.mdx">
+ The end-to-end run workflow — readiness, dataset, evaluation, and results.
+ </Card>
+ <Card title="Custom Graders & Tasks" icon="terminal" href="custom-graders.mdx">
+ Bring your own grader or Harbor task when the defaults can't express
+ success.
+ </Card>
+</CardGroup>
diff --git a/docs/assets/pipeline-overview.svg b/docs/assets/pipeline-overview.svg
new file mode 100644
index 00000000..1b2dfd16
--- /dev/null
+++ b/docs/assets/pipeline-overview.svg
@@ -0,0 +1,71 @@
+<svg viewBox="0 0 800 260" width="800" height="260" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="pipeline-title pipeline-desc" font-family="ui-sans-serif, system-ui, -apple-system, sans-serif">
+ <style>
+ svg { color: #3a3f45; }
+ @media (prefers-color-scheme: dark) { svg { color: #b0b6bd; } }
+ </style>
+ <title id="pipeline-title">SkillEvaluator three-tier pipeline</title>
+ <desc id="pipeline-desc">A skill directory flows through Tier 1 static validation, Tier 2 semantic deduplication, and Tier 3 live agent evaluation, producing reports and a verdict.</desc>
+ <defs>
+ <marker id="arrow" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
+ <path d="M0.5 0.8 L7.2 4 L0.5 7.2" fill="none" stroke="currentColor" stroke-opacity="0.5" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
+ </marker>
+ </defs>
+
+ <!-- Input: skill directory -->
+ <g>
+ <rect x="10" y="98" width="84" height="64" rx="10" fill="currentColor" fill-opacity="0.05" stroke="currentColor" stroke-opacity="0.35" stroke-width="1" stroke-dasharray="4 3"/>
+ <text x="52" y="126" text-anchor="middle" font-size="13" font-weight="600" fill="currentColor">Skill</text>
+ <text x="52" y="144" text-anchor="middle" font-size="10" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" fill="currentColor" fill-opacity="0.6">SKILL.md</text>
+ </g>
+
+ <!-- Tier 1 -->
+ <g>
+ <rect x="114" y="60" width="178" height="140" rx="12" fill="currentColor" fill-opacity="0.07" stroke="currentColor" stroke-opacity="0.4" stroke-width="1"/>
+ <text x="203" y="88" text-anchor="middle" font-size="10" font-weight="600" letter-spacing="1.6" fill="currentColor" fill-opacity="0.5">TIER 1</text>
+ <text x="203" y="111" text-anchor="middle" font-size="14" font-weight="600" fill="currentColor">Static validation</text>
+ <text x="203" y="134" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.65">Deterministic quality gates</text>
+ <text x="203" y="150" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.65">security, PII — offline</text>
+ <line x1="132" y1="166" x2="274" y2="166" stroke="currentColor" stroke-opacity="0.15" stroke-width="1"/>
+ <text x="203" y="184" text-anchor="middle" font-size="9.5" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" fill="currentColor" fill-opacity="0.7">validate · rubric-eval</text>
+ </g>
+
+ <!-- Tier 2 -->
+ <g>
+ <rect x="311" y="60" width="178" height="140" rx="12" fill="currentColor" fill-opacity="0.07" stroke="currentColor" stroke-opacity="0.4" stroke-width="1"/>
+ <text x="400" y="88" text-anchor="middle" font-size="10" font-weight="600" letter-spacing="1.6" fill="currentColor" fill-opacity="0.5">TIER 2</text>
+ <text x="400" y="111" text-anchor="middle" font-size="14" font-weight="600" fill="currentColor">Semantic dedup</text>
+ <text x="400" y="134" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.65">Embedding-based overlap</text>
+ <text x="400" y="150" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.65">within and across skills</text>
+ <line x1="329" y1="166" x2="471" y2="166" stroke="currentColor" stroke-opacity="0.15" stroke-width="1"/>
+ <text x="400" y="184" text-anchor="middle" font-size="9.5" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" fill="currentColor" fill-opacity="0.7">dedup-scan · similarity-check</text>
+ </g>
+
+ <!-- Tier 3 -->
+ <g>
+ <rect x="508" y="60" width="178" height="140" rx="12" fill="currentColor" fill-opacity="0.07" stroke="currentColor" stroke-opacity="0.4" stroke-width="1"/>
+ <text x="597" y="88" text-anchor="middle" font-size="10" font-weight="600" letter-spacing="1.6" fill="currentColor" fill-opacity="0.5">TIER 3</text>
+ <text x="597" y="111" text-anchor="middle" font-size="14" font-weight="600" fill="currentColor">Live agent evaluation</text>
+ <text x="597" y="134" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.65">Sandboxed A/B runs</text>
+ <text x="597" y="150" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.65">with skill vs. without</text>
+ <line x1="526" y1="166" x2="668" y2="166" stroke="currentColor" stroke-opacity="0.15" stroke-width="1"/>
+ <text x="597" y="184" text-anchor="middle" font-size="9.5" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" fill="currentColor" fill-opacity="0.7">tier3 evaluate · compare</text>
+ </g>
+
+ <!-- Output: reports and verdict -->
+ <g>
+ <rect x="705" y="98" width="85" height="64" rx="10" fill="currentColor" fill-opacity="0.12" stroke="currentColor" stroke-opacity="0.45" stroke-width="1"/>
+ <text x="747.5" y="126" text-anchor="middle" font-size="13" font-weight="600" fill="currentColor">Reports</text>
+ <text x="747.5" y="144" text-anchor="middle" font-size="10" fill="currentColor" fill-opacity="0.6">verdict · lift</text>
+ </g>
+
+ <!-- Arrows -->
+ <g stroke="currentColor" stroke-opacity="0.5" stroke-width="1.4">
+ <line x1="96" y1="130" x2="110" y2="130" marker-end="url(#arrow)"/>
+ <line x1="294" y1="130" x2="307" y2="130" marker-end="url(#arrow)"/>
+ <line x1="491" y1="130" x2="504" y2="130" marker-end="url(#arrow)"/>
+ <line x1="688" y1="130" x2="701" y2="130" marker-end="url(#arrow)"/>
+ </g>
+
+ <!-- Caption -->
+ <text x="400" y="234" text-anchor="middle" font-size="11" fill="currentColor" fill-opacity="0.5">Each tier is an independent entry point — run any command directly</text>
+</svg>
diff --git a/docs/ci-integration.mdx b/docs/ci-integration.mdx
new file mode 100644
index 00000000..dbd0fc02
--- /dev/null
+++ b/docs/ci-integration.mdx
@@ -0,0 +1,240 @@
+---
+title: Gate Your CI
+description: Make SkillEvaluator a merge gate — exit codes, a copy-paste GitHub Actions workflow, collection validation, progressive adoption, and machine-readable results.
+---
+
+Turn SkillEvaluator into a merge gate for your skill repository. The recommended gate runs entirely offline — no API key, no network calls beyond installing the tools — so you can adopt it in any CI system today and layer LLM-backed checks on later.
+
+## Exit codes
+
+`skillevaluator validate` communicates pass/fail through its exit code, so a plain `run:` step is already a gate — no output parsing required.
+
+| Exit code | Meaning | What to do |
+| --- | --- | --- |
+| `0` | Success — every gating check passed | Merge |
+| `1` | Validation failed — one or more gating checks failed | Fix the skill; read the report |
+| `2` | Configuration error — bad flags or an unreadable target | Fix the pipeline, not the skill |
+| `3` | Runtime error — an unexpected internal failure | Re-run; the skill was never judged. File an issue if it persists |
+
+Tier 1 checks gate the exit code — and so do Tier 2 deduplication findings when dedup runs (the recommended gate below disables it with `--no-dedup`). Tier 3 live-evaluation results are always advisory inside `validate`: they appear in the reports but never flip a passing run to `1`. That means you can layer Tier 3 on later without destabilizing the gate.
+
+## The recommended gate
+
+```bash title="Keyless CI gate"
+skillevaluator validate ./skills --external --no-dedup -r json,markdown -o reports --min-score 70
+```
+
+Each flag earns its place:
+
+- **`--external`** pins the public-publication profile explicitly instead of relying on the environment, so the gate behaves identically on every runner. The active profile name is stamped into the HTML report and `BENCHMARK.md` (and printed in the run banner with `--verbose`), so a run always records which gate was applied.
+- **`--no-dedup`** skips Tier 2, which needs an embedding-capable provider key (`--no-tier2` is an equivalent alias). Without it the run is fully keyless and hermetic. Drop this flag once you add a provider secret.
+- **`-r json,markdown`** writes a machine-readable report for your pipeline and a Markdown report you can post as a PR comment.
+- **`-o reports`** collects everything in one directory for artifact upload.
+- **`--min-score 70`** is the default quality bar, written out explicitly so raising it later is a visible one-line diff.
+
+## GitHub Actions recipe
+
+A complete workflow: install with uv, add the external Semgrep, SkillSpector,
+and Gitleaks scanners for a complete security result, validate, upload the
+reports, and post the Markdown report on the pull request.
+
+```yaml title="ci.yml"
+name: Validate skills
+
+on:
+ pull_request:
+ paths:
+ - "skills/**"
+
+jobs:
+ validate:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: write
+ steps:
+ - uses: actions/checkout@v7
+
+ - name: Install uv
+ uses: astral-sh/setup-uv@v8
+ with:
+ python-version: "3.13"
+
+ - name: Install SkillEvaluator
+ run: uv tool install --python 3.13 "skillevaluator[security] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
+
+ - name: Install external Python scanners
+ run: |
+ uv tool install semgrep
+ uv tool install git+https://github.com/NVIDIA/SkillSpector.git
+
+ - name: Install Gitleaks
+ run: |
+ GITLEAKS_VERSION=8.30.0
+ curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \
+ | tar -xz gitleaks
+ sudo mv gitleaks /usr/local/bin/
+
+ - name: Validate skills
+ run: |
+ skillevaluator validate ./skills --external --no-dedup \
+ -r json,markdown -o reports --min-score 70
+
+ - name: Upload reports
+ if: always()
+ uses: actions/upload-artifact@v7
+ with:
+ name: skillevaluator-reports
+ path: reports/
+
+ - name: Post the Markdown report as a PR comment
+ if: always() && github.event_name == 'pull_request'
+ uses: actions/github-script@v9
+ with:
+ script: |
+ const fs = require("fs");
+ const [latest] = fs.readdirSync("reports")
+ .filter((f) => f.endsWith(".md"))
+ .sort()
+ .reverse();
+ if (!latest) return;
+ await github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body: fs.readFileSync(`reports/${latest}`, "utf8"),
+ });
+```
+
+The `security` extra installs Bandit and pip-audit. Semgrep and SkillSpector
+stay in separate uv tool environments, while Gitleaks is installed from its
+official [releases](https://github.com/gitleaks/gitleaks/releases). Report
+filenames embed a sortable timestamp (`skillevaluator-output-<timestamp>.md`),
+which is why a lexicographic sort finds the newest one. The `if: always()`
+conditions keep reports flowing even when validation fails — which is exactly
+when you want them.
+
+The same shape ports to any CI system: install, run `validate`, gate on the exit code, archive `reports/`.
+
+## Validating collections
+
+Point `validate` at a folder of skills and it validates each one:
+
+```bash title="Validate a whole collection"
+skillevaluator validate ./skills --external --no-dedup -c -r json,markdown -o reports
+```
+
+Two flags control how a multi-skill run behaves:
+
+| Flag | Behavior | Use it when |
+| --- | --- | --- |
+| `-c`, `--continue-on-failure` | Runs the full pipeline without stopping early and records every issue; for folder targets, keeps scanning every skill past a CRITICAL finding | You want one complete report per CI run (recommended for gates) |
+| `--fail-fast` | Stops on the first failing check | You want the fastest possible red signal |
+
+`-c` overrides `--fail-fast` if both are passed. For a merge gate, prefer `-c`: contributors get the complete picture in one run instead of a fix-push-repeat loop.
+
+## Adopt progressively
+
+You do not have to turn on the strictest gate on day one. A path that works well:
+
+<Steps>
+ ### Start advisory
+
+ Run the gate but never fail the build. Contributors see reports and get used to the findings before anything blocks a merge.
+
+ ```bash title="Report-only mode"
+ skillevaluator validate ./skills --external --no-dedup -r markdown -o reports || true
+ ```
+
+ ### Gate on Tier 1
+
+ Remove the `|| true`. Exit code `1` now blocks merges on schema, security, PII, license, code-integrity, Unicode, and quality failures — all still keyless. (The `lint` check also runs, but its findings are advisory warnings and never fail validation.)
+
+ ### Raise the quality bar
+
+ Bump `--min-score` above the default `70` once your collection consistently clears it. The score and grade in each report tell you where the collection stands before you move the line.
+
+ ### Add LLM-backed checks
+
+ Add a provider key as a masked CI secret, set `SKILL_EVAL_LLM_PROVIDER`, then add `--llm` (and `--llm-verify` to suppress false positives) and drop `--no-dedup` so Tier 2 overlap checks run too. Note that once dedup runs, its findings gate the exit code alongside Tier 1. See [Providers & Credentials](configuration.mdx) for provider setup.
+
+ ### Add an advisory Tier 3 job
+
+ Run live agent evaluation as a separate, non-blocking job — either `skillevaluator tier3 evaluate` on its own or `validate --tier3` (`--agent-eval` still works as an alias, and `validate --full` runs Tier 1+2+3 in one shot). Tier 3 results never gate `validate`'s exit code; the standalone `tier3 evaluate` exits non-zero only when the run itself fails to complete. Expose agent credentials as CI secrets in the job environment — the `env:` block of the workflow step — because SkillEvaluator reads operator credentials from the host environment only. With the `nv_build` provider and `--env-mode docker`, a single `NVIDIA_API_KEY` secret covers the evaluator and all three agents. See [Tier 3: Live Evaluation](tier3-live-evaluation.mdx).
+</Steps>
+
+<Note>
+Keep provider and agent keys as masked CI secrets in the job environment — never in the repo or in `evals/config.yml`. SkillEvaluator enforces this: a `harbor.runtime_env` entry that names or `${VAR}`-references an operator-owned credential (such as `OPENAI_API_KEY` or `NVIDIA_API_KEY`) fails the Tier 3 run with a hard error.
+</Note>
+
+## Custom policy in CI
+
+If the default `external` profile is too loose or too strict for your repository, commit a policy overlay next to your skills and pin it in the gate. Severity decisions then get reviewed like code:
+
+```yaml title="policy.yaml"
+profile: community-strict
+identity:
+ author_email_regex: '<[^>]+@example\.org>'
+severity_overrides:
+ SCHEMA.author_missing: critical
+ LICENSE.*: critical
+```
+
+```bash title="Gate with a pinned policy"
+skillevaluator validate ./skills --external --policy ./policy.yaml --no-dedup -r json,markdown -o reports
+```
+
+The policy overlays the external profile, and the resulting profile name is stamped into the HTML report and `BENCHMARK.md` (and printed in the run banner with `--verbose`) — so a run always tells you which gate produced it. Full overlay syntax is on the [Tier 1: Validation](tier1-validation.mdx) page.
+
+## Parse the JSON
+
+When the exit code is not enough — dashboards, custom thresholds, badge generation — read `reports/skillevaluator-output-<timestamp>.json`. The fields CI cares about sit at the top level:
+
+| Field | Type | Contents |
+| --- | --- | --- |
+| `overall_passed` | boolean | `true` when every check passed |
+| `overall_status` | string | `passed`, `failed`, or `incomplete` (a required scanner produced no evidence) |
+| `severity_counts` | object | Totals for `critical`, `high`, `medium`, `low` |
+| `total_errors`, `total_warnings` | number | Aggregate counts across all validators |
+| `skills` | array | Per-skill `{ name, passed, issue_count }` |
+| `quality_summary` | array | Quality details with `overall_score` (0–100) and `grade` (A–F); a folder target reports the collection average plus a `skill_count` |
+
+A step that enforces a stricter score than the built-in gate:
+
+```bash title="Gate on quality score with jq"
+report=$(ls -t reports/skillevaluator-output-*.json | head -1)
+jq -e '([.quality_summary[]?.overall_score] | min // 100) >= 80' "$report"
+```
+
+`jq -e` exits non-zero when the expression is false, so the step fails the job on its own. For Tier 3 payloads and the full results-on-disk layout, see [Reports & Results](reports.mdx).
+
+## Troubleshooting
+
+<AccordionGroup>
+ <Accordion title="The run exits 2 instead of 1">
+ Exit code `2` is a configuration error — a bad flag or an unreadable target path. Fix the pipeline; the skill was never judged. (Passing `--llm` without a configured provider does not exit `2`: the LLM-backed scanner is marked incomplete and the run fails with `1`.)
+ </Accordion>
+ <Accordion title="overall_status is 'incomplete'">
+ A required scanner is missing or returned no evidence — most often Gitleaks is not installed on the runner. The scanners fail closed: `validate` exits non-zero and the report stays non-green until the scanner is installed and returns valid evidence (see the workflow above).
+ </Accordion>
+ <Accordion title="The report artifact is empty">
+ Make sure the artifact `path` matches your `-o` directory and that the upload step carries `if: always()` — otherwise a failed gate skips the upload, and you lose the report exactly when you need it.
+ </Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Reports & Results" icon="book" href="reports.mdx">
+ What every report format contains and how to read scores, severities, and Tier 3 payloads.
+ </Card>
+ <Card title="Tier 1: Validation" icon="shield" href="tier1-validation.mdx">
+ Every check behind the gate — what it inspects and how to fix findings.
+ </Card>
+ <Card title="Providers & Credentials" icon="flask" href="configuration.mdx">
+ Add an LLM provider to unlock `--llm`, Tier 2 dedup, and Tier 3.
+ </Card>
+ <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ The complete flag reference for `validate` and every other command.
+ </Card>
+</CardGroup>
diff --git a/docs/cli-reference.mdx b/docs/cli-reference.mdx
new file mode 100644
index 00000000..9f5f36e6
--- /dev/null
+++ b/docs/cli-reference.mdx
@@ -0,0 +1,460 @@
+---
+title: "CLI Reference"
+description: "Every SkillEvaluator command, flag, and default — validate, quality-check, similarity-check, tier3 evaluate, and the tier1/tier2/tier3 expert groups."
+layout: reference
+---
+
+{/* Maintenance note: this page is generated from the `skillevaluator --help` output.
+ Regenerate the help dump and re-verify every flag table against it each release. */}
+
+This page lists every `skillevaluator` command with its full flag set and exact defaults. If you want task-oriented guidance instead, start from the tier guides: [Tier 1: Validation](tier1-validation.mdx), [Tier 2: Deduplication](tier2-deduplication.mdx), and [Tier 3: Live Evaluation](tier3-live-evaluation.mdx).
+
+## Command map
+
+| Command | Purpose | Needs |
+| --- | --- | --- |
+| [validate](#validate) | Run Tier 1 checks plus Tier 2 dedup by default (both gate the exit code), optional advisory Tier 3 | Nothing by default |
+| [quality-check](#quality-check) | Score skill quality across four weighted categories | Nothing |
+| [rubric-eval](#rubric-eval) | LLM-as-judge rubric evaluation | LLM provider key |
+| [security-scan](#security-scan) | Scan for security vulnerabilities | Nothing (key only with `--llm`/`--llm-verify`) |
+| [pii-scan](#pii-scan) | Scan for PII and local identifiers | Nothing (key only with `--llm-verify`) |
+| [lint-scripts](#lint-scripts) | Advisory lint checks on skill scripts | Nothing |
+| [context-optimization-check](#context-optimization-check) | Detect redundant content within one skill | Embeddings + LLM provider key |
+| [dedup-scan](#dedup-scan) | Alias of `context-optimization-check` | Embeddings + LLM provider key |
+| [similarity-check](#similarity-check) | Detect duplicate content across a collection | Embeddings provider key |
+| [tier3 evaluate](#tier3-evaluate) | Run Tier 3 live agent evaluation | Provider key plus a credential the selected agents can use (one `NVIDIA_API_KEY` covers both on NVIDIA Build), backend (Docker by default) |
+| [create-eval-dataset](#create-eval-dataset) | Generate synthetic eval datasets | LLM provider key (none with `--no-llm`) |
+| [init-custom-grader](#init-custom-grader) | Scaffold a bring-your-own-grader starter | Nothing |
+| [init-harbor-task](#init-harbor-task) | Scaffold a bring-your-own-task Harbor starter | Nothing |
+| [view](#view) | Open the latest HTML live-evaluation report | A previous `tier3 evaluate` run |
+| [compare](#compare) | Compare live-evaluation results across agents | A previous `tier3 evaluate` run |
+| [harbor-view](#harbor-view) | Browse retained Harbor job artifacts | A run made with `--harbor-keep-jobs` |
+| [doctor](#doctor) | Live-evaluation readiness check | Nothing |
+| [health-check](#health-check) | Quick CLI + backend readiness check | Nothing |
+| [models](#models) | List a filtered view of the selected provider's authenticated catalog | Provider key |
+| [tier3 validate](#tier3-validate) | Validate `evals/` and the optional Harbor contract | Nothing |
+
+## Global conventions
+
+**Reports.** Every Tier 1 and Tier 2 command accepts the same two report options:
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `-r, --report [cli\|json\|html\|markdown]` | `cli` | Report format(s). Accepts comma- or space-separated values (`-r cli,json,html` or `-r cli json html`) and may be repeated. The compact default view writes html+json unless `-r` is passed explicitly, which is honored exactly (including `cli`). |
+| `-o, --output-dir DIRECTORY` | `reports` | Directory for generated reports. |
+
+In practice: a default `validate` run (no `-r`) shows the compact pipeline view **and** writes `json` + `html` report files; passing `-r` takes over completely — `-r cli` really means terminal output only, no files. The standalone commands take the `cli` default literally: they print the full terminal report and write files only for the formats you request with `-r`. A `validate` run writes `skillevaluator-output-<timestamp>.json` / `.html` (plus `.md` with `-r markdown`); standalone commands write a fixed `skillevaluator-<kind>` basename (for example `skillevaluator-quality.json`), so a re-run overwrites the previous report. Filename conventions and report anatomy live in [Reports & Results](reports.mdx).
+
+**Exit codes.** Commands communicate through a small exit-code contract — this is what your CI gates on (see [Gate Your CI](ci-integration.mdx)):
+
+| Code | Meaning |
+| --- | --- |
+| `0` | Success |
+| `1` | Validation failed, or the run could not complete |
+| `2` | Configuration error — bad flags or an unreadable target |
+| `3` | Runtime error — an unexpected internal failure |
+
+**Version.** `skillevaluator --version` prints the installed version.
+
+## Expert tier groups
+
+Most commands are also reachable under a tier-prefixed group — `skillevaluator tier1 validate` behaves exactly like `skillevaluator validate`. The groups exist so you can discover a tier's commands in one place:
+
+| Group | Members |
+| --- | --- |
+| `tier1` | `validate`, `quality-check`, `rubric-eval`, `security-scan`, `pii-scan`, `lint-scripts` |
+| `tier2` | `context-optimization-check`, `dedup-scan`, `similarity-check` |
+| `tier3` | `evaluate`, `create-eval-dataset`, `init-custom-grader`, `init-harbor-task`, `doctor`, `view`, `compare`, `validate`, `harbor-view` |
+
+The exceptions run in both directions. `health-check` and [models](#models) are top-level only, with no tier-prefixed twin. And two commands are advertised **only** inside the `tier3` group: [tier3 evaluate](#tier3-evaluate), documented with its full flag set below, and `tier3 validate`:
+
+### tier3 validate
+
+Validate the Tier 3 `evals/` directory and the optional Harbor bring-your-own-task contract before you spend money on a live run. The dataset and directory rules it enforces are documented in [Eval Datasets](eval-datasets.mdx).
+
+```bash title="Check evals/ before a live run"
+skillevaluator tier3 validate ./my-skill --strict
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--json` | off | Emit JSON output. |
+| `--strict` | off | Treat warnings as failures. |
+| `--harbor-contract` | off | Validate the Harbor task and reward contract (see [Custom Graders & Tasks](custom-graders.mdx)). |
+
+## validate
+
+Validate a skill, rule, workflow, or plugin. Tier 1 static, security, and quality checks gate the exit code — and so do Tier 2 deduplication findings when that pass runs (on by default, degrading gracefully without embedding access); Tier 3 live evaluation attaches as an advisory pass when enabled with `--tier3`, `--autopilot`, `--full`, or the `--agent-eval` alias.
+
+```bash title="Common invocations"
+skillevaluator validate ./my-skill # Tier 1 + Tier 2
+skillevaluator validate ./my-skill --llm # add LLM security analysis
+skillevaluator validate ./my-skill -r cli,json,html # multiple report formats
+skillevaluator validate ./my-skill --no-dedup # skip Tier 2 dedup
+skillevaluator validate ./my-skill --external # strict publication profile
+skillevaluator validate ./my-skill --tier3 -a codex # add advisory Tier 3 eval
+skillevaluator validate ./my-skill --autopilot # Tier 3, generating evals if missing
+skillevaluator validate ./my-skill --full -a codex # everything, one shot
+skillevaluator validate ./my-skill --tiers 1,3 # explicit tier selection
+skillevaluator validate ./skills-folder --full # whole catalog, serially
+skillevaluator validate ./my-skill --tier3 -a codex,claude-code \
+ --env-mode docker --harbor-keep-jobs # Tier 3, retain Harbor jobs
+```
+
+Pointing `validate` at a directory of skills (one with no root `SKILL.md`) runs the whole pipeline serially for each skill inside it and finishes with a per-skill summary — catalog validation in one command. By default the terminal shows a compact pipeline view; `--verbose` switches to the full per-check detail stream.
+
+`--help` groups the flags into four panels, mirrored by the subsections below.
+
+### Run & Reports
+
+Applies to the whole run: target typing, policy profile, reports, tier selection.
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--type [skill\|rules\|workflows\|plugin\|auto]` | `auto` | Force the content type instead of auto-detecting it from the target path. |
+| `--tiers TEXT` | unset | Explicit tier selection, e.g. `--tiers 1,3`. Tier 1 always runs. |
+| `--full` | off | One-shot validation: Tier 1+2+3 with `--autopilot` dataset generation. |
+| `--verbose` | off | Print the full per-check detail stream instead of the compact pipeline view. |
+| `--profile TEXT` | `$SKILLEVALUATOR_PROFILE`, then `external` | Validation profile: `external` or a custom name. |
+| `--external` | — | Shortcut for `--profile external` (validate for public publication). |
+| `--policy FILE` | none | Custom policy YAML overlaid on top of `--profile`. |
+
+Auto-detection recognizes: a `SKILL.md` for skills, `.mdc` files for rules, `workflow-rules.mdc` for workflows, and — for plugins — a bundle-reference `agent_plugin.yaml`/`.yml` manifest or a contained `.claude-plugin/plugin.json` manifest. Plugins are validated against their public contract; quality, lint, and version checks are skill-only and skipped for plugins.
+
+`validate` also takes the standard `-r/--report` and `-o/--output-dir` options described under [Global conventions](#global-conventions).
+
+### Tier 1 · Static & Security
+
+Static checks; LLM-free by default. Tier 1 gates the exit code and always runs.
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--checks, --tier1-checks TEXT` | all applicable | Comma-separated subset of Tier 1 checks. Choices: `schema`, `security`, `pii`, `license`, `code-integrity`, `unicode`, `quality`, `lint`; opt-in (not run by default): `version`, `dependency`. `quality`/`lint`/`version` are skill-only and skipped for rules and workflows. |
+| `--fail-fast` | off | Stop on the first failing check instead of collecting all issues. |
+| `-c, --continue-on-failure` | off | Run the full pipeline without stopping early; record all issues in the reports. Overrides `--fail-fast`, and for folder validation keeps scanning every skill past a CRITICAL finding. |
+| `--llm, --tier1-llm / --no-llm, --no-tier1-llm` | `no-llm` | Enable LLM-backed security analysis (requires a configured public provider — see [Providers & Credentials](configuration.mdx)). |
+| `--llm-verify` | off | Run a second LLM pass to suppress false-positive findings. |
+| `--min-score INTEGER` | `70` | Minimum quality score (0–100) required to pass when the `quality` check runs. |
+
+### Tier 2 · Deduplication
+
+Embedding + LLM dedup; on by default, skips gracefully without a provider key.
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--dedup, --tier2 / --no-dedup, --no-tier2` | `dedup` | Run Tier 2 intra-skill semantic-overlap checks. On by default; skipped gracefully without public embedding access. Use `--no-tier2` (or `--no-dedup`) to disable. |
+
+### Tier 3 · Live Agent Evaluation
+
+<Note>
+The following flags are forwarded to the live-eval engine **only when Tier 3 is enabled** — with `--tier3`, `--autopilot`, `--full`, or the `--agent-eval` alias. On their own they have no effect. The Dockerfile-, workspace-, resource-, preflight-, and progress-tuning flags (`--custom-dockerfile-mode`, `--skill-workspace-mode`, the `--override-*` flags, `--agent-runtime-preflight`, and `--progress`) are not forwardable — use the standalone [tier3 evaluate](#tier3-evaluate) command for those.
+</Note>
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--tier3, --agent-eval` | off | Also run Tier 3 live agent evaluation (requires `evals/evals.json`). Advisory: it never changes the exit code. `--tier3` is the primary name; `--agent-eval` is a retained alias. |
+| `--autopilot` | off | Generate an evaluation source automatically when missing, then run Tier 3 (implies `--tier3`). |
+| `-a, --agents TEXT` | `codex` | Comma-separated Harbor agents to evaluate. |
+| `--env-mode` | `docker` | Harbor environment backend (full list under [tier3 evaluate](#tier3-evaluate)). |
+| `--skip-baseline` | off | Skip the without-skill baseline (no lift analysis, faster). |
+| `--n-concurrent INTEGER` | unset | Concurrent eval cases per agent. |
+| `--max-agents INTEGER` | unset | Maximum agents to run in parallel. |
+| `--n-attempts INTEGER` | unset | Attempts per eval case (pass@k). |
+| `--pass-threshold FLOAT` | unset | Score threshold (0.0–1.0) for a case to count as passed. |
+| `--stop-on-pass / --no-stop-on-pass` | unset | Stop a case's remaining attempts once one passes. |
+| `--model TEXT` | unset | Global agent model override. |
+| `--agent-model TEXT` | unset | Per-agent model override, `AGENT=MODEL` (repeatable). |
+| `--grading-mode [default\|default_plus_custom\|custom_only]` | unset | Reward/grading mode for live eval. |
+| `--results-dir DIRECTORY` | unset | Directory for Harbor live-eval results. |
+| `--include-skills PATH` | none | Additional skill(s) to mount into the eval environment (repeatable; paths must exist). Requires group workspace mode, set via `skill_workspace.mode: group` in `evals/config.yml`. |
+| `--copy-repo` | off | Copy the surrounding repo into the eval environment. |
+| `--timeout-multiplier FLOAT` | unset | Scale Harbor step timeouts. |
+| `--harbor-keep-jobs` | off | Retain Harbor job dirs and artifacts after the run for inspection. |
+
+Flags marked "unset" fall back to their matching keys in `evals/config.yml` where one exists, then to the built-in defaults ([Eval Datasets](eval-datasets.mdx) documents the config keys and precedence). The exception is `--results-dir`, which resolves independently of `evals/config.yml` (see [Reports & Results](reports.mdx)).
+
+## quality-check
+
+Score skill quality across correctness, discoverability, reliability, and efficiency. Runs entirely offline — no API key.
+
+```bash title="Keyless quality score"
+skillevaluator quality-check ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--min-score INTEGER` | `70` | Minimum score required to pass. |
+
+Plus the standard report options. Scoring weights and grade bands are documented in [Tier 1: Validation](tier1-validation.mdx).
+
+## rubric-eval
+
+Run LLM-as-judge rubric evaluation for a skill against nine weighted criteria. Requires a configured LLM provider.
+
+```bash title="LLM rubric evaluation"
+skillevaluator rubric-eval ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--min-score INTEGER` | `70` | Minimum score required to pass. |
+
+Plus the standard report options.
+
+## security-scan
+
+Scan for security vulnerabilities using the static scanner stack. Keyless by default; the LLM flags require a configured provider.
+
+```bash title="Static security scan"
+skillevaluator security-scan ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--llm / --no-llm` | `no-llm` | Enable LLM security analysis. |
+| `--llm-verify` | off | Use LLM verification to reduce false positives. |
+
+Plus the standard report options.
+
+## pii-scan
+
+Scan for PII and local identifiers (emails, credentials, home paths, and more).
+
+```bash title="PII scan"
+skillevaluator pii-scan ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--llm-verify` | off | Use LLM verification to reduce false positives. |
+
+Plus the standard report options.
+
+## lint-scripts
+
+Run advisory lint checks on skill scripts. Takes only the standard report options.
+
+```bash title="Advisory script lint"
+skillevaluator lint-scripts ./my-skill
+```
+
+## context-optimization-check
+
+Detect redundant content within one skill (intra-skill deduplication). Needs an embeddings-capable provider plus a chat LLM for the verification stage — see [Tier 2: Deduplication](tier2-deduplication.mdx).
+
+```bash title="Intra-skill redundancy check"
+skillevaluator context-optimization-check ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--threshold FLOAT` | `0.8` | Similarity threshold for clustering candidate duplicates. |
+| `--model TEXT` | provider default | Embedding model override. |
+| `--llm-model TEXT` | provider default | LLM model override for the verification stage. |
+
+Plus the standard report options.
+
+## dedup-scan
+
+Alias of [context-optimization-check](#context-optimization-check) — same behavior, same flags (`--threshold` default `0.8`, `--model`, `--llm-model`, plus the standard report options).
+
+```bash title="Same check, alias name"
+skillevaluator dedup-scan ./my-skill
+```
+
+## similarity-check
+
+Detect duplicate content across a collection with embedding similarity (inter-skill deduplication). Takes a content path — a single item or a folder of them.
+
+```bash title="Compare a collection"
+skillevaluator similarity-check ./skills
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--type [skill\|rules\|workflows\|auto]` | `auto` | Content type of the target. |
+| `--threshold FLOAT` | `0.75` | Minimum similarity to report. |
+| `--full-body` | off | Embed full file bodies instead of descriptions. |
+| `--model TEXT` | provider default | Embedding model override. |
+| `--catalog FILE` | none | Compare exactly one skill against a local catalog. |
+| `--save-catalog FILE` | none | Build and save a versioned local catalog from this collection. |
+
+Plus the standard report options. Classification tiers and catalog rules are in [Tier 2: Deduplication](tier2-deduplication.mdx).
+
+## tier3 evaluate
+
+Run Tier 3 live agent evaluation: real agents attempt your eval cases with and without the skill, and the difference becomes Skill Lift. Requires the `tier3` extra, a provider key for grading, a credential the selected agents can use — with NVIDIA Build in `--env-mode docker` or `local`, the one `NVIDIA_API_KEY` covers both roles — and a running backend (Docker by default). The full walkthrough is [Tier 3: Live Evaluation](tier3-live-evaluation.mdx).
+
+```bash title="Live evaluation with codex in Docker"
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker
+```
+
+<Note>
+The old top-level spelling `skillevaluator evaluate` still works for existing scripts, but no longer appears in `--help`; `tier3 evaluate` is the advertised name.
+</Note>
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `-a, --agents TEXT` | `codex` | Comma-separated Harbor agents. Supported: `claude-code`, `codex`, `opencode`; the alias `claude` is accepted for `claude-code`. See [Agents & Sandboxes](agents-and-sandboxes.mdx). |
+| `--env-mode` | `docker` | Where trials run. All 16 values: `docker`, `daytona`, `e2b`, `modal`, `runloop`, `langsmith`, `gke`, `novita`, `apple-container`, `singularity`, `islo`, `tensorlake`, `cwsandbox`, `wandb`, `use-computer`, `local`. Cloud modes are provider-managed Harbor backends enabled by the matching Harbor extra; `local` runs on your host. See [Agents & Sandboxes](agents-and-sandboxes.mdx). |
+| `--autopilot` | off | Create one eval case when no dataset/task source exists, then evaluate. The case is LLM-generated with the configured provider, with a deterministic keyless template fallback; an existing source is never overwritten. |
+| `--skip-baseline` | off | Skip the without-skill baseline (no lift analysis, faster). |
+| `--n-attempts INTEGER` | unset | Attempts per eval case (pass@k). |
+| `--pass-threshold FLOAT` | unset | Score threshold (0.0–1.0) for a case to count as passed. |
+| `--stop-on-pass / --no-stop-on-pass` | unset | Stop a case's remaining attempts once one passes. |
+| `--n-concurrent INTEGER` | unset | Concurrent eval cases per agent. |
+| `--max-agents INTEGER` | unset | Maximum agents to run in parallel. |
+| `--model TEXT` | unset | Global agent model override. |
+| `--agent-model TEXT` | unset | Per-agent model override, `AGENT=MODEL` (repeatable), e.g. `--agent-model codex=gpt-5.4-mini`. Accepts the `claude` alias for `claude-code`. |
+| `--custom-dockerfile-mode [preserve\|rebase]` | unset | How a custom `evals/environment/Dockerfile` is applied: `rebase` (built-in default) swaps its `FROM` line onto the eval base image; `preserve` keeps your `FROM` and appends the eval dependencies. |
+| `--skill-workspace-mode [isolated\|group]` | unset | `isolated` (built-in default) stages only the target skill in the agent workspace; `group` also stages the skills from `--include-skills` / `skill_workspace.include`. |
+| `--include-skills PATH` | none | Additional skill(s) to mount into the eval environment (repeatable; paths must exist). Requires group workspace mode (`--skill-workspace-mode group` or `skill_workspace.mode: group` in `evals/config.yml`). |
+| `--copy-repo` | off | Copy the surrounding repo into the eval environment. |
+| `--grading-mode [default\|default_plus_custom\|custom_only]` | unset | Reward/grading mode — see [Custom Graders & Tasks](custom-graders.mdx). The legacy aliases `aces_default` (→ `default`) and `aces_plus_custom` (→ `default_plus_custom`) are still accepted. |
+| `--results-dir DIRECTORY` | unset | Directory for live-eval results (precedence rules in [Reports & Results](reports.mdx)). |
+| `--harbor-keep-jobs` | off | Retain Harbor job dirs and artifacts for inspection with [harbor-view](#harbor-view). |
+| `--agent-runtime-preflight / --no-agent-runtime-preflight` | enabled | Run one real, bounded agent smoke task before the full A/B evaluation matrix. |
+| `--timeout-multiplier FLOAT` | unset | Scale Harbor step timeouts. |
+| `--override-cpus INTEGER` | unset | Override eval-environment CPU allocation (passed through to Harbor). |
+| `--override-memory-mb INTEGER` | unset | Override eval-environment memory in MB (passed through to Harbor). |
+| `--override-storage-mb INTEGER` | unset | Override eval-environment storage in MB (passed through to Harbor). |
+| `--progress [auto\|rich\|plain\|off]` | `auto` | Progress display for the run: `rich` live view, `plain` line output, or `off`. |
+
+Without a `--model`/`--agent-model` override, each agent uses the selected provider's default model: `gpt-5.4-mini` on OpenAI, and Nemotron on the NVIDIA provider — `nvidia/nemotron-3-super-120b-a12b` for bridged agents, `nvidia/nemotron-3-nano-30b-a3b` for direct OpenCode.
+
+Flags marked "unset" fall back to their matching keys in `evals/config.yml` where one exists, then to the built-in defaults. The exception is `--results-dir`, which resolves independently of `evals/config.yml`.
+
+## create-eval-dataset
+
+Create synthetic eval datasets for agent skill evaluation, written to `evals/evals.json`. Uses the configured LLM provider unless you pass `--no-llm`. Dataset anatomy and the four case buckets are documented in [Eval Datasets](eval-datasets.mdx).
+
+```bash title="Generate the full dataset"
+skillevaluator create-eval-dataset ./my-skill --full
+```
+
+<Warning>
+`--force` overwrites an existing `evals/evals.json`, including any hand-edited cases. Use `--dry-run` first if you are unsure.
+</Warning>
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--full` | off | Generate the full 4-bucket dataset. |
+| `--no-llm` | off | Use local templates only (no API key needed). |
+| `--dry-run` | off | Preview without writing. |
+| `--force` | off | Overwrite existing `evals/evals.json`. |
+| `--prompt PATH` | none | Developer eval-guidance file for generation (default: auto-detects `evals/EVAL.md`). |
+| `--refine` | off | Refine cases using existing or collected trajectories. |
+| `--from-results PATH` | none | With `--refine`: results path containing agent trajectories (default: latest results). |
+| `--results-dir DIRECTORY` | unset | With `--refine`: external results root to search for trajectories. |
+
+## init-custom-grader
+
+Create a bring-your-own-grader (BYOG) starter under `evals/`. The grader contract it scaffolds is documented in [Custom Graders & Tasks](custom-graders.mdx).
+
+```bash title="Scaffold a Python grader"
+skillevaluator init-custom-grader ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--mode [default_plus_custom\|custom_only]` | `default_plus_custom` | How the custom grader combines with the default graders. |
+| `--language [python\|shell]` | `python` | Grader language. |
+| `--force` | off | Overwrite an existing top-level custom grader. |
+| `--no-config` | off | Only create the grader file; do not create or update `evals/config.yml`. |
+
+## init-harbor-task
+
+Create a bring-your-own-task (BYOT) Harbor starter template under `evals/harbor/`. See [Custom Graders & Tasks](custom-graders.mdx) for how case IDs map to eval entries.
+
+```bash title="Scaffold a Harbor task"
+skillevaluator init-harbor-task ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--force` | off | Overwrite an existing starter case. |
+| `--case-id TEXT` | `case-001` | Harbor case directory and eval entry id. |
+| `--mode [default\|default_plus_custom\|custom_only]` | `custom_only` | Grading mode the starter configures. |
+| `--language [python\|shell]` | `python` | Grader language. |
+| `--with-config` | off | Create or update `evals/config.yml` for native Harbor mode. |
+
+## view
+
+Open the latest HTML live-evaluation report for a skill. If the results exist but `report.html` is missing, `view` regenerates it before opening.
+
+```bash title="Open the latest report"
+skillevaluator view ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--results-dir DIRECTORY` | unset | Results directory to read from (default resolution in [Reports & Results](reports.mdx)). |
+
+## compare
+
+Compare live-evaluation results across agents from previous runs.
+
+```bash title="Compare agents"
+skillevaluator compare ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--results-dir DIRECTORY` | unset | Results directory to read from. |
+
+## harbor-view
+
+Open retained Harbor job artifacts with Harbor's trajectory browser. Takes a jobs directory as its argument and has no options. Jobs are only retained when the original run passed `--harbor-keep-jobs`. `skillevaluator tier3 harbor-view` is an identical tier-prefixed spelling.
+
+```bash title="Browse retained trajectories"
+skillevaluator harbor-view ./path/to/jobs-dir
+```
+
+## doctor
+
+Check live-evaluation runtime readiness: the CLI install, the configured provider, the requested agents and their credentials, and the selected backend. Run it before your first `tier3 evaluate` — see [Agents & Sandboxes](agents-and-sandboxes.mdx) for what each check means.
+
+```bash title="Deep readiness check"
+skillevaluator doctor --agents codex --env-mode docker
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `-a, --agents TEXT` | `codex` | Comma-separated agents to check. |
+| `--env-mode` | `docker` | Backend to check (same 16 values as [tier3 evaluate](#tier3-evaluate)). |
+| `--agent-model TEXT` | unset | Per-agent model override, `AGENT=MODEL` (repeatable) — check readiness with the model each agent will actually run. |
+| `--verify-models` | off | Live per-agent model probe: verifies each agent's resolved model against the provider catalog and prints a pass/fail row per agent, so you can catch a bad model selection before a long run. |
+
+`skillevaluator tier3 doctor` takes the same flags, including `--agent-model` and `--verify-models`.
+
+## health-check
+
+Quick readiness check for the CLI and the selected live-eval backend. Use it as an install smoke test or a fast CI preflight. It differs from [doctor](#doctor) by two flags: `health-check` has no `--agent-model` and no `--verify-models`.
+
+```bash title="Quick readiness check"
+skillevaluator health-check
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `-a, --agents TEXT` | `codex` | Comma-separated agents to check. |
+| `--env-mode` | `docker` | Backend to check (same 16 values as [tier3 evaluate](#tier3-evaluate)). |
+
+## models
+
+List a filtered view of the selected provider's authenticated catalog. Uses the same provider and credential resolution as evaluation (see [Providers & Credentials](configuration.mdx)), so it doubles as a quick check that your key works. A model appearing in the catalog is **not** proof it is compatible with the evaluation harness — use [doctor](#doctor) `--verify-models` for that. Top-level only; there is no tier-prefixed twin.
+
+```bash title="List the provider's models"
+skillevaluator models --limit 20
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--limit INTEGER RANGE` | `10` | Maximum number of catalog entries to show (`1<=x<=100`). |
+| `--json` | off | Emit machine-readable JSON. |
+
+## See also
+
+- [Environment Variables](environment-variables.mdx) — every `SKILL_EVAL_*` and `SKILLEVALUATOR_*` variable
+- [Gate Your CI](ci-integration.mdx) — exit codes and JSON reports as a merge gate
+- [Providers & Credentials](configuration.mdx) — which commands need which key
diff --git a/docs/configuration.mdx b/docs/configuration.mdx
index 9deefc89..fb221f65 100644
--- a/docs/configuration.mdx
+++ b/docs/configuration.mdx
@@ -1,170 +1,245 @@
---
-title: "Configuration"
-description: "The credential map plus provider and embeddings configuration for SkillEvaluator."
+title: "Providers & Credentials"
+description: "Configure LLM providers, embeddings, and agent credentials for SkillEvaluator — and see exactly which commands run with no key at all."
---
-## What needs credentials, and what runs offline
+This page gets SkillEvaluator's LLM-backed features working: choosing a provider, wiring embeddings for Tier 2, and separating evaluator credentials from agent credentials in Tier 3. Most of Tier 1 needs no credential at all — start with the map below to see whether you need a key in the first place.
-Tiers describe evaluation depth; credentials are a separate axis. This is
-the complete map — everything not listed under "needs a provider" runs fully
-offline:
+For the exhaustive variable-by-variable inventory, see [Environment Variables](environment-variables.mdx).
+
+## What needs a key
+
+Tiers describe evaluation depth; credentials are a separate axis. This is the complete map — everything not listed under "needs a provider" runs fully offline:
| Runs with no credential at all | Needs a provider key |
| --- | --- |
-| `validate --no-dedup` (all deterministic checks: schema, security scanners, PII, license, secrets, code-integrity, unicode, quality, lint) | `rubric-eval` — LLM-as-judge scoring (chat LLM) |
+| `validate --no-dedup` (all deterministic checks: schema, security scanners including secret detection, PII, license, code-integrity, unicode, quality, lint) | `rubric-eval` — LLM-as-judge scoring (chat LLM) |
| `quality-check`, `security-scan`, `pii-scan`, `lint-scripts` | `validate --llm` / `security-scan --llm` — deeper LLM security analysis |
| `doctor`, `health-check` (offline readiness probes; missing credentials are reported as not ready) | `--llm-verify` on `validate`, `security-scan`, `pii-scan` — LLM false-positive suppression |
-| | All Tier 2 commands — embeddings API; `context-optimization-check` and `dedup-scan` also use a chat LLM (`similarity-check` is embeddings-only). A local OpenAI-compatible server works too — see [below](#fully-local-tier-2-no-external-calls) |
-| Tier 3 scaffolding and inspection: `create-eval-dataset --no-llm`, `init-custom-grader`, `init-harbor-task`, `tier3 validate`, `view`, and `compare` | Tier 3 LLM dataset generation needs a provider key; `evaluate` needs a provider key plus the selected live agent's own credential |
-
-`validate` without `--no-dedup` stays usable keyless: the Tier 2 dedup pass
-skips gracefully when no embedding provider is configured.
-
-`evaluate --autopilot` can create its missing one-case dataset without a key,
-but the live evaluation that follows still needs the evaluator-provider and
-selected-agent credentials shown above.
-
-## Public Providers
-
-Set `SKILL_EVAL_LLM_PROVIDER` to `openai`, `anthropic`, `nv_build`, `bedrock`,
-or `openai-compatible`. The selected provider determines the credential, and
-each ships a default model that `SKILL_EVAL_LLM_MODEL` overrides:
-
-| Provider (`SKILL_EVAL_LLM_PROVIDER`) | Credential | Endpoint | Default model |
-| --- | --- | --- | --- |
-| `nv_build` | `NVIDIA_API_KEY` | integrate.api.nvidia.com | `nvidia/nemotron-3-nano-30b-a3b` |
-| `anthropic` | `ANTHROPIC_API_KEY` | api.anthropic.com | `claude-sonnet-4-5` |
-| `openai` | `OPENAI_API_KEY` | api.openai.com | `gpt-5.4-mini` |
-| `bedrock` | Standard AWS credential chain; `AWS_REGION` (defaults to `us-west-2`) | AWS Bedrock Runtime | `us.anthropic.claude-sonnet-4-5-20250929-v1:0` |
-| `openai-compatible` | `SKILL_EVAL_LLM_API_KEY` + `SKILL_EVAL_LLM_BASE_URL` + `SKILL_EVAL_LLM_MODEL` | Any OpenAI-compatible URL | _(explicit)_ |
-
-The quickest start is a free NVIDIA API Catalog key from
-[build.nvidia.com](https://build.nvidia.com/), exported as `NVIDIA_API_KEY` —
-it covers LLM judging and Tier 2 embeddings with one credential. For a custom
-OpenAI-compatible endpoint, select `openai-compatible` and set its explicit
-base URL; the public `nv_build` endpoint is fixed and cannot be redirected.
-
-Show a filtered, bounded view of model candidates visible to the selected
-authenticated provider:
-
-```bash
-skillevaluator models
-skillevaluator models --limit 25 --json
-```
-
-The command uses the same provider, configured model, credential, and endpoint
-resolution as evaluation. It does not choose a different provider, rewrite
-model IDs for an agent, or probe a harness. Catalog visibility alone is not
-runtime or end-to-end proof; use `doctor --verify-models` and a live Tier 3 run
-for those checks. Bedrock catalog verification remains in `doctor` because it
-uses the AWS SDK rather than an HTTP `/models` endpoint.
-
-The `--llm` security analysis runs
-[SkillSpector](https://github.com/NVIDIA/SkillSpector), which has its own
-provider environment (`SKILLSPECTOR_PROVIDER` plus per-provider credential
-variables). SkillEvaluator bridges your configured provider automatically for
-that invocation, so the one key above is all you need. For `nv_build`, the
-invocation uses SkillSpector's OpenAI-compatible provider path with the public
-NVIDIA Build endpoint and the structured-output-capable public default model;
-it does not create a second NVIDIA credential name.
-Only the selected provider settings and basic process environment are passed
-to the SkillSpector subprocess; unrelated ambient credentials are not. Setting
-`SKILLSPECTOR_PROVIDER` to a supported public provider keeps that explicit
-SkillSpector configuration authoritative.
+| | All Tier 2 commands — embeddings API; `context-optimization-check` and `dedup-scan` also use a chat LLM (`similarity-check` is embeddings-only). A local OpenAI-compatible server works too — see [Fully local setup](#fully-local-setup) |
+| Tier 3 scaffolding and inspection: `create-eval-dataset --no-llm`, `init-custom-grader`, `init-harbor-task`, `tier3 validate`, `view`, `harbor-view`, and `compare` | Tier 3 LLM dataset generation needs a provider key; `tier3 evaluate` needs a provider key plus a credential the selected live agent can use — with NVIDIA Build in `--env-mode docker` or `local`, one `NVIDIA_API_KEY` covers both roles |
+| | `models` — lists the selected provider's authenticated model catalog |
+
+`validate` without `--no-dedup` stays usable keyless: the Tier 2 dedup pass skips gracefully when no embedding provider is configured.
+
+## Choose an LLM provider
+
+Set `SKILL_EVAL_LLM_PROVIDER` to one of `openai`, `anthropic`, `nv_build`, `bedrock`, or `openai-compatible`. The selected provider determines which credential SkillEvaluator reads. All but `openai-compatible` ship a default model that `SKILL_EVAL_LLM_MODEL` overrides.
+
+<Tabs>
+ <Tab title="OpenAI" language="openai">
+ ```bash title="OpenAI setup"
+ export SKILL_EVAL_LLM_PROVIDER=openai
+ export OPENAI_API_KEY='sk-...'
+ ```
+
+ Default model: `gpt-5.4-mini`, endpoint `https://api.openai.com/v1`. Override the endpoint with `SKILL_EVAL_LLM_BASE_URL` (takes precedence) or `OPENAI_BASE_URL` — but a base URL that is a non-canonical alias of the native OpenAI endpoint is rejected; use `https://api.openai.com/v1` verbatim. On the canonical endpoint, `gpt-5*` models automatically send `max_completion_tokens` instead of `max_tokens`.
+ </Tab>
+ <Tab title="Anthropic" language="anthropic">
+ ```bash title="Anthropic setup"
+ export SKILL_EVAL_LLM_PROVIDER=anthropic
+ export ANTHROPIC_API_KEY='sk-ant-...'
+ ```
+
+ Default model: `claude-sonnet-4-5`, using the Anthropic SDK's default endpoint. Override with `SKILL_EVAL_LLM_BASE_URL` (takes precedence) or `ANTHROPIC_BASE_URL`.
+ </Tab>
+ <Tab title="NVIDIA Build" language="nv_build">
+ ```bash title="NVIDIA Build setup"
+ export SKILL_EVAL_LLM_PROVIDER=nv_build
+ export NVIDIA_API_KEY='nvapi-...'
+ ```
+
+ Default model: `nvidia/nemotron-3-nano-30b-a3b`. The endpoint is fixed to `https://integrate.api.nvidia.com/v1` — `SKILL_EVAL_LLM_BASE_URL` and `SKILL_EVAL_EMBEDDING_BASE_URL` do not override it. To point at a custom or self-hosted endpoint, use the `openai-compatible` provider instead.
+
+ <Tip>
+ The quickest start is a free NVIDIA API Catalog key from [build.nvidia.com](https://build.nvidia.com/), exported as `NVIDIA_API_KEY` — it covers LLM judging and Tier 2 embeddings with one credential.
+ </Tip>
+ </Tab>
+ <Tab title="Bedrock" language="bedrock">
+ ```bash title="Amazon Bedrock setup"
+ export SKILL_EVAL_LLM_PROVIDER=bedrock
+ export AWS_REGION=us-west-2 # default when unset
+ # Authenticate with the standard AWS credential chain
+ # (environment variables, shared profile, or an assumed role).
+ ```
+
+ Default model: `us.anthropic.claude-sonnet-4-5-20250929-v1:0` on the AWS Bedrock Runtime.
+ </Tab>
+ <Tab title="OpenAI-compatible" language="openai-compatible">
+ ```bash title="OpenAI-compatible setup"
+ export SKILL_EVAL_LLM_PROVIDER=openai-compatible
+ export SKILL_EVAL_LLM_BASE_URL='http://your-server:8000/v1'
+ export SKILL_EVAL_LLM_MODEL='your-model-name'
+ export SKILL_EVAL_LLM_API_KEY='your-key'
+ ```
+
+ All three values are required — there is no default model or endpoint. Any OpenAI-compatible server works: vLLM, Ollama, llama.cpp, NVIDIA NIM, or a hosted gateway.
+ </Tab>
+</Tabs>
+
+### Auto-selection
+
+When `SKILL_EVAL_LLM_PROVIDER` is unset and exactly one of these credentials is present, SkillEvaluator selects the matching provider:
+
+- `NVIDIA_API_KEY` → `nv_build`
+- `OPENAI_API_KEY` → `openai`
+- `ANTHROPIC_API_KEY` → `anthropic`
+
+If none of those variables is set, LLM-backed commands fail with a configuration error. If more than one is exported, resolution also fails — `SKILL_EVAL_LLM_PROVIDER` is required when multiple public provider credentials are configured; there is no silent preference order.
## Embeddings
-Tier 2 uses an OpenAI-compatible embeddings API. Set
-`SKILL_EVAL_EMBEDDING_PROVIDER` to `openai` (`text-embedding-3-small`),
-`nv_build` (`nvidia/nv-embed-v1`), or `openai-compatible`. Use
-`SKILL_EVAL_EMBEDDING_MODEL` and `SKILL_EVAL_EMBEDDING_BASE_URL` to override
-defaults for providers that support overrides. The `nv_build` endpoint remains
-fixed even when `SKILL_EVAL_EMBEDDING_BASE_URL` is set. To use a custom
-embedding endpoint, select `openai-compatible` and provide its model, key, and
-base URL explicitly.
+Tier 2 uses an OpenAI-compatible embeddings API. `SKILL_EVAL_EMBEDDING_PROVIDER` selects it; when unset, it falls back to your `SKILL_EVAL_LLM_PROVIDER` (or the same auto-selection order as above).
-Anthropic and Bedrock do not provide embeddings, so when one of those is the
-LLM provider, configure an embedding-capable provider separately for Tier 2:
+| Provider (`SKILL_EVAL_EMBEDDING_PROVIDER`) | Credential | Default embedding model |
+| --- | --- | --- |
+| `openai` | `OPENAI_API_KEY` | `text-embedding-3-small` |
+| `nv_build` | `NVIDIA_API_KEY` | `nvidia/nv-embed-v1` |
+| `openai-compatible` | `SKILL_EVAL_EMBEDDING_API_KEY` (falls back to `SKILL_EVAL_LLM_API_KEY`) | _(explicit — `SKILL_EVAL_EMBEDDING_MODEL` required)_ |
-```bash
+Use `SKILL_EVAL_EMBEDDING_MODEL` and `SKILL_EVAL_EMBEDDING_BASE_URL` to override defaults; for `openai-compatible`, the base URL falls back to `SKILL_EVAL_LLM_BASE_URL`. The `nv_build` endpoint is fixed to `https://integrate.api.nvidia.com/v1` — only its model can be overridden.
+
+<Note>
+Anthropic and Bedrock do not provide embeddings, and SkillEvaluator rejects them as embedding providers. When one of those is your LLM provider, configure an embedding-capable provider separately for Tier 2:
+
+```bash title="Separate embedding provider"
export SKILL_EVAL_EMBEDDING_PROVIDER=openai
export OPENAI_API_KEY='sk-...'
```
+</Note>
+
+## Fully local setup
+
+The `openai-compatible` provider accepts any local OpenAI-compatible server (Ollama, vLLM, llama.cpp, NVIDIA NIM), so Tier 2 can run with no external calls at all. Example recipe using Ollama in Docker:
+
+<Steps>
+ ### Start a local model server
+
+ ```bash title="Ollama in Docker"
+ docker run -d --name ollama -p 11434:11434 ollama/ollama
+ docker exec ollama ollama pull nomic-embed-text # embeddings
+ docker exec ollama ollama pull qwen2.5:0.5b # chat LLM for dedup analysis
+ ```
+
+ ### Point SkillEvaluator at it
+
+ ```bash title="Local provider configuration"
+ export SKILL_EVAL_EMBEDDING_PROVIDER=openai-compatible
+ export SKILL_EVAL_EMBEDDING_BASE_URL=http://localhost:11434/v1
+ export SKILL_EVAL_EMBEDDING_MODEL=nomic-embed-text
+ export SKILL_EVAL_EMBEDDING_API_KEY=local-no-key # must be set; local servers ignore the value
+
+ # context-optimization-check and dedup-scan also use a chat LLM:
+ export SKILL_EVAL_LLM_PROVIDER=openai-compatible
+ export SKILL_EVAL_LLM_BASE_URL=http://localhost:11434/v1
+ export SKILL_EVAL_LLM_MODEL=qwen2.5:0.5b
+ export SKILL_EVAL_LLM_API_KEY=local-no-key
+ ```
-### Fully local Tier 2 (no external calls)
+ ### Run the Tier 2 checks
-The `openai-compatible` provider accepts any local OpenAI-compatible server
-(Ollama, vLLM, llama.cpp, NVIDIA NIM). Verified recipe using Ollama in
-Docker:
+ ```bash title="Fully local Tier 2"
+ skillevaluator similarity-check ./skills
+ skillevaluator context-optimization-check ./my-skill
+ ```
+</Steps>
-```bash
-docker run -d --name ollama -p 11434:11434 ollama/ollama
-docker exec ollama ollama pull nomic-embed-text # embeddings
-docker exec ollama ollama pull qwen2.5:0.5b # chat LLM for dedup analysis
+`similarity-check` compares skills directly or through a local catalog and needs only the embedding variables. `context-optimization-check` (also available as its `dedup-scan` alias) additionally uses the chat model. Analysis quality tracks that model — the tiny model above proves the plumbing; pick a stronger local model for verdicts you intend to act on.
-export SKILL_EVAL_EMBEDDING_PROVIDER=openai-compatible
-export SKILL_EVAL_EMBEDDING_BASE_URL=http://localhost:11434/v1
-export SKILL_EVAL_EMBEDDING_MODEL=nomic-embed-text
-export SKILL_EVAL_EMBEDDING_API_KEY=local-no-key # must be set; local servers ignore the value
+## Tier 3 credentials: two roles
-# context-optimization-check and dedup-scan also use a chat LLM:
-export SKILL_EVAL_LLM_PROVIDER=openai-compatible
-export SKILL_EVAL_LLM_BASE_URL=http://localhost:11434/v1
-export SKILL_EVAL_LLM_MODEL=qwen2.5:0.5b
-export SKILL_EVAL_LLM_API_KEY=local-no-key
+Live evaluation involves two distinct credentials, and they are not interchangeable:
-skillevaluator similarity-check ./skills
-skillevaluator context-optimization-check ./my-skill
+| Role | Who uses it | How you configure it |
+| --- | --- | --- |
+| Evaluator key | SkillEvaluator itself — dataset generation and verifier-side judging | The provider setup above (`SKILL_EVAL_LLM_PROVIDER` + its key) |
+| Agent credential | The live agent under test (Codex, Claude Code, ...) inside its task environment | Your host environment only — export the agent's native variables (for example `OPENAI_API_KEY` and `OPENAI_BASE_URL` for Codex) before the run |
+
+Both roles resolve from the operator's environment; a skill's `evals/config.yml` can never supply, rename, or redirect a credential. What each agent needs depends on the provider and `--env-mode`:
+
+- **NVIDIA Build, one key** (`--env-mode docker` or `local`): a single `NVIDIA_API_KEY` powers the evaluator and all three supported agents — `opencode` calls NVIDIA Build directly, while `claude-code` and `codex` route through SkillEvaluator's compatibility bridge (in-container in Docker mode; an authenticated in-process host bridge in `local` mode). Agent models must be full NVIDIA Build catalog IDs in `publisher/model` form.
+- **NVIDIA Build on Harbor cloud modes** (`daytona`, `e2b`, ...): the bridge is not available. `claude-code` needs its own native `ANTHROPIC_API_KEY`, `codex` needs a full OpenAI Responses API credential (`OPENAI_API_KEY` plus `OPENAI_BASE_URL`), and each needs an explicit model via `--agent-model` or `harbor.agents.<agent>.model`.
+- **Matching native provider**: when the evaluator provider is the agent's own (for example `anthropic` with `claude-code`, or `openai` with `codex`), the same key serves both roles automatically.
+
+The agent's model lives in the skill's `evals/config.yml`:
+
+```yaml title="evals/config.yml"
+schema_version: 1
+harbor:
+ agents:
+ codex:
+ model: gpt-5.4-mini
```
-`similarity-check` compares skills directly or through a local catalog and
-needs only the embedding variables. `context-optimization-check` (also
-available as its `dedup-scan` alias) additionally uses the chat model. Analysis
-quality tracks that model — the tiny model above proves the plumbing; pick a
-stronger local model for verdicts you intend to act on.
+You can also supply that model at invocation time with `--agent-model codex=MODEL`. See [Tier 3: Live Evaluation](tier3-live-evaluation.mdx) for the full run workflow.
-## Live Agent Credentials
+In Docker mode, credential values are never rendered on the `docker compose exec` command line — the bridge receives them through a mode-0600 file inside the container that is consumed and removed before the agent starts.
-The evaluator provider and live agent normally use separate credential roles.
-NVIDIA Build is an explicit Docker and local exception: one `NVIDIA_API_KEY`
-powers the evaluator plus direct OpenCode and SkillEvaluator's compatibility
-bridges.
+### List the models your key can access
-| Agent path | Credential and model behavior |
-| --- | --- |
-| Direct OpenCode + NVIDIA Build | One `NVIDIA_API_KEY`; the default is `nvidia/nvidia/nemotron-3-nano-30b-a3b` (`nvidia/` provider namespace plus the raw Build model ID) |
-| Codex + NVIDIA Build | Docker or local compatibility bridge; one `NVIDIA_API_KEY`; defaults to `nvidia/nemotron-3-super-120b-a12b` |
-| Experimental Claude Code + NVIDIA Build | Docker or local compatibility bridge; one `NVIDIA_API_KEY`; defaults to `nvidia/nemotron-3-super-120b-a12b` and uses the bridge's reduced executable tool set |
-| Native Codex | `OPENAI_API_KEY` + `OPENAI_BASE_URL` for a full Responses provider; the OpenAI default is `gpt-5.4-mini` |
-| Native Claude Code | `ANTHROPIC_API_KEY` and an Anthropic-compatible endpoint/model |
-
-Export operator credentials on the host; never place them in a checked-out
-skill's configuration. For Build-backed Docker or local agents:
-
-```bash
-export SKILL_EVAL_LLM_PROVIDER=nv_build
-export NVIDIA_API_KEY='nvapi-...'
-skillevaluator doctor --agents opencode,codex,claude-code --env-mode docker
-skillevaluator doctor --agents opencode,codex,claude-code --env-mode local
+Before pinning `--agent-model` or `SKILL_EVAL_LLM_MODEL`, check what the selected provider actually serves:
+
+```bash title="List provider models"
+skillevaluator models --limit 20
+skillevaluator models --json
```
-Build-backed Codex and Claude Code start a loopback bridge. Their vendor CLI
-never receives the real Build key. Docker uses a short-lived file handoff and a
-sentinel client key. Local mode keeps the key in Harbor's trusted parent process
-and gives the vendor CLI a unique per-trial capability token. Cloud
-Codex/Claude Code continue to require their native provider credentials and
-explicit model selection where applicable.
-
-For a Bedrock evaluator with the Claude Code live agent, Docker/cloud mode
-requires either an explicit `AWS_ACCESS_KEY_ID` + `AWS_SECRET_ACCESS_KEY` pair
-or `AWS_BEARER_TOKEN_BEDROCK`; local mode is not supported for this pairing.
-Other standard AWS credential-chain modes remain valid for evaluator-side LLM
-calls but are not forwarded into a live-agent task container.
-
-`runtime_env` is for non-credential task values, not agent credentials or
-host-process configuration. It cannot reference protected host credentials
-under an innocent alias.
-Names that control the launcher or dynamic runtime, including `PATH`,
-`PYTHON*`, `LD_*`, `DYLD_*`, `DOCKER_*`, `COMPOSE_*`, proxy variables, and
-tracing exporters, are rejected. Configure the selected Harbor backend in
-the host environment instead.
+`skillevaluator models` prints a filtered, bounded view of the authenticated provider catalog (`--limit` accepts 1–100, default 10; `--json` emits machine-readable output). It uses the same provider and credential resolution as evaluation, so it doubles as a quick check that your key works. A model appearing in the catalog is not proof a given agent harness supports it — use `doctor --verify-models` for that. Bedrock exposes no HTTP model catalog, so `models` errors on that provider; use `doctor --verify-models` there too.
+
+### `runtime_env` is for task values, not credentials
+
+`runtime_env` in `evals/config.yml` remains valid for non-credential task values — plain names the task environment needs. Credential names are rejected outright:
+
+- Any operator-owned credential name (`OPENAI_API_KEY`, `OPENAI_BASE_URL`, `ANTHROPIC_API_KEY`, `ANTHROPIC_BASE_URL`, `NVIDIA_API_KEY`, `CLAUDE_CODE_USE_BEDROCK`) fails the run with `harbor.runtime_env contains operator-owned credential name(s)`.
+- A `${NVIDIA_API_KEY}`-style reference to an operator-owned credential inside any value is rejected too, so a credential cannot be aliased under a different name.
+
+### Blocked `runtime_env` names
+
+Names that control the launcher, credentials, or dynamic runtime are rejected:
+
+| Blocked group | Examples |
+| --- | --- |
+| Operator-owned agent credentials | `OPENAI_API_KEY`, `OPENAI_BASE_URL`, `ANTHROPIC_API_KEY`, `ANTHROPIC_BASE_URL`, `NVIDIA_API_KEY`, `CLAUDE_CODE_USE_BEDROCK` — as names or as `${...}` references in values |
+| Host path and loader control | `PATH`, `PATHEXT`, `LD_*`, `DYLD_*`, `PYTHON*` |
+| Container and backend selection | `DOCKER_*`, `COMPOSE_*`, `HARBOR_*`, plus each Harbor backend's own credential variables |
+| AWS credential chain | `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_PROFILE`, `AWS_ROLE_ARN`, and the rest of the `AWS_*` credential-chain variables |
+| Network and TLS control | `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY`, `ALL_PROXY`, `SSL_CERT_FILE`, `SSL_CERT_DIR`, `REQUESTS_CA_BUNDLE`, `SSLKEYLOGFILE`, `SSH_AUTH_SOCK` |
+| Tracing and tooling | `OTEL_*`, `SKILL_EVAL_*`, `SKILLEVALUATOR_*`, `GIT_*`, `NODE_*`, `PIP_*`, `UV_*` |
+
+Configure the selected Harbor backend in the host environment instead.
+
+## SkillSpector bridge
+
+The `--llm` security analysis runs [SkillSpector](https://github.com/NVIDIA/SkillSpector), which has its own provider environment (`SKILLSPECTOR_PROVIDER` plus per-provider credential variables). SkillEvaluator bridges your configured provider automatically for that invocation, so the one key above is all you need. For `nv_build`, the bridge uses SkillSpector's OpenAI-compatible provider path pointed at the public Build endpoint, so the same `NVIDIA_API_KEY` covers this too; it does not create a second NVIDIA credential name.
+
+The subprocess environment is isolated. Only the selected provider settings and basic process environment variables (`PATH`, `HOME`, TLS bundles, temp dirs) pass through — other ambient credentials in your shell are never forwarded.
+
+Setting `SKILLSPECTOR_PROVIDER` yourself overrides the bridge, but it must name a supported public provider (`openai`, `anthropic`, or `bedrock` — or `nv_build` to force the Build mapping); anything else fails closed and the subprocess receives no credential.
+
+## Troubleshooting
+
+<AccordionGroup>
+ <Accordion title="&quot;No provider is configured (SKILL_EVAL_LLM_PROVIDER unset and no credential found)&quot;">
+ No provider is selected and no known key is present. Export one of `NVIDIA_API_KEY`, `OPENAI_API_KEY`, or `ANTHROPIC_API_KEY`, or set `SKILL_EVAL_LLM_PROVIDER` explicitly alongside its credential.
+ </Accordion>
+ <Accordion title="&quot;SKILL_EVAL_LLM_PROVIDER is required when multiple public provider credentials are configured&quot;">
+ More than one of `NVIDIA_API_KEY`, `OPENAI_API_KEY`, and `ANTHROPIC_API_KEY` is exported, so auto-selection refuses to guess. Set `SKILL_EVAL_LLM_PROVIDER` to the provider you want (single-key auto-detection is unaffected). Relatedly, an exported-but-empty `SKILL_EVAL_LLM_MODEL` is also an error — unset it to use the provider default, or set a model name.
+ </Accordion>
+ <Accordion title="&quot;SKILL_EVAL_EMBEDDING_PROVIDER is required because anthropic does not provide embeddings&quot;">
+ Your LLM provider is `anthropic` or `bedrock`, and neither offers an embeddings API. Set `SKILL_EVAL_EMBEDDING_PROVIDER` to `openai`, `nv_build`, or `openai-compatible` with the matching credential — see [Embeddings](#embeddings).
+ </Accordion>
+ <Accordion title="&quot;SKILL_EVAL_LLM_MODEL is required for openai-compatible providers&quot;">
+ The `openai-compatible` provider has no defaults. Set all three of `SKILL_EVAL_LLM_MODEL`, `SKILL_EVAL_LLM_BASE_URL`, and `SKILL_EVAL_LLM_API_KEY` (local servers still require the key variable to be set, even if they ignore its value).
+ </Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Tier 2: Deduplication" icon="copy" href="tier2-deduplication.mdx">
+ Put your embedding provider to work — find overlap within and across skills.
+ </Card>
+ <Card title="Tier 3: Live Evaluation" icon="flask" href="tier3-live-evaluation.mdx">
+ Run a live agent evaluation with the two-credential setup above.
+ </Card>
+</CardGroup>
diff --git a/docs/custom-graders.mdx b/docs/custom-graders.mdx
new file mode 100644
index 00000000..ee554f75
--- /dev/null
+++ b/docs/custom-graders.mdx
@@ -0,0 +1,276 @@
+---
+title: "Custom Graders & Tasks"
+description: "Bring your own grader (BYOG) or a complete Harbor task (BYOT) when SkillEvaluator's default graders can't express what success means for your skill."
+---
+
+When your skill's success criteria can't be expressed by the default graders —
+a domain-specific output format, a service that must end up in a particular
+state, a scoring rule only you can define — you can bring your own grader, or
+your own complete Harbor task. Scaffolding is keyless and takes one command;
+running a custom-graded evaluation needs the same Tier 3 stack as any live
+eval — see [Tier 3: Live Evaluation](tier3-live-evaluation.mdx).
+
+## Grading modes
+
+Every live evaluation runs in one of three grading modes:
+
+| Mode | What scores the run | Use when |
+| --- | --- | --- |
+| `default` | SkillEvaluator's standard graders — the five dimensions, Skill Lift, and pass@k | The standard graders express success for your skill |
+| `default_plus_custom` | Standard grading runs first, then your grader adds domain-specific `custom_metrics` alongside it | You want the standard view **plus** your own checks — the safe extension point |
+| `custom_only` | Your grader alone defines the score; the standard dimension rows stay visible but show `NO SCORE` | Success can only be measured by your own logic |
+
+Set the mode with `--grading-mode` on `tier3 evaluate` (or on `validate`
+together with `--tier3`), or persist it in `evals/config.yml`:
+
+```yaml title="evals/config.yml"
+schema_version: 1
+grading:
+ mode: default_plus_custom
+```
+
+CLI flags override the config file. The aliases `aces_default` and
+`aces_plus_custom` are accepted — on the CLI and in `evals/config.yml` — as
+spellings of `default` and `default_plus_custom`.
+
+<Tip>
+Skill Lift — including lift on your custom metrics — is computed from the
+with-skill and without-skill arms. Don't pass `--skip-baseline` on runs whose
+custom lift you want to keep.
+</Tip>
+
+## Bring your own grader (BYOG)
+
+A BYOG grader is a single `evals/grader.py` (or `evals/grader.sh`) that Skill
+Evaluator stages into every generated task container and runs after the agent
+finishes.
+
+<Steps>
+
+### Scaffold the starter
+
+```bash title="Create evals/grader.py with a working contract"
+skillevaluator init-custom-grader ./my-skill
+```
+
+This writes an executable starter grader under `evals/`, creates a starter
+`evals/evals.json` if none exists, and sets `grading.mode` in
+`evals/config.yml`. Flags:
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--mode` | `default_plus_custom` | Grading mode written to `evals/config.yml` (`default_plus_custom` or `custom_only`) |
+| `--language` | `python` | Generate `grader.py` (`python`) or `grader.sh` (`shell`) |
+| `--force` | off | Overwrite an existing top-level custom grader |
+| `--no-config` | off | Only create the grader file; do not create or update `evals/config.yml` |
+
+### Implement the contract
+
+Edit `evals/grader.py`. The starter already reads the trajectory and eval
+case, writes a well-formed reward, and documents the reserved metric names —
+replace its placeholder logic with your real checks.
+
+### Run with a custom grading mode
+
+```bash title="Evaluate with default grading plus your custom metrics"
+skillevaluator tier3 evaluate ./my-skill --agents codex --grading-mode default_plus_custom
+```
+
+With `evals/config.yml` in place from step 1, the `--grading-mode` flag is
+optional — the config already selects it.
+
+</Steps>
+
+### The reward contract
+
+Inside the container, your grader reads two inputs and writes one result:
+
+1. **Read** `/logs/agent/trajectory.json` — the agent's trajectory.
+2. **Read** `/tests/entry.json` — the eval case metadata (`id`, `prompt`,
+ `expected_output`, and the rest).
+3. **Write** `/logs/verifier/reward.json` — your scores, each in the range
+ 0.0–1.0 — and also write the overall score as plain text to
+ `/logs/verifier/reward.txt` for compatibility. In `custom_only` mode, a
+ numeric `overall` in `reward.json` or a numeric `reward.txt` is required.
+
+```json title="/logs/verifier/reward.json"
+{
+ "overall": 0.85,
+ "custom_metrics": {
+ "custom_check": 0.85
+ },
+ "details": {
+ "custom_check": {
+ "score": 0.85,
+ "reason": "Replace this with real custom grading logic."
+ }
+ }
+}
+```
+
+<Note>
+In `default_plus_custom` mode, put your scores under `custom_metrics`. Your
+grader must not overwrite the reserved standard metric names — `security`,
+`skill_execution`, `skill_efficiency`, `accuracy`, `goal_accuracy`, and
+`behavior_check` — or grading fails with a collision error.
+</Note>
+
+Rather than hard-coding the paths, read them from the `HARBOR_*` environment
+variables and fall back to the defaults below when a variable is unset — the
+starter grader already does:
+
+| Variable | Default | Carries |
+| --- | --- | --- |
+| `HARBOR_ATIF_PATH` | `/logs/agent/trajectory.json` | Agent trajectory to grade |
+| `HARBOR_ENTRY_JSON` | `/tests/entry.json` | Eval case metadata |
+| `HARBOR_REWARD_JSON` | `/logs/verifier/reward.json` | Where to write your scores |
+| `HARBOR_REWARD_TXT` | `/logs/verifier/reward.txt` | Where to write the plain-text overall score |
+| `HARBOR_LOGS_DIR` | `/logs` | Root of the log tree |
+| `HARBOR_TESTS_DIR` | `/tests` | Root of the staged test files |
+| `HARBOR_GRADER` | `/tests/grader.py` | Where your staged grader runs from |
+
+## Bring your own task (BYOT)
+
+BYOG replaces the scoring; BYOT replaces the whole task — instruction,
+container environment, and grader — with a native Harbor task you own under
+`evals/harbor/`.
+
+```bash title="Scaffold a native Harbor task"
+skillevaluator init-harbor-task ./my-skill
+```
+
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--case-id` | `case-001` | Harbor case directory name and eval entry id |
+| `--mode` | `custom_only` | Grading mode (`default`, `default_plus_custom`, or `custom_only`) |
+| `--language` | `python` | Grader language for the starter (`python` or `shell`) |
+| `--with-config` | off | Create or update `evals/config.yml` for native Harbor mode |
+| `--force` | off | Overwrite an existing starter case |
+
+Exact defaults for both scaffolding commands are in the
+[CLI Reference](cli-reference.mdx#init-custom-grader).
+
+The scaffold produces a complete, runnable task source:
+
+<FileTree>
+- evals/
+ - harbor/
+ - README.md
+ - dataset.toml
+ - case-001/
+ - task.toml
+ - instruction.md
+ - environment/
+ - Dockerfile
+ - tests/
+ - grader.py
+ - test.sh
+</FileTree>
+
+Edit `instruction.md` for the agent-facing task, `environment/Dockerfile` for
+the container, and `tests/grader.py` for the scoring — the same reward
+contract as BYOG applies.
+
+Two rules keep BYOT predictable:
+
+- **Case IDs must match dataset entries.** When the grading mode is `default`
+ or `default_plus_custom`, each case's entry id — `entry_id` under
+ `[metadata]` in `task.toml`, falling back to the case directory name — must
+ match an entry `id` in `evals/evals.json`, or the run refuses to start.
+ `custom_only` has no such requirement. See
+ [Eval Datasets](eval-datasets.mdx).
+- **Your source is never mutated in place.** SkillEvaluator stages with-skill
+ and baseline copies of `evals/harbor/` under the results directory for each
+ run; the files you author stay untouched.
+
+## Validate the contract
+
+Check your `evals/` tree and the Harbor task and reward contract before
+spending compute:
+
+```bash title="Validate the BYOT contract"
+skillevaluator tier3 validate ./my-skill --harbor-contract
+```
+
+Add `--strict` to treat warnings as failures and `--json` for
+machine-readable output.
+
+## Debug retained jobs
+
+Harbor job artifacts are transient — deleted by default whether the run
+succeeds or fails. Pass `--harbor-keep-jobs` to retain them, then browse the
+trajectories and grader output with Harbor's own viewer (when a retained jobs
+directory exists, the Artifacts panel at the end of the run prints the exact
+`harbor-view` command to paste):
+
+```bash title="Keep the job artifacts, then inspect them"
+skillevaluator tier3 evaluate ./my-skill --agents codex --harbor-keep-jobs
+skillevaluator harbor-view <jobs-dir>
+```
+
+Grader stdout, the written `reward.json`, and the full trajectory are all in
+the retained job tree — the fastest way to find out why a score isn't what
+you expected. [Agents & Sandboxes](agents-and-sandboxes.mdx) covers the
+debugging workflow in depth.
+
+## What reports show
+
+Custom scores flow into the same results tree as everything else:
+
+- In `result.json`, each agent carries per-arm custom metric averages
+ (`custom_with_skill`, `custom_without_skill`) and a per-metric
+ `custom_lift` — with-skill minus without-skill, per custom metric. The lift
+ is also written to `custom_lift.json` next to the standard `lift.json`.
+- In `default_plus_custom` mode, reports keep the standard metric and
+ dimension view and add your scores as clearly labeled `Custom:` entries
+ alongside it, each with its own lift; custom metrics never change the
+ standard dimension scores.
+- In `custom_only` mode, your `overall` reward drives pass@k and the overall
+ lift. The standard dimension rows stay visible but render `NO SCORE` —
+ unscored metrics are never coerced to 0.0, and your custom metrics are
+ never re-labeled as standard dimensions.
+
+Custom lift needs both arms — a `--skip-baseline` run reports your custom
+scores but no lift. [Reports & Results](reports.mdx) covers the full on-disk
+layout and the machine-readable contract.
+
+## Troubleshooting
+
+<AccordionGroup>
+ <Accordion title="grading.mode=custom_only requires evals/grader.py or evals/grader.sh">
+ `custom_only` refuses to run without a grader. Scaffold one with
+ `skillevaluator init-custom-grader ./my-skill --mode custom_only`, or for
+ a native Harbor task provide `tests/grader.py` or `tests/test.sh` in the
+ case directory.
+ </Accordion>
+ <Accordion title="custom_only requires a numeric overall score">
+ In `custom_only` mode your grader must write a numeric `overall` between
+ 0.0 and 1.0 in `reward.json`, or a numeric value in `reward.txt`. Without
+ one the run fails rather than guessing.
+ </Accordion>
+ <Accordion title="Custom metric collides with a reserved name">
+ Your grader wrote a metric named after a standard one (`security`,
+ `accuracy`, and the rest). Rename it and keep custom scores under
+ `custom_metrics`.
+ </Accordion>
+ <Accordion title="Custom scores don't appear in the report">
+ Confirm the grading mode: `default` ignores custom graders entirely. Set
+ `--grading-mode default_plus_custom` or `custom_only`, or the matching
+ `grading.mode` in `evals/config.yml`, then re-run
+ `skillevaluator tier3 validate ./my-skill --harbor-contract` to confirm
+ the grader is picked up.
+ </Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Eval Datasets" icon="book" href="eval-datasets.mdx">
+ The full evals/ contract — dataset format, config.yml run policy, and
+ fixtures your custom task can build on.
+ </Card>
+ <Card title="Reports & Results" icon="terminal" href="reports.mdx">
+ Everything a run writes to disk and how to read it, including where
+ custom metrics and custom lift surface.
+ </Card>
+</CardGroup>
diff --git a/docs/developer-guide.mdx b/docs/developer-guide.mdx
index de8cfcf4..9236375d 100644
--- a/docs/developer-guide.mdx
+++ b/docs/developer-guide.mdx
@@ -1,36 +1,147 @@
---
-title: "Developer Guide"
-description: "Contributor setup for SkillEvaluator — development environment, tooling, and local checks."
+title: "Contributing"
+description: "Set up a SkillEvaluator development environment, run the test suite, preview the docs locally, and submit a pull request that passes review."
---
-## Development Setup
+This guide gets you from a fresh clone to a mergeable pull request. You need Python 3.12 or 3.13 and Git; no API keys are required for the default development loop.
-Use Python 3.12 or later, then install the project with its development tools:
+## Set up a development environment
-```bash
-pip install -e '.[all,dev]'
-```
+<Steps>
+ ### Clone the repository
+
+ ```bash title="Clone SkillEvaluator"
+ git clone https://github.com/NVIDIA/SkillEvaluator.git
+ cd SkillEvaluator
+ ```
+
+ ### Install with all extras
+
+ ```bash title="Sync the dev environment"
+ uv sync --python 3.13 --all-extras
+ ```
+
+ If you prefer pip, `make install` runs the equivalent editable install:
+
+ ```bash title="pip alternative"
+ pip install -e '.[all,dev]'
+ ```
+
+ ### Run the contribution gate
+
+ These three commands must pass locally before you open a pull request:
+
+ ```bash title="The contribution gate"
+ make lint && make test && make build
+ ```
+</Steps>
-## Required Checks
+The Makefile wraps the standard tools, so you can run the underlying commands directly if you prefer:
-Run these commands before opening a pull request:
+| Target | Runs | Purpose |
+| --- | --- | --- |
+| `make install` | `pip install -e '.[all,dev]'` | Editable install with every extra plus dev tooling |
+| `make test` | `pytest` | Default (fast) test suite |
+| `make lint` | `ruff check src tests` | Lint the source and tests |
+| `make build` | `python -m build` | Build the wheel and sdist |
+| `make clean` | removes `build`, `dist`, and tool caches | Reset build state |
-```bash
-make lint
-make test
-make build
+## Running tests
+
+`make test` runs the fast suite. Two pytest markers are excluded by default, so slow and credentialed tests never block the everyday loop:
+
+| Marker | What it covers | Run it with |
+| --- | --- | --- |
+| *(none)* | Fast unit tests — the default selection | `pytest` |
+| `integration` | End-to-end integration tests; may need fixtures or longer runtime | `pytest -m integration` |
+| `live` | Live tests against the in-process Harbor backend; requires the `tier3` extra and `NVIDIA_API_KEY` | `pytest -m live` |
+
+The `dev` extra includes pytest-xdist, so you can parallelize any of these runs:
+
+```bash title="Run tests in parallel"
+pytest -n auto
```
-Tier 3 live evaluation requires separately configured public provider and agent
-credentials. Do not add credentials or private datasets to the repository.
+## Code style and dependencies
+
+Ruff owns linting — `make lint` is the project's lint gate. CI runs `ruff check` over the whole repository, so lint the files you touch even outside `src` and `tests`.
+
+Linting is only the first gate. CI also runs an OSS source-boundary scan (`python scripts/check_oss_boundary.py --root . --allowlist config/oss_boundary_allowlist.json`), which fails closed if the source tree or built distributions contain private integrations. The packaging job repeats that scan over the wheel and sdist, installs the wheel into a clean environment, and smoke-tests the CLI — including `skillevaluator models --help` and a `doctor` run with placeholder `nv_build` credentials. Platform jobs round out the matrix: a macOS runner executes the Tier 3 local-mode, progress, and preflight test files, and a native-Windows runner asserts local mode fails closed, with `doctor` required to exit non-zero for every `SKILLEVALUATOR_LOCAL_SANDBOX` value.
+
+Follow the existing Python typing and test patterns, keep changes scoped, and add regression coverage for behavior changes.
+
+For dependency changes: update `pyproject.toml`, `uv.lock`, and [THIRD_PARTY_NOTICES.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/THIRD_PARTY_NOTICES.md) together — the notices file lists every direct dependency and its license, and `uv.lock` records the exact resolved set for the release.
-## Code Style
+## Work on the docs
-Use the existing Python typing and test patterns. Keep changes scoped, add
-regression coverage for behavior changes, and use Ruff for formatting and lint.
+The documentation site is built with [Fern](https://buildwithfern.com/) from the MDX pages in `docs/`. You only need a local build when you are editing docs; publishing happens automatically from `main`.
-## Dependency Changes
+<Steps>
+ ### Install the Fern CLI
-Add only publicly available dependencies with compatible licenses. Update
-`pyproject.toml`, `uv.lock`, and [THIRD_PARTY_NOTICES.md](../THIRD_PARTY_NOTICES.md)
-together, then verify the release SBOM and license scan before publishing.
+ Requires Node.js 22+ and npm 10+.
+
+ ```bash title="Install fern-api"
+ npm install -g fern-api
+ ```
+
+ ### Preview with live reload
+
+ ```bash title="Local docs preview"
+ fern docs dev
+ ```
+
+ The site serves at `http://localhost:3000` and reloads on changes to `.mdx` files or `fern/docs.yml`.
+
+ ### Validate before pushing
+
+ ```bash title="Check config and links"
+ fern check
+ ```
+
+ `fern check` must pass — it is the same gate the site build relies on.
+</Steps>
+
+New pages must be registered under `navigation` in [fern/docs.yml](https://github.com/NVIDIA/SkillEvaluator/blob/main/fern/docs.yml), or they will not appear on the site. The full authoring rules — MDX gotchas, link conventions, the page-adding checklist — live in [docs/AGENTS.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/docs/AGENTS.md).
+
+## Submit a change
+
+Contributions flow through GitHub pull requests:
+
+1. **Discuss substantial changes in an issue first**, before you invest in an implementation.
+2. **Keep each pull request focused.** Use the pull request template and explain the user-visible behavior and the verification you performed.
+3. **Add focused tests** for behavioral changes.
+4. **Update [CHANGELOG.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/CHANGELOG.md)** when the change affects users.
+5. **Keep provider credentials, customer data, and private benchmark material out of the repository.** Tier 3 live evaluation reads provider and agent credentials from your environment, never from the repo (with NVIDIA Build, one `NVIDIA_API_KEY` covers both roles) — see [Providers & Credentials](configuration.mdx).
+
+<Warning>
+Every commit needs a Developer Certificate of Origin sign-off — commit with `git commit -s`. Pull requests containing unsigned commits are not accepted. By contributing, you confirm you have the right to submit the work under the Apache License 2.0.
+</Warning>
+
+## Project resources
+
+| Resource | What it covers |
+| --- | --- |
+| [CONTRIBUTING.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/CONTRIBUTING.md) | Full contribution policy, including the DCO text |
+| [CODE_OF_CONDUCT.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/CODE_OF_CONDUCT.md) | Contributor Covenant code of conduct |
+| [GOVERNANCE.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/GOVERNANCE.md) | Project governance — maintained by NVIDIA |
+| [SECURITY.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/SECURITY.md) | Report vulnerabilities privately via NVIDIA PSIRT — the [submission form](https://www.nvidia.com/object/submit-security-vulnerability.html) or [email protected] — never through public GitHub issues |
+| [SUPPORT.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/SUPPORT.md) | Support level: Experimental — best-effort via GitHub Issues, no SLA |
+| [LICENSE](https://github.com/NVIDIA/SkillEvaluator/blob/main/LICENSE) | Apache License 2.0 |
+| [THIRD_PARTY_NOTICES.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/THIRD_PARTY_NOTICES.md) | Third-party license notices |
+| [CHANGELOG.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/CHANGELOG.md) | User-visible changes per release |
+| [CITATION.cff](https://github.com/NVIDIA/SkillEvaluator/blob/main/CITATION.cff) | How to cite SkillEvaluator |
+
+If you use SkillEvaluator in academic or technical work, please cite it:
+
+```yaml title="CITATION.cff"
+cff-version: 1.2.0
+message: "If you use SkillEvaluator in academic or technical work, please cite this software."
+title: "SkillEvaluator"
+type: software
+version: "0.1.0"
+authors:
+ - name: "NVIDIA Corporation"
+license: Apache-2.0
+repository-code: "https://github.com/NVIDIA/SkillEvaluator"
+```
diff --git a/docs/environment-variables.mdx b/docs/environment-variables.mdx
new file mode 100644
index 00000000..867bea82
--- /dev/null
+++ b/docs/environment-variables.mdx
@@ -0,0 +1,117 @@
+---
+title: "Environment Variables"
+description: "The complete reference of every environment variable SkillEvaluator reads — providers, embeddings, validation, and live evaluation."
+layout: reference
+---
+
+Every environment variable SkillEvaluator reads, grouped by feature area. Each group links to the guide that explains the workflow the variables belong to — this page is the inventory, not the tutorial.
+
+Boolean variables accept `1`, `true`, `yes`, or `on` (case-insensitive) as true, and `0`, `false`, `no`, or `off` as false.
+
+## LLM provider
+
+These variables select and configure the provider used for LLM-backed checks and judging. The setup walkthrough, including per-provider export blocks and default models, is in [Providers & Credentials](configuration.mdx).
+
+| Variable | Default | Effect |
+| --- | --- | --- |
+| `SKILL_EVAL_LLM_PROVIDER` | auto-selected (see below) | Provider for chat and judging: `openai`, `anthropic`, `nv_build`, `bedrock`, or `openai-compatible`. |
+| `SKILL_EVAL_LLM_MODEL` | provider default | Chat model override. Required for `openai-compatible` — that provider has no default. Setting it to an empty string is a configuration error. |
+| `SKILL_EVAL_LLM_BASE_URL` | provider default endpoint | Endpoint override; takes precedence over `OPENAI_BASE_URL` and `ANTHROPIC_BASE_URL`. Required for `openai-compatible`. Ignored by `nv_build`, whose endpoint is fixed to `https://integrate.api.nvidia.com/v1` — point a custom endpoint at the `openai-compatible` provider instead. |
+| `SKILL_EVAL_LLM_API_KEY` | — | API key for the `openai-compatible` provider (local servers still require it to be set). |
+| `NVIDIA_API_KEY` | — | Credential for the `nv_build` provider (NVIDIA Build). |
+| `OPENAI_API_KEY` | — | Credential for the `openai` provider. |
+| `ANTHROPIC_API_KEY` | — | Credential for the `anthropic` provider. |
+| `OPENAI_BASE_URL` | `https://api.openai.com/v1` | Alternate OpenAI endpoint; `SKILL_EVAL_LLM_BASE_URL` wins when both are set. |
+| `ANTHROPIC_BASE_URL` | Anthropic SDK default | Alternate Anthropic endpoint; `SKILL_EVAL_LLM_BASE_URL` wins when both are set. |
+| `AWS_REGION` | `us-west-2` | Region for the `bedrock` provider. |
+| `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_PROFILE`, ... | — | Standard AWS credential chain, used as-is by the `bedrock` provider. |
+
+### Auto-selection
+
+When `SKILL_EVAL_LLM_PROVIDER` is unset, auto-selection only happens when exactly one public credential is exported:
+
+- `NVIDIA_API_KEY` → `nv_build`
+- `OPENAI_API_KEY` → `openai`
+- `ANTHROPIC_API_KEY` → `anthropic`
+
+If none is set, LLM-backed commands fail with a configuration error. If more than one is set, that is also a configuration error — there is no silent preference order, so set `SKILL_EVAL_LLM_PROVIDER` explicitly when multiple keys are exported.
+
+### SkillSpector bridge
+
+The `--llm` security analysis runs [SkillSpector](https://github.com/NVIDIA/SkillSpector), which has its own provider environment. SkillEvaluator bridges your configured provider into that invocation with an isolated subprocess environment: only the selected provider's settings and a small set of basic process variables are forwarded, so ambient credentials for other providers never reach SkillSpector. The `nv_build` provider is bridged through SkillSpector's OpenAI-compatible path, pointing `OPENAI_BASE_URL` at the public NVIDIA Build endpoint.
+
+| Variable | Default | Effect |
+| --- | --- | --- |
+| `SKILLSPECTOR_PROVIDER` | bridged from your provider | Overrides the provider SkillSpector uses. Must name a supported public provider (`openai`, `anthropic`, `bedrock`, or `nv_build`) — only that provider's credential variables are forwarded. Any other value fails closed: SkillSpector runs without a credential. |
+| `SKILLSPECTOR_MODEL` | bridged from your configured model | Model SkillSpector uses for its LLM analysis. |
+
+## Embeddings
+
+Tier 2 semantic checks use an OpenAI-compatible embeddings API. Workflow context lives in [Providers & Credentials](configuration.mdx#embeddings) and [Tier 2: Deduplication](tier2-deduplication.mdx).
+
+| Variable | Default | Effect |
+| --- | --- | --- |
+| `SKILL_EVAL_EMBEDDING_PROVIDER` | falls back to `SKILL_EVAL_LLM_PROVIDER` | Embedding provider: `openai`, `nv_build`, or `openai-compatible`. `anthropic` and `bedrock` are rejected — they provide no embeddings API. |
+| `SKILL_EVAL_EMBEDDING_MODEL` | provider default | Embedding model override. Required for `openai-compatible`. |
+| `SKILL_EVAL_EMBEDDING_BASE_URL` | provider default endpoint | Embedding endpoint override; for `openai-compatible` it falls back to `SKILL_EVAL_LLM_BASE_URL`. Ignored by `nv_build`, whose endpoint is fixed to `https://integrate.api.nvidia.com/v1` — use `openai-compatible` for a custom endpoint. |
+| `SKILL_EVAL_EMBEDDING_API_KEY` | falls back to `SKILL_EVAL_LLM_API_KEY` | API key for `openai-compatible` embeddings. `openai` and `nv_build` use their own provider keys. |
+
+## Validation (Tier 1)
+
+These variables tune the static and security checks. The check-by-check guide is [Tier 1: Validation](tier1-validation.mdx).
+
+| Variable | Default | Effect |
+| --- | --- | --- |
+| `SKILLEVALUATOR_PROFILE` | `external` | Default validation profile when no `--profile` flag is passed. The CLI flag always wins. |
+| `SKILLEVALUATOR_BANDIT_PATH` | auto-discovered | Absolute path to the Bandit executable. |
+| `SKILLEVALUATOR_SEMGREP_PATH` | auto-discovered | Absolute path to the Semgrep executable. |
+| `SKILLEVALUATOR_SKILLSPECTOR_PATH` | auto-discovered | Absolute path to the SkillSpector executable. |
+| `SKILLEVALUATOR_SCHEMA_ALLOWED_DIRS` | — | Extra allowed skill-root directory names (comma- or whitespace-separated), e.g. `data,fixtures`. Additive only — names extend the built-in allowlist and never replace it. |
+| `SKILLEVALUATOR_SUBMITTER` | auto-detected | Explicit submitter identity for the home-path PII check. It is combined with `GITHUB_ACTOR`, `USER`, `LOGNAME`, `USERNAME`, the OS login name, and the skill's declared author — every identity that resolves is protected. If none resolves, the home-path check is disabled with a warning. |
+| `SKILLEVALUATOR_PREVIOUS_VERSION` | — | The previously published skill version that the opt-in version check (`--checks version`) compares against. |
+
+<Warning>
+The scanner path overrides fail closed: a value that is not an absolute, executable file is treated as a configuration error rather than silently falling back to another same-named binary on `PATH`. This prevents a planted executable from hijacking a security scan.
+</Warning>
+
+## Live evaluation (Tier 3)
+
+These variables control where results land and how Harbor local mode is confined. The run workflow is [Tier 3: Live Evaluation](tier3-live-evaluation.mdx); execution environments are covered in [Agents & Sandboxes](agents-and-sandboxes.mdx).
+
+| Variable | Default | Effect |
+| --- | --- | --- |
+| `SKILLEVALUATOR_RESULTS_DIR` | `<skill>/evals/results` | External root for run results. Precedence for writes: the `--results-dir` flag, then this variable, then the legacy in-skill location. Read commands (`view`, `compare`) honor the same order and also fall back to the legacy location so older runs stay visible. |
+| `SKILLEVALUATOR_LOCAL_SANDBOX` | `require` | Local-mode sandbox policy. `require` fails closed when no OS sandbox backend (Bubblewrap on Linux, Seatbelt on macOS) is usable; `prefer` degrades to advisory-only guardrails with a loud warning; `off` skips sandbox probing entirely — for skills you fully trust. No value enables native Windows: local mode fails closed there before anything runs — use WSL2 or `--env-mode docker`. |
+| `SKILLEVALUATOR_LOCAL_ALLOW_NET` | `true` | Network egress for local-mode trials. Set to `0` to airgap a skill that must not reach the network. Incompatible with the `nv_build` provider — NVIDIA Build local agents require network access, so airgapped runs are rejected up front. |
+| `SKILLEVALUATOR_LOCAL_STRICT_READS` | `false` | Tightens the sandbox's read-only view of the host system to a stricter path set. |
+| `SKILLEVALUATOR_LOCAL_INHERIT_AGENT_KEYS` | `false` | When true, local-mode trials inherit the host's agent credential variables into their ambient environment. Off by default so a hostile skill command cannot read credentials — agents and verifiers receive credentials per-exec instead. |
+| `SKILLEVALUATOR_RUNTIME_DIR` | `~/.local/share/skillevaluator/runtimes` | Where local mode looks for managed agent CLIs. Must be a dedicated subdirectory — not the home directory or one of its parents. |
+| `SKILL_EVAL_HARBOR_PREBUILD_TASK_ENVS` | unset | Set to exactly `1` to opt in to pre-building Harbor task environment images before trials start (other truthy spellings are not honored). Opt-in because concurrent trial cleanup can remove a shared prebuilt image that sibling trials still need. |
+| `SKILL_EVAL_JUDGE_MODEL` | falls back to `SKILL_EVAL_LLM_MODEL` | Model override for the Tier 3 dimension judge in standard grading. `LLM_JUDGE_MODEL` is honored as a higher-precedence spelling; when neither is set, the judge uses `SKILL_EVAL_LLM_MODEL`, then the built-in judge default. |
+| `SKILLEVALUATOR_HARBOR_DIAGNOSTIC_ARTIFACT_MAX_BYTES` | `5242880` (5 MiB) | Size cap per diagnostic artifact copied from a Harbor trial into the results directory; oversized artifacts are skipped and recorded in the artifact manifest. |
+
+## In-container grader contract
+
+The `HARBOR_*` variables are read by your custom grader *inside* the task container — you never set them yourself, and each has a fixed in-container default. The full reward contract, with defaults and examples, lives in [Custom Graders & Tasks](custom-graders.mdx).
+
+| Variable | What it carries |
+| --- | --- |
+| `HARBOR_REWARD_JSON` | Path where your grader writes its `reward.json` score. |
+| `HARBOR_REWARD_TXT` | Path for the compatibility `reward.txt` dual-write. |
+| `HARBOR_ENTRY_JSON` | Path to the eval case entry being graded. |
+| `HARBOR_ATIF_PATH` | Path to the agent trajectory to grade. |
+| `HARBOR_LOGS_DIR` | Root of the in-container log tree; the agent trajectory lives under its `agent/` subdirectory. |
+| `HARBOR_TESTS_DIR` | Directory holding the staged grader and test assets. |
+| `HARBOR_GRADER` | Path to the staged `grader.py`. |
+
+## Set at runtime, not committed
+
+<Warning>
+Keep credentials out of skill repositories and CI configuration files. Export provider keys as masked secrets at runtime. Agent credentials for Tier 3 come only from the host environment — `evals/config.yml` `runtime_env` carries non-credential values, and any entry that names or references an operator-owned credential (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `NVIDIA_API_KEY`, their base-URL variables, `CLAUDE_CODE_USE_BEDROCK`, and the `AWS_*` credential variables) is rejected at run time, as are names that control the host process (`PATH`, `DOCKER_*`, proxy variables, `SKILLEVALUATOR_*`, and similar). See the blocked-names table in [Providers & Credentials](configuration.mdx#tier-3-credentials-two-roles). With NVIDIA Build, one exported `NVIDIA_API_KEY` covers both the evaluator and the agents in the `docker` and `local` env-modes.
+</Warning>
+
+## See also
+
+- [Providers & Credentials](configuration.mdx) — the setup walkthrough behind the provider variables
+- [CLI Reference](cli-reference.mdx) — the per-run flags that override many of these variables
+- [Gate Your CI](ci-integration.mdx) — supplying these variables as masked CI secrets
diff --git a/docs/eval-datasets.mdx b/docs/eval-datasets.mdx
new file mode 100644
index 00000000..42581d85
--- /dev/null
+++ b/docs/eval-datasets.mdx
@@ -0,0 +1,316 @@
+---
+title: "Eval Datasets"
+description: "Author the evals/ directory that powers Tier 3 — the dataset format, generation with create-eval-dataset, the config.yml run policy, fixtures, and custom container environments."
+---
+
+Everything a live evaluation runs on lives in one directory: `evals/` inside
+your skill. This page is the contract for that directory — what goes in it,
+the dataset format `tier3 evaluate` reads, and how to generate and refine
+cases.
+You can generate a starter dataset with no API key; LLM-backed generation and
+refinement need a configured provider (see
+[Providers & Credentials](configuration.mdx)).
+
+## The evals/ directory
+
+SkillEvaluator recognizes this tree inside your skill:
+
+<FileTree>
+- my-skill/
+ - SKILL.md
+ - scripts/
+ - requirements.txt
+ - apt-packages.txt
+ - evals/
+ - evals.json
+ - config.yml
+ - EVAL.md
+ - files/
+ - environment/
+ - Dockerfile
+ - docker-compose.yaml
+ - mcp_servers.toml
+ - harbor/
+ - grader.py
+ - results/
+</FileTree>
+
+Only the dataset is required. Everything else is optional and additive:
+
+| Path | Purpose | Commit it? |
+| --- | --- | --- |
+| `evals/evals.json` | The eval dataset. Without it, live evaluation cannot run. | Yes — required |
+| `evals/config.yml` | Run policy: attempts, thresholds, runtime env, agent models, grading mode. | Yes |
+| `evals/EVAL.md` | Developer guidance that steers dataset generation. | Yes |
+| `evals/files/` | Input fixtures, staged into `/workspace/input/` in the container. | Yes |
+| `evals/environment/` | Custom container environment: Dockerfile, sidecars, MCP servers. | Yes |
+| `evals/harbor/` | Bring-your-own-task native Harbor tasks — see [Custom Graders & Tasks](custom-graders.mdx). | Yes |
+| `evals/grader.py` or `evals/grader.sh` | Bring-your-own-grader script — see [Custom Graders & Tasks](custom-graders.mdx). | Yes |
+| `evals/results/` | Run output, written by `tier3 evaluate`. Never author it by hand. | No — output only |
+
+Unrecognized files in `evals/` are ignored, and the validator warns about them
+so typos don't silently drop a fixture.
+
+## Dataset format
+
+New datasets use the [agentskills.io](https://agentskills.io) shape: a
+top-level object with `skill_name` and an `evals` array.
+
+```json title="evals/evals.json"
+{
+ "skill_name": "my-skill",
+ "evals": [
+ {
+ "id": "my-skill-001",
+ "prompt": "Use my-skill to do the thing",
+ "expected_output": "Expected outcome description",
+ "assertions": [
+ "Read my-skill/SKILL.md",
+ "Returned correct result"
+ ]
+ }
+ ]
+}
+```
+
+| Field | Required | Meaning |
+| --- | --- | --- |
+| `skill_name` | Yes | Name of the skill under evaluation. |
+| `evals` | Yes | Array of eval cases. |
+| `id` | Yes | Unique case ID. Start with a letter or digit; ASCII letters, digits, `.`, `_`, `-` only; at most 128 characters. Integer IDs are accepted and canonicalized to strings. |
+| `prompt` | Yes | The user request the agent receives. |
+| `expected_output` | Yes | Outcome-oriented description of what a successful agent produced. |
+| `assertions` | No | Observable agent behaviors to verify, one per entry. |
+| `expected_skill` | No | Skill the agent should route to; `null` for negative cases. |
+| `expected_script` | No | Script the agent should run; `null` if none applies. |
+| `acceptable_skills` | No | Closely related skills that earn partial routing credit (legacy alias: `acceptable_alternates`). |
+
+The dataset file can be named `evals.json`, `evals.jsonl`, `evals.yaml`, or
+`evals.yml` — `tier3 evaluate` accepts all four.
+
+<AccordionGroup>
+ <Accordion title="Legacy flat format">
+ Older datasets are a flat array of entries with `question` instead of
+ `prompt`. They still run, but the validator emits a deprecation warning —
+ migrate to the agentskills.io shape for new work.
+
+ | Legacy field | agentskills.io equivalent |
+ | --- | --- |
+ | `question` (required, with `id`) | `prompt` |
+ | `ground_truth` (recommended) | `expected_output` |
+ | `expected_behavior` (recommended) | `assertions` |
+ | `expected_skill` (recommended) | `expected_skill` (unchanged) |
+ | `acceptable_alternates` | `acceptable_skills` |
+ </Accordion>
+</AccordionGroup>
+
+## Generate a dataset
+
+`create-eval-dataset` writes `evals/evals.json` for you, grounded in your
+`SKILL.md` name, description, body, and script filenames:
+
+```bash title="Generate the full four-case dataset"
+skillevaluator create-eval-dataset ./my-skill --full
+```
+
+| Flag | Effect |
+| --- | --- |
+| `--full` | Generate the full 4-bucket dataset (four cases) instead of one. |
+| `--no-llm` | Use local templates only — no API key required. |
+| `--dry-run` | Preview without writing. |
+| `--force` | Overwrite existing `evals/evals.json`. |
+| `--prompt PATH` | Use a developer guidance file instead of auto-detected `evals/EVAL.md`. |
+| `--refine` | Refine cases using existing or collected trajectories. |
+| `--from-results PATH` | With `--refine`: read trajectories from a specific results directory. |
+| `--results-dir DIRECTORY` | With `--refine`: external results root to search first. |
+
+Without an LLM provider configured, generation automatically falls back to the
+same templates `--no-llm` uses, so the command always succeeds. Exact defaults
+for every flag are in the
+[CLI Reference](cli-reference.mdx#create-eval-dataset).
+
+You don't have to generate a dataset up front at all: `tier3 evaluate
+--autopilot` (and `validate --full` or `validate --autopilot`) creates exactly
+one eval case when no evaluation source exists — LLM-generated with your
+configured provider, falling back to a deterministic template case when no
+key is available. Autopilot never overwrites an existing source; if
+`evals/evals.json` (or `evals/harbor/`) is already there, it runs with what
+you wrote.
+
+<Warning>
+ `--force` overwrites `evals/evals.json` without a backup. `--refine` implies
+ overwrite too — it produces the final version of the dataset.
+</Warning>
+
+### The four case buckets
+
+`--full` generates one case per bucket. The mix matters: the negative case
+protects against a skill that triggers when it shouldn't.
+
+| Bucket | Intent |
+| --- | --- |
+| Explicit | The user names the skill directly. |
+| Implicit | The user describes the task without naming the skill. |
+| Contextual | The task appears inside a realistic project scenario. |
+| Negative | A request that should not activate the skill. |
+
+### Guide generation with EVAL.md
+
+Place an `EVAL.md` in `evals/` and the generator picks it up automatically.
+Three headings are parsed as structured hints; everything else is general
+context:
+
+```markdown title="evals/EVAL.md"
+## Questions
+- Sample user prompts to use as eval questions
+
+## Behaviors
+- Expected agent behaviors to verify
+
+## Notes
+- General context and constraints
+```
+
+Author guidance is the highest-priority input: behaviors you list here are
+preserved in the generated cases even when a trial agent skipped them — that
+is exactly the regression the eval should catch.
+
+### Refine from real runs
+
+`--refine` grounds the dataset in real agent behavior. It looks for existing
+trajectories from a previous evaluation (checking `--from-results` or the
+latest resolved results first); if none exist, it runs the `claude-code` agent
+via Harbor to collect one, then rewrites `expected_output` and assertions from
+what the agent actually did:
+
+```bash title="Agent-refined generation"
+skillevaluator create-eval-dataset ./my-skill --full --refine
+```
+
+Collecting a fresh trajectory needs Docker, the `tier3` extra, and a configured
+provider. With `--no-llm`, refinement still works — it applies template-based
+updates from the trajectory instead of an LLM rewrite.
+
+## Run policy: evals/config.yml
+
+The dataset says *what* to evaluate; `evals/config.yml` (or `config.yaml`)
+says *how* to run it. CLI flags always override config values.
+
+```yaml title="evals/config.yml"
+schema_version: 1
+
+harbor:
+ task_source: auto # auto | evals_json | native_harbor
+ custom_dockerfile_mode: preserve # preserve | rebase
+ n_attempts: 3
+ pass_threshold: 0.50
+ n_concurrent: 2
+ timeout_multiplier: 1.5
+ resources:
+ cpus: 2
+ memory_mb: 4096
+ runtime_env:
+ - SERVICE_API_TOKEN # expands to ${SERVICE_API_TOKEN} at run time
+ pre_agent_setup:
+ - service-cli auth login --token "$SERVICE_API_TOKEN"
+ - service-cli whoami >/dev/null
+ agents:
+ claude-code:
+ model: your-model-id # any model your agent CLI accepts
+
+skill_workspace:
+ mode: isolated # isolated | group
+ include: []
+
+grading:
+ mode: default # default | default_plus_custom | custom_only
+```
+
+| Key | Accepts | Effect |
+| --- | --- | --- |
+| `schema_version` | `1` | Required. Only version 1 is supported. |
+| `harbor.task_source` | `auto`, `evals_json`, `native_harbor` | Where cases come from: auto-detect, the eval dataset, or native Harbor tasks. |
+| `harbor.custom_dockerfile_mode` | `preserve`, `rebase` | How your custom Dockerfile is handled. |
+| `harbor.base_image_mode` | `reuse`, `rebuild`, `disabled` | Shared pre-built eval base image (Docker env mode only): reuse it across tasks, force a rebuild, or ship self-contained per-task Dockerfiles. Default: `disabled`. |
+| `harbor.n_attempts` | integer ≥ 1 | Attempts per case (drives pass@k). |
+| `harbor.pass_threshold` | 0.0–1.0 | Minimum score for an attempt to count as a pass. |
+| `harbor.stop_on_pass` | boolean | Stop a case's remaining attempts after the first pass. Requires `n_attempts` > 1. |
+| `harbor.n_concurrent` | integer ≥ 1 | Concurrent trials. |
+| `harbor.max_agents` | integer ≥ 1 | Cap on agents evaluated in one run. |
+| `harbor.timeout_multiplier` | number > 0 | Scales task timeouts. |
+| `harbor.agent_runtime_preflight` | boolean | Bounded one-task smoke run that checks agent runtime readiness before the full evaluation. Default: `true`. |
+| `harbor.agent_workdir` | string | Working directory for the agent inside the container. |
+| `harbor.resources` | `cpus`, `memory_mb`, `storage_mb` | Per-container resource requests. |
+| `harbor.runtime_env` | list or mapping | Non-credential task values passed into the container. Prefer a list of plain names — each expands to `${NAME}` from your shell; a mapping sets explicit templates. Entries that name or reference operator-owned credentials (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `NVIDIA_API_KEY`, base-URL variables, AWS credential variables) fail with a hard error. Alias: `passthrough_env`. |
+| `harbor.pre_agent_setup` | string or list | Shell commands run in the container before the agent starts. Alias: `setup_commands`. |
+| `harbor.agents.<name>.model` | string | Per-agent model override; whitespace is trimmed. `claude` is accepted as an alias of `claude-code`, but configuring both spellings in one config is an error. |
+| `skill_workspace.mode` | `isolated`, `group` | Whether sibling skills are visible — see [Agents & Sandboxes](agents-and-sandboxes.mdx). |
+| `skill_workspace.include` | list of paths | Extra skills staged into a `group` workspace. |
+| `grading.mode` | `default`, `default_plus_custom`, `custom_only` | Grading pipeline — see [Custom Graders & Tasks](custom-graders.mdx). Legacy spellings `aces_default` and `aces_plus_custom` are accepted and normalized to `default` and `default_plus_custom`. |
+
+<Note>
+ Unknown keys are rejected, not ignored — a typo like `n_attemps` fails the
+ config load instead of silently running with defaults. Use only one of each
+ alias pair. Agent and provider credentials never go through `runtime_env` —
+ they come only from your host environment; see the two-credential-roles
+ section in [Providers & Credentials](configuration.mdx).
+</Note>
+
+## Fixtures and custom environments
+
+Two optional directories shape the world the agent works in.
+
+**`evals/files/`** holds input fixtures — test data, configs, sample
+documents. The entire directory is copied into `/workspace/input/` inside the
+container, so prompts can reference those paths directly.
+
+**`evals/environment/`** customizes the container itself:
+
+| File | Rules |
+| --- | --- |
+| `Dockerfile` | At most 20 KB; the first non-comment line must be `FROM`. The build context is `environment/` itself, so `COPY` paths are relative to it (`COPY skills/`, not `COPY environment/skills/`). If absent, an image is auto-generated from `scripts/requirements.txt` and `scripts/apt-packages.txt` on a `python:3.12-slim` base. |
+| `docker-compose.yaml` | Sidecar services only (databases, APIs, mock servers) launched alongside the agent container. A strict allowlist applies: host port mappings are removed, and host mounts, privileged access, and unrecognized keys are rejected. Also accepted as `docker-compose.yml`. |
+| `mcp_servers.toml` | MCP servers injected into the container. TOML array-of-tables `[[mcp_servers]]`; each entry needs `name` plus `url` or `command`. Command-based servers use `transport = "stdio"` (auto-inferred); URL-based servers default to `sse`. |
+| Subdirectories | Copied into the container environment (config files, seed data for sidecars). Any name except `__pycache__` and `.git`. |
+
+```toml title="evals/environment/mcp_servers.toml"
+[[mcp_servers]]
+name = "my-api"
+url = "http://localhost:8080"
+
+[[mcp_servers]]
+name = "my-tool"
+command = "python /workspace/tools/server.py"
+transport = "stdio"
+```
+
+## Validate before you run
+
+Check the whole contract — dataset fields, case IDs, `config.yml`, Dockerfile
+rules, MCP declarations — without launching anything:
+
+```bash title="Validate the evals/ contract"
+skillevaluator tier3 validate ./my-skill
+```
+
+| Flag | Effect |
+| --- | --- |
+| `--json` | Emit JSON output. |
+| `--strict` | Treat warnings as failures. |
+| `--harbor-contract` | Validate the Harbor task and reward contract for BYOT/BYOG setups — see [Custom Graders & Tasks](custom-graders.mdx). |
+
+Run it in CI or before a long evaluation: it catches an empty dataset, missing
+required fields, duplicate case IDs, and invalid config in seconds.
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Run a live evaluation" icon="rocket" href="tier3-live-evaluation.mdx">
+ Point `tier3 evaluate` at your skill and measure Skill Lift with the
+ dataset you just authored.
+ </Card>
+ <Card title="Custom graders and tasks" icon="flask" href="custom-graders.mdx">
+ When assertions aren't enough, bring your own grader or a complete Harbor
+ task.
+ </Card>
+</CardGroup>
diff --git a/docs/index.mdx b/docs/index.mdx
index 0ce89f40..fd666d77 100644
--- a/docs/index.mdx
+++ b/docs/index.mdx
@@ -1,75 +1,86 @@
---
title: "SkillEvaluator"
-description: "A multi-tier framework for evaluating AI agent skills — deterministic quality gates, semantic overlap detection, synthetic eval datasets, and live agent A/B evaluation."
+description: "An open-source, multi-tier framework for evaluating AI agent artifacts, starting with agent skills."
+layout: overview
---
-SkillEvaluator is an open-source, multi-tier framework for evaluating AI agent
-skills — deterministic quality gates, semantic overlap detection, synthetic eval
-dataset generation, and live agent evaluation. A skill is a folder of
-instructions and scripts (a `SKILL.md` plus supporting files) that extends an AI
-agent — see the [Agent Skills specification](https://agentskills.io/).
-SkillEvaluator gates skills through three progressively deeper tiers, from free
-offline checks to live agent A/B evaluation.
+SkillEvaluator is an open-source, multi-tier framework for evaluating AI agent artifacts, starting with agent skills: deterministic quality gates, semantic overlap detection, synthetic eval dataset generation, and live agent evaluation.
-Each tier is an independent entry point — run any command directly; nothing
-requires running the earlier tiers first. With no keys configured and the Tier 1
-scanners installed, `validate` runs without an API credential (its dedup pass
-skips gracefully); the [credential map](configuration.mdx#what-needs-credentials-and-what-runs-offline)
-lists exactly what each command needs.
+Agent skills are folders of instructions and supporting files that extend AI agents, as defined by the [Agent Skills specification](https://agentskills.io/). SkillEvaluator is part of the [NVIDIA Verified Skills pipeline](https://docs.nvidia.com/skills/). Tier 1 integrates [SkillSpector](https://github.com/NVIDIA/SkillSpector) for specialized security scanning; see [Installation](installation.mdx#system-tools) for the security setup.
-## Three-tier overview
+<Note>
+ SkillEvaluator's support level is **Experimental**: community-supported on a best-effort basis through [GitHub Issues](https://github.com/NVIDIA/SkillEvaluator/issues), with no SLA. See [SUPPORT.md](https://github.com/NVIDIA/SkillEvaluator/blob/main/SUPPORT.md).
+</Note>
-| Tier | Purpose | Representative commands | Requires |
-| --- | --- | --- | --- |
-| [Tier 1](tier1-validation.mdx) | Validate schema, quality, security, secrets, PII, licenses, code integrity, Unicode safety, and scripts; optionally add LLM judging and deeper security analysis | `validate`, `quality-check`, `security-scan`, `pii-scan`, `lint-scripts`, `rubric-eval` | Deterministic checks need no API key; full scanner coverage needs the `security` extra and Gitleaks; LLM checks need a provider key |
-| [Tier 2](tier2-deduplication.mdx) | Detect redundant content within one skill and overlapping skills across a collection or local catalog | `context-optimization-check` / `dedup-scan` (intra-skill), `similarity-check` (inter-skill) | An embeddings provider; intra-skill analysis also needs a chat LLM — local OpenAI-compatible endpoints work |
-| [Tier 3](tier3-live-evaluation.mdx) | Create evaluation datasets and measure agent behavior with and without a skill | `create-eval-dataset`, `evaluate`, `compare` | Keyless templates and report inspection need no credential; LLM generation needs a provider key; live evaluation also needs the agent credential and a Docker, local OS, or cloud sandbox |
+## The three tiers
-## Quickstart
+Each tier answers one question about your skill.
-Install every SkillEvaluator Python feature with one command.
-[uv](https://docs.astral.sh/uv/) automatically provisions Python 3.13; if uv is
-not installed yet, follow its
-[one-command installation](https://docs.astral.sh/uv/getting-started/installation/):
+<CardGroup cols={3}>
+ <Card title="Tier 1: Validation" href="tier1-validation.mdx">
+ **Is this skill safe and well-formed?** Deterministic schema, quality, security, PII, license, and script checks that run offline — plus optional LLM-as-judge scoring.
+ </Card>
+ <Card title="Tier 2: Deduplication" href="tier2-deduplication.mdx">
+ **Does it overlap with what exists?** Embedding similarity finds repeated guidance inside one skill and overlapping skills across a collection or catalog.
+ </Card>
+ <Card title="Tier 3: Live Evaluation" href="tier3-live-evaluation.mdx">
+ **Does it actually help the agent?** A real agent runs generated tasks with and without the skill, inside a sandbox, and the difference is measured.
+ </Card>
+</CardGroup>
-```bash
-uv tool install --python 3.13 "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
-```
+Every tier is an independent entry point — run any command directly; nothing requires running the earlier tiers first.
+
+| Tier | Representative commands | Requires |
+| --- | --- | --- |
+| [Tier 1](tier1-validation.mdx) | `validate`, `quality-check`, `security-scan`, `pii-scan`, `lint-scripts`, `rubric-eval` | No API key for deterministic checks; the `security` extra plus external Semgrep, SkillSpector, and Gitleaks executables for full scanner coverage; a provider key for LLM checks |
+| [Tier 2](tier2-deduplication.mdx) | `context-optimization-check`, `similarity-check` | An embeddings provider; intra-skill analysis also needs a chat LLM — local OpenAI-compatible endpoints work |
+| [Tier 3](tier3-live-evaluation.mdx) | `create-eval-dataset`, `tier3 evaluate`, `compare` | No credential for keyless templates and report inspection; a provider key for LLM generation and grading; live evaluation also needs the agent CLI with its credential and a Docker, local OS, or cloud sandbox |
+
+## Try it in two minutes
-Run the first offline check directly against your own skill — **no API key,
-Docker, Gitleaks, or repository clone required**:
+Install with [uv](https://docs.astral.sh/uv/) and run the keyless quality check against your own skill — no API key, Docker, Gitleaks, or repository clone required:
-```bash
+```bash title="No API key required"
+uv tool install --python 3.13 "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
skillevaluator quality-check ./my-skill
```
-For a complete offline Tier 1 run, install Gitleaks once, then use `validate`:
+You get a 0–100 quality score with an A–F grade. From there, the [Quickstart](quickstart.mdx) walks through a complete offline Tier 1 run and wiring up a provider for the LLM-backed parts.
-```bash
-brew install gitleaks # macOS
-skillevaluator validate ./my-skill --no-dedup
-```
+## How a run flows
+
+<Frame background="subtle" caption="The SkillEvaluator three-tier pipeline">
+ <img src="./assets/pipeline-overview.svg" alt="SkillEvaluator pipeline: skill directory through Tier 1 static validation, Tier 2 semantic deduplication, and Tier 3 live agent evaluation, producing reports and a verdict" />
+</Frame>
+
+Tier 1's deterministic gates run offline. Tier 2 and the optional Tier 1 LLM checks need a provider key, and Tier 3 adds the agent credential and a sandbox. Every run ends in [reports](reports.mdx) — CLI, JSON, HTML, or Markdown.
+
+## What Tier 3 measures
+
+- **Five dimensions** — Security, Correctness, Discoverability, Effectiveness, and Efficiency: human-readable scores that lead every standard grading report.
+- **Skill Lift** — the measured difference between the with-skill and without-skill runs; the number that says whether the skill earns its place.
+- **pass@k** — multi-attempt reliability, reported separately from the dimension scores.
+
+How to read all three, and the on-disk results contract, live in [Reports & Results](reports.mdx).
+
+## Explore the docs
+
+<CardGroup cols={2}>
+ <Card title="Quickstart" icon="rocket" href="quickstart.mdx">
+ First evaluation result in about two minutes, no API key.
+ </Card>
+ <Card title="Gate Your CI" icon="shield" href="ci-integration.mdx">
+ Make SkillEvaluator a merge gate — exit codes, a GitHub Actions recipe, and progressive adoption.
+ </Card>
+ <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ Every command, every flag, exact defaults.
+ </Card>
+ <Card title="Contributing" icon="book" href="developer-guide.mdx">
+ Dev environment, tests, docs workflow, and how to submit a change.
+ </Card>
+</CardGroup>
-See [Installation](installation.mdx) for per-tier extras, plain pip, and Docker, and
-[Configuration](configuration.mdx) to wire up a provider for the LLM-backed parts.
-
-## The tiers
-
-- **[Tier 1: Static and Security Validation](tier1-validation.mdx)** — the everyday
- command and a ready-made CI gate. Deterministic schema, quality, security,
- PII, license, code-integrity, Unicode, and script checks that run offline,
- plus optional LLM-as-judge scoring.
-- **[Tier 2: Semantic Deduplication](tier2-deduplication.mdx)** — find duplicated
- guidance inside one skill or compare skills across a collection with embedding
- similarity.
-- **[Tier 3: Live Agent Evaluation](tier3-live-evaluation.mdx)** — measure whether a
- skill actually makes an agent better by running a real agent against generated
- tasks, with and without the skill, inside Harbor sandboxes.
-
-## More
-
-- [Developer Guide](developer-guide.mdx) — contributor setup
-- [SkillSpector](https://github.com/NVIDIA/SkillSpector) — the skill security
- scanner used by the `security` extra
-- [Harbor](https://github.com/harbor-framework/harbor) — the sandbox framework
- behind Tier 3
+- [SkillEvaluator on GitHub](https://github.com/NVIDIA/SkillEvaluator)
+- [Support](https://github.com/NVIDIA/SkillEvaluator/blob/main/SUPPORT.md) — best-effort, through GitHub Issues
+- [Security policy](https://github.com/NVIDIA/SkillEvaluator/blob/main/SECURITY.md) — report vulnerabilities privately, never in a public issue
+- [License](https://github.com/NVIDIA/SkillEvaluator/blob/main/LICENSE) — Apache-2.0
diff --git a/docs/installation.mdx b/docs/installation.mdx
index a5860c9c..27d4d458 100644
--- a/docs/installation.mdx
+++ b/docs/installation.mdx
@@ -1,84 +1,70 @@
---
title: "Installation"
-description: "Tailor a SkillEvaluator install: smaller per-tier extras, plain pip, and Docker."
+description: "Install SkillEvaluator with uv, from source, or in Docker, and choose per-tier extras to keep the footprint small."
---
-The quickest install is the one-liner from the
-[README quickstart](../README.md#quickstart) — everything on this page is for
-tailoring it: smaller installs, plain pip, and Docker.
+This page gets SkillEvaluator installed the way you want it — the full bundle, a smaller per-tier install, an editable source checkout, or a container. No API key is needed to install or to run the deterministic Tier 1 checks; keys only come into play later, for LLM-backed features ([Providers & Credentials](configuration.mdx)).
+
+If you just want the fastest path to a first result, the [Quickstart](quickstart.mdx) covers it in one command.
This project will download and install additional third-party open source software projects. Review the license terms of these open source projects before use.
## Requirements
-- [uv](https://docs.astral.sh/uv/getting-started/installation/) for the
- recommended install paths (plain pip works too — see below).
-- Python 3.12 or 3.13. `uv tool install` and `uv sync` provision a supported
- interpreter automatically when passed `--python 3.13`; only the plain-pip
- path needs one on PATH.
-- Git for source installs.
-- Docker, only for the container install and Tier 3 Docker evaluation.
+- [uv](https://docs.astral.sh/uv/getting-started/installation/) for the recommended install paths (plain pip works too — see the source tab below).
+- Python 3.12 or 3.13. `uv tool install` and `uv sync` provision a supported interpreter automatically when passed `--python 3.13`; only the plain-pip path needs one on PATH.
+- Git for source installs and separately installed security scanners.
+- Docker, only for the container install and Tier 3 Docker-mode evaluation.
- No API key is needed for deterministic Tier 1 checks. Full default scanner
- coverage requires the `security` extra plus Gitleaks. LLM-backed checks and
- Tiers 2–3 use a configured provider — see
- [CONFIGURATION.md](configuration.mdx).
+ coverage requires the `security` extra plus separate Semgrep, SkillSpector,
+ and Gitleaks executables. LLM-backed checks and Tiers 2–3 use a configured provider — see
+ [Providers & Credentials](configuration.mdx).
-## Choosing extras
+## Install
-The base package runs schema, PII, license, quality, Unicode, script, and
-hygiene checks. Scanner-backed default checks require an extra or external
-binary:
+<Tabs>
+<Tab title="uv tool (recommended)" language="uv">
-| Extra | Capability |
-| --- | --- |
-| `llm` | Shared LLM and embedding clients |
-| `tier2` | Intra-skill deduplication and local-catalog inter-skill similarity; includes `llm` |
-| `tier3` | Docker and cloud live-agent evaluation; includes `llm` |
-| `security` | Bandit and pip-audit |
-| `all` | `tier2`, `tier3`, and `security` |
-| `dev` | Build, test, coverage, and formatting tools |
+Install the full bundle as a standalone tool — uv provisions Python 3.13 for you:
+
+```bash title="Install everything"
+uv tool install --python 3.13 "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
+```
-Swap the extras in the install one-liner:
+Prefer a smaller footprint? Swap the extras in the same one-liner:
-```bash
+```bash title="Install with selected extras"
uv tool install --python 3.13 "skillevaluator @ git+https://github.com/NVIDIA/SkillEvaluator.git" # base checks; scanner checks report INCOMPLETE
uv tool install --python 3.13 "skillevaluator[security] @ git+https://github.com/NVIDIA/SkillEvaluator.git" # + bundled Python security scanners
uv tool install --python 3.13 "skillevaluator[tier2,tier3] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
```
-Semgrep and SkillSpector remain supported external scanners. Install them in
-separate tool environments so their CLI dependency stacks do not constrain or
-become part of the Skill Evaluator distribution:
+To pick up the latest commit later, rerun the install with `--reinstall`:
-```bash
-brew install semgrep # macOS
-uv tool install semgrep # isolated Python tool environment
-uv tool install git+https://github.com/NVIDIA/SkillSpector.git # isolated Python tool environment
+```bash title="Upgrade to the latest commit"
+uv tool install --python 3.13 --reinstall "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
```
-The external executables must be on `PATH`, or their absolute paths can be set
-with `SKILLEVALUATOR_SEMGREP_PATH` and
-`SKILLEVALUATOR_SKILLSPECTOR_PATH`. RHEL 8 and compatible enterprise Linux
-systems can provide compatible executables independently of the Skill
-Evaluator Python environment. Use `all` only when Tier 2/Tier 3 and the
-bundled Python security tools are also needed.
+Then confirm the command resolves:
-## Install from source
+```bash title="Verify"
+skillevaluator --version
+```
+
+</Tab>
+<Tab title="From source" language="source">
-For development or an editable environment, clone the repository and let uv
-create the environment from the committed lockfile:
+For development or an editable environment, clone the repository and let uv create the environment from the committed lockfile:
-```bash
+```bash title="Clone and sync"
git clone https://github.com/NVIDIA/SkillEvaluator.git
cd SkillEvaluator
uv sync --python 3.13 --all-extras
```
-Or with plain pip (requires Python 3.12 or 3.13 on PATH — if your system
-`python3` is newer, use `python3.12 -m venv .venv` instead, or prefer the
-`uv sync` path above, which provisions a supported Python automatically):
+Or with plain pip. This path needs Python 3.12 or 3.13 on PATH — if your system `python3` is newer, use `python3.12 -m venv .venv` instead, or prefer the `uv sync` path above, which provisions a supported Python automatically:
-```bash
+```bash title="Editable install with pip"
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -e ".[all]"
@@ -86,34 +72,99 @@ python -m pip install -e ".[all]"
Editable extras work the same way as the one-liner:
-```bash
+```bash title="Editable install with selected extras"
python -m pip install -e .
python -m pip install -e ".[security]"
python -m pip install -e ".[all,dev]"
```
-## Run with Docker
+Then confirm the command resolves inside the environment:
+
+```bash title="Verify"
+uv run skillevaluator --version # uv sync path
+skillevaluator --version # inside the activated pip venv
+```
-Build the image locally, inspect the CLI, and run a deterministic validation
-against the included sample skill:
+</Tab>
+<Tab title="Docker" language="docker">
-```bash
+The repository ships a [Dockerfile](https://github.com/NVIDIA/SkillEvaluator/blob/main/Dockerfile) that installs every pip-installable feature (`[all]`). Build the image locally and run a deterministic validation against the included sample skill:
+
+```bash title="Build and run"
docker build -t skillevaluator:local .
-docker run --rm skillevaluator:local --help
+docker run --rm skillevaluator:local --version
docker run --rm \
-v "$PWD/tests/fixtures/skills/simple:/workspace/skills/simple:ro" \
skillevaluator:local validate /workspace/skills/simple --no-llm --no-dedup
```
-## Verify the installation
+The image does not bundle the external Semgrep, SkillSpector, or Gitleaks executables, so their required scanner evidence is incomplete and `validate` exits non-zero — the other checks still run and the report is still produced (see [Troubleshooting](#troubleshooting)). Tier 3 still requires credentials for the selected provider and agent at runtime — pass them into the container as environment variables when you get there.
+
+</Tab>
+</Tabs>
+
+## Choosing extras
+
+The base package completes the schema, PII, license, quality, Unicode, script-lint, and hygiene checks on its own; scanner-backed checks still run but report INCOMPLETE until the `security` extra and the required external scanner executables are installed. Everything else lives behind an extra:
+
+| Extra | What it unlocks |
+| --- | --- |
+| `llm` | Shared LLM and embedding clients used by LLM-backed checks, Tier 2, and Tier 3 |
+| `tier2` | Intra-skill deduplication and local-catalog inter-skill similarity; includes `llm` |
+| `tier3` | Docker and cloud live-agent evaluation through Harbor; includes `llm` |
+| `security` | Bandit and pip-audit |
+| `all` | `tier2`, `tier3`, and `security` in one bundle |
+| `dev` | Build, test, coverage, and formatting tools for contributors |
+
+<Tip>
+`[all]` installs every SkillEvaluator extra. External scanner tools, Docker, and agent CLIs stay separate no matter which extra you pick.
+</Tip>
+
+## System tools
+
+<Note>
+Install the required security scanners separately so their dependency stacks do not constrain the SkillEvaluator distribution:
+
+```bash title="External security scanners"
+brew install semgrep gitleaks # macOS
+uv tool install semgrep # isolated Python tool environment
+uv tool install git+https://github.com/NVIDIA/SkillSpector.git
+```
+
+On other systems, install Gitleaks with `go install github.com/gitleaks/gitleaks/v8@latest` or a binary from the [Gitleaks releases](https://github.com/gitleaks/gitleaks/releases). Semgrep and SkillSpector must be on `PATH`, or configured with `SKILLEVALUATOR_SEMGREP_PATH` and `SKILLEVALUATOR_SKILLSPECTOR_PATH`. RHEL 8 and compatible enterprise Linux systems can supply compatible executables independently of the SkillEvaluator Python environment.
+
+Docker is required only for Tier 3 Docker-mode evaluation. Agent CLIs and their credentials are user-supplied — see [Agents & Sandboxes](agents-and-sandboxes.mdx).
+</Note>
+
+## Verify your install
+
+Two commands tell you whether the install landed:
-```bash
+```bash title="Smoke test"
skillevaluator --version
-skillevaluator --help
+skillevaluator health-check
```
-The `gitleaks` secrets scanner is a required external Go binary that pip cannot
-install. When `code-integrity` runs without it, validation is `INCOMPLETE` and
-returns non-zero. Install it separately: `brew install gitleaks` (macOS) or
-download a binary from the official
-[Gitleaks releases](https://github.com/gitleaks/gitleaks/releases).
+`--version` confirms the CLI is on PATH — that is the whole smoke test for a Tier 1-only install. `health-check` goes one step further: a quick readiness check of the CLI and the selected live-eval backend (defaults: the `codex` agent, `docker` environment), useful once you plan to run Tier 3. On an install without the `tier3` extra or a configured provider it lists the missing pieces and exits non-zero — expected for a Tier 1-only setup, not a broken install. For a deeper diagnosis, `doctor` covers the same ground plus model verification — see the [CLI Reference](cli-reference.mdx) for both.
+
+## Troubleshooting
+
+<AccordionGroup>
+<Accordion title="The shell can't find skillevaluator after installing">
+uv installs tools to `~/.local/bin`, which may not be on PATH yet. Run `uv tool update-shell` and open a new terminal.
+</Accordion>
+<Accordion title="Validation reports INCOMPLETE and exits non-zero">
+Install any missing required scanner named in the report. The `security` extra supplies Bandit and pip-audit; Semgrep, SkillSpector, and Gitleaks are separate executables. Missing required evidence leaves validation `INCOMPLETE` and non-zero.
+</Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Quickstart" icon="rocket" href="quickstart.mdx">
+ Run your first evaluation in about two minutes — no API key required.
+ </Card>
+ <Card title="Providers & Credentials" icon="shield" href="configuration.mdx">
+ Wire up an LLM provider for Tier 2, Tier 3, and LLM-backed checks.
+ </Card>
+</CardGroup>
diff --git a/docs/quickstart.mdx b/docs/quickstart.mdx
new file mode 100644
index 00000000..6890dd9a
--- /dev/null
+++ b/docs/quickstart.mdx
@@ -0,0 +1,98 @@
+---
+title: Quickstart
+description: Install SkillEvaluator and get your first skill evaluation result in about two minutes — no API key required.
+---
+
+Get your first evaluation result in about two minutes, with no API key. This page walks you from install to a scored skill, then adds a provider key to unlock the LLM-backed checks.
+
+## Evaluate your first skill
+
+<Steps>
+ ### Install
+
+ One command installs the CLI with every Python feature. [uv](https://docs.astral.sh/uv/) provisions Python 3.13 automatically:
+
+ ```bash title="Install with uv"
+ uv tool install --python 3.13 "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
+ ```
+
+ Confirm the install:
+
+ ```bash title="Verify"
+ skillevaluator --version
+ ```
+
+ You should see `skillevaluator, version 0.1.0` (or newer).
+
+ <Tip>
+ If the shell can't find `skillevaluator`, run `uv tool update-shell` and open a new terminal — uv installs tools to `~/.local/bin`, which may not be on your PATH yet.
+ </Tip>
+
+ ### Run the keyless quality check
+
+ Point SkillEvaluator at any skill directory (a folder with a `SKILL.md`):
+
+ ```bash title="No API key required"
+ skillevaluator quality-check ./my-skill
+ ```
+
+ You get a deterministic quality score from 0–100 and an A–F grade; the check passes at 70 (a C) or above by default.
+
+ ### Run the complete offline Tier 1 validation
+
+ `validate` runs the full static and security check suite. Install Gitleaks once for a complete security result, and pass `--no-dedup` to skip the Tier 2 pass that needs an embeddings key:
+
+ ```bash title="Complete offline Tier 1"
+ brew install gitleaks # macOS; other platforms: https://github.com/gitleaks/gitleaks/releases
+ skillevaluator validate ./my-skill --no-dedup
+ ```
+
+ The terminal shows a compact pipeline view, and HTML and JSON reports land in `reports/` — pass `-r cli` explicitly for terminal-only output, or `--verbose` for the full per-check detail stream. The command exits `0` when every check passes and `1` when a check fails — ready to drop into CI as-is. See [Gate Your CI](ci-integration.mdx) for the full recipe.
+
+ ### Add an LLM provider
+
+ LLM-backed features — rubric judging, deeper security analysis, and Tier 2 deduplication — use whichever provider you configure. A free [NVIDIA API Catalog](https://build.nvidia.com/) key covers both LLM judging and embeddings with one variable:
+
+ ```bash title="Configure a provider"
+ export SKILL_EVAL_LLM_PROVIDER=nv_build
+ export NVIDIA_API_KEY='nvapi-...'
+ ```
+
+ <Note>
+ If `SKILL_EVAL_LLM_PROVIDER` is unset and exactly one of `NVIDIA_API_KEY`, `OPENAI_API_KEY`, or `ANTHROPIC_API_KEY` is present, that provider is auto-selected; with more than one key set, you must name the provider explicitly. OpenAI, Anthropic, Bedrock, OpenAI-compatible endpoints, and fully local servers all work; see [Providers & Credentials](configuration.mdx).
+ </Note>
+
+ ### Check for redundancy
+
+ With a provider configured, find repeated guidance inside your skill, or compare every skill in a collection for overlap:
+
+ ```bash title="Tier 2 deduplication"
+ skillevaluator context-optimization-check ./my-skill # inside one skill
+ skillevaluator similarity-check ./skills # across a collection
+ ```
+
+ Cross-skill matches are classified by similarity, from `EXACT_DUPLICATE` down to `LOOSELY_RELATED`; intra-skill duplicate findings include a suggested fix. See [Tier 2: Deduplication](tier2-deduplication.mdx).
+</Steps>
+
+## Where to go next
+
+| Your goal | Command | Guide | What success looks like |
+| --- | --- | --- | --- |
+| Gate skill quality and security | `validate` | [Tier 1: Validation](tier1-validation.mdx) | Exit code `0`, no CRITICAL findings |
+| Find overlapping or duplicate skills | `similarity-check` | [Tier 2: Deduplication](tier2-deduplication.mdx) | No `EXACT_DUPLICATE` or `HIGH_SIMILARITY` findings |
+| Prove the skill helps a real agent | `tier3 evaluate` | [Tier 3: Live Evaluation](tier3-live-evaluation.mdx) | Positive Skill Lift across the five dimensions |
+| Run all three tiers in one shot | `validate --full` | [Tier 3: Live Evaluation](tier3-live-evaluation.mdx) | Exit code `0` plus an auto-generated dataset and advisory Tier 3 results |
+| Block bad skills at merge time | `validate` in CI | [Gate Your CI](ci-integration.mdx) | A red check on failing PRs |
+| Look up every flag and default | — | [CLI Reference](cli-reference.mdx) | — |
+
+## What each tier needs
+
+Every tier is an independent entry point — nothing requires running the earlier tiers first.
+
+| Tier | CLI only | Provider key | Gitleaks | Docker + agent CLI |
+| --- | --- | --- | --- | --- |
+| **Tier 1** — validation | All deterministic checks | Only `rubric-eval` and the optional `--llm`/`--llm-verify` flags | For a complete security result | — |
+| **Tier 2** — deduplication | — | Embeddings; intra-skill analysis also needs a chat LLM | — | — |
+| **Tier 3** — live evaluation | Keyless dataset templates (`--no-llm`) and report viewing | LLM dataset generation and grading | — | Live runs need a sandbox plus the agent CLI and its credential |
+
+Ready for the deeper install options — extras, pip, source, Docker? Head to [Installation](installation.mdx).
diff --git a/docs/reports.mdx b/docs/reports.mdx
new file mode 100644
index 00000000..7f39f983
--- /dev/null
+++ b/docs/reports.mdx
@@ -0,0 +1,293 @@
+---
+title: "Reports & Results"
+description: "Every file SkillEvaluator writes — report formats, file naming, BENCHMARK.md, the Tier 3 results tree, and how to read dimensions, Skill Lift, and pass@k."
+---
+
+This page maps everything SkillEvaluator writes to disk and how to read it.
+Nothing here requires an API key — it is the output contract for every command,
+from a keyless `quality-check` to a full live evaluation.
+
+Two kinds of artifacts exist. Tier 1 and Tier 2 commands render **reports** —
+one per format, selected with `-r`. Tier 3 (`tier3 evaluate`) additionally
+writes a **results tree**: a timestamped directory of raw scores, trials, and
+lift data that `view` and `compare` read back later.
+
+## Report formats
+
+Every Tier 1 and Tier 2 command accepts `-r`/`--report` and `-o`/`--output-dir`.
+The flag is repeatable and accepts comma- or space-separated values
+(`-r cli,json,html` or `-r cli json html`). By default — with no `-r` at all —
+the terminal shows a compact summary and the run writes `html` and `json`
+report files. An explicit `-r` is honored exactly, including `-r cli`, which
+prints the full terminal report and writes no files. Files land in `reports/`
+unless you override it with `-o`.
+
+For `validate`, that compact default is a pipeline view — a per-check ticker
+plus a summary. Pass `--verbose` to get the full per-check detail stream in
+the terminal instead.
+
+| Format | What it is | Reach for it when |
+| --- | --- | --- |
+| `cli` | Full Rich terminal report | You want every finding at the keyboard, no files written |
+| `json` | Machine-readable JSON (default) | CI needs to parse scores and findings |
+| `html` | Standalone HTML report (default) | A human needs to review or archive a run |
+| `markdown` | Markdown for PR comments | You want the result posted on a pull request |
+
+```bash title="One run, three report files"
+skillevaluator validate ./my-skill -r json,html,markdown -o reports
+```
+
+For gating a pipeline on the JSON output, see [Gate Your CI](ci-integration.mdx).
+
+## File naming
+
+Report filenames follow two patterns, both under the output directory:
+
+| Command | Basename | Overwrites? |
+| --- | --- | --- |
+| `validate` (full run) | `skillevaluator-output-<timestamp>` | No — each run gets a new, sortable name |
+| `quality-check` | `skillevaluator-quality` | Yes — fixed name per format |
+| `rubric-eval` | `skillevaluator-rubric` | Yes |
+| `security-scan` | `skillevaluator-security` | Yes |
+| `pii-scan` | `skillevaluator-pii` | Yes |
+| `lint-scripts` | `skillevaluator-script-lint` | Yes |
+| `similarity-check` | `skillevaluator-similarity` | Yes |
+| `context-optimization-check` | `skillevaluator-context` | Yes |
+| `dedup-scan` | `skillevaluator-dedup` | Yes |
+
+The extension matches the format (`.json`, `.html`, `.md`); the `cli` format
+prints to the terminal and never writes a file. A full `validate` run's
+timestamp is `YYYYMMDDHHMMSS`, so
+`-r json` produces something like `skillevaluator-output-20260709141530.json`
+and never clobbers the previous run.
+
+## BENCHMARK.md
+
+When the target is a skill, `validate` always writes `BENCHMARK.md` to the
+output directory — regardless of which `-r` formats you picked, and even when
+validation fails. It is a publication card: evaluation date, the active
+validation profile, per-tier summaries, and (when Tier 3 ran) agents, dataset
+composition, and the dimension-by-dimension results table.
+
+The card carries one overall verdict — `PASS`, `FAIL`, or `INCOMPLETE`. It
+fails closed: if a required scanner produced no trustworthy evidence, the
+verdict is `INCOMPLETE` and the card explicitly says not to use it to recommend
+publication. A Publication Recommendation section appears only on a clean
+`PASS`. An advisory Tier 3 run that was skipped doesn't fail the combined
+verdict: the card adds an explicit `Tier 3 live evaluation: SKIPPED — <reason>`
+line and adjusts the publication recommendation to say the live evaluation
+didn't run. Keep the file with the skill and refresh it whenever the skill or
+its eval dataset materially changes.
+
+## Safety guarantees
+
+Report writes are hardened: every file is written atomically (a temporary file
+renamed into place), and SkillEvaluator refuses to write through symlinks,
+Windows junctions, or paths with parent traversal. A run that is interrupted
+mid-write never leaves a half-written report, and a report path can't be used
+to redirect output somewhere unexpected.
+
+## Tier 3 results on disk
+
+`tier3 evaluate` does not use `-r`/`-o`. It writes a results tree to the first
+of:
+
+1. `--results-dir <dir>` on the command line
+2. the `SKILLEVALUATOR_RESULTS_DIR` environment variable
+3. `<skill>/evals/results/` (the default)
+
+With an external root (the first two options), each skill gets its own
+subdirectory — runs land under `<dir>/<skill-name>/`, not directly under
+`<dir>`.
+
+Each run creates a directory named by its run ID (`YYYYMMDD_HHMMSS`), and a
+`latest` symlink points at the newest run:
+
+<FileTree>
+- evals/
+ - results/
+ - latest/
+ - 20260709_141530/
+ - result.json
+ - run_config.json
+ - attempt_policy.json
+ - report.html
+ - comparison.json
+ - codex/
+ - lift.json
+ - pass_at_k_lift.json
+ - with-skill/
+ - summary.json
+ - trials/
+ - without-skill/
+ - summary.json
+ - trials/
+</FileTree>
+
+- **`result.json`** — the run summary: run ID, per-agent scores and lift,
+ pass@k, the resolved run configuration, and execution status.
+- **`run_config.json`** / **`attempt_policy.json`** — exactly how the run was
+ configured: environment, attempts, concurrency, grading mode, pass threshold.
+- **`report.html`** — the human-readable report, generated automatically at
+ the end of every run.
+- **`comparison.json`** — the cross-agent comparison table; written only when
+ you ran more than one agent.
+- **`<agent>/lift.json`** and **`<agent>/pass_at_k_lift.json`** — per-metric
+ deltas between the two arms; written only when both arms produced scores
+ (a `--skip-baseline` run has neither).
+- **`<agent>/{with-skill,without-skill}/`** — each arm's `summary.json`
+ (scores, dimensions, pass@k, trial counts) and a `trials/` directory of
+ per-trial artifacts.
+
+<Note>
+ Read commands (`view`, `compare`, `create-eval-dataset --refine`) honor the
+ same precedence, then fall back to the legacy `<skill>/evals/results/`
+ location — so old runs stay visible after you configure
+ `SKILLEVALUATOR_RESULTS_DIR`. The results tree is generated output: don't
+ commit it.
+</Note>
+
+## Reading a live-eval report
+
+### The terminal summary
+
+A finished `tier3 evaluate` run prints two tables and closes with a compact
+**Artifacts** panel. **Results by Evaluator** lists each evaluation signal
+with its per-arm scores and Skill Lift; **Results by Dimension** rolls those
+signals up into the five dimensions below. A metric the run couldn't score
+renders as `NO SCORE` — it is never coerced to 0.0 — and unscored metrics are
+omitted from the averages, so `overall_score` can be `null` in the JSON. The
+Artifacts panel shows the HTML report path, the output directory, and — only
+when a retained Harbor jobs directory exists — a ready-to-paste `harbor-view`
+command.
+
+### The five dimensions
+
+With `default` or `default_plus_custom` grading, reports lead with five
+dimensions, each answering one question:
+
+| Dimension | Question answered |
+| --- | --- |
+| Security | Is it safe to use? |
+| Correctness | Does it do what it's supposed to? |
+| Discoverability | Is it loaded when it should be? |
+| Effectiveness | Is it better with the skill than without? |
+| Efficiency | Does it use fewer tool calls and tokens? |
+
+Dimension scores are 0.0–1.0 rollups of the underlying evaluation signals. The
+LLM judge's verdict bands are fixed: a dimension **passes** at 0.7 or above, is
+**neutral** from 0.4 up to 0.7, and **fails** below 0.4. The judge runs on the
+configured provider model; override it per run as described in
+[Tier 3: Live Evaluation](tier3-live-evaluation.mdx).
+
+### Skill Lift
+
+Skill Lift is the with-skill score minus the without-skill baseline — the
+direct measurement of what your skill contributes. Because live agent runs are
+noisy (especially at low attempt counts), small deltas are deliberately kept
+neutral. The verdict bands:
+
+| Lift | Verdict | Read it as |
+| --- | --- | --- |
+| ≥ +0.05 | Pass | The skill measurably helps — publishable signal |
+| between −0.10 and +0.05 | Neutral | Within run noise; raise `--n-attempts` before concluding anything |
+| ≤ −0.10 | Fail | The skill makes the agent worse — investigate before shipping |
+
+These are the bands the reports color-code, with one exception: the single
+overall Tier 3 verdict in the combined `validate --tier3` report (and in
+`BENCHMARK.md`) is stricter, flipping to fail at −0.05 or below.
+
+So a +0.03 lift isn't a pass — it's noise until more attempts say otherwise.
+Lift requires both arms; if you ran with `--skip-baseline`, there is no lift to
+report. In `custom_only` grading, your own grader defines the score and lift —
+see [Custom Graders & Tasks](custom-graders.mdx).
+
+### pass@k
+
+pass@k is the reliability signal, reported separately from the dimension
+scores. With `--n-attempts k`, each eval case runs k times per arm, and a case
+counts as passed when at least one attempt clears the `--pass-threshold`
+score. Comparing pass@k across arms (in `pass_at_k_lift.json`) tells you
+whether the skill makes success more *repeatable*, not just whether the average
+score moved.
+
+## Browse results
+
+### view
+
+Opens the newest `report.html` for a skill in your browser, regenerating it
+from the stored run data if the file is missing.
+
+```bash title="Open the latest HTML report"
+skillevaluator view ./my-skill
+```
+
+### compare
+
+Prints a side-by-side terminal table of the most recent stored results per
+agent — score and lift per evaluator — across everything under the results
+root. Summaries whose execution status is anything other than `succeeded`
+are ignored, so a failed run can't masquerade as a score.
+
+```bash title="Compare stored results across agents"
+skillevaluator compare ./my-skill
+```
+
+Both commands accept `--results-dir` to read from a non-default location.
+
+### harbor-view
+
+Opens retained Harbor job artifacts in Harbor's own trajectory browser — the
+deepest debugging view, down to individual agent transcripts. Staged-task and
+raw Harbor job directories are transient: they are deleted after collection by
+default, on success and failure alike. Pass `--harbor-keep-jobs` to retain
+them — the retention outcome is recorded in the results, and the Artifacts
+panel prints this command only when a retained jobs directory actually exists.
+Retained jobs live under `_harbor-jobs/` inside the run directory.
+
+```bash title="Browse retained trajectories"
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker --harbor-keep-jobs
+skillevaluator harbor-view ./my-skill/evals/results/20260709_141530/_harbor-jobs
+```
+
+(`skillevaluator tier3 harbor-view` is the same command under its expert
+alias.)
+
+## Machine-readable contract
+
+For CI and tooling, two JSON entry points matter:
+
+- **Standalone `tier3 evaluate` runs** — parse `result.json` in the run
+ directory (or follow `latest`). It carries per-agent scores, dimensions,
+ lift, pass@k, trial counts, the attempt policy, and execution status.
+ Unscored metrics stay unscored rather than defaulting to 0.0, so
+ `overall_score` can be `null`.
+- **`validate --tier3` runs** — the combined
+ `skillevaluator-output-<timestamp>.json` report embeds the Tier 3 payload
+ alongside the Tier 1 and Tier 2 results, so one file covers all three
+ tiers. Tier 3 findings are advisory there: they never change the exit code.
+
+Both paths speak the same dialect: standalone `tier3 evaluate` and
+`validate --tier3` share one HTML renderer for `report.html`, and both embed
+the Tier 3 payload at schema version `2.0`.
+
+Exit codes and a ready-made JSON gating recipe live in
+[Gate Your CI](ci-integration.mdx).
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Gate Your CI" icon="shield" href="ci-integration.mdx">
+ Turn the JSON report and exit codes into a merge gate, with a copy-paste
+ GitHub Actions workflow.
+ </Card>
+ <Card title="Tier 3: Live Evaluation" icon="flask" href="tier3-live-evaluation.mdx">
+ Run the evaluation that produces the results tree on this page.
+ </Card>
+ <Card title="Custom Graders & Tasks" icon="book" href="custom-graders.mdx">
+ Define your own scoring when the default graders can't express success.
+ </Card>
+ <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ Every flag for view, compare, and the report options, with exact defaults.
+ </Card>
+</CardGroup>
diff --git a/docs/tier1-validation.mdx b/docs/tier1-validation.mdx
index 3176bd8a..dac4f2fb 100644
--- a/docs/tier1-validation.mdx
+++ b/docs/tier1-validation.mdx
@@ -1,101 +1,97 @@
---
title: "Tier 1: Static and Security Validation"
+sidebar-title: "Tier 1: Validation"
description: "Deterministic quality gates for skills — schema, quality, security, PII, license, code-integrity, Unicode, and script checks, plus optional LLM judging."
---
-Tier 1 is the deterministic quality gate for skills: schema, quality, security,
-PII, license, secrets, code-integrity, Unicode-safety, and script checks that run
-offline after the scanner binaries are installed. No API key is needed for the
-deterministic stages. The only LLM-backed pieces of Tier 1 are `rubric-eval`
-(LLM required) and the optional `--llm`/`--llm-verify` flags — those need a
-configured provider (see [CONFIGURATION.md](configuration.mdx)).
-
-## Table of Contents
-
-- [Commands](#commands)
-- [Skill Detection and Selection](#skill-detection-and-selection)
-- [Validation Profiles](#validation-profiles)
-- [Checks](#checks)
- - [Selecting checks](#selecting-checks)
- - [schema](#schema-repository-governance)
- - [security](#security-vulnerability-scanning)
- - [pii](#pii-detection)
- - [license](#license-compliance)
- - [code-integrity](#code-integrity)
- - [dependency](#dependency-cve-audit-opt-in)
- - [unicode](#unicode-smuggling-detection)
- - [quality](#quality-scoring)
- - [Rubric evaluation](#rubric-evaluation-llm-as-judge)
- - [lint](#lint-script-linting-advisory)
- - [version](#version-check)
-- [LLM Verification](#llm-verification)
-- [Reports](#reports)
-- [Using validate in CI](#using-validate-in-ci)
-- [Configuration](#configuration)
-- [Troubleshooting](#troubleshooting)
-- [Skill Content Summary](#skill-content-summary)
-- [See Also](#see-also)
-
-## Commands
-
-Tier 1 is exposed through one umbrella command and five standalone commands:
-
-| Command | Purpose |
-| --- | --- |
-| `validate` | Run the selected Tier 1 checks, Tier 2 deduplication by default, and optional advisory Tier 3 evaluation |
-| `quality-check` | Score skill quality across four weighted categories |
-| `rubric-eval` | Run the nine-criterion LLM-as-judge rubric |
-| `security-scan` | Run SkillSpector static scanning and optional LLM analysis |
-| `pii-scan` | Detect PII, credentials, secrets, and local identifiers |
-| `lint-scripts` | Run advisory AST-based checks on Python scripts |
-
-```bash
-skillevaluator validate ./my-skill # default Tier 1 suite + Tier 2 dedup
-skillevaluator validate ./my-skill --no-dedup # Tier 1 only, no key needed
-skillevaluator quality-check ./my-skill # quality score only
-skillevaluator security-scan ./my-skill # security checks only
-skillevaluator pii-scan ./my-skill # PII checks only
-skillevaluator lint-scripts ./my-skill # advisory script lint
-
-# LLM-backed (needs a provider key):
-skillevaluator rubric-eval ./my-skill # LLM-as-judge rubric scoring
-skillevaluator validate ./my-skill --llm # + LLM security analysis
-```
+Tier 1 gives you a deterministic quality gate for your skill: schema, quality, security, PII, license, secrets, code-integrity, Unicode-safety, and script checks that all run offline once the scanner binaries are installed. You need no API key for any of it — the only LLM-backed pieces are `rubric-eval` and the optional `--llm`/`--llm-verify` flags, which require a configured provider (see [Providers & Credentials](configuration.mdx)).
+
+## What Tier 1 checks
+
+Tier 1 is exposed through one umbrella command and five standalone commands. Each is also available under the expert alias group as `skillevaluator tier1 <command>`.
+
+| Command | Purpose | Needs a key? |
+| --- | --- | --- |
+| `validate` | Run the selected Tier 1 checks, Tier 2 deduplication by default, and optional advisory Tier 3 evaluation | No (only with `--llm`/`--llm-verify`) |
+| `quality-check` | Score skill quality across four weighted categories | No |
+| `rubric-eval` | Run the nine-criterion LLM-as-judge rubric | Yes |
+| `security-scan` | Run SkillSpector static scanning and optional LLM analysis | No (only with `--llm`/`--llm-verify`) |
+| `pii-scan` | Detect PII, credentials, secrets, and local identifiers | No (only with `--llm-verify`) |
+| `lint-scripts` | Run advisory AST-based checks on Python scripts | No |
+
+`validate` is the umbrella command: Tier 1 checks gate the exit code (non-zero on failure or incomplete required scanner evidence), Tier 2 dedup runs by default and degrades gracefully without embedding access, and Tier 3 can be attached as an advisory pass with `--tier3`, `--autopilot`, `--full`, or an explicit tier selection such as `--tiers 1,3` (`--agent-eval` is retained as an alias).
+
+## Run a validation
+
+<Steps>
+ ### Run the default suite
+
+ ```bash title="Tier 1 + Tier 2, no key needed"
+ skillevaluator validate ./my-skill
+ ```
+
+ By default you get a compact pipeline view in the terminal — a per-check ticker per tier — and the run writes HTML and JSON report files unless you pass `-r` explicitly, which is then honored exactly (including `-r cli` for terminal-only output). Add `--verbose` for the full per-check detail stream instead of the compact view. Tier 2 dedup is skipped gracefully when no embedding provider is configured. The exit code is `0` when every gate passes and `1` when one fails.
+
+ ### Run the complete offline gate
+
+ Install Gitleaks once, then disable dedup for a fully hermetic run:
+
+ ```bash title="Complete offline Tier 1"
+ brew install gitleaks semgrep
+ uv tool install git+https://github.com/NVIDIA/SkillSpector.git
+ skillevaluator validate ./my-skill --no-dedup
+ ```
+
+ With `skillevaluator[security]`, Semgrep, SkillSpector, and Gitleaks installed, every required scanner produces evidence and the run is deterministic — the same input yields the same exit code, with nothing leaving your machine.
+
+ ### Narrow to specific checks
+
+ `--checks` (alias `--tier1-checks`) takes a comma-separated subset when you want fast, targeted feedback:
+
+ ```bash title="Selective checks"
+ skillevaluator validate ./my-skill --checks schema,security
+ ```
+
+ Only the selected Tier 1 checks run; the others are skipped entirely.
+
+ ### Add LLM analysis (optional)
+
+ With a provider configured, `--llm` (alias `--tier1-llm`; disable with `--no-llm` or `--no-tier1-llm`) adds LLM security analysis on top of the static findings, and `--llm-verify` runs a second pass that reviews each static finding in context:
+
+ ```bash title="LLM-backed validation"
+ skillevaluator validate ./my-skill --llm --llm-verify
+ ```
+
+ Confirmed findings keep their original severity. High-confidence false positives stay visible but are downgraded to INFO and carry verification metadata explaining the review. Static scanning always runs first — if a requested LLM stage is unavailable or returns unusable evidence, the run does not silently turn green. `security-scan` and `pii-scan` accept `--llm-verify` too.
+</Steps>
+
+Reports for any of these runs are selected with `-r`/`--report` (`cli`, `json`, `html`, `markdown`) and written to `-o`/`--output-dir` (default `reports/`). File naming, `BENCHMARK.md`, and the JSON contract are covered in [Reports & Results](reports.mdx).
-`validate` is the umbrella command: Tier 1 checks gate the exit code (non-zero
-on failure or incomplete required scanner evidence), Tier 2 dedup runs by
-default and degrades gracefully without embedding access, and Tier 3 can be
-attached with `--agent-eval` as an advisory pass.
+## Content types
-## Skill Detection and Selection
+`validate` auto-detects what you point it at. Use `--type` when the path is ambiguous:
-Pass either a skill directory containing `SKILL.md` or a collection containing
-skills under `skills/` or `team-skills/`. Folder-level validation discovers each
-live `SKILL.md` below the target while excluding configured names such as
-`evals`, `results`, `versions`, `.git`, `.venv`, `node_modules`, and
-`__pycache__`.
+| Type | `--type` value | Auto-detection signal |
+| --- | --- | --- |
+| Skill | `skill` | `SKILL.md` in `skills/` or `team-skills/` |
+| Rules | `rules` | `.mdc` files in `team-rules/` |
+| Workflows | `workflows` | `workflow-rules.mdc` in a workflow directory |
+| Plugin | `plugin` | A bundle-reference `agent_plugin.yaml`/`.yml` manifest, or a contained `.claude-plugin/plugin.json` manifest |
+
+Plugins are validated against their public contract; the `quality`, `lint`, and `version` checks are skill-only and are skipped for plugins, rules, and workflows.
-`validate` auto-detects skill targets. Use `--type skill` when the path is
-ambiguous:
+For collections, pass a folder containing skills under `skills/` or `team-skills/`. Folder-level validation discovers each live `SKILL.md` below the target while excluding configured names such as `evals`, `results`, `versions`, `.git`, `.venv`, `node_modules`, and `__pycache__`.
-```bash
+```bash title="Validate a skill or a collection"
skillevaluator validate ./skills/my-skill --type skill
skillevaluator validate ./skills --type skill --continue-on-failure
```
-`--fail-fast` stops after the first failed check. `--continue-on-failure`
-overrides it, records the full pipeline, and keeps scanning a collection after
-a critical finding.
+## Validation profiles and policies
-## Validation Profiles
+The bundled `external` profile is the default public-publication policy. It requires a well-formed `metadata.author` value but does not restrict the email domain. Missing or malformed author attribution is HIGH severity. Blocked license findings are CRITICAL; missing or unknown licenses are reported for review.
-The bundled `external` profile is the default public-publication policy. It
-requires a well-formed `metadata.author` value but does not restrict the email
-domain. Missing or malformed author attribution is HIGH severity. Blocked
-license findings are CRITICAL; missing or unknown licenses are reported for
-review.
-
-```bash
+```bash title="Profile selection"
skillevaluator validate ./my-skill # default = external
skillevaluator validate ./my-skill --profile external # explicit public profile
skillevaluator validate ./my-skill --external # alias for --profile external
@@ -103,400 +99,232 @@ skillevaluator validate ./my-skill --policy ./policy.yaml # custom overlay
SKILLEVALUATOR_PROFILE=external skillevaluator validate ./my-skill
```
-Precedence, highest to lowest, is `--policy` overlay, `--profile` flag,
-`SKILLEVALUATOR_PROFILE` environment variable, then the bundled `external`
-default.
+Precedence, highest to lowest: `--policy` overlay, `--profile` flag, `SKILLEVALUATOR_PROFILE` environment variable, then the bundled `external` default.
-A custom policy overlays the external profile. It can narrow the accepted
-author domain and change severities by `CATEGORY.check_name` or `CATEGORY.*`:
+<Accordion title="Write a custom policy overlay">
+ A custom policy overlays the external profile. It can narrow the accepted author domain and change severities by `CATEGORY.check_name` or `CATEGORY.*`:
-```yaml
-profile: community-strict
-identity:
- author_email_regex: '<[^>]+@example\.org>'
-severity_overrides:
- SCHEMA.author_missing: critical
- LICENSE.*: critical
-```
+ ```yaml title="policy.yaml"
+ profile: community-strict
+ identity:
+ author_email_regex: '<[^>]+@example\.org>'
+ severity_overrides:
+ SCHEMA.author_missing: critical
+ LICENSE.*: critical
+ ```
+</Accordion>
-The active profile is included in the terminal banner and saved reports so
-reviewers can see which gate was applied.
+<Note>
+ The active profile name is stamped into the HTML report header and `BENCHMARK.md`, and printed in the run banner under `--verbose`, so reviewers can see which gate was applied.
+</Note>
-## Checks
+## The checks
-### Selecting checks
+The default set is `schema`, `version`, `security`, `pii`, `license`, `code-integrity`, `unicode`, `quality`, and `lint`. Only the `dependency` check requires explicit selection with `--checks` (alias `--tier1-checks`). Accepted check-name aliases include `code`/`code-risk` for `code-integrity`, `scripts`/`script-lint` for `lint`, `dependencies`/`deps`/`dependency-audit` for `dependency`, and `licence`/`license-check` for `license`.
+
+<AccordionGroup>
+ <Accordion title="schema — frontmatter and repository governance">
+ Validates `SKILL.md` frontmatter and repository placement:
-`--checks` takes a comma-separated subset of the Tier 1 checks:
+ - YAML frontmatter must parse and satisfy the skill schema.
+ - `name` and `description` are required. Names are 1–64 characters; descriptions are 1–1024 characters.
+ - Names use kebab-case, start with a letter, and cannot have trailing or consecutive hyphens. The directory name must match the frontmatter `name`. The reserved words `anthropic` and `claude` must not appear in a skill name.
+ - `alwaysApply` and `globs` are forbidden skill fields. Optional fields include `license`, `compatibility`, `metadata`, and `allowed-tools`.
+ - The standard hierarchy is `skills/<skill-name>/` or `team-skills/<team>/<skill-name>/`. A nonstandard standalone location is reported as an advisory finding.
+ - Recognized skill-root subdirectories are `agents/`, `references/`, `scripts/`, `assets/`, `evals/`, `tests/`, `tools/`, and `config/`; anything else gets a LOW advisory finding. Extend the set per repository with `SKILLEVALUATOR_SCHEMA_ALLOWED_DIRS` (comma-separated names are added to the defaults, never replace them).
+ - `SKILL.md` should stay at or below 500 lines; larger files receive an advisory finding.
+ - The default profile expects `metadata.author` in `Name <email@host>` form but does not require a particular email domain.
-| Check | What it covers |
-| --- | --- |
-| `schema` | `SKILL.md` frontmatter, repository governance, and naming |
-| `version` | Optional three-part numeric version label and monotonic bump validation |
-| `security` | SkillSpector static scan; `--llm` adds analysis without replacing static findings |
-| `pii` | Personally identifiable information, credentials, and local identifiers |
-| `license` | License evidence and compliance |
-| `code-integrity` | Bandit, packaged-policy Semgrep, external Gitleaks, dead links, dependency-file hygiene, and static test discovery |
-| `unicode` | Unicode smuggling and invisible-character detection |
-| `quality` | Four-category quality score; threshold via `--min-score` (default 70) |
-| `lint` | Advisory Python script linting |
-| `dependency` | Opt-in dependency vulnerability audit |
-
-The default set is `schema`, `version`, `security`, `pii`, `license`,
-`code-integrity`, `unicode`, `quality`, and `lint`. Only `dependency` requires
-explicit selection.
-
-```bash
-skillevaluator validate ./my-skill --checks schema,pii
-skillevaluator validate ./my-skill --checks schema,security,quality,lint
-skillevaluator validate ./my-skill --checks dependency
-```
+ **To fix common findings:** rename the directory to match `name`, remove forbidden fields, and move the skill under `skills/`.
+ </Accordion>
+
+ <Accordion title="security — vulnerability scanning">
+ `security-scan`, and the `security` check inside `validate`, run SkillSpector. Static scanning covers common skill attack patterns such as prompt injection and data exfiltration; each finding carries the matched pattern, severity, and location.
+
+ ```bash title="Security scanning"
+ skillevaluator security-scan ./my-skill
+ skillevaluator security-scan ./my-skill --llm
+ skillevaluator security-scan ./my-skill --llm --llm-verify
+ ```
+
+ The LLM pass requires a configured provider. It enriches the static result but does not replace static findings or make missing scanner evidence pass.
+ </Accordion>
+
+ <Accordion title="pii — PII, credentials, and local identifiers">
+ `pii-scan`, and the `pii` check inside `validate`, use configurable regex patterns to detect sensitive values.
-Accepted aliases include `code`/`code-risk` for `code-integrity`,
-`scripts`/`script-lint` for `lint`, `dependencies`/`deps`/`dependency-audit` for
-`dependency`, and `licence`/`license-check` for `license`.
-
-### schema (repository governance)
-
-The `schema` check validates `SKILL.md` frontmatter and repository placement:
-
-- YAML frontmatter must parse and satisfy the skill schema.
-- `name` and `description` are required. Names are 1–64 characters and
- descriptions are 1–1024 characters.
-- Names use kebab-case, start with a letter, and cannot have trailing or
- consecutive hyphens. The directory name must match the frontmatter `name`.
-- `alwaysApply` and `globs` are forbidden skill fields.
-- Optional fields include `license`, `compatibility`, `metadata`, and
- `allowed-tools`.
-- The standard hierarchy is `skills/<skill-name>/` or
- `team-skills/<team>/<skill-name>/`. A nonstandard standalone location is
- reported as an advisory finding.
-- `SKILL.md` should remain at or below 500 lines; larger files receive an
- advisory finding.
-- The default profile expects `metadata.author` in `Name <email@host>` form but
- does not require a particular email domain.
-
-### security (vulnerability scanning)
-
-`security-scan`, and the `security` check inside `validate`, run SkillSpector.
-Static scanning covers common patterns in four broad areas:
-
-- **Prompt injection** — instruction override, hidden instructions, prompt
- disclosure, role manipulation, and context-reset attempts.
-- **Data exfiltration** — external transmission, environment-variable
- harvesting, file-system enumeration, and clipboard access.
-- **Privilege escalation** — elevated execution, credential-file access, and
- system-configuration modification.
-- **Supply chain** — unpinned dependencies, external script fetching, and code
- obfuscation.
-
-The exact two-line SPDX HTML preamble used by this public repository is treated
-as license metadata rather than a hidden instruction. Any extra line,
-surrounding content, modified field, or embedded directive remains a security
-finding. PII scanning similarly distinguishes zero-bearing, explicitly
-versioned package artifacts from network addresses; URL, endpoint, host, server,
-and resolver contexts are never suppressed.
-
-```bash
-skillevaluator security-scan ./my-skill
-skillevaluator security-scan ./my-skill --llm
-skillevaluator security-scan ./my-skill --llm --llm-verify
-```
+ | Group | Examples | Notes |
+ | --- | --- | --- |
+ | Personal information | Personal paths, non-placeholder email addresses, phone numbers, SSNs, GPS coordinates, MAC addresses | Personal macOS/Windows paths are flagged; SSNs are CRITICAL |
+ | Credentials and secrets | Database connection strings, hardcoded API keys, cloud keys, GitHub tokens, private keys, JWTs, webhook URLs | Most credential findings are CRITICAL |
+ | Network and financial | Public IPs, credit-card numbers, cryptocurrency wallet addresses | Private RFC1918 addresses are excluded |
+
+ Common placeholders such as `YOUR_API_KEY_HERE`, `example`, `test`, `dummy`, and `placeholder`, along with `@example.com` and `@test.com`, are excluded, as are configured allowed paths.
-The LLM pass requires a configured provider. It enriches the static result but
-does not replace static findings or make missing scanner evidence pass.
+ The home-path check compares detected user paths against the submitter's identity. When no identity is available, that check is skipped and logged — set `SKILLEVALUATOR_SUBMITTER` (or add `author` to `SKILL.md`) to enable it. `SKILLEVALUATOR_SUBMITTER` is combined with `GITHUB_ACTOR`, `USER`, `LOGNAME`, `USERNAME`, the OS login name, and the skill's declared author — every identity that resolves is protected.
+ </Accordion>
+
+ <Accordion title="license — compliance">
+ Looks for license evidence in frontmatter, common license files, and SPDX headers. Detected identifiers are normalized and matched against the packaged permissive allowlist and restrictive blocklist. Missing or unknown licenses are reported for review; blocked licenses fail according to the active profile (CRITICAL under the default `external` profile).
+ </Accordion>
+
+ <Accordion title="code-integrity — code risk, secrets, and hygiene">
+ Combines three validation groups:
-### pii (detection)
+ - **Code risk (Bandit and Semgrep)** — SQL or command injection, hardcoded passwords, insecure cryptography, unsafe deserialization, `shell=True`, `eval()`/`exec()`, CWE patterns, and language-specific anti-patterns.
+ - **Secrets (Gitleaks)** — API keys, tokens, passwords, private keys, database credentials, and other high-confidence secret patterns.
+ - **Hygiene** — dead relative Markdown links, banned or unpinned dependency declarations, and static discovery of conventional Python test filenames.
-`pii-scan`, and the `pii` check inside `validate`, use configurable regex
-patterns to detect sensitive values.
+ Default Tier 1 does not import or execute target-controlled Python code. The `test_discovery` result is filename evidence only: it counts regular, in-tree, non-symlink `test_*.py` and `*_test.py` candidates without parsing or importing them. It reports `execution_performed=false` and `coverage_measured=false`; test success and code coverage must be established separately in a trusted project environment or an explicit sandbox.
-| Group | Examples | Notes |
-| --- | --- | --- |
-| Personal information | Personal paths, non-placeholder email addresses, phone numbers, SSNs, GPS coordinates, MAC addresses | Personal macOS/Windows paths are flagged; SSNs are CRITICAL |
-| Credentials and secrets | Database connection strings, hardcoded API keys, cloud keys, GitHub tokens, private keys, JWTs, webhook URLs | Most credential findings are CRITICAL |
-| Network and financial | Public IPs, credit-card numbers, cryptocurrency wallet addresses | Private RFC1918 addresses are excluded |
-
-Common placeholders such as `YOUR_API_KEY_HERE`, `example`, `test`, `dummy`,
-and `placeholder`, along with `@example.com` and `@test.com`, are excluded.
-Configured allowed paths are also excluded.
-
-### license (compliance)
-
-The `license` check looks for license evidence in frontmatter, common license
-files, and SPDX headers. It normalizes detected identifiers and applies the
-packaged permissive allowlist and restrictive blocklist. Missing or unknown
-licenses are reported for review; blocked licenses fail according to the active
-profile.
-
-### code-integrity
-
-The `code-integrity` check combines three validation groups:
-
-- **Code risk (Bandit and Semgrep)** — SQL or command injection, hardcoded
- passwords, insecure cryptography, unsafe deserialization, `shell=True`,
- `eval()`/`exec()`, CWE patterns, and language-specific anti-patterns.
-- **Secrets (Gitleaks)** — API keys, tokens, passwords, private keys, database
- credentials, and other high-confidence secret patterns.
-- **Hygiene** — dead relative Markdown links, banned or unpinned dependency
- declarations, and static discovery of conventional Python test filenames.
-
-Default Tier 1 does not import or execute target-controlled Python code. The
-`test_discovery` result is filename evidence only: it counts regular, in-tree,
-non-symlink `test_*.py` and `*_test.py` candidates without parsing or importing
-them. It reports `execution_performed=false` and `coverage_measured=false`;
-test success and code coverage must be established separately in a trusted
-project environment or an explicit sandbox.
-
-The default external profile treats a missing, timed-out, crashed, or malformed
-Bandit, Semgrep, Gitleaks, or SkillSpector run as `INCOMPLETE`: terminal and
-saved reports are non-green and `validate` exits non-zero. Install
-`skillevaluator[security]` for Bandit and pip-audit. Install Semgrep separately
-(`brew install semgrep` or `uv tool install semgrep`), install SkillSpector
-separately (`uv tool install git+https://github.com/NVIDIA/SkillSpector.git`),
-and install Gitleaks separately (`brew install gitleaks` or
-download a binary from the official
-[Gitleaks releases](https://github.com/gitleaks/gitleaks/releases)).
-
-Semgrep uses a policy packaged with the installed distribution, with metrics
-and version checks disabled; Tier 1 never fetches a registry policy at runtime.
-Bundled Python scanners resolve next to the SkillEvaluator interpreter before
-PATH. External Semgrep and SkillSpector installations resolve from PATH.
-Intentional replacements require an auditable absolute executable path in
-`SKILLEVALUATOR_BANDIT_PATH`, `SKILLEVALUATOR_SEMGREP_PATH`, or
-`SKILLEVALUATOR_SKILLSPECTOR_PATH`; relative, missing, and non-executable
-overrides fail closed.
-
-### dependency (CVE audit, opt-in)
-
-The opt-in `dependency` check scans `requirements*.txt` for known Python package
-vulnerabilities. When `pyproject.toml` is present, `pip-audit --local` audits the
-active Python environment rather than resolving the dependencies declared in
-that file. `pip-audit` is the primary scanner; Safety supplies secondary
-coverage for requirements files when installed separately. The audit may use
-network-backed vulnerability databases.
-
-```bash
-skillevaluator validate ./my-skill --checks dependency
-```
+ A missing, timed-out, crashed, or malformed Bandit, Semgrep, Gitleaks, or SkillSpector run is treated as `INCOMPLETE`: terminal and saved reports are non-green and `validate` exits non-zero. See [Scanner setup](#scanner-setup) for installation.
+ </Accordion>
-### unicode (smuggling detection)
+ <Accordion title="unicode — smuggling detection">
+ Detects invisible Unicode characters associated with ASCII smuggling, hidden-data encoding, and trojan-source attacks.
-The `unicode` check detects invisible Unicode characters associated with ASCII
-smuggling, hidden-data encoding, and trojan-source attacks.
+ | Category | Range | Default severity |
+ | --- | --- | --- |
+ | Unicode Tags (ASCII smuggling) | `U+E0000..U+E007F` | CRITICAL; decodes the hidden ASCII payload |
+ | BiDi overrides (trojan source) | `U+202A..U+202E`, `U+2066..U+2069`, `U+200E/F`, `U+061C` | HIGH |
+ | Zero-width characters | `U+200B/C/D`, `U+034F`, `U+180E`, `U+2060`, `U+FEFF` | MEDIUM or LOW |
+ | Invisible operators and deprecated controls | `U+2061..U+2064`, `U+206A..U+206F` | MEDIUM |
+ | Variation selectors | `U+FE00..U+FE0F`, `U+E0100..U+E01EF` | LOW |
-| Category | Range | Default severity |
-| --- | --- | --- |
-| Unicode Tags (ASCII smuggling) | `U+E0000..U+E007F` | CRITICAL; decodes the hidden ASCII payload |
-| BiDi overrides (trojan source) | `U+202A..U+202E`, `U+2066..U+2069`, `U+200E/F`, `U+061C` | HIGH |
-| Zero-width characters | `U+200B/C/D`, `U+034F`, `U+180E`, `U+2060`, `U+FEFF` | MEDIUM or LOW |
-| Invisible operators and deprecated controls | `U+2061..U+2064`, `U+206A..U+206F` | MEDIUM |
-| Variation selectors | `U+FE00..U+FE0F`, `U+E0100..U+E01EF` | LOW |
+ Severity increases with suspicious run length. A BOM (`U+FEFF`) at byte zero is downgraded to INFO, and binary files are skipped using MIME and null-byte detection.
+ </Accordion>
-Severity increases with suspicious run length. A BOM (`U+FEFF`) at byte zero
-is downgraded to INFO, and binary files are skipped using MIME and null-byte
-detection.
+ <Accordion title="quality — weighted scoring">
+ `quality-check`, and the `quality` check inside `validate`, produce a 0–100 composite score across four weighted categories.
-### quality (scoring)
+ | Category | Weight | What it evaluates |
+ | --- | --- | --- |
+ | Correctness | 35% | Frontmatter, naming, examples, paths, and skill-type-specific structure |
+ | Discoverability | 25% | Description quality, trigger wording, purpose, scope, and naming |
+ | Reliability | 25% | Error handling, prerequisites, limitations, troubleshooting, and implementation safeguards |
+ | Efficiency | 15% | Token budget, body length, repetition, instruction clarity, and reference use |
-`quality-check`, and the `quality` check inside `validate`, produce a 0–100
-composite score across four weighted categories.
+ Grades are A for scores of at least 90, B for at least 80, C for at least 70, D for at least 60, and F below 60. The default `--min-score` is 70.
-| Category | Weight | What it evaluates |
-| --- | --- | --- |
-| Correctness | 35% | Frontmatter, naming, examples, paths, and skill-type-specific structure |
-| Discoverability | 25% | Description quality, trigger wording, purpose, scope, and naming |
-| Reliability | 25% | Error handling, prerequisites, limitations, troubleshooting, and implementation safeguards |
-| Efficiency | 15% | Token budget, body length, repetition, instruction clarity, and reference use |
-
-Grades are A for scores of at least 90, B for at least 80, C for at least 70,
-D for at least 60, and F below 60. The default `--min-score` is 70.
-
-The checker detects five skill shapes and applies relevant checks:
-
-- **script-based** — Python or shell files under `scripts/`.
-- **lib-based** — a Python module containing `__init__.py`.
-- **resource-based** — assets, templates, design-system content, or resources.
-- **guide-only** — documentation without executable or resource content.
-- **hybrid** — scripts plus library or resource content.
-
-### Rubric evaluation (LLM-as-Judge)
-
-`rubric-eval` sends bounded skill documentation and selected supplementary
-content to a configured LLM provider. It scores nine criteria:
-
-1. Description clarity and when to use the skill.
-2. Instruction clarity and actionable steps.
-3. Example quality and query variation.
-4. Documentation completeness.
-5. Scope definition.
-6. Professional tone and formatting.
-7. Trigger simulation against positive and negative queries.
-8. End-to-end completeness.
-9. Actionable error handling.
-
-Each criterion is scored from 0 to 10. The local evaluator, not the model's
-boolean, treats 7 or higher as passing. The overall score is an
-importance-weighted mean, and the rubric passes only when that score reaches
-`--min-score` and every criterion passes.
-
-```bash
-skillevaluator rubric-eval ./my-skill --min-score 70
-```
+ The checker detects five skill shapes and applies relevant checks: **script-based** (Python or shell files under `scripts/`), **lib-based** (a Python module containing `__init__.py`), **resource-based** (assets, templates, design-system content, or resources), **guide-only** (documentation without executable or resource content), and **hybrid** (scripts plus library or resource content).
+ </Accordion>
-### lint (script linting, advisory)
+ <Accordion title="rubric-eval — LLM-as-judge (requires a provider)">
+ `rubric-eval` sends bounded skill documentation and selected supplementary content to your configured LLM provider. It scores nine criteria:
-`lint-scripts`, and the `lint` check inside `validate`, parse Python scripts
-under `scripts/` and report advisory findings. These findings do not make the
-Tier 1 gate fail.
+ | # | Criterion | Importance |
+ | --- | --- | --- |
+ | 1 | Description clarity and when to use the skill | High |
+ | 2 | Instruction clarity and actionable steps | High |
+ | 3 | Example quality and query variation | High |
+ | 4 | Documentation completeness | Medium |
+ | 5 | Scope definition | Medium |
+ | 6 | Professional tone and formatting | Low |
+ | 7 | Trigger simulation against positive and negative queries | High |
+ | 8 | End-to-end workflow completeness | High |
+ | 9 | Actionable error handling | Medium |
-| Check | Severity | Detects |
-| --- | --- | --- |
-| `flat_script` | MEDIUM | No function definitions |
-| `deep_nesting` | MEDIUM | Control-flow nesting deeper than 6 |
-| `magic_numbers` | LOW | Raw numeric constants outside the safe constant set |
-| `missing_shebang` | LOW | No leading shebang (`#!`) |
-| `no_input_validation` | LOW | No `argparse`, `click`, `typer`, or explicit raise pattern |
-
-### version check
-
-The default `version` check validates an optional `metadata.version` as a
-three-part numeric value in `major.minor.patch` form. Components use ASCII
-digits, contain at most nine digits, and do not use leading zeroes unless the
-component is exactly `0`:
-
-```yaml
-metadata:
- version: "1.2.3"
-```
-
-When `--previous-version` or `SKILLEVALUATOR_PREVIOUS_VERSION` is set, the
-current version must be present and numerically greater than the previous
-value. Without a previous-version bound, the version remains optional and the
-skill can rely on commit history.
-
-`--previous-version` is valid only when checking one skill. Catalog validation
-must run each skill separately with its own previous version.
-
-```bash
-SKILLEVALUATOR_PREVIOUS_VERSION=1.2.2 \
- skillevaluator validate ./my-skill
-skillevaluator validate ./my-skill --previous-version 1.2.2
-```
+ Each criterion is scored from 0 to 10. The local evaluator, not the model's boolean, treats 7 or higher as passing. The overall score is an importance-weighted mean, and the rubric passes only when that score reaches `--min-score` and every criterion passes.
-## LLM Verification
+ ```bash title="Rubric evaluation"
+ skillevaluator rubric-eval ./my-skill --min-score 70
+ ```
+ </Accordion>
-`validate`, `security-scan`, and `pii-scan` accept `--llm-verify` for a
-second-pass review of static findings:
+ <Accordion title="lint — script linting (advisory)">
+ `lint-scripts`, and the `lint` check inside `validate`, parse Python scripts under `scripts/` and report advisory findings. These findings do not make the Tier 1 gate fail.
-1. Static analysis produces the initial findings.
-2. Each finding is sent to the configured provider for contextual review.
-3. Confirmed findings remain at their original severity. High-confidence false
- positives remain visible, are downgraded to INFO, and carry verification
- metadata explaining the review.
+ | Check | Severity | Detects |
+ | --- | --- | --- |
+ | `flat_script` | MEDIUM | No function definitions |
+ | `deep_nesting` | MEDIUM | Control-flow nesting deeper than 6 |
+ | `magic_numbers` | LOW | Raw numeric constants outside the safe constant set |
+ | `missing_shebang` | LOW | No leading shebang (`#!`) |
+ | `no_input_validation` | LOW | No `argparse`, `click`, `typer`, or explicit raise pattern |
+ </Accordion>
-```bash
-skillevaluator security-scan ./my-skill --llm --llm-verify
-skillevaluator pii-scan ./my-skill --llm-verify
-skillevaluator validate ./my-skill --llm-verify
-```
+ <Accordion title="version — semantic version check">
+ The default version check validates an optional `metadata.version` as a three-part numeric value in `major.minor.patch` form:
-Static scanning still runs first. If a requested LLM stage is unavailable or
-returns unusable evidence, the run does not silently turn green. See
-[CONFIGURATION.md](configuration.mdx) for supported public providers.
+ ```yaml title="SKILL.md frontmatter"
+ metadata:
+ version: "1.2.3"
+ ```
-## Reports
+ When `--previous-version` or `SKILLEVALUATOR_PREVIOUS_VERSION` is set, the current version must be present and numerically greater than the previous value. Without a previous-version bound, the version remains optional and the skill can rely on commit history. A previous-version bound is valid only when checking one skill; catalog validation must check each skill separately with its own bound.
-`-r`/`--report` selects one or more formats; `-o`/`--output-dir` sets the
-destination (default `reports/`):
+ ```bash title="Version check against a previous release"
+ skillevaluator validate ./my-skill --previous-version 1.2.2
+ ```
+ </Accordion>
-| Format | Output |
-| --- | --- |
-| `cli` | Rich terminal table (default) |
-| `json` | `validate` writes `skillevaluator-output-<timestamp>.json`; standalone commands use command-specific basenames |
-| `html` | `validate` writes standalone `skillevaluator-output-<timestamp>.html`; standalone commands use command-specific basenames |
-| `markdown` | `validate` writes `skillevaluator-output-<timestamp>.md`; standalone commands use command-specific basenames |
+ <Accordion title="dependency — CVE audit (opt-in)">
+ Scans `requirements*.txt` for known Python package vulnerabilities. When `pyproject.toml` is present, `pip-audit --local` audits the active Python environment rather than resolving the dependencies declared in that file. `pip-audit` is the primary scanner; Safety supplies secondary coverage for requirements files when installed separately. The audit may use network-backed vulnerability databases.
-For skill targets, `validate` also writes `BENCHMARK.md` regardless of the `-r`
-selection. It records `INCOMPLETE` and never recommends publication when
-required scanner evidence is unavailable.
+ ```bash title="Opt-in dependency audit"
+ skillevaluator validate ./my-skill --checks dependency
+ ```
+ </Accordion>
+</AccordionGroup>
-```bash
-skillevaluator validate ./my-skill -r cli,json,html -o reports/
-```
+## Scanner setup
-## Using validate in CI
+Install `skillevaluator[security]` for the bundled Python scanners (Bandit and pip-audit). Install Semgrep and SkillSpector in separate tool environments, and install Gitleaks separately — it is a Go binary, not a pip package. See [Installation](installation.mdx) for commands and the extras table.
-`validate` returns a non-zero exit code when a Tier 1 gate fails, and the
-Markdown report can be posted directly as a PR comment:
+Semgrep uses a policy packaged with the installed distribution, with metrics and version checks disabled; Tier 1 never fetches a registry policy at runtime. The other public Tier 1 configuration also ships inside the package under `skillevaluator/config/`: `pii_patterns.yaml`, `unicode_smuggle_patterns.yaml`, `license_config.yaml`, and `profiles/external.yaml`.
-```yaml
-- name: Validate skill
- run: |
- skillevaluator validate ./my-skill --no-llm --no-dedup -r cli,markdown -o reports
-```
+Bundled Python scanners resolve next to the SkillEvaluator interpreter before `PATH`; external Semgrep and SkillSpector installations resolve from `PATH`. Intentional replacements require an auditable absolute executable path in `SKILLEVALUATOR_BANDIT_PATH`, `SKILLEVALUATOR_SEMGREP_PATH`, or `SKILLEVALUATOR_SKILLSPECTOR_PATH`.
-Run with `--no-llm --no-dedup` for a hermetic, key-free gate. For LLM-enriched
-default validation coverage, configure a provider, replace `--no-llm` with
-`--llm`, and remove `--no-dedup`. The opt-in `dependency` check and standalone
-`rubric-eval` remain separate choices.
+<Warning>
+ Scanner path overrides fail closed: a relative, missing, or non-executable override path fails the run rather than silently falling back. Required scanners that are missing or produce malformed output leave the run `INCOMPLETE` and non-green.
+</Warning>
-## Configuration
+## Exit behavior and scoring
-Public Tier 1 configuration ships inside the package under
-`skillevaluator/config/`:
+| Exit code | Meaning |
+| --- | --- |
+| `0` | Success — every gate passed |
+| `1` | Validation failed — a check failed or required scanner evidence is incomplete |
+| `2` | Configuration error — invalid flags, arguments, or target path |
+| `3` | Runtime error — an unexpected internal failure |
-- `pii_patterns.yaml` — PII categories, severities, suggestions, and
- exceptions.
-- `unicode_smuggle_patterns.yaml` — invisible-character categories, severity
- thresholds, and exceptions.
-- `license_config.yaml` — permissive-license allowlist and restrictive-license
- blocklist.
-- `profiles/external.yaml` — the default public validation profile.
+Tier 1 checks — and the Tier 2 dedup pass, when it runs — gate the exit code inside `validate`; Tier 3 findings are advisory and never change it. The `quality` check passes when the composite score reaches `--min-score` (default `70`).
-Semgrep's static policy is also packaged with the distribution. Provider and
-credential configuration is documented in [CONFIGURATION.md](configuration.mdx).
+`--fail-fast` stops after the first failed check. `-c`/`--continue-on-failure` overrides it, records the full pipeline, and keeps scanning a collection past a CRITICAL finding. Wiring these exit codes into a merge gate — including a complete GitHub Actions recipe — is covered in [Gate Your CI](ci-integration.mdx).
## Troubleshooting
-- **Gitleaks is not installed** — install it with `brew install gitleaks` or
- download a binary from the official
- [Gitleaks releases](https://github.com/gitleaks/gitleaks/releases).
-- **Bandit or pip-audit is missing** — install the security extra with
- `skillevaluator[security]`.
-- **SkillSpector is missing** — install it separately with
- `uv tool install git+https://github.com/NVIDIA/SkillSpector.git`.
-- **Semgrep is missing** — install it separately with `brew install semgrep`
- or `uv tool install semgrep`.
- Required scanner failures remain `INCOMPLETE` until the scanner is installed
- and returns valid evidence.
-- **An LLM-backed stage fails immediately** — configure a supported provider or
- omit `--llm`/`--llm-verify`. Use `--no-dedup` when a fully key-free Tier 1 run
- is required.
-- **No scannable files are found** — confirm that the skill contains supported
- text or code extensions such as `.py`, `.sh`, `.yaml`, `.yml`, `.json`, `.md`,
- or `.txt`.
-- **An executable override is rejected** — use an existing, executable absolute
- path for the relevant `SKILLEVALUATOR_*_PATH` variable.
-
-## Skill Content Summary
-
-| Aspect | Skill requirement |
-| --- | --- |
-| Manifest | `SKILL.md` |
-| Standard location | `skills/<skill-name>/` or `team-skills/<team>/<skill-name>/` |
-| Required frontmatter | `name`, `description`, and profile-governed `metadata.author` |
-| Optional frontmatter | `license`, `compatibility`, `metadata`, `allowed-tools` |
-| Forbidden frontmatter | `alwaysApply`, `globs` |
-| Naming | Kebab-case; directory name matches frontmatter `name` |
-| Recommended maximum | 500 lines in `SKILL.md` |
-| Default supporting directories | `agents/`, `references/`, `scripts/`, `assets/`, `evals/`, `tests/`, `tools/`, `config/` |
-
-## See Also
-
-- [Installation](installation.mdx) — install the base package and optional extras.
-- [Configuration](configuration.mdx) — providers, credentials, and offline modes.
-- [Tier 2 Deduplication](tier2-deduplication.mdx) — semantic overlap and local
- catalog checks.
-- [Tier 3 Live Evaluation](tier3-live-evaluation.mdx) — advisory live agent
- evaluation.
-- [Developer Guide](developer-guide.mdx) — local development and testing.
+<AccordionGroup>
+ <Accordion title="Gitleaks is not installed">
+ Install it with `brew install gitleaks` or download a binary from the official [Gitleaks releases](https://github.com/gitleaks/gitleaks/releases).
+ </Accordion>
+ <Accordion title="A scanner is missing">
+ Install Bandit and pip-audit with `skillevaluator[security]`. Install Semgrep separately with `brew install semgrep` or `uv tool install semgrep`, and SkillSpector with `uv tool install git+https://github.com/NVIDIA/SkillSpector.git`. Required scanner failures remain `INCOMPLETE` until the scanner is installed and returns valid evidence.
+ </Accordion>
+ <Accordion title="An LLM-backed stage fails immediately">
+ Configure a supported provider or omit `--llm`/`--llm-verify`. Use `--no-tier2` (or `--no-dedup`) to disable dedup when a fully key-free Tier 1 run is required.
+ </Accordion>
+ <Accordion title="No scannable files are found">
+ Confirm that the skill contains supported text or code extensions such as `.py`, `.sh`, `.yaml`, `.yml`, `.json`, `.md`, or `.txt`.
+ </Accordion>
+ <Accordion title="An executable override is rejected">
+ Use an existing, executable absolute path for the relevant `SKILLEVALUATOR_*_PATH` variable.
+ </Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Tier 2: Deduplication" icon="copy" href="tier2-deduplication.mdx">
+ Check whether your skill repeats itself or overlaps the rest of your collection.
+ </Card>
+ <Card title="Gate Your CI" icon="shield" href="ci-integration.mdx">
+ Turn the Tier 1 exit code into a merge gate with a copy-paste workflow.
+ </Card>
+ <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ Every flag and default for validate and the standalone Tier 1 commands.
+ </Card>
+ <Card title="Environment Variables" icon="book" href="environment-variables.mdx">
+ Profile, scanner override, and identity variables in one table.
+ </Card>
+</CardGroup>
diff --git a/docs/tier2-deduplication.mdx b/docs/tier2-deduplication.mdx
index d9d3fe32..6a9fdb0b 100644
--- a/docs/tier2-deduplication.mdx
+++ b/docs/tier2-deduplication.mdx
@@ -1,178 +1,88 @@
---
title: "Tier 2: Semantic Deduplication"
+sidebar-title: "Tier 2: Deduplication"
description: "Detect redundant content within one skill and overlapping skills across a collection using embedding similarity."
---
-Tier 2 detects duplicate and overlapping skill content with embedding-based
-similarity analysis and, for intra-skill candidates, chat-LLM verification. It
-covers two complementary problems:
-
-| | Intra-skill context deduplication | Inter-skill similarity |
+Tier 2 finds redundant content — inside a single skill and across a skill
+collection — using embedding similarity, with chat-LLM verification for
+intra-skill candidates. It needs a configured embeddings provider; intra-skill
+analysis also needs a chat LLM. See
+[Providers & Credentials](configuration.mdx) to set both up, including the
+[fully local recipe](configuration.mdx#fully-local-setup) when skill content
+must not leave your machine.
+
+Both checks read local files only.
+No external vector database or catalog service is required.
+
+## Which check do you need
+
+<CardGroup cols={2}>
+ <Card title="Is my skill repeating itself?" icon="copy" href="#detect-redundancy-inside-one-skill">
+ **Intra-skill deduplication** — `context-optimization-check` walks one
+ skill directory and flags sections that restate each other, so the skill
+ stops burning context on duplicate guidance.
+ </Card>
+ <Card title="Does my skill overlap the collection?" icon="shield" href="#compare-skills-across-a-collection">
+ **Inter-skill similarity** — `similarity-check` compares skills across a
+ collection, or one candidate against a saved local catalog, and classifies
+ each overlapping pair.
+ </Card>
+</CardGroup>
+
+<Note>
+`dedup-scan` is an alias for `context-optimization-check` with the
+same analysis options. The default report basenames identify which command name
+was invoked.
+</Note>
+
+The two checks differ in what they call out to:
+
+| | Intra-skill (`context-optimization-check`) | Inter-skill (`similarity-check`) |
| --- | --- | --- |
-| **Scope** | Within one skill directory | Across a skill collection, or one candidate against a local catalog |
-| **Question** | "Does this skill repeat guidance internally?" | "Does this skill overlap an existing skill?" |
-| **Embedding storage** | Ephemeral and in memory for each run | Ephemeral for a direct scan, or a versioned local JSON catalog |
-| **Comparison** | Pairwise cosine similarity followed by Union-Find clustering | Pairwise cosine similarity, or one target compared with catalog entries |
-| **Chat LLM role** | Classifies overlapping candidate clusters | None; the check is embeddings-only |
-| **Command** | `context-optimization-check` (`dedup-scan` is an alias) | `similarity-check` |
-
-Both modes use local input files. No external vector database or catalog service
-is required.
-
-Tier 2 needs a configured embeddings provider. Intra-skill analysis also needs
-a configured chat LLM. If the selected chat provider does not offer embeddings,
-configure an embeddings provider separately. See
-[`CONFIGURATION.md`](configuration.mdx), including the
-[fully local recipe](configuration.mdx#fully-local-tier-2-no-external-calls).
-
-## Table of Contents
-
-- [Commands](#commands)
-- [Inter-Skill Similarity (`similarity-check`)](#inter-skill-similarity-similarity-check)
-- [Intra-Skill Context Deduplication (`context-optimization-check`)](#intra-skill-context-deduplication-context-optimization-check)
-- [Provider Data and Privacy](#provider-data-and-privacy)
-- [Defaults](#defaults)
-- [Reports and Exit Behavior](#reports-and-exit-behavior)
-- [Safety and Resource Limits](#safety-and-resource-limits)
-- [Edge Cases](#edge-cases)
-- [See Also](#see-also)
-
-## Commands
-
-```bash
-# Compare every skill in a collection directly.
-skillevaluator similarity-check ./skills --threshold 0.75
-
-# Save a reusable local catalog, then compare one candidate with it.
-skillevaluator similarity-check ./skills --save-catalog ./skill-catalog.json
-skillevaluator similarity-check ./candidate-skill --catalog ./skill-catalog.json
-
-# Find repeated content within one skill.
-skillevaluator context-optimization-check ./my-skill --threshold 0.80
-skillevaluator dedup-scan ./my-skill # functional alias with the same analysis options
-
-# validate runs the intra-skill pass by default.
-skillevaluator validate ./my-skill
-skillevaluator validate ./my-skill --no-dedup
-```
-
-`validate` skips its Tier 2 pass with a warning when the optional Tier 2
-dependencies or an embeddings provider are unavailable. Use `--no-dedup` to
-disable that pass explicitly.
+| **Scope** | Within one skill directory | Across a collection, or one candidate against a local catalog |
+| **Needs** | Embeddings provider **and** a chat LLM | Embeddings provider only — no chat LLM is ever called |
+| **Comparison** | Pairwise cosine similarity, then Union-Find clustering, then LLM verification | Pairwise cosine similarity, or one target compared with catalog entries |
+| **Embedding storage** | Ephemeral, in memory per run | Ephemeral for a direct scan, or a versioned local JSON catalog |
-## Inter-Skill Similarity (`similarity-check`)
+## Detect redundancy inside one skill
-`similarity-check` finds duplicate or overlapping skills with vector-embedding
-cosine similarity. It recursively discovers skill manifests, extracts each
-skill's name and description by default, embeds that text with the configured
-embeddings provider, and reports pairs at or above the selected threshold.
-
-### Direct collection scan
+The repository's exact SPDX-only HTML preamble is excluded from Markdown
+chunks, so required license metadata cannot create duplicate-content findings.
+Comments with any additional text or directive remain part of the comparison.
-```bash
-skillevaluator similarity-check ./skills
-skillevaluator similarity-check ./skills --full-body --threshold 0.50
-```
+As a skill grows, its directory accumulates repeated content: sections copied
+between `SKILL.md` and reference documents, near-identical guidance under
+different headings, script docstrings that restate the main instructions. That
+repetition consumes context without adding information.
-A direct scan compares every discovered skill with every other discovered skill.
-The default threshold is `0.75`, which reports `SIMILAR` and stronger matches.
+Not every similarity is redundant. A short overview in `SKILL.md` and a
+detailed explanation in `references/` are intentional progressive disclosure.
+Tier 2 therefore runs two stages — embeddings find likely overlap, then a chat
+LLM classifies its purpose:
-| Classification | Score | Severity/default behavior |
+| Stage | What runs | What it produces |
| --- | --- | --- |
-| `EXACT_DUPLICATE` | >= 0.95 | CRITICAL; blocking |
-| `HIGH_SIMILARITY` | >= 0.90 | HIGH; blocking |
-| `SIMILAR` | >= 0.75 | MEDIUM; advisory |
-| `LOOSELY_RELATED` | >= 0.50 | LOW; advisory |
-| `DISTINCT` | < 0.50 | INFO; advisory; below the default reporting threshold |
+| **1. Embedding clustering** | Chunks are batch-embedded with the configured embeddings provider; pairs at or above the threshold are grouped with Union-Find | Candidate clusters of overlapping chunks |
+| **2. LLM verification** | The actual text of each candidate cluster goes to the configured provider model for classification | A verdict, a confidence score, reasoning, and a suggested author action |
-The threshold controls which score bands are returned; it does not change the
-classification boundaries. Useful options include:
-
-- `--threshold <0.0-1.0>` controls the minimum reported cosine score.
-- `--full-body` embeds each discovered `SKILL.md` in full, including its
- frontmatter, with chunked average pooling instead of embedding only the name
- and description. It does not include supporting files.
-- `--model <model-id>` overrides the configured embedding model for this run.
-- `--type skill` explicitly selects skill discovery when automatic detection is
- not suitable.
-- `--save-catalog <path>` writes a reusable local catalog from the supplied
- collection.
-- `--catalog <path>` compares exactly one supplied skill against an existing
- catalog.
-
-### Local catalog comparison
-
-For repeated checks, save a collection once and query one candidate against it:
-
-```bash
-skillevaluator similarity-check ./skills --save-catalog ./skill-catalog.json
-skillevaluator similarity-check ./candidate-skill --catalog ./skill-catalog.json
+```bash title="Scan one skill for repeated content"
+skillevaluator context-optimization-check ./my-skill
```
-`--save-catalog` builds the catalog from the supplied collection. `--catalog`
-requires an existing catalog and a candidate directory containing a root
-`SKILL.md`. It compares only that candidate against the catalog entries; it does
-not compare catalog entries with one another or silently rebuild a missing
-catalog.
-
-Catalogs use a versioned JSON schema. They contain finite embedding vectors,
-relative skill paths, display names, descriptions, content fingerprints, and
-provider, model, mode, and endpoint-fingerprint metadata for compatibility
-checks. They do not contain API keys.
-
-The provider, model, endpoint, vector length, and description-versus-full-body
-mode used for a query must be compatible with the catalog. A missing, malformed,
-incompatible, non-finite, or oversized catalog is rejected with an actionable
-error. Query with matching settings or rebuild the catalog with the settings
-you intend to use.
-
-Catalogs remain local unless you explicitly share them. Because they contain
-embeddings and other data derived from skill content, review them before sharing
-them like any other generated project artifact.
-
-## Intra-Skill Context Deduplication (`context-optimization-check`)
+Useful options:
-The repository's exact SPDX-only HTML preamble is excluded from Markdown
-chunks, so required license metadata cannot create duplicate-content findings.
-Comments with any additional text or directive remain part of the comparison.
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--threshold` | `0.8` | Minimum cosine score for a chunk pair to join a candidate cluster |
+| `--model` | configured embedding model | Embedding model override for this run |
+| `--llm-model` | configured provider model | Chat-LLM model override for the verification stage |
-As a skill grows, its directory can accumulate repeated content: copied sections
-between `SKILL.md` and reference documents, near-identical guidance under
-different headings, or script docstrings that restate the main instructions.
-That repetition consumes context without adding useful information.
-
-Not every similarity is redundant. A short overview in `SKILL.md` and a detailed
-explanation in `references/` are intentional progressive disclosure. Tier 2 uses
-a two-stage process so embeddings can find likely overlap and a chat LLM can
-classify its purpose.
-
-### Two-stage pipeline
-
-```text
-SKILL DIRECTORY
- SKILL.md | README.md | references/*.md | scripts/*.py, *.sh
- |
- v
- FILE COLLECTOR Walk the directory, filter extensions, strip frontmatter,
- and retain source paths and line numbers
- |
- v
- CONTENT CHUNKER Markdown heading sections; Python signatures/docstrings;
- shell functions and comment blocks
- |
- v
- STAGE 1: EMBEDDINGS Batch-embed chunks; compare cosine scores;
- group connected matches with Union-Find
- |
- v
- STAGE 2: CHAT LLM Classify each candidate cluster and provide reasoning
- plus a suggested author action
- |
- v
- STRUCTURED REPORT Actionable duplicate findings with source locations
-```
+The default intra-skill threshold (`0.80`) is higher than the inter-skill
+default because sections from the same skill naturally share more domain
+vocabulary.
-### File collection and chunking
+### What gets chunked
| Extension | Chunking strategy |
| --- | --- |
@@ -183,140 +93,195 @@ SKILL DIRECTORY
Valid mapping frontmatter is removed from Markdown before chunking. Malformed,
empty, or non-mapping frontmatter remains part of the analyzed text. Every
-retained chunk keeps its source file and line range so findings can point
-authors to the overlapping sections.
+retained chunk keeps its source file and line range, so findings point you to
+the exact overlapping sections.
-### Stage 1: embedding clustering
+### Verdicts and what to do about them
-All chunks are embedded in batches with the configured embeddings provider. For
-`N` chunks, Tier 2 evaluates `N * (N - 1) / 2` cosine scores. Pairs at or above
-the threshold are joined with Union-Find, and each connected component with at
-least two members becomes a candidate cluster.
-
-The default intra-skill threshold is `0.80`. It is higher than the default
-inter-skill threshold because sections from the same skill naturally share more
-domain vocabulary.
-
-### Stage 2: chat-LLM verification
-
-The actual text in each candidate cluster is sent to the configured chat LLM.
-The model returns a structured verdict with a confidence score, reasoning, and a
-suggested author action:
-
-| Verdict | Meaning | Reporting behavior |
+| Verdict | Meaning | Your action |
| --- | --- | --- |
-| `DUPLICATE` | Content repeats the same information without a meaningful addition | Report an actionable finding and recommend consolidation |
-| `INTENTIONAL_DETAIL` | One section summarizes content that another section develops in detail | Do not report an actionable finding |
-| `RELATED_BUT_DISTINCT` | Sections discuss the same topic for different purposes or from different angles | Do not report an actionable finding |
+| `DUPLICATE` | Content repeats the same information without a meaningful addition | Consolidate into one location; the finding is actionable |
+| `INTENTIONAL_DETAIL` | One section summarizes content another section develops in detail | Keep it — progressive disclosure is not reported as a finding |
+| `RELATED_BUT_DISTINCT` | Sections cover the same topic for different purposes or from different angles | Keep it — not reported as a finding |
-Duplicate findings use the following severity behavior:
+Duplicate findings map to severities by confidence:
| Condition | Severity |
| --- | --- |
-| `DUPLICATE` with confidence >= 0.70 | HIGH; blocking |
-| `DUPLICATE` with confidence < 0.70 | MEDIUM; advisory |
-| Short, same-file duplicate made only of comment or configuration-style text | Capped at LOW; advisory |
+| `DUPLICATE` with confidence >= 0.70 | HIGH — blocking |
+| `DUPLICATE` with confidence < 0.70 | MEDIUM — advisory |
+| Short, same-file duplicate dominated by comment or configuration-style text | Capped at LOW — advisory |
-If chat-LLM analysis fails for a candidate cluster, Tier 2 reports the incomplete
-analysis as a blocking error rather than treating the content as clean.
+If chat-LLM analysis fails for a candidate cluster, Tier 2 reports the
+incomplete analysis as a blocking error rather than treating the content as
+clean.
-```bash
-skillevaluator context-optimization-check ./my-skill
-skillevaluator context-optimization-check ./my-skill --threshold 0.85
-skillevaluator dedup-scan ./my-skill # functional alias
-```
+## Compare skills across a collection
-Both intra-skill command names accept `--threshold`, `--model`, `--llm-model`,
-and the same report options. Their default report basenames identify which
-command name was invoked.
+`similarity-check` recursively discovers skill manifests, embeds each skill's
+name and description by default, and reports pairs at or above the selected
+threshold.
-## Provider Data and Privacy
+```bash title="Scan a collection for overlapping skills"
+skillevaluator similarity-check ./skills
+```
-- A default inter-skill scan sends skill names and descriptions to the configured
- embeddings provider. `--full-body` sends each discovered `SKILL.md` in full,
- including frontmatter, in embedding chunks; supporting files are not sent.
-- Intra-skill analysis sends retained content chunks to the configured
- embeddings provider. Only candidate clusters found by the embedding stage are
- sent to the configured chat LLM for classification.
-- `similarity-check` never calls a chat LLM.
-- Catalog files are read and written locally; SkillEvaluator does not upload them
- to a catalog service.
+Every match lands in one of five classifications:
-Use the [fully local provider recipe](configuration.mdx#fully-local-tier-2-no-external-calls)
-when skill content must not leave the machine. Review the provider's own data
-handling terms before sending confidential skill content to a hosted endpoint.
+| Classification | Score | Severity and default behavior |
+| --- | --- | --- |
+| `EXACT_DUPLICATE` | >= 0.95 | CRITICAL — blocking |
+| `HIGH_SIMILARITY` | >= 0.90 | HIGH — blocking |
+| `SIMILAR` | >= 0.75 | MEDIUM — advisory |
+| `LOOSELY_RELATED` | >= 0.50 | LOW — advisory |
+| `DISTINCT` | < 0.50 | INFO — advisory; below the default reporting threshold |
-## Defaults
+The threshold controls which score bands are returned; it does not change the
+classification boundaries. The default (`0.75`) reports `SIMILAR` and stronger
+matches.
-| Setting | Default | Purpose |
+| Flag | Default | Effect |
| --- | --- | --- |
-| Inter-skill reporting threshold | `0.75` | Reports `SIMILAR` and stronger matches |
-| Intra-skill clustering threshold | `0.80` | Selects candidate chunk pairs for clustering |
-| Minimum content chunk | `80` characters | Drops fragments too small to compare usefully |
-| Large Markdown section split point | `3,000` characters | Attempts to split oversized sections at eligible paragraph boundaries |
-| High-confidence duplicate boundary | `0.70` | Maps actionable duplicate verdicts to HIGH rather than MEDIUM |
+| `--threshold` | `0.75` | Minimum reported cosine score |
+| `--full-body` | off | Embed each discovered `SKILL.md` in full, including frontmatter, chunked at 512 tokens with 64-token overlap and average pooling — instead of only the name and description. Supporting files are not included |
+| `--model` | configured embedding model | Embedding model override for this run |
+| `--type skill` | `auto` | Explicit skill discovery when automatic detection is not suitable |
+
+## Use a local catalog
+
+For repeated screening — say, every new skill submission against your team's
+existing set — save the collection once and query candidates against it.
+
+<Steps>
+ <Step title="Build the catalog">
+ ```bash title="Save a reusable local catalog"
+ skillevaluator similarity-check ./skills --save-catalog ./skill-catalog.json
+ ```
+
+ `--save-catalog` builds a versioned JSON catalog from the supplied
+ collection.
+ </Step>
+ <Step title="Screen a candidate">
+ ```bash title="Compare one candidate against the catalog"
+ skillevaluator similarity-check ./candidate-skill --catalog ./skill-catalog.json
+ ```
+
+ `--catalog` requires an existing catalog and a candidate directory
+ containing a root `SKILL.md`. It compares only that candidate against the
+ catalog entries — it does not compare catalog entries with one another, and
+ it never silently rebuilds a missing catalog.
+ </Step>
+</Steps>
+
+Catalogs contain finite embedding vectors, relative skill paths, display names,
+descriptions, content fingerprints, and provider, model, mode, and
+endpoint-fingerprint metadata for compatibility checks. They never contain API
+keys.
+
+The provider, model, endpoint, vector length, and description-versus-full-body
+mode used for a query must be compatible with the catalog. A missing,
+malformed, incompatible, non-finite, or oversized catalog is rejected with an
+actionable error — query with matching settings, or rebuild the catalog with
+the settings you intend to use.
-Provider endpoints and default models are intentionally documented in
-[`CONFIGURATION.md`](configuration.mdx) instead of duplicated here.
+Catalogs stay local unless you explicitly share them. Because they contain
+embeddings and other data derived from skill content, review them before
+sharing like any other generated project artifact.
-## Reports and Exit Behavior
+## Inside validate
-All Tier 2 commands support CLI, JSON, HTML, and Markdown output:
+`validate` runs the intra-skill deduplication pass by default as part of a full
+evaluation. When the optional Tier 2 dependencies or an embeddings provider are
+unavailable, the pass skips gracefully with a warning — a keyless `validate`
+still completes. Use `--no-tier2` (or `--no-dedup`) to disable the pass
+explicitly:
-```bash
-skillevaluator similarity-check ./skills \
- -r cli,json,html,markdown -o ./reports
+```bash title="Skip the Tier 2 pass"
+skillevaluator validate ./my-skill --no-dedup
```
-Inter-skill matches at or above the selected threshold and actionable
-intra-skill duplicate findings are emitted as Tier 2 results. HIGH and CRITICAL
-findings, along with blocking analysis errors, produce a non-zero exit code;
-MEDIUM and LOW findings are advisory. The exit behavior is the same in every
-output mode, so the commands can be used as CI gates.
+All Tier 2 commands accept the standard report options (`-r cli,json,html,markdown`
+and `-o`). HIGH and CRITICAL findings, along with blocking analysis errors,
+produce a non-zero exit code; MEDIUM and LOW findings are advisory. Exit
+behavior is identical in every output mode, so these commands work as CI gates
+— see [Gate Your CI](ci-integration.mdx).
-## Safety and Resource Limits
+## Defaults and safety limits
+
+| Setting | Default | Purpose |
+| --- | --- | --- |
+| Inter-skill reporting threshold | `0.75` | Reports `SIMILAR` and stronger matches |
+| Intra-skill clustering threshold | `0.80` | Selects candidate chunk pairs for clustering |
+| Full-body chunking | 512 tokens, 64-token overlap | Chunked average pooling for `--full-body` embeddings |
+| Minimum content chunk | 80 characters | Drops fragments too small to compare usefully |
+| Large Markdown section split point | 3,000 characters | Splits oversized sections at eligible paragraph boundaries |
+| High-confidence duplicate boundary | `0.70` | Maps actionable duplicate verdicts to HIGH rather than MEDIUM |
Tier 2 treats skill content and catalog files as untrusted input. Before any
provider call, it rejects linked roots, linked or escaping files, non-regular
-files, and paths outside the verified scan root.
-
-Explicit limits bound discovered paths, file counts, per-file and total input
-bytes, content chunks, candidate clusters, catalog size and entry count, vector
-length, returned matches, and pairwise scalar work. Catalog loading also
-rejects duplicate JSON keys, unexpected fields, invalid identities, non-finite
-vectors, and incompatible provider metadata.
-
-If a collection exceeds a limit, split it into intentional batches rather than
-scanning an unbounded directory tree.
-
-## Edge Cases
-
-### Intra-skill analysis
-
-| Scenario | Behavior |
-| --- | --- |
-| Skill contains only `SKILL.md` | Checks repeated sections within that file |
-| Fewer than two chunks remain | Succeeds with “Not enough content to compare” |
-| Markdown has no headings | Treats the body as a preamble and attempts paragraph splitting when oversized; retains the original section if no eligible split is produced |
-| Unsupported extension | Skips the file |
-| Duplicate sections occur in one file | Reports the relevant headings and line ranges |
-| Embedding or chat-LLM analysis is incomplete | Reports an error; does not claim a clean result |
+files, and paths outside the verified scan root. Explicit limits bound
+discovered paths, file counts, per-file and total input bytes, content chunks,
+candidate clusters, catalog size and entry count, vector length, returned
+matches, and pairwise scalar work. Catalog loading also rejects duplicate JSON
+keys, unexpected fields, invalid identities, non-finite vectors, and
+incompatible provider metadata. If a collection exceeds a limit, split it into
+intentional batches rather than scanning an unbounded directory tree.
+
+### What leaves your machine
+
+- A default inter-skill scan sends skill names and descriptions to the
+ configured embeddings provider. With `--full-body`, the scan
+ sends each discovered `SKILL.md` in full, including frontmatter, in embedding
+ chunks; supporting files are not sent.
+- Intra-skill analysis sends retained content chunks to the configured
+ embeddings provider. Only candidate clusters found by the embedding stage are
+ sent to the configured chat LLM for classification.
+- `similarity-check` never calls a chat LLM.
+- Catalog files are read and written locally; SkillEvaluator does not upload
+ them to a catalog service.
-### Inter-skill analysis
+Use the [fully local provider recipe](configuration.mdx#fully-local-setup) when
+skill content must not leave the machine, and review your provider's data
+handling terms before sending confidential skill content to a hosted endpoint.
-| Scenario | Behavior |
-| --- | --- |
-| Direct collection has fewer than two skills | Returns an actionable input error |
-| Catalog source collection is empty | Refuses to save an empty catalog |
-| Catalog path is missing | Returns an error and does not rebuild it silently |
-| Candidate lacks a root `SKILL.md` | Rejects the catalog query |
-| Candidate matches multiple catalog entries | Reports matches in descending similarity order |
-| Provider, endpoint, model, mode, or vector length differs | Rejects the catalog; query with matching settings or rebuild it |
-| Catalog is malformed, non-finite, or oversized | Rejects it before comparison |
-
-## See Also
-
-- [`CONFIGURATION.md`](configuration.mdx) — provider setup and fully local Tier 2.
-- [`TIER1_VALIDATION.md`](tier1-validation.mdx) — static, security, and quality validation.
-- [`TIER3_LIVE_EVALUATION.md`](tier3-live-evaluation.mdx) — live skill evaluation.
-- [`README.md`](../README.md) — installation and end-to-end examples.
+### Edge cases
+
+<AccordionGroup>
+ <Accordion title="Intra-skill analysis">
+ | Scenario | Behavior |
+ | --- | --- |
+ | Skill contains only `SKILL.md` | Checks repeated sections within that file |
+ | Fewer than two chunks remain | Succeeds with "Not enough content to compare" |
+ | Markdown has no headings | Treats the body as a preamble and attempts paragraph splitting when oversized; retains the original section if no eligible split is produced |
+ | Unsupported extension | Skips the file |
+ | Duplicate sections occur in one file | Reports the relevant headings and line ranges |
+ | Skill carries large generated snapshots (`evals`, `.evals`, `results`, `.results`, `versions`, `.versions`) | Excluded directories are pruned during traversal, so their contents never count toward the discovered-path limit — a well-used skill with large evals or results snapshots no longer trips it, as it could in earlier releases |
+ | A directory is a Windows junction or other reparse point | Rejected during the walk, like symbolic links |
+ | Embedding or chat-LLM analysis is incomplete | Reports an error; does not claim a clean result |
+ </Accordion>
+ <Accordion title="Inter-skill analysis">
+ | Scenario | Behavior |
+ | --- | --- |
+ | Direct collection has fewer than two skills | Returns an actionable input error |
+ | Catalog source collection is empty | Refuses to save an empty catalog |
+ | Catalog path is missing | Returns an error and does not rebuild it silently |
+ | Candidate lacks a root `SKILL.md` | Rejects the catalog query |
+ | Candidate matches multiple catalog entries | Reports matches in descending similarity order |
+ | Provider, endpoint, model, mode, or vector length differs | Rejects the catalog; query with matching settings or rebuild it |
+ | Catalog is malformed, non-finite, or oversized | Rejects it before comparison |
+ </Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Tier 3: Live Evaluation" icon="flask" href="tier3-live-evaluation.mdx">
+ Prove the skill changes agent behavior with a live A/B evaluation.
+ </Card>
+ <Card title="Providers & Credentials" icon="book" href="configuration.mdx">
+ Configure an embeddings provider — including a fully local setup.
+ </Card>
+ <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ Every Tier 2 flag, default, and report option.
+ </Card>
+</CardGroup>
diff --git a/docs/tier3-live-evaluation.mdx b/docs/tier3-live-evaluation.mdx
index e25f1724..bb6e5f4d 100644
--- a/docs/tier3-live-evaluation.mdx
+++ b/docs/tier3-live-evaluation.mdx
@@ -1,587 +1,401 @@
---
title: "Tier 3: Live Agent Evaluation"
-description: "Measure whether a skill makes an agent better — generate eval datasets and run with-skill vs. without-skill comparisons in Harbor sandboxes."
+sidebar-title: "Tier 3: Live Evaluation"
+description: "Run a real agent with and without your skill in a sandboxed environment, then measure Skill Lift across five dimensions."
---
-Live evaluation answers one question: **does your skill actually make an agent
-better at the task?** Skill Evaluator runs a real agent (such as `codex`,
-`claude-code`, or `opencode`) against the same eval cases with the skill
-installed and, unless `--skip-baseline` is used, without it — in a selected
-[Harbor](https://github.com/harbor-framework/harbor) environment. Docker and
-cloud backends provide environment isolation. Experimental local mode applies
-its configured OS-sandbox policy and is intended for trusted skills and
-workspaces; Docker provides stronger isolation for untrusted code.
-
-With `default` or `default_plus_custom` grading, completed reports lead with five
-human-readable dimensions: **Security, Correctness, Discoverability,
-Effectiveness, and Efficiency**. The with-skill and without-skill results make
-the skill's effect visible rather than treating a single agent run as proof of
-quality. In `custom_only` mode, the user-owned grader defines the score instead.
-Default dimension rows remain visible for a stable terminal layout but show
-`NO SCORE`; custom metrics are not re-labeled as standard dimensions.
-
-## Table of Contents
-
-- [Quick Start](#quick-start)
-- [How a Run Works](#how-a-run-works)
-- [Two Ways to Run Tier 3](#two-ways-to-run-tier-3)
-- [Prerequisites and Credentials](#prerequisites-and-credentials)
-- [Commands](#commands)
-- [Choosing an Environment](#choosing-an-environment)
-- [Eval Datasets](#eval-datasets)
-- [Custom Graders and Custom Tasks](#custom-graders-and-custom-tasks-byog--byot)
-- [Skill and Result Layout](#skill-and-result-layout)
-- [Reading Results](#reading-results)
-- [Troubleshooting](#troubleshooting)
-
-## Quick Start
-
-The fastest path from a skill directory to a live comparison:
-
-```bash
-# 1. Install with the Tier 3 extra ([all] includes it; from a source
-# checkout, `uv sync --all-extras` or `pip install -e ".[tier3]"` also work)
-uv tool install "skillevaluator[tier3] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
-
-# 2. Configure the evaluator's LLM provider (judging + dataset generation)
-export SKILL_EVAL_LLM_PROVIDER=openai
-export OPENAI_API_KEY='...'
-
-# 3. Configure the live-agent credential role on the host (see below).
-# NVIDIA Build Docker/local paths can reuse NVIDIA_API_KEY. Do not put credentials
-# or credential aliases in evals/config.yml.
-
-# 4. Generate eval cases for your skill
-skillevaluator create-eval-dataset ./my-skill --full
-
-# 5. Check that the environment is ready
-skillevaluator doctor --agents codex --env-mode docker
-
-# 6. Run the live comparison
-skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker
-
-# 7. Open the HTML report
-skillevaluator view ./my-skill
-```
+Tier 3 answers the question the other tiers can't: **does your skill actually
+make an agent better at the task?** It is the one tier that needs real
+infrastructure — an evaluator LLM key, the selected agent's own credential, and
+Docker or another sandbox. This guide takes you from a skill directory to a
+finished with-skill vs. without-skill comparison.
-If a step fails, start with [Troubleshooting](#troubleshooting).
+## What a live eval measures
-## How a Run Works
+SkillEvaluator runs a real agent (`codex`, `claude-code`, or `opencode` —
+`claude` is accepted as an alias for `claude-code`) against the same eval
+cases twice: once with the skill installed
+(the with-skill arm) and, unless you pass `--skip-baseline`, once without it
+(the baseline arm). Both arms execute inside a selected
+[Harbor](https://github.com/harbor-framework/harbor) environment, so the only
+variable is the skill itself. **Skill Lift** is the signed difference between
+the two arms — the direct measurement of what your skill contributes. With
+multiple attempts per case, **pass@k** adds a reliability signal alongside it.
-1. `evaluate` reads the selected accepted dataset or native task source and
- builds the Harbor task bundle.
-2. Harbor starts the selected environment and runs the agent with the skill and,
- unless `--skip-baseline` is set, without it. Isolation follows the selected
- backend and, for local mode, its active OS-sandbox setting.
-3. With standard grading, each transcript is judged against the case's expected
- output and assertions using the configured evaluator provider. A
- `custom_only` grader owns this step instead.
-4. Skill Evaluator collects the result artifacts. Completed standard-grading
- runs render the five human-readable dimensions, pass rates, and Skill Lift.
-5. `evaluate` automatically writes the canonical `report.html` in the run
- directory. A focused run contains Tier 3 only; a combined validation report
- contains exactly the tiers that were executed.
+With `default` or `default_plus_custom` grading, reports lead with five
+human-readable dimensions:
-The CLI uses the same in-process evaluation service for focused `evaluate`
-runs and `validate --agent-eval` runs. Staged task and raw Harbor job
-directories are transient and deleted by default on successful and failed
-runs; `report.html`, `result.json`, and collected summaries remain. Pass
-`--harbor-keep-jobs` to retain the transient directories for inspection.
-
-## Two Ways to Run Tier 3
-
-| Use case | Command | When to use |
-| --- | --- | --- |
-| Full validation | `skillevaluator validate ./my-skill --agent-eval` | Add advisory Tier 3 results after the standard validation stages |
-| Focused evaluation | `skillevaluator tier3 evaluate ./my-skill --agents codex` | Iterate on datasets, agents, environments, and grading settings |
-
-Tier 3 remains advisory when attached to `validate`: it is included in the
-combined reports but does not change the validation exit code. Focused live
-evaluation still requires the provider and agent credentials needed by the
-selected setup.
-
-## Prerequisites and Credentials
+| Dimension | Question answered |
+| --- | --- |
+| Security | Is it safe to use? |
+| Correctness | Does it do what it's supposed to? |
+| Discoverability | Is it loaded when it should be? |
+| Effectiveness | Is it better with the skill than without? |
+| Efficiency | Does it use fewer tool calls and tokens? |
-Tier 3 needs:
+In `custom_only` mode, your own grader defines the score instead — see
+[Custom Graders & Tasks](custom-graders.mdx).
-1. A preferred generated dataset at `evals/evals.json`, another accepted dataset
- file, or native tasks under `evals/harbor/`.
-2. The `tier3` extra, which installs Harbor and the evaluator dependencies.
-3. A configured evaluator LLM provider.
-4. The selected live agent credential (or the shared `NVIDIA_API_KEY` for
- Build-backed Docker/local agents).
-5. A configured environment, such as Docker, local OS isolation, or a supported
- Harbor cloud backend.
+## Before you start
-The evaluator and live agent use **two credential roles**. They are resolved
-from the operator's host environment, outside the checked-out skill. A skill
-cannot replace, alias, or reroute provider/agent/backend credentials through
-`evals/config.yml`.
+Every row below is checkable in seconds; the linked guide covers setup in
+depth.
-| Credential | Used for | How to set |
+| Requirement | How to check | Covered in |
| --- | --- | --- |
-| Evaluator LLM provider | Dataset generation and standard grading | `SKILL_EVAL_LLM_PROVIDER` plus the provider key; see [CONFIGURATION.md](configuration.mdx) |
-| Live agent credential | The agent actually performing the task | Export the agent's credential in the host environment before `doctor`/`evaluate` |
+| The `tier3` extra installed (`[all]` includes it) | `skillevaluator health-check` | [Installation](installation.mdx) |
+| An evaluator LLM provider key | `skillevaluator doctor --agents codex --env-mode docker` names any missing key | [Providers & Credentials](configuration.mdx) |
+| The agent and its credential | Same `doctor` run, with your agents; `tier3 evaluate` re-validates before any run | [Agents & Sandboxes](agents-and-sandboxes.mdx) |
+| Docker running (the default environment) | `docker info` | [Agents & Sandboxes](agents-and-sandboxes.mdx) |
-Public NVIDIA Build at [build.nvidia.com](https://build.nvidia.com/) uses the
-`nv_build` provider and `NVIDIA_API_KEY`. The same key powers direct OpenCode
-and SkillEvaluator's Docker/local compatibility bridges:
+## Run your first evaluation
-```bash
-export SKILL_EVAL_LLM_PROVIDER=nv_build
-export NVIDIA_API_KEY='nvapi-...'
-skillevaluator models
-skillevaluator doctor --agents opencode --env-mode docker --verify-models
-skillevaluator evaluate ./my-skill --agents opencode --env-mode docker
+<Steps toc={true}>
-# Codex Responses -> NVIDIA Build Chat Completions
-skillevaluator evaluate ./my-skill --agents codex --env-mode docker
+### Check readiness
-# Experimental Claude Code Messages -> NVIDIA Build Chat Completions
-skillevaluator evaluate ./my-skill --agents claude-code --env-mode docker
-
-# The same three paths are available under the trusted local OS sandbox
-skillevaluator doctor --agents opencode,codex,claude-code --env-mode local --verify-models
-skillevaluator evaluate ./my-skill --agents codex --env-mode local
+```bash title="Verify the runtime before spending compute"
+skillevaluator doctor --agents codex --env-mode docker
```
-`models` only shows a filtered, bounded view of the authenticated Build
-catalog. The following `doctor` and `evaluate` commands provide runtime and
-end-to-end evidence; the listing itself does not claim harness compatibility.
-
-OpenCode talks to Build directly. Codex and Claude Code use loopback protocol
-bridges owned by SkillEvaluator. In Docker, the vendor CLI receives only a
-sentinel key and the real key crosses a short-lived file handoff. In local mode,
-the bridge runs in Harbor's trusted parent process and the CLI receives a unique
-per-trial capability token. The experimental Claude Code bridge keeps executable
-core and compatible MCP tools but omits Claude-specific tools that Build cannot
-execute. Harbor cloud Codex/Claude Code continue to use native provider
-credentials.
-
-Direct OpenCode defaults to `nvidia/nemotron-3-nano-30b-a3b`, rendered as
-`nvidia/nvidia/nemotron-3-nano-30b-a3b`. Bridged Codex and experimental Claude
-Code default to `nvidia/nemotron-3-super-120b-a12b`, the verified default for
-their larger tool surfaces. For an explicit Nemotron Super override or a manual
-Llama comparison, use:
-
-```bash
-skillevaluator evaluate ./my-skill --agents opencode --env-mode docker \
- --agent-model opencode=nvidia/nvidia/nemotron-3-super-120b-a12b
-skillevaluator evaluate ./my-skill --agents codex --env-mode docker \
- --agent-model codex=nvidia/nemotron-3-super-120b-a12b
-skillevaluator evaluate ./my-skill --agents claude-code --env-mode docker \
- --agent-model claude-code=nvidia/nemotron-3-super-120b-a12b
-skillevaluator evaluate ./my-skill --agents opencode --env-mode docker \
- --agent-model opencode=nvidia/meta/llama-3.1-8b-instruct
-```
+`doctor` takes seconds and names anything missing: the evaluator provider,
+the selected backend's prerequisites, and unsupported agent names. Add
+`--verify-models` to live-probe each agent's model against the provider's
+catalog — one pass/fail row per agent — and `--agent-model AGENT=MODEL` to
+check an override before committing to a run.
+`skillevaluator health-check` is the quicker
+CLI-and-backend variant; [Agents & Sandboxes](agents-and-sandboxes.mdx) covers
+both in depth.
-SkillEvaluator never changes models silently. Explicit CLI/config overrides
-remain exact, and an unavailable model fails rather than switching to Llama.
+### Generate an eval dataset
-Security notes:
+```bash title="Write the four-bucket dataset to evals/evals.json"
+skillevaluator create-eval-dataset ./my-skill --full
+```
-- Do not commit credentials. NVIDIA Build Docker runs use a host-only key file
- plus short-lived container handoffs. Local bridges retain the real key only
- in Harbor's trusted parent and authenticate each CLI with a unique capability
- token. Bridge vendor CLIs never receive the real key. Use scoped, short-lived
- keys.
-- `runtime_env` is only for non-credential task values. Credential names,
- provider routing, backend controls, and aliases such as
- `SAFE_NAME=${NVIDIA_API_KEY}` are rejected.
-- `runtime_env` cannot override host launcher, language-runtime, Docker,
- Compose, proxy, or tracing controls. Configure the selected backend in the
- host environment.
+`--full` generates four case buckets — explicit, implicit, and contextual
+positives plus a negative case that should *not* trigger the skill. Generation
+uses your configured evaluator provider; `--no-llm` falls back to keyless local
+templates. The dataset format, `EVAL.md` guidance, and refinement options live
+in [Eval Datasets](eval-datasets.mdx).
-## Commands
+### Review the cases
-### `evaluate`
+Open `evals/evals.json`. Each entry has an `id`, a `prompt` the agent will
+receive, an `expected_output`, and optional `assertions` the grader checks.
+Edit freely — the generated cases are a starting point, and the run is only as
+good as its dataset.
-```bash
-skillevaluator tier3 evaluate <SKILL_PATH> [OPTIONS]
-```
+### Run the comparison
-| Option | Default | Purpose |
-| --- | --- | --- |
-| `-a`, `--agents` | `codex` | Comma-separated Harbor agents; `claude` is accepted as an alias for `claude-code` |
-| `--env-mode` | `docker` | Docker, local, or a supported Harbor cloud backend |
-| `--autopilot` | false | Reuse an existing eval source, or create exactly one case before evaluation |
-| `--skip-baseline` | false | Skip the without-skill arm for faster iteration; no Skill Lift is produced |
-| `--n-attempts` | `1` | Attempts per eval case; values above one add pass@k context |
-| `--pass-threshold` | `0.5` | Score required for an attempt to count as passed |
-| `--n-concurrent` | `4` | Concurrent eval cases per agent |
-| `--max-agents` | selected-agent count | Maximum agents run in parallel |
-| `--model` | resolved from agent/config | Global live-agent model override |
-| `--agent-model` | none | Repeatable `AGENT=MODEL` override |
-| `--grading-mode` | `default` | `default`, `default_plus_custom`, or `custom_only` |
-| `--skill-workspace-mode` | `isolated` | `isolated` or `group` skill staging |
-| `--include-skills` | none | Repeatable additional skill directory or parent directory; requires `--skill-workspace-mode group` |
-| `--copy-repo` | false | Copy the surrounding repository into the task environment |
-| `--custom-dockerfile-mode` | `rebase` | `preserve` or `rebase` a custom eval Dockerfile |
-| `--results-dir` | `evals/results` or `SKILLEVALUATOR_RESULTS_DIR` | Write results below an explicit external root |
-| `--harbor-keep-jobs` | false | Retain Harbor job directories for inspection |
-| `--agent-runtime-preflight` | true | Run one real agent smoke task before the full A/B matrix |
-| `--progress` | `auto` | Rich TTY progress, stable plain lines, or `off` |
-| `--timeout-multiplier` | `1.0` | Scale Harbor setup, run, and verifier timeouts |
-| `--override-cpus`, `--override-memory-mb`, `--override-storage-mb` | engine default | Per-environment resource overrides |
-
-The `claude` alias is also accepted in `--agent-model` and under
-`harbor.agents` in `evals/config.yml`. It is canonicalized before execution;
-persisted result keys, paths, progress, and reports always use `claude-code`.
-Do not configure both names for the same run.
-
-For OpenCode, the resolved runtime model includes its adapter namespace
-(`nvidia/`, `openai/`, or `anthropic/`). Provider defaults are raw catalog IDs
-and are always qualified automatically. An explicit `--agent-model` or
-`harbor.agents.<agent>.model` value that already starts with the expected
-namespace is treated as a complete OpenCode runtime ID; an unprefixed value is
-qualified automatically. If a raw catalog ID itself starts with that namespace,
-repeat it in the runtime ID (for example, raw `nvidia/model` becomes
-`nvidia/nvidia/model`).
-
-Examples:
-
-```bash
-# Generate one case only when needed, then run the evaluation
-skillevaluator tier3 evaluate ./my-skill --autopilot --agents opencode
-
-# NVIDIA Build + OpenCode
-skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker
-
-# Faster iteration without the baseline arm
-skillevaluator tier3 evaluate ./my-skill --agents opencode --skip-baseline
-
-# Three attempts per case for pass@k context
-skillevaluator tier3 evaluate ./my-skill --agents opencode \
- --n-attempts 3 --pass-threshold 0.7
+```bash title="With-skill vs. without-skill in Docker"
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker \
+ --agent-model codex=gpt-5.4-mini
```
-Autopilot never overwrites an accepted dataset or native Harbor task source.
-When no source exists, it uses the configured public LLM provider to generate
-one case. Without a configured provider key—or if LLM generation fails—it
-warns and writes the deterministic one-case template instead. `--skip-baseline`
-remains an independent evaluation option. Dataset creation can be keyless, but
-the live evaluation that follows still requires its evaluator-provider and
-selected-agent credentials.
-
-### `create-eval-dataset`
+Every supported agent harness works the same way:
-```bash
-skillevaluator create-eval-dataset <SKILL_PATH> [OPTIONS]
+```bash title="Choose an agent harness"
+skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker
+skillevaluator tier3 evaluate ./my-skill --agents claude-code --env-mode docker
```
-| Option | Default | Purpose |
-| --- | --- | --- |
-| `--full` | false | Generate the four-bucket dataset instead of one case |
-| `--no-llm` | false | Use local templates without an LLM call |
-| `--dry-run` | false | Print generated JSON without writing it |
-| `--force` | false | Overwrite an existing `evals/evals.json` |
-| `--prompt` | none | Use a developer guidance file instead of `evals/EVAL.md` |
-| `--refine` | false | Refine cases using an existing or collected trajectory |
-| `--from-results` | latest results | Select the trajectory search directory for refinement |
-| `--results-dir` | none | Search an external results root for refinement data |
-
-### `view`, `compare`, and `doctor`
-
-```bash
-skillevaluator view ./my-skill [--results-dir DIR]
-skillevaluator compare ./my-skill [--results-dir DIR]
-skillevaluator doctor --agents opencode --env-mode docker [--verify-models]
+Use `--agent-model AGENT=MODEL` whenever the evaluator provider's default model
+is not valid for that agent — for example, `codex` needs an OpenAI-compatible
+Responses model. When the run completes, results land in a timestamped
+directory:
+
+<FileTree>
+- evals/
+ - results/
+ - 20260709_141530/
+ - result.json
+ - run_config.json
+ - report.html
+ - codex/
+ - lift.json
+ - with-skill/
+ - without-skill/
+</FileTree>
+
+### Read the report
+
+```bash title="Open the HTML report, then compare across agents"
+skillevaluator view ./my-skill
+skillevaluator compare ./my-skill
```
-- `view` opens the latest canonical HTML report and regenerates it from the raw
- Tier 3 result when the HTML artifact is missing.
-- `compare` summarizes stored results across agents and arms.
-- `doctor` checks backend readiness, agent availability, and visible host
- credentials. `evaluate` remains authoritative for skill-specific config and
- task credential injection.
-
-### Tier 3 expert commands
+`view` opens the latest HTML report; `compare` summarizes stored results across
+agents and arms. [Reports & Results](reports.mdx) explains everything the run
+wrote and how to interpret it.
-```bash
-skillevaluator tier3 validate ./my-skill [--json] [--strict] [--harbor-contract]
-skillevaluator tier3 harbor-view <JOBS_DIR>
-```
+</Steps>
-The first command validates the eval dataset and optional Harbor task contract.
-The second opens retained Harbor job artifacts in Harbor's trajectory browser.
+## How a run works
-## Choosing an Environment
+`tier3 evaluate` reads the accepted dataset (or native task source) and builds
+a Harbor task bundle. Before spending the full A/B matrix, a runtime preflight
+runs one real, bounded smoke task per agent to confirm each agent runtime
+actually works (on by default; disable with `--no-agent-runtime-preflight`). Harbor then
+starts the selected environment and runs the agent in both arms; with standard
+grading, each transcript is judged against the case's expected output and
+assertions using the configured evaluator provider. Finally, SkillEvaluator
+collects the artifacts and computes the dimension scores, pass rates, and
+Skill Lift. Harbor task and job directories are transient: they are deleted
+after collection whether the run succeeds or fails, unless you pass
+`--harbor-keep-jobs`.
-Docker is the default and needs a running Docker daemon. Harbor cloud
-environments such as `daytona`, `e2b`, or `modal` can be selected with
-`--env-mode`; each needs the corresponding Harbor extra and provider setup:
+Two credential roles are involved: the evaluator provider generates datasets
+and performs standard grading, while the live agent uses its own native
+credential. Both come **only from the host environment** — a checked-out skill
+can never supply, replace, or reroute them:
-```bash
-uv tool install --with 'harbor[daytona]' \
- "skillevaluator[tier3] @ git+https://github.com/NVIDIA/SkillEvaluator.git"
+| Credential | Used for | How to set |
+| --- | --- | --- |
+| Evaluator LLM provider | Dataset generation and standard grading | `SKILL_EVAL_LLM_PROVIDER` plus the provider key — see [Providers & Credentials](configuration.mdx) |
+| Live agent credential | The agent actually performing the task | Export it in the host environment where you run `skillevaluator` |
-export DAYTONA_API_KEY='...'
-skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode daytona
+```bash title="Agent credentials are host-environment exports, never config entries"
+export SKILL_EVAL_LLM_PROVIDER=openai
+export OPENAI_API_KEY=sk-... # evaluator, and codex's runtime
+export ANTHROPIC_API_KEY=sk-ant-... # claude-code's runtime
```
-### Local mode (`--env-mode local`)
-
-Local mode is experimental and runs the agent CLI directly on the host — no
-Docker. Under the default `require` setting it is confined by an OS sandbox:
-**bubblewrap** on
-Linux and **Seatbelt** (`sandbox-exec`) on macOS. It is intended for trusted
-skills and workspaces on a developer machine; Docker or a cloud environment
-provides stronger isolation for untrusted code.
-
-Native Windows local mode is intentionally unsupported and fails before agent
-runtime discovery for every sandbox setting, including `prefer` and `off`.
-Use WSL2 for the Linux/Bubblewrap local path, or use `--env-mode docker`.
-
-Linux bubblewrap is the strong path because it uses namespace isolation. macOS
-Seatbelt confines filesystem access and network access at the kernel level, but
-it has no PID namespace that guarantees process cleanup. The default macOS read
-policy is a compatibility HOME denylist. Set
-`SKILLEVALUATOR_LOCAL_STRICT_READS=1` for deny-all reads with selected runtime
-and system exceptions. This is stricter but may expose compatibility issues in
-host developer tools.
-
-```bash
-# All three harnesses work with NVIDIA Build in local mode
-export NVIDIA_API_KEY='nvapi-...'
-export SKILL_EVAL_LLM_PROVIDER=nv_build
-skillevaluator doctor --agents opencode,codex,claude-code \
- --env-mode local --verify-models
-skillevaluator evaluate ./my-skill --agents opencode,codex,claude-code \
- --env-mode local
+`evals/config.yml` may still add permitted task-scoped values through
+`harbor.runtime_env`, but any entry that names — or `${VAR}`-references — an
+operator-owned credential (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`,
+`NVIDIA_API_KEY`, the base-URL variables, `AWS_*`) fails the run with a hard
+error. This prevents a skill from swapping a credential or routing a trusted
+key to an attacker-controlled endpoint. [Providers &
+Credentials](configuration.mdx) lists every blocked name.
+
+`runtime_env` also cannot override host launcher, language-runtime, Docker,
+Compose, proxy, or tracing controls. Configure the selected backend in the
+host environment instead.
+
+One deliberate exception collapses the two roles: with the `nv_build` provider
+in `--env-mode docker` or `local`, a single `NVIDIA_API_KEY` powers the
+evaluator and all three agents. Direct OpenCode talks to NVIDIA Build directly;
+Codex and experimental Claude Code use a Docker or local compatibility bridge.
+SkillEvaluator never changes models silently: explicit overrides are preserved.
+Without an override, bridged agents default to Nemotron Super
+(`nvidia/nemotron-3-super-120b-a12b`); direct OpenCode defaults to
+`nvidia/nemotron-3-nano-30b-a3b` (rendered
+`nvidia/nvidia/nemotron-3-nano-30b-a3b`). Override models explicitly when you
+want to compare harnesses or models:
+
+```bash title="NVIDIA Build model overrides"
+skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker \
+ --agent-model opencode=nvidia/nvidia/nemotron-3-super-120b-a12b
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker \
+ --agent-model codex=nvidia/nemotron-3-super-120b-a12b
+skillevaluator tier3 evaluate ./my-skill --agents claude-code --env-mode docker \
+ --agent-model claude-code=nvidia/nemotron-3-super-120b-a12b
+skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker \
+ --agent-model opencode=nvidia/meta/llama-3.1-8b-instruct
```
-Requirements and behavior:
-
-- **Agent CLI installed:** local mode searches `SKILLEVALUATOR_RUNTIME_DIR` and
- `PATH` for `claude-code`, `codex`, or `opencode`. It does not download missing
- runtimes.
-- **Sandbox required by default:** if no supported OS sandbox is usable, the
- `require` setting fails closed. `prefer` may continue with advisory-only
- protection, while `off` disables kernel confinement and is only for fully
- trusted skills. These settings apply only to Linux and macOS; none can enable
- native Windows local mode.
-- **Confinement when the OS sandbox is active:** writes are restricted to the
- run directory. The host home and common secret locations are excluded from
- the run's readable filesystem. These guarantees do not apply with
- `SKILLEVALUATOR_LOCAL_SANDBOX=off`.
-- **Network egress is enabled by default** so the agent can reach its model
- endpoint. With an active OS sandbox,
- `SKILLEVALUATOR_LOCAL_ALLOW_NET=0` denies network access; it cannot enforce an
- air gap when kernel confinement is disabled.
-- **No reliable detached-service containment on macOS:** use Docker or a cloud
- environment for untrusted code, long-running services, and sidecars.
-
-| Variable | Purpose |
-| --- | --- |
-| `SKILLEVALUATOR_LOCAL_SANDBOX` | `require` (default), `prefer`, or `off` |
-| `SKILLEVALUATOR_LOCAL_ALLOW_NET` | Set to `0` to deny network egress |
-| `SKILLEVALUATOR_LOCAL_STRICT_READS` | Set to `1` for deny-all reads with selected exceptions |
-| `SKILLEVALUATOR_RUNTIME_DIR` | Dedicated directory containing bring-your-own agent CLIs |
-
-## Eval Datasets
-
-`create-eval-dataset` writes the preferred `evals/evals.json`. `evaluate` also
-accepts `evals.jsonl`, `evals.yaml`, `evals.yml`, `dataset.json`, and
-`dataset.jsonl` under `evals/`, and it can use native tasks under
-`evals/harbor/`. A full generated dataset covers four useful cases:
+On cloud env-modes the bridges are
+unavailable: `opencode` still works with `NVIDIA_API_KEY` directly, but
+`codex` and `claude-code` fall back to their own native credentials and
+explicit models — see [Agents & Sandboxes](agents-and-sandboxes.mdx).
-| Bucket | Purpose |
-| --- | --- |
-| Explicit positive | The user names the skill directly |
-| Implicit positive | The task needs the skill without naming it |
-| Contextual positive | The task needs the skill within a broader project context |
-| Negative | A related request should not activate the skill |
+## Where agents run
-Generate, preview, or refine cases with:
+Docker is the default and needs only a running daemon. The same `--env-mode`
+flag also selects **local mode**, which runs the agent CLI directly on the
+host under an OS-sandbox policy, and 14 additional Harbor-native backends
+(such as `daytona`, `e2b`, and `modal`), each requiring the matching Harbor
+environment extra. The complete environment matrix, Docker resource tuning, local-mode
+safety controls, and workspace modes live in
+[Agents & Sandboxes](agents-and-sandboxes.mdx).
-```bash
-skillevaluator create-eval-dataset ./my-skill --full
-skillevaluator create-eval-dataset ./my-skill --no-llm
-skillevaluator create-eval-dataset ./my-skill --full --dry-run
-skillevaluator create-eval-dataset ./my-skill --full --refine
-```
-
-New datasets use the preferred agentskills.io shape:
-
-```json
-{
- "skill_name": "api-caller",
- "evals": [
- {
- "id": "api-caller-001",
- "prompt": "Inspect this API description and make the requested call.",
- "expected_output": "The request is validated, executed, and summarized.",
- "assertions": [
- "The agent reads the skill instructions.",
- "The agent validates request inputs before sending the call."
- ]
- }
- ]
-}
-```
+<Warning>
+Local mode executes the agent on your host rather than in a container. It is
+experimental and intended for trusted skills and workspaces — use Docker or a
+cloud backend for untrusted code.
+</Warning>
-Legacy flat entries remain accepted with a warning, but new datasets should use
-the preferred shape. Add `evals/EVAL.md` for domain guidance. Without a
-configured provider, generation falls back to generic local templates.
+## Two ways to run Tier 3
-Run controls live in `evals/config.yml`, including `n_attempts`,
-`pass_threshold`, concurrency, resource overrides, runtime environment values,
-and per-agent models. CLI options take precedence.
-
-## Custom Graders and Custom Tasks (BYOG / BYOT)
-
-The default grader checks each case against its assertions. For deterministic
-or domain-specific grading, bring your own grader (BYOG) or a complete Harbor
-task (BYOT):
+| Use case | Command | When to use |
+| --- | --- | --- |
+| Full validation | `skillevaluator validate ./my-skill --tier3` | Add advisory Tier 3 results after the standard validation stages |
+| Focused evaluation | `skillevaluator tier3 evaluate ./my-skill --agents codex` | Iterate on datasets, agents, environments, and grading settings |
-```bash
-skillevaluator init-custom-grader ./my-skill \
- --mode default_plus_custom --language python
+Attached to `validate`, Tier 3 is advisory: its results appear in the combined
+reports but never change the exit code. `--full` is the one-shot variant
+— Tier 1+2+3 with `--autopilot` dataset generation — and `--autopilot` on its
+own enables Tier 3 while generating an eval case when none exists.
-skillevaluator init-harbor-task ./my-skill \
- --with-config --case-id case-001
-```
+<Note>
+`validate` forwards a dedicated Tier 3 flag group (`--agents`, `--env-mode`,
+`--grading-mode`, and the rest) to the live-eval engine whenever Tier 3 is
+enabled — via `--tier3`, `--autopilot`, `--full`, or the `--agent-eval` alias.
+See the [CLI Reference](cli-reference.mdx) for the full group.
+</Note>
-Grading modes are:
+## Plan for cost
-| Mode | Behavior |
-| --- | --- |
-| `default` | Skill Evaluator grading only |
-| `default_plus_custom` | Skill Evaluator grading plus the custom grader |
-| `custom_only` | The custom grader owns the result |
-
-`init-harbor-task` creates the task where Skill Evaluator discovers it; Harbor's
-own task initializer is not required. See the `create-custom-grader` reference
-skill in `src/skillevaluator/tier3/reference_skills/` for a worked example.
-
-### Docker Compose safety policy
-
-Custom `docker-compose.yaml` files are for sidecars. The Harbor-owned `main`
-service may set only `depends_on`. Sidecars use a strict allowlist for images,
-bounded builds, commands, environment values, health checks, project-scoped
-storage, and container-local execution settings. Host port mappings are removed
-before execution, and unrecognized keys are rejected.
-
-Skill Evaluator rejects host bind mounts, external or driver-configured storage,
-host namespace modes, privileged/device/GPU/runtime access, added capabilities,
-Docker API socket access, credential files, external container links, and
-file-backed Compose configs or secrets. Build contexts and Dockerfiles must be
-literal relative paths contained in the applicable environment directory —
-`evals/environment/` for generated tasks or
-`evals/harbor/<case>/environment/` for a native task. Remote, SSH, interpolated,
-privileged, host-networked, secret, and insecure-entitlement builds are
-rejected.
-
-## Skill and Result Layout
+Tier 3 performs live model and agent calls, so it can incur provider charges
+and, with a managed cloud environment, sandbox charges. A useful estimate of
+the trial volume is:
```text
-my-skill/
-├── SKILL.md
-├── scripts/
-└── evals/
- ├── evals.json # Preferred generated Tier 3 dataset
- ├── EVAL.md # Optional generation guidance
- ├── config.yml # Optional run settings
- ├── grader.py # Optional BYOG grader
- ├── harbor/ # Optional BYOT tasks
- ├── environment/ # Optional custom environment
- ├── files/ # Optional task inputs
- └── results/
- └── <timestamp>/
- ├── result.json
- ├── run_config.json
- ├── attempt_policy.json
- ├── report.html # Canonical report, generated automatically
- ├── comparison.json # Multi-agent runs only
- └── <agent>/
- ├── lift.json # Present when baseline lift is available
- ├── with-skill/
- │ ├── summary.json
- │ └── trials/
- └── without-skill/ # Present when the baseline arm is enabled
- ├── summary.json
- └── trials/
+eval cases × agents × attempts × arms
```
-Use `--results-dir DIR` to write the results below `DIR/<skill-name>/` instead of
-the skill directory. `SKILLEVALUATOR_RESULTS_DIR` supplies the default external
-root when the CLI option is omitted.
-
-## Reading Results
-
-```bash
-skillevaluator view ./my-skill
-skillevaluator compare ./my-skill
+A standard comparison has two arms (with-skill and without-skill). Each trial
+can make multiple agent-model requests, standard grading adds evaluator-model
+calls, dataset generation can add more, and the default runtime preflight adds
+one small smoke task per agent. Actual charges therefore depend on the selected
+models, token usage, agent behavior, and environment pricing; SkillEvaluator
+does not estimate a fixed dollar amount. Check the current pricing for your
+[NVIDIA API Catalog](https://build.nvidia.com/),
+[OpenAI](https://openai.com/api/pricing/),
+[Anthropic](https://docs.anthropic.com/en/docs/about-claude/pricing), or
+[Amazon Bedrock](https://aws.amazon.com/bedrock/pricing/) provider and, when
+applicable, your cloud sandbox vendor.
+
+Start with one agent, a small reviewed dataset, and `--n-attempts 1`. During
+dataset iteration, `--skip-baseline` removes the without-skill arm and usually
+cuts the live trial count roughly in half, but that run cannot produce Skill
+Lift. Re-enable the baseline for any result you intend to compare or publish.
+For multi-attempt runs, `--stop-on-pass` can avoid remaining attempts after a
+pass; it is not applicable with `--n-attempts 1`. By contrast,
+`--n-concurrent` and `--max-agents` control parallelism and elapsed time; they
+do not reduce the total planned trials or model work.
+
+### Cost and local mode
+
+`--env-mode local` avoids managed cloud-sandbox charges by running the agent
+on your machine. It does **not** automatically eliminate model charges: a
+hosted evaluator or agent provider is still billed normally, and local compute
+and runtime become your responsibility. If both the evaluator and agent are
+configured to use compatible locally hosted models, external API charges may
+also be avoided.
+
+```bash title="Small local trial"
+skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode local \
+ --n-attempts 1
```
-Standalone `evaluate` and combined validation use the same generic report
-renderer. Tier 3 results appear in their own section, alongside Tier 1 and Tier
-2 only when those tiers were executed. Completed `default` and
-`default_plus_custom` runs summarize five human-readable dimensions. In
-`custom_only`, the custom grader's overall result remains visible without
-inventing standard dimension scores from custom metrics.
+Local mode is experimental and provides weaker isolation than Docker or a
+managed sandbox. Use it only for trusted skills and workspaces; saving sandbox
+cost is not worth running untrusted code directly on the host.
-The terminal output separates persisted truth into **Results by Evaluator**
-(the underlying evaluator metrics and Skill Lift) and **Results by Dimension**
-(the five report rollups). A final compact **Artifacts** panel lists the HTML
-report and output directory. It adds **Inspect jobs** only when a retained jobs
-directory actually exists.
+## Tune the run
-| Dimension | Question answered |
-| --- | --- |
-| Security | Is the result safe to use? |
-| Correctness | Does it do what the skill promises? |
-| Discoverability | Is the skill used when it should be? |
-| Effectiveness | Is the result better with the skill? |
-| Efficiency | Does the skill reduce unnecessary effort? |
-
-Each dimension receives a score and PASS, NEUTRAL, or FAIL status. Skill Lift
-is the signed difference between the with-skill result and the without-skill
-baseline. Positive lift means the skill helped; negative lift means it hurt;
-the report's verdict applies the release's current noise band.
-
-With multiple attempts, pass@k shows whether at least one attempt for each case
-met `--pass-threshold`. Under standard grading it is reliability context
-alongside Skill Lift, not a replacement for the five dimensions. In
-`custom_only`, pass@k uses the custom overall reward and the standard dimension
-rows remain unscored.
-
-The canonical Tier 3 payload embedded by both standalone `evaluate` and
-`validate --agent-eval` reports uses schema version 2.0. A completed
-standard-grading payload includes the summary, five dimensions, per-agent
-results, trials, pass@k, attempt policy, and dataset; advisory or skipped
-payloads may leave some of those sections empty.
-
-Keep raw Harbor artifacts for debugging and open them with the bundled viewer:
-
-```bash
-skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker \
- --harbor-keep-jobs
-skillevaluator tier3 harbor-view ./my-results/<run-id>/_harbor-jobs
-```
+The high-signal flags, with defaults:
-Without `--harbor-keep-jobs`, the transient job/task directories are removed
-and no inspection command is printed. The normal report and collected result
-artifacts remain available.
+| Flag | Default | Effect |
+| --- | --- | --- |
+| `--n-attempts` | `1` | Attempts per eval case; values above one add pass@k context |
+| `--pass-threshold` | `0.5` | Score an attempt needs to count as passed |
+| `--n-concurrent` | `4` | Concurrent eval cases per agent |
+| `--max-agents` | selected-agent count | Maximum agents run in parallel |
+| `--skip-baseline` | off | Skip the without-skill arm; faster, but no Skill Lift |
+| `--stop-on-pass` | off | Stop a case's remaining attempts once one passes |
+| `--agent-runtime-preflight` | on | One real, bounded smoke task per agent before the full A/B matrix; `--no-agent-runtime-preflight` skips it |
+| `--progress` | `auto` | Progress rendering: `auto`, `rich` (live TTY view with secret redaction), `plain`, or `off` |
+| `--autopilot` | off | When no evaluation source exists, generate exactly one eval case — with the configured provider, falling back to a deterministic keyless template — never overwriting an existing source |
+| `--grading-mode` | `default` | `default`, `default_plus_custom`, or `custom_only` — see [Custom Graders & Tasks](custom-graders.mdx) |
+| `--results-dir` | `evals/results`, or `SKILLEVALUATOR_RESULTS_DIR` when set | Write results under an external root instead of the skill directory |
+| `--harbor-keep-jobs` | off | Retain Harbor job directories for inspection |
+| `--timeout-multiplier` | `1.0` | Scale Harbor step timeouts |
+| `--copy-repo` | off | Copy the surrounding repository into the task environment |
+| `--include-skills` | none | Stage additional skill directories; requires `--skill-workspace-mode group` |
+
+Every `tier3 evaluate` flag, including resource overrides and Dockerfile
+modes, is in the [CLI Reference](cli-reference.mdx).
+
+<Tip>
+While iterating on a dataset, `--skip-baseline` roughly halves the runtime.
+Re-enable the baseline arm for any run whose Skill Lift you intend to trust.
+</Tip>
+
+## Reading results
+
+In the terminal, a finished run renders **Results by Evaluator** — each
+evaluator's metrics plus Skill Lift — and **Results by Dimension**, the five
+rollups, followed by a compact Artifacts panel pointing at the report and
+output directory. A failed run renders the same structured display instead of
+a bare exception.
+
+Each dimension receives a score and a verdict: **PASS** at 0.7 or above,
+**NEUTRAL** from 0.4, **FAIL** below. Skill Lift gets its own verdict with a
+deliberate noise band, because live agent runs are noisy at low attempt
+counts: **Pass** at +0.05 or above, **Fail** at −0.10 or below, **Neutral** in
+between.
+
+With multiple attempts, pass@k shows whether at least one attempt per case met
+`--pass-threshold` — reliability context alongside Skill Lift, not a
+replacement for the dimensions. In `custom_only` mode, pass@k uses the custom
+overall reward; the dimension rows stay visible but read **NO SCORE**, and
+custom metrics are never re-labeled as standard dimensions.
+
+Missing metrics are never coerced to `0.0`: an unscored run reports an
+`overall_score` of `None`, averages omit unscored metrics, and the affected
+cells render **NO SCORE**. `compare` likewise ignores stored summaries whose
+`execution_status` is not `succeeded`.
+
+[Reports & Results](reports.mdx) covers the full on-disk layout, the
+machine-readable JSON contract, and how to judge whether a given lift is good.
## Troubleshooting
-| Symptom | Likely cause and fix |
-| --- | --- |
-| `A public LLM provider is required for live evaluation` | Set `SKILL_EVAL_LLM_PROVIDER` and the corresponding evaluator-provider key. |
-| Agent authentication fails | Export the selected agent credential on the host; do not place operator credentials in skill-owned `harbor.runtime_env`. |
-| `evaluate` cannot start the environment | Start Docker or configure the selected `--env-mode`; run `doctor` with the same agent and environment. |
-| `Native Windows local mode is unsupported` | Run local mode inside WSL2, or select `--env-mode docker`; `SKILLEVALUATOR_LOCAL_SANDBOX=prefer/off` is not a Windows bypass. |
-| No eval dataset or native task source found | Run `skillevaluator create-eval-dataset ./my-skill` or add accepted files under `evals/`. |
-| Agent model is rejected | Supply a model valid for that agent with `--agent-model AGENT=MODEL`. |
-| Results look wrong or a case is hard to diagnose | Re-run with `--harbor-keep-jobs`, then use the printed `skillevaluator tier3 harbor-view <JOBS_DIR>` command. |
-
-Every live run requires a configured evaluator provider plus the credentials
-required by the selected agent and environment.
-
-## See Also
-
-- [Configuration](configuration.mdx) — provider, embedding, and credential setup.
-- [Installation](installation.mdx) — extras and system requirements.
-- [Tier 1 validation](tier1-validation.mdx) — deterministic and security checks.
-- [Tier 2 deduplication](tier2-deduplication.mdx) — semantic overlap checks.
+<AccordionGroup>
+ <Accordion title="A public LLM provider is required for live evaluation">
+ Set `SKILL_EVAL_LLM_PROVIDER` and the corresponding evaluator-provider key.
+ See [Providers & Credentials](configuration.mdx).
+ </Accordion>
+ <Accordion title="Agent authentication fails">
+ Export the agent's credential in the host environment where you run
+ `skillevaluator` — agent credentials are read only from the host, never
+ from `evals/config.yml`. It is a separate role from the evaluator key,
+ except with `nv_build` in Docker or local mode, where one
+ `NVIDIA_API_KEY` covers both.
+ </Accordion>
+ <Accordion title="evaluate cannot start the environment">
+ Start Docker or configure the selected `--env-mode`, then re-run
+ `skillevaluator doctor` with the same agent and environment.
+ </Accordion>
+ <Accordion title="No eval dataset or native task source found">
+ Run `skillevaluator create-eval-dataset ./my-skill`, or add an accepted
+ dataset file under `evals/`. See [Eval Datasets](eval-datasets.mdx).
+ </Accordion>
+ <Accordion title="Agent model is rejected">
+ Supply a model valid for that agent with `--agent-model AGENT=MODEL`. The
+ evaluator provider's default model is not automatically valid for every
+ agent.
+ </Accordion>
+ <Accordion title="Results look wrong or a case is hard to diagnose">
+ Re-run with `--harbor-keep-jobs` — Harbor artifacts are transient and
+ deleted by default whether the run succeeds or fails. With retention on,
+ the Artifacts panel prints the exact
+ `skillevaluator tier3 harbor-view <JOBS_DIR>` command to browse the
+ retained jobs; `skillevaluator view` opens the HTML report.
+ </Accordion>
+</AccordionGroup>
+
+## Next steps
+
+<CardGroup cols={2}>
+ <Card title="Eval Datasets" icon="book" href="eval-datasets.mdx">
+ The full evals/ contract — dataset format, generation, and config.yml run
+ policy.
+ </Card>
+ <Card title="Agents & Sandboxes" icon="shield" href="agents-and-sandboxes.mdx">
+ Every supported agent and execution environment, plus readiness and
+ debugging tools.
+ </Card>
+ <Card title="Custom Graders & Tasks" icon="flask" href="custom-graders.mdx">
+ Bring your own grader or a complete Harbor task when the defaults can't
+ express success.
+ </Card>
+ <Card title="Reports & Results" icon="terminal" href="reports.mdx">
+ What every run writes to disk and how to read it — including the JSON
+ contract for CI.
+ </Card>
+</CardGroup>
diff --git a/fern/docs.yml b/fern/docs.yml
index a312b46f..1649ef33 100644
--- a/fern/docs.yml
+++ b/fern/docs.yml
@@ -2,11 +2,11 @@
# SPDX-License-Identifier: Apache-2.0
instances:
- - url: nvidia-skillevaluator.docs.buildwithfern.com/skillevaluator
- custom-domain: docs.nvidia.com/skillevaluator
+ - url: nvidia-skillevaluator.docs.buildwithfern.com/skills/skillevaluator
+ custom-domain: docs.nvidia.com/skills/skillevaluator
multi-source: true
-title: Skill Evaluator Documentation
+title: SkillEvaluator Documentation
global-theme: nvidia
@@ -15,30 +15,68 @@ navbar-links:
value: https://github.com/NVIDIA/SkillEvaluator
logo:
- right-text: Skill Evaluator
+ light: ../docs/assets/skillevaluator-logo.svg
+ dark: ../docs/assets/skillevaluator-logo.svg
+ height: 28
+ right-text: SkillEvaluator
+
+favicon: ../docs/assets/skillevaluator-logo.svg
navigation:
- page: Overview
path: ../docs/index.mdx
slug: /
- - section: Documentation
+ - section: Get Started
skip-slug: true
contents:
+ - page: Quickstart
+ path: ../docs/quickstart.mdx
+ slug: quickstart
- page: Installation
path: ../docs/installation.mdx
slug: installation
- - page: Configuration
+ - page: Providers & Credentials
path: ../docs/configuration.mdx
slug: configuration
- - page: "Tier 1: Static and Security Validation"
+ - section: Evaluate Your Skill
+ skip-slug: true
+ contents:
+ - page: "Tier 1: Validation"
path: ../docs/tier1-validation.mdx
slug: tier1-validation
- - page: "Tier 2: Semantic Deduplication"
+ - page: "Tier 2: Deduplication"
path: ../docs/tier2-deduplication.mdx
slug: tier2-deduplication
- - page: "Tier 3: Live Agent Evaluation"
+ - page: "Tier 3: Live Evaluation"
path: ../docs/tier3-live-evaluation.mdx
slug: tier3-live-evaluation
- - page: Developer Guide
+ - page: Eval Datasets
+ path: ../docs/eval-datasets.mdx
+ slug: eval-datasets
+ - page: Agents & Sandboxes
+ path: ../docs/agents-and-sandboxes.mdx
+ slug: agents-and-sandboxes
+ - page: Custom Graders & Tasks
+ path: ../docs/custom-graders.mdx
+ slug: custom-graders
+ - section: Results & CI
+ skip-slug: true
+ contents:
+ - page: Reports & Results
+ path: ../docs/reports.mdx
+ slug: reports
+ - page: Gate Your CI
+ path: ../docs/ci-integration.mdx
+ slug: ci-integration
+ - section: Reference
+ skip-slug: true
+ contents:
+ - page: CLI Reference
+ path: ../docs/cli-reference.mdx
+ slug: cli-reference
+ - page: Environment Variables
+ path: ../docs/environment-variables.mdx
+ slug: environment-variables
+ - page: Contributing
path: ../docs/developer-guide.mdx
slug: developer-guide
diff --git a/sonar-project.properties b/sonar-project.properties
index 06c3860a..4f854dd9 100644
--- a/sonar-project.properties
+++ b/sonar-project.properties
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
sonar.projectKey=NBUSW_Enterprise-AI-Automation_Skill-Evaluator_SkillEvaluator
-sonar.projectName=Skill Evaluator
+sonar.projectName=SkillEvaluator
sonar.sourceEncoding=UTF-8
sonar.sources=src,scripts
diff --git a/src/skillevaluator/cli.py b/src/skillevaluator/cli.py
index 3d823c48..5548cc8d 100644
--- a/src/skillevaluator/cli.py
+++ b/src/skillevaluator/cli.py
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-"""Command line interface for Skill Evaluator."""
+"""Command line interface for SkillEvaluator."""
from __future__ import annotations
@@ -176,7 +176,7 @@ def cli(verbose: bool) -> None:
Three-tier quality gatekeeper for AI agent skills and plugins.
- For setup and usage examples, see: README.md
+ Documentation: https://docs.nvidia.com/skills/skillevaluator/
"""
setup_logging(verbose=verbose)
@@ -536,7 +536,7 @@ def _run_agent_eval_or_skip(
# Per-tier section headings printed by ``validate`` as each tier runs. They give
-# the CLI/CI stream the same progressive, labeled structure Skill Evaluator emitted, so
+# the CLI/CI stream the same progressive, labeled structure SkillEvaluator emitted, so
# Tier 1 (and Tier 2) are visibly reported as they execute instead of only
# surfacing in the single combined report rendered at the very end.
_TIER_BANNERS = {
@@ -785,7 +785,7 @@ def _finish_pipeline_view(
def _print_tier_banner(title: str) -> None:
- """Print a labeled per-tier section banner (parity with Skill Evaluator)."""
+ """Print a labeled per-tier section banner (parity with SkillEvaluator)."""
click.echo(f"\n{title}")
click.echo("-" * 50)
@@ -793,12 +793,12 @@ def _print_tier_banner(title: str) -> None:
def _print_run_banner(target_path: Path, content_type: str, profile: str | None) -> None:
"""Print the pre-run header (target + detected type + active profile).
- Restores parity with Skill Evaluator's ``_print_validation_banner``: before any
+ Restores parity with SkillEvaluator's ``_print_validation_banner``: before any
tier runs, surface what is being validated, the resolved content type, and
the active validation profile so CI logs and terminal sessions identify the
run up front instead of opening straight on the Tier 1 section.
"""
- console.print(f"\n[bold]Skill Evaluator {content_type.title()} Validation[/bold]")
+ console.print(f"\n[bold]SkillEvaluator {content_type.title()} Validation[/bold]")
console.print(f"Target: {target_path}")
console.print(f"Type: {content_type}")
if profile:
@@ -1286,7 +1286,7 @@ def validate(
CLIReporter(console=console).print_summary(tier_gate_results)
# Tier 3 runs BEFORE report emission so its results are folded into the
- # single combined HTML/JSON/BENCHMARK.md report (parity with Skill Evaluator), and
+ # single combined HTML/JSON/BENCHMARK.md report (parity with SkillEvaluator), and
# runs regardless of Tier 1/Tier 2 outcome. It degrades to a non-blocking
# advisory note when it cannot run.
tier3_result: ValidationResult | None = None
@@ -1389,7 +1389,7 @@ def validate(
announce_paths=not quiet,
)
- # BENCHMARK.md is generated compulsorily for skills (matches Skill Evaluator), even on
+ # BENCHMARK.md is generated compulsorily for skills (matches SkillEvaluator), even on
# failure, so the publication card always reflects the latest evaluation --
# now including Tier 3 results when --agent-eval ran.
if resolved_type == CONTENT_TYPE_SKILL:
diff --git a/src/skillevaluator/constants.py b/src/skillevaluator/constants.py
index b602687f..833b412e 100644
--- a/src/skillevaluator/constants.py
+++ b/src/skillevaluator/constants.py
@@ -3,7 +3,7 @@
"""Constants and configuration for SkillEvaluator.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_SKILLS.md, HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specifications.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_SKILLS.md, HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specifications.
"""
# =============================================================================
@@ -15,13 +15,13 @@ SKILL_MANIFEST_FILE = "SKILL.md"
SKILL_FOLDER_PREFIX = "skills/"
TEAM_SKILL_FOLDER_PREFIX = "team-skills/"
-# Required fields per Skill Evaluator specification
+# Required fields per SkillEvaluator specification
REQUIRED_SKILL_FIELDS = ["name", "description"]
# Forbidden fields - these should NOT be present in skills
FORBIDDEN_SKILL_FIELDS = ["alwaysApply", "always_apply", "globs"]
-# Reserved words that must NOT appear in skill names (agentskills.io + Skill Evaluator)
+# Reserved words that must NOT appear in skill names (agentskills.io + SkillEvaluator)
RESERVED_SKILL_NAMES = {"anthropic", "claude"}
# Required body sections (HIGH severity if missing).
@@ -96,7 +96,7 @@ OPTIONAL_WORKFLOWS_METADATA_FIELDS = [
# SHARED CONSTANTS
# =============================================================================
-# Field length constraints per Skill Evaluator specification
+# Field length constraints per SkillEvaluator specification
NAME_MIN_LENGTH = 1
NAME_MAX_LENGTH = 64
TITLE_MIN_LENGTH = 1
diff --git a/src/skillevaluator/evaluation/dimension_judge.py b/src/skillevaluator/evaluation/dimension_judge.py
index b7f7dbe7..11ce8e3a 100644
--- a/src/skillevaluator/evaluation/dimension_judge.py
+++ b/src/skillevaluator/evaluation/dimension_judge.py
@@ -5,7 +5,7 @@
Takes the raw evaluator scores (security, skill_execution, skill_efficiency,
accuracy, goal_accuracy, behavior_check) plus per-case findings and ATIF trace evidence
-from Skill Evaluator, and produces 5 stakeholder-facing dimensions (Security,
+from SkillEvaluator, and produces 5 stakeholder-facing dimensions (Security,
Correctness, Discoverability, Effectiveness, Efficiency) with scores,
verdicts, and natural-language explanations.
diff --git a/src/skillevaluator/evaluation/tier3_report.py b/src/skillevaluator/evaluation/tier3_report.py
index 5363bb8d..0956586a 100644
--- a/src/skillevaluator/evaluation/tier3_report.py
+++ b/src/skillevaluator/evaluation/tier3_report.py
@@ -3,16 +3,16 @@
"""Map native Harbor (Tier 3) results into the canonical ``agent_eval`` payload.
-Skill Evaluator folds Tier 3 into the *combined* ``validate`` report (HTML / JSON /
+SkillEvaluator folds Tier 3 into the *combined* ``validate`` report (HTML / JSON /
BENCHMARK.md) by attaching a canonical ``metadata["agent_eval"]`` payload to a
single ``AGENT_EVAL`` :class:`~skillevaluator.models.result.ValidationResult`. The
-shared reporters (ported faithfully from Skill Evaluator) consume that payload.
+shared reporters (ported faithfully from SkillEvaluator) consume that payload.
SkillEvaluator runs Tier 3 through its own in-process Harbor engine, which writes
per-agent results to disk rather than returning a canonical payload. This module
reads those on-disk results and produces the same canonical ``agent_eval`` shape
so ``validate --agent-eval`` emits one combined report containing all three tiers
--- restoring parity with Skill Evaluator.
+-- restoring parity with SkillEvaluator.
"""
from __future__ import annotations
@@ -34,13 +34,13 @@ from skillevaluator.constants import (
)
from skillevaluator.models.result import ValidationResult
-# Verdict labels mirror Skill Evaluator's AGENT_EVAL_VERDICT_* values so the ported
+# Verdict labels mirror SkillEvaluator's AGENT_EVAL_VERDICT_* values so the ported
# reporters classify the overall outcome identically.
VERDICT_PASS = "pass"
VERDICT_FAIL = "fail"
VERDICT_NEUTRAL = "neutral"
-# Lift thresholds mirror Skill Evaluator TIER3_LIFT_PASS_THRESHOLD / _FAIL_THRESHOLD.
+# Lift thresholds mirror SkillEvaluator TIER3_LIFT_PASS_THRESHOLD / _FAIL_THRESHOLD.
_VERDICT_PASS_THRESHOLD = 0.05
_VERDICT_FAIL_THRESHOLD = -0.05
@@ -179,7 +179,7 @@ def _advisory_agent_eval_payload(message: str, *, skill_name: str | None = None)
minimal payload — verdict ``neutral``, no agents/dimensions, and the skip
reason surfaced via ``suggestions`` + ``provenance`` — guarantees an
explicit ``--agent-eval`` request always produces a visible, self-explaining
- Tier 3 section instead of silently disappearing. Mirrors Skill Evaluator, which
+ Tier 3 section instead of silently disappearing. Mirrors SkillEvaluator, which
always emits an ``AGENT_EVAL`` result with a payload (e.g.
``_tier3_dataset_required_result`` / ``_invalid_skill_evaluator_result``) even when the
dataset/runtime is unavailable.
@@ -418,7 +418,7 @@ def build_agent_eval_payload(
:func:`skillevaluator.tier3.harbor.report_data.load_agent_data`.
Returns ``None`` when no agent carries usable scores.
- The payload mirrors Skill Evaluator's canonical Tier 3 shape so the ported reporters
+ The payload mirrors SkillEvaluator's canonical Tier 3 shape so the ported reporters
render every Tier 3 sub-tab: per-trial data (``trials`` / per-agent
``trials`` + ``pass_at_k``) feeds the Trials tab, deterministic + LLM
``conclusions`` / ``recommendations`` / ``suggestions`` feed the Insights tab,
@@ -602,7 +602,7 @@ def _layer_llm_insights(
) -> None:
"""Append LLM-as-Judge conclusions/recommendations on top of the deterministic
baselines. The judge never raises; when the LLM is unavailable the
- deterministic content is preserved unchanged (Skill Evaluator parity).
+ deterministic content is preserved unchanged (SkillEvaluator parity).
"""
if not use_llm_judge:
return
@@ -640,7 +640,7 @@ def _build_provenance(
) -> dict[str, Any]:
"""Assemble the Diagnostics ``provenance`` block.
- Mirrors Skill Evaluator's Harbor provenance: per-agent raw evaluator scores and lift
+ Mirrors SkillEvaluator's Harbor provenance: per-agent raw evaluator scores and lift
feed the "Raw Evaluator Scores Per Agent" / "Raw Lift Per Agent" diagnostics
panels, ``comparison`` feeds the "comparison.json" panel, and
``raw_trial_rewards`` preserves the underlying Harbor reward scores for deep
@@ -1098,10 +1098,10 @@ def _deterministic_reasoning(
signals: list[str],
with_scores: dict[str, Any],
) -> tuple[list[str], str]:
- """Build deterministic reasoning bullets for a dimension (Skill Evaluator parity).
+ """Build deterministic reasoning bullets for a dimension (SkillEvaluator parity).
Reuses the ported dimension-judge helper so the Reasoning column reads
- identically to Skill Evaluator when no LLM explanation is available.
+ identically to SkillEvaluator when no LLM explanation is available.
"""
from skillevaluator.evaluation.dimension_judge import _human_reasoning_bullets
@@ -1497,7 +1497,7 @@ def _normalize_trials(rewards: list[dict[str, Any]], metrics: list[str]) -> list
Each reward (loaded by ``_load_agent_data``) carries the per-evaluator
scores at the top level, an ``overall`` score, and an internal ``_traj``
- annotation with step/token counters. The canonical shape mirrors Skill Evaluator's
+ annotation with step/token counters. The canonical shape mirrors SkillEvaluator's
``_normalize_harbor_trials`` so the ported Trials tab (per-evaluator
drill-down, token/steps charts, warnings) renders identically.
"""
@@ -1540,7 +1540,7 @@ def _attach_baseline_pairs(
Adds ``baseline_overall`` / ``baseline_scores`` / ``lift_scores`` to each
matched trial so the "Lift per Eval Case" panel can render the per-metric
- deltas (Skill Evaluator parity).
+ deltas (SkillEvaluator parity).
"""
by_entry: dict[str, list[dict[str, Any]]] = {}
for trial in baseline_trials:
@@ -1965,7 +1965,7 @@ def _build_conclusions(
*,
pass_threshold: float,
) -> list[dict[str, str]]:
- """Generate stable Insights conclusions from canonical scores (Skill Evaluator parity)."""
+ """Generate stable Insights conclusions from canonical scores (SkillEvaluator parity)."""
conclusions: list[dict[str, str]] = []
if agents:
best_name = _pick_best_agent(agents)
@@ -2019,7 +2019,7 @@ def _build_conclusions(
def _suggestions_for_dimensions(dimensions: list[dict[str, Any]]) -> list[str]:
- """Default suggestions: target the weakest dimensions (Skill Evaluator parity)."""
+ """Default suggestions: target the weakest dimensions (SkillEvaluator parity)."""
pending: list[tuple[float, str]] = []
for dim in dimensions:
score = _finite_float(dim.get("with_skill", dim.get("score", 0.0)))
diff --git a/src/skillevaluator/models/rules.py b/src/skillevaluator/models/rules.py
index dff7a1f1..41e94810 100644
--- a/src/skillevaluator/models/rules.py
+++ b/src/skillevaluator/models/rules.py
@@ -3,7 +3,7 @@
"""Pydantic models for Rules (.mdc) schema validation.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
Rules use .mdc (Markdown Cursor) format with YAML frontmatter.
Key differences from Skills:
@@ -30,7 +30,7 @@ from skillevaluator.models.field_validators import ensure_string_list, parse_nes
class RulesMetadata(BaseModel):
"""Metadata object for Rules .mdc frontmatter.
- Contains Skill Evaluator-specific categorization fields nested under 'metadata'.
+ Contains SkillEvaluator-specific categorization fields nested under 'metadata'.
"""
model_config = ConfigDict(extra="allow", str_strip_whitespace=True)
@@ -79,7 +79,7 @@ class RulesMetadata(BaseModel):
class RulesFrontmatter(BaseModel):
"""Pydantic model for Rules .mdc frontmatter validation.
- Based on Skill Evaluator specification for team-rules:
+ Based on SkillEvaluator specification for team-rules:
- Required top-level: alwaysApply, title, description
- Optional top-level: globs
- Optional nested: metadata (with tags, language, framework, etc.)
@@ -113,10 +113,10 @@ class RulesFrontmatter(BaseModel):
description="File patterns this rule applies to (e.g., '*.py', 'app/**/*.py')",
)
- # Skill Evaluator-specific metadata (nested)
+ # SkillEvaluator-specific metadata (nested)
metadata: RulesMetadata | None = Field(
default=None,
- description="Skill Evaluator-specific metadata (tags, language, framework, etc.)",
+ description="SkillEvaluator-specific metadata (tags, language, framework, etc.)",
)
@field_validator("globs", mode="before")
diff --git a/src/skillevaluator/models/skill.py b/src/skillevaluator/models/skill.py
index fa8721e2..341eda2a 100644
--- a/src/skillevaluator/models/skill.py
+++ b/src/skillevaluator/models/skill.py
@@ -3,7 +3,7 @@
"""Pydantic models for skill schema validation.
-Based on the Skill Evaluator HOW_TO_CONTRIBUTE_SKILLS.md specification
+Based on the SkillEvaluator HOW_TO_CONTRIBUTE_SKILLS.md specification
and agentskills.io standard.
"""
@@ -76,7 +76,7 @@ class SkillMetadata(BaseModel):
class SkillFrontmatter(BaseModel):
"""Pydantic model for SKILL.md frontmatter validation.
- Based on Skill Evaluator specification:
+ Based on SkillEvaluator specification:
- Required: name, description
- Optional: license, compatibility, metadata
- Forbidden: alwaysApply, globs
@@ -128,7 +128,7 @@ class SkillFrontmatter(BaseModel):
@field_validator("name")
@classmethod
def validate_name_format(cls, v: str) -> str:
- """Validate that name follows Skill Evaluator and agentskills.io naming conventions.
+ """Validate that name follows SkillEvaluator and agentskills.io naming conventions.
Rules:
- 1-64 characters
diff --git a/src/skillevaluator/models/workflows.py b/src/skillevaluator/models/workflows.py
index 272389d3..2973483c 100644
--- a/src/skillevaluator/models/workflows.py
+++ b/src/skillevaluator/models/workflows.py
@@ -3,7 +3,7 @@
"""Pydantic models for Workflows schema validation.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
Workflows are directory-based structures containing:
- README.md (required)
- workflow-rules.mdc (required)
@@ -33,7 +33,7 @@ from skillevaluator.models.field_validators import ensure_string_list, parse_nes
class WorkflowsMetadata(BaseModel):
"""Metadata object for Workflows workflow-rules.mdc frontmatter.
- Contains Skill Evaluator-specific categorization fields nested under 'metadata'.
+ Contains SkillEvaluator-specific categorization fields nested under 'metadata'.
For workflows, 'author' is required.
"""
@@ -89,7 +89,7 @@ class WorkflowsMetadata(BaseModel):
class WorkflowsFrontmatter(BaseModel):
"""Pydantic model for workflow-rules.mdc frontmatter validation.
- Based on Skill Evaluator specification for workflows:
+ Based on SkillEvaluator specification for workflows:
- Required top-level: alwaysApply, title, description
- Optional top-level: globs
- Required in metadata: author
@@ -122,10 +122,10 @@ class WorkflowsFrontmatter(BaseModel):
description="File patterns this workflow applies to",
)
- # Skill Evaluator-specific metadata (nested) - author is required for workflows
+ # SkillEvaluator-specific metadata (nested) - author is required for workflows
metadata: WorkflowsMetadata = Field(
...,
- description="Skill Evaluator-specific metadata (author required, plus tags, language, etc.)",
+ description="SkillEvaluator-specific metadata (author required, plus tags, language, etc.)",
)
@field_validator("globs", mode="before")
diff --git a/src/skillevaluator/reporting/__init__.py b/src/skillevaluator/reporting/__init__.py
index e0c5cb9a..80e31100 100644
--- a/src/skillevaluator/reporting/__init__.py
+++ b/src/skillevaluator/reporting/__init__.py
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-"""Reporting module for Skill Evaluator validation results.
+"""Reporting module for SkillEvaluator validation results.
This module provides reporters that render ValidationResult objects
in various formats for different use cases:
diff --git a/src/skillevaluator/reporting/base.py b/src/skillevaluator/reporting/base.py
index f264da54..fecae4d3 100644
--- a/src/skillevaluator/reporting/base.py
+++ b/src/skillevaluator/reporting/base.py
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-"""Base reporter interface for Skill Evaluator.
+"""Base reporter interface for SkillEvaluator.
This module defines the abstract base class that all reporters must implement.
Reporters are responsible for rendering ValidationResult objects in their
diff --git a/src/skillevaluator/reporting/benchmark.py b/src/skillevaluator/reporting/benchmark.py
index 9c3e602f..b052f4e2 100644
--- a/src/skillevaluator/reporting/benchmark.py
+++ b/src/skillevaluator/reporting/benchmark.py
@@ -99,10 +99,10 @@ class BenchmarkReporter(ReporterBase):
lines: list[str] = [
"# Evaluation Report",
"",
- (f"Evaluation of the `{skill_name}` skill before publication through Skill Evaluator."),
+ (f"Evaluation of the `{skill_name}` skill before publication through SkillEvaluator."),
"",
(
- "This benchmark summarizes 3-Tier Evaluation from Skill Evaluator "
+ "This benchmark summarizes 3-Tier Evaluation from SkillEvaluator "
"results for the skill. The goal is to document whether the "
"skill is safe, discoverable, effective, and useful for agents before "
"it is published for broader workflow use."
@@ -334,7 +334,7 @@ class BenchmarkReporter(ReporterBase):
status = "passed"
lines.append(
f"{title.split(':', 1)[0]} validation {status}. "
- f"Skill Evaluator ran {len(results)} checks and found "
+ f"SkillEvaluator ran {len(results)} checks and found "
f"{len(findings)} total findings."
)
lines.append("")
@@ -411,7 +411,7 @@ class BenchmarkReporter(ReporterBase):
)
else:
lines.append(
- "The skill is suitable to proceed toward Skill Evaluator publication "
+ "The skill is suitable to proceed toward SkillEvaluator publication "
"based on this benchmark. Skill owners should keep this file with the "
"skill and refresh it when the evaluation dataset, skill behavior, or "
"target agents materially change."
@@ -432,9 +432,9 @@ def _agent_eval_payload(results: list[ValidationResult]) -> dict[str, Any] | Non
def _render_failed_benchmark_notes(lines: list[str]) -> None:
lines.append(
- "The skill should be reviewed before Skill Evaluator publication. "
+ "The skill should be reviewed before SkillEvaluator publication. "
"**Skill owners should address the applicable findings below and rerun "
- "Skill Evaluator to refresh this benchmark.**"
+ "SkillEvaluator to refresh this benchmark.**"
)
@@ -468,7 +468,7 @@ def _render_incomplete_benchmark_notes(
lines.append(
"Required scanner evidence is incomplete "
f"({', '.join(safe_tools)}). **Do not use this benchmark to recommend publication; "
- "restore the scanners and rerun Skill Evaluator.**"
+ "restore the scanners and rerun SkillEvaluator.**"
)
@@ -668,7 +668,7 @@ def _publication_safe_skill_name(value: object) -> str:
if re.fullmatch(KEBAB_CASE_PATTERN, candidate) is not None:
return candidate
if _RETIRED_PRODUCT_NAME.fullmatch(candidate):
- return "Skill Evaluator"
+ return "SkillEvaluator"
return "skill"
@@ -691,7 +691,7 @@ def _publication_safe_label(value: object, private_labels: tuple[str, ...] = ())
"""Sanitize a classified display label and normalize only an exact retired product name."""
label = _publication_safe_inline(value, private_labels)
if _RETIRED_PRODUCT_NAME.fullmatch(label):
- return "Skill Evaluator"
+ return "SkillEvaluator"
return label
diff --git a/src/skillevaluator/reporting/cli.py b/src/skillevaluator/reporting/cli.py
index ef1cab2b..16d2a22a 100644
--- a/src/skillevaluator/reporting/cli.py
+++ b/src/skillevaluator/reporting/cli.py
@@ -500,7 +500,7 @@ class CLIReporter(ReporterBase):
def _print_summary_table(self, results: list[ValidationResult], console: Console) -> None:
"""Print summary table for all validators."""
table = Table(
- title="Skill Evaluator Validation Results",
+ title="SkillEvaluator Validation Results",
show_header=True,
header_style="bold white on dark_green",
border_style="green",
diff --git a/src/skillevaluator/reporting/html.py b/src/skillevaluator/reporting/html.py
index 2a26df65..228b8e16 100644
--- a/src/skillevaluator/reporting/html.py
+++ b/src/skillevaluator/reporting/html.py
@@ -208,7 +208,7 @@ class HTMLReporter(ReporterBase):
profile: str | None = None,
) -> None:
self.include_timestamp = include_timestamp
- self.title = title or "Skill Evaluator Validation Report"
+ self.title = title or "SkillEvaluator Validation Report"
self.tabs = list(tabs) if tabs is not None else list(self.DEFAULT_TABS)
self._tabs_explicit = tabs is not None
self.target_path = target_path
@@ -812,7 +812,7 @@ class HTMLReporter(ReporterBase):
workflow) without leaking the surrounding repo / worktree path.
3. Falls back to the basename — best effort when no canonical
``skills/`` or ``team-skills/`` segment is present (e.g. validating
- an ad-hoc directory outside the standard Skill Evaluator layout).
+ an ad-hoc directory outside the standard SkillEvaluator layout).
4. Empty string when ``target`` is ``None`` / empty so callers can
defensibly chain ``label or fallback``.
"""
diff --git a/src/skillevaluator/reporting/markdown.py b/src/skillevaluator/reporting/markdown.py
index 6692bd7d..ae0a096e 100644
--- a/src/skillevaluator/reporting/markdown.py
+++ b/src/skillevaluator/reporting/markdown.py
@@ -93,7 +93,7 @@ class MarkdownReporter(ReporterBase):
lines = []
# Header
- lines.append("# Skill Evaluator Validation Report")
+ lines.append("# SkillEvaluator Validation Report")
lines.append("")
# Overall status
@@ -260,7 +260,7 @@ class MarkdownReporter(ReporterBase):
# Footer
lines.append("---")
- lines.append("*Generated by Skill Evaluator*")
+ lines.append("*Generated by SkillEvaluator*")
return "\n".join(lines)
diff --git a/src/skillevaluator/reporting/naming.py b/src/skillevaluator/reporting/naming.py
index b9a5585c..22c23737 100644
--- a/src/skillevaluator/reporting/naming.py
+++ b/src/skillevaluator/reporting/naming.py
@@ -1,12 +1,12 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-"""Central report-artifact naming for Skill Evaluator.
+"""Central report-artifact naming for SkillEvaluator.
All generated report basenames are derived here so the final ``skillevaluator``
identity lives in exactly one place (and so an edition-aware rename, if ever
needed, is a one-line change). The benchmark card has a fixed filename to match
-Skill Evaluator.
+SkillEvaluator.
"""
from __future__ import annotations
diff --git a/src/skillevaluator/reporting/templates/report.html.j2 b/src/skillevaluator/reporting/templates/report.html.j2
index 17a4004b..6d07c9d7 100644
--- a/src/skillevaluator/reporting/templates/report.html.j2
+++ b/src/skillevaluator/reporting/templates/report.html.j2
@@ -107,7 +107,7 @@
/* Brand block. Sized to mirror the hero panel one row down so the
page reads as a single visual hierarchy rather than two competing
type scales (hero title is 1.8rem/800; brand sits a hair larger to
- keep "Skill Evaluator" as the top-level identifier). */
+ keep "SkillEvaluator" as the top-level identifier). */
.header-title {
font-size: 2rem;
font-weight: 800;
@@ -1235,7 +1235,7 @@
<div class="main-header">
<div class="header-content">
<div class="logo-section">
- <h1 class="header-title">Skill Evaluator</h1>
+ <h1 class="header-title">SkillEvaluator</h1>
<div class="header-subtitle-row">
<p class="header-subtitle">NVIDIA Benchmark for Agent Skills Evaluation</p>
</div>
@@ -1251,7 +1251,7 @@
</div>
{% if target_path %}<p class="header-meta-item"><strong>Target:</strong> {% if target_path.startswith('https://') %}<a href="{{ target_path }}" target="_blank" class="header-target-link" title="{{ target_path }}">{{ target_display or target_path }}</a>{% else %}{{ target_path }}{% endif %}</p>{% endif %}
{% if profile %}<p class="header-meta-item"><strong>Profile:</strong> <span class="header-profile-badge profile-{{ profile }}">{{ profile }}</span></p>{% endif %}
- {% if timestamp %}<p class="header-meta-item">Generated: {{ timestamp }}{% if version %} &middot; Skill Evaluator v{{ version }}{% endif %}</p>{% endif %}
+ {% if timestamp %}<p class="header-meta-item">Generated: {{ timestamp }}{% if version %} &middot; SkillEvaluator v{{ version }}{% endif %}</p>{% endif %}
<span class="header-status-badge {{ 'warn' if has_incomplete else ('pass' if all_passed else 'fail') }}">{{ 'Incomplete' if has_incomplete else ('All Passed' if all_passed else 'Issues Found') }}</span>
</div>
</div>
@@ -2973,9 +2973,9 @@
{% endif %}
</div>
- {# Skill Evaluator Dimension Mapping pill strip #}
+ {# SkillEvaluator Dimension Mapping pill strip #}
{% if agent.dimensions or agent.findings %}
- <div class="t3-dim-strip" aria-label="Skill Evaluator dimensions">
+ <div class="t3-dim-strip" aria-label="SkillEvaluator dimensions">
{% set dim_source = agent.dimensions or agent.findings %}
{% for d in dim_source %}
{% set d_score = d.score if d.score is not none else d.with_skill %}
@@ -3771,7 +3771,7 @@
</div>
{% endfor %}
</div>
- <footer>Generated by <strong>Skill Evaluator</strong> — NVIDIA Benchmark for Agent Skills Evaluation</footer>
+ <footer>Generated by <strong>SkillEvaluator</strong> — NVIDIA Benchmark for Agent Skills Evaluation</footer>
<button id="backToTop" onclick="scrollToTop()" title="Back to Top">↑ Top</button>
<script id="report-data" type="application/json">{{ report_json | safe }}</script>
<script>
diff --git a/src/skillevaluator/tier1/commands.py b/src/skillevaluator/tier1/commands.py
index d880bac1..28d826cb 100644
--- a/src/skillevaluator/tier1/commands.py
+++ b/src/skillevaluator/tier1/commands.py
@@ -60,7 +60,7 @@ DEFAULT_CHECKS = (
"lint",
)
# Opt-in checks: recognized by ``--checks`` but excluded from the default run.
-# Mirrors Skill Evaluator, where the semantic-version bump check and the pip-audit /
+# Mirrors SkillEvaluator, where the semantic-version bump check and the pip-audit /
# Safety dependency CVE audit (shipped as the standalone ``dependency-audit``
# command) were opt-in rather than part of the default validate pipeline.
OPTIONAL_CHECKS = ("dependency",)
@@ -158,7 +158,7 @@ def run_validation(
plugins). When *fail_fast* is set, the
run stops after the first failing check. *continue_on_failure* overrides
*fail_fast* and also keeps batch folder validation scanning every skill past
- a CRITICAL finding (parity with Skill Evaluator ``--continue-on-failure``).
+ a CRITICAL finding (parity with SkillEvaluator ``--continue-on-failure``).
When *policy* is provided, the schema validator applies the policy's
audience-aware author rules; finalized severities for all validators are
@@ -343,7 +343,7 @@ def emit_reports(
*target_path* (the content's repo URL or path) and *content_label* are
forwarded to the HTML reporter so the report shows a Target link and the
correct content noun. HTML navigation tabs are derived from the tiers
- present in *results*, matching Skill Evaluator's combined report.
+ present in *results*, matching SkillEvaluator's combined report.
"""
if policy is not None:
apply_policy(results, policy)
diff --git a/src/skillevaluator/tier3/reference_skills/api-caller/SKILL.md b/src/skillevaluator/tier3/reference_skills/api-caller/SKILL.md
index 8ae66c66..0c5e40ef 100644
--- a/src/skillevaluator/tier3/reference_skills/api-caller/SKILL.md
+++ b/src/skillevaluator/tier3/reference_skills/api-caller/SKILL.md
@@ -2,7 +2,7 @@
name: api-caller
description: Call any REST API dynamically. Make GET, POST, PUT, DELETE requests to any endpoint with custom headers and JSON body.
metadata:
- author: Skill Evaluator Maintainers <[email protected]>
+ author: SkillEvaluator Maintainers <[email protected]>
---
# API Caller Skill
diff --git a/src/skillevaluator/tier3/reference_skills/calculator/SKILL.md b/src/skillevaluator/tier3/reference_skills/calculator/SKILL.md
index 7846c502..8ef553c5 100644
--- a/src/skillevaluator/tier3/reference_skills/calculator/SKILL.md
+++ b/src/skillevaluator/tier3/reference_skills/calculator/SKILL.md
@@ -3,7 +3,7 @@ name: calculator
description: Evaluate mathematical expressions and unit conversions. Handles arithmetic, percentages, exponents, and common unit conversions (temperature, distance, weight). No external dependencies.
compatibility: Python 3.10+, no external dependencies
metadata:
- author: Skill Evaluator Maintainers <[email protected]>
+ author: SkillEvaluator Maintainers <[email protected]>
---
# Calculator
diff --git a/src/skillevaluator/tier3/reference_skills/create-custom-grader/SKILL.md b/src/skillevaluator/tier3/reference_skills/create-custom-grader/SKILL.md
index 966a469d..3c4eaa18 100644
--- a/src/skillevaluator/tier3/reference_skills/create-custom-grader/SKILL.md
+++ b/src/skillevaluator/tier3/reference_skills/create-custom-grader/SKILL.md
@@ -2,7 +2,7 @@
name: create-custom-grader
description: Use when converting an existing benchmark, rubric, verifier, task YAML/JSON, or domain check into SkillEvaluator BYOG/BYOT custom evaluation.
metadata:
- author: Skill Evaluator Maintainers <[email protected]>
+ author: SkillEvaluator Maintainers <[email protected]>
---
# Create Custom Grader
diff --git a/src/skillevaluator/tier3/reference_skills/task-list/SKILL.md b/src/skillevaluator/tier3/reference_skills/task-list/SKILL.md
index e1c529d6..de1668db 100644
--- a/src/skillevaluator/tier3/reference_skills/task-list/SKILL.md
+++ b/src/skillevaluator/tier3/reference_skills/task-list/SKILL.md
@@ -2,7 +2,7 @@
name: task-list
description: Required for 4+ step requests; add tasks at start and update status after each step.
metadata:
- author: Skill Evaluator Maintainers <[email protected]>
+ author: SkillEvaluator Maintainers <[email protected]>
---
# Task List Skill
diff --git a/src/skillevaluator/tier3/reference_skills/text-analyzer/SKILL.md b/src/skillevaluator/tier3/reference_skills/text-analyzer/SKILL.md
index 528b59fa..bec93855 100644
--- a/src/skillevaluator/tier3/reference_skills/text-analyzer/SKILL.md
+++ b/src/skillevaluator/tier3/reference_skills/text-analyzer/SKILL.md
@@ -3,7 +3,7 @@ name: text-analyzer
description: Analyze text content and produce statistics including word count, line count, character count, most frequent words, and readability metrics. Works on any plain text input provided inline or from a file path.
compatibility: Python 3.10+, no external dependencies
metadata:
- author: Skill Evaluator Maintainers <[email protected]>
+ author: SkillEvaluator Maintainers <[email protected]>
---
# Text Analyzer
diff --git a/src/skillevaluator/utils/helpers.py b/src/skillevaluator/utils/helpers.py
index eae47e8e..ca9304e4 100644
--- a/src/skillevaluator/utils/helpers.py
+++ b/src/skillevaluator/utils/helpers.py
@@ -16,7 +16,7 @@ def make_timestamped_basename(prefix: str, suffix: str = "") -> str:
"""Return ``<prefix>-YYYYMMDDHHMMSS<suffix>`` for report artifacts.
Used so each combined ``validate`` run writes a distinct, sortable report
- file rather than overwriting the previous one (Skill Evaluator parity). ``suffix``
+ file rather than overwriting the previous one (SkillEvaluator parity). ``suffix``
is the optional file extension (e.g. ``".html"``); omit it to get the bare
timestamped basename.
"""
@@ -27,7 +27,7 @@ def make_timestamped_basename(prefix: str, suffix: str = "") -> str:
def find_skills_in_directory(root_path: Path) -> list[Path]:
"""Find all skill directories containing SKILL.md.
- Uses case-insensitive manifest detection per Skill Evaluator spec.
+ Uses case-insensitive manifest detection per SkillEvaluator spec.
Deduplicates results when both SKILL.md and skill.md exist.
Args:
diff --git a/src/skillevaluator/validators/base.py b/src/skillevaluator/validators/base.py
index f0ed9fd9..eba7dce9 100644
--- a/src/skillevaluator/validators/base.py
+++ b/src/skillevaluator/validators/base.py
@@ -47,7 +47,7 @@ __all__ = [
# When enabled (via ``run_validation`` honoring ``--continue-on-failure``),
# batch folder validation records every skill instead of stopping at the first
-# CRITICAL finding. Defaults to Skill Evaluator's historical stop-on-critical behavior.
+# CRITICAL finding. Defaults to SkillEvaluator's historical stop-on-critical behavior.
_CONTINUE_ON_FAILURE: contextvars.ContextVar[bool] = contextvars.ContextVar(
"skillevaluator_continue_on_failure", default=False
)
@@ -59,7 +59,7 @@ def continue_on_failure_scope(enabled: bool) -> Iterator[None]:
While *enabled* is True, :meth:`ValidatorBase._validate_folder_or_skill`
keeps scanning and recording every skill in a folder even after a CRITICAL
- finding, rather than returning early (parity with Skill Evaluator
+ finding, rather than returning early (parity with SkillEvaluator
``--continue-on-failure``).
"""
token = _CONTINUE_ON_FAILURE.set(enabled)
diff --git a/src/skillevaluator/validators/quality_score.py b/src/skillevaluator/validators/quality_score.py
index ea3dc397..7f947bbb 100644
--- a/src/skillevaluator/validators/quality_score.py
+++ b/src/skillevaluator/validators/quality_score.py
@@ -285,7 +285,7 @@ class QualityScoreValidator(ValidatorBase):
"Use forward slashes for cross-platform compatibility",
)
- # README.md is an allowed, human-facing supporting file per Skill Evaluator
+ # README.md is an allowed, human-facing supporting file per SkillEvaluator
# HOW_TO_CONTRIBUTE_SKILLS.md ("Optional Supporting Directories") and is
# listed as a valid optional file in docs/TIER1.md. Under progressive
# disclosure, agents only load a supporting file when SKILL.md references
diff --git a/src/skillevaluator/validators/rules_schema.py b/src/skillevaluator/validators/rules_schema.py
index b68677fd..a6225e04 100644
--- a/src/skillevaluator/validators/rules_schema.py
+++ b/src/skillevaluator/validators/rules_schema.py
@@ -4,7 +4,7 @@
"""Rules Schema and Repository Governance Validator.
Validates .mdc rule files against schema, enforces folder hierarchy
-and naming conventions per Skill Evaluator specification for Rules.
+and naming conventions per SkillEvaluator specification for Rules.
Key differences from Skills validator:
- Rules use .mdc extension (not SKILL.md)
@@ -32,7 +32,7 @@ logger = get_logger(__name__)
class RulesSchemaValidator(ValidatorBase):
- """Validates Rules .mdc schema and repository structure per Skill Evaluator spec.
+ """Validates Rules .mdc schema and repository structure per SkillEvaluator spec.
Checks: frontmatter schema, folder hierarchy, naming conventions,
required fields (alwaysApply, title, description).
@@ -229,19 +229,19 @@ class RulesSchemaValidator(ValidatorBase):
return result
def _validate_folder_compliance(self, folder_path: Path) -> ValidationResult:
- """Check if folder follows Skill Evaluator team-rules/ structure."""
+ """Check if folder follows SkillEvaluator team-rules/ structure."""
result = ValidationResult()
has_team_rules = (folder_path / "team-rules").exists()
if has_team_rules:
- result.add_message("Folder structure compliant with Skill Evaluator guidelines")
+ result.add_message("Folder structure compliant with SkillEvaluator guidelines")
team_rules_dir = folder_path / "team-rules"
teams = [d for d in team_rules_dir.iterdir() if d.is_dir()]
result.add_message(f"Found 'team-rules/' directory with {len(teams)} team(s)")
elif "team-rules" in folder_path.parts:
result.add_message("Validating rules within team-rules/ structure")
else:
- result.add_warning("Folder doesn't follow Skill Evaluator structure (expected team-rules/ directory)")
+ result.add_warning("Folder doesn't follow SkillEvaluator structure (expected team-rules/ directory)")
return result
diff --git a/src/skillevaluator/validators/schema.py b/src/skillevaluator/validators/schema.py
index 91f478de..e85e4721 100644
--- a/src/skillevaluator/validators/schema.py
+++ b/src/skillevaluator/validators/schema.py
@@ -4,7 +4,7 @@
"""Schema and Repository Governance Validator.
Validates SKILL.md frontmatter against schema, enforces folder hierarchy
-and naming conventions per Skill Evaluator specification.
+and naming conventions per SkillEvaluator specification.
"""
import os
@@ -35,7 +35,7 @@ logger = get_logger(__name__)
class SchemaValidator(ValidatorBase):
- """Validates skill schema and repository structure per Skill Evaluator spec.
+ """Validates skill schema and repository structure per SkillEvaluator spec.
Checks: frontmatter schema, folder hierarchy, naming conventions,
directory-name consistency, required/forbidden fields.
@@ -657,7 +657,7 @@ class SchemaValidator(ValidatorBase):
return result
def _validate_folder_compliance(self, folder_path: Path) -> ValidationResult:
- """Check if folder contains standard Skill Evaluator directories (skills/, team-skills/)."""
+ """Check if folder contains standard SkillEvaluator directories (skills/, team-skills/)."""
result = ValidationResult()
has_skills = (folder_path / "skills").exists()
has_team_skills = (folder_path / "team-skills").exists()
@@ -666,7 +666,7 @@ class SchemaValidator(ValidatorBase):
if has_skills or has_team_skills:
result.add_success(
check_name="folder_structure",
- message="Folder structure compliant with Skill Evaluator guidelines",
+ message="Folder structure compliant with SkillEvaluator guidelines",
)
if has_skills:
count = len(list((folder_path / "skills").iterdir()))
@@ -693,7 +693,7 @@ class SchemaValidator(ValidatorBase):
category="SCHEMA",
severity=Severity.MEDIUM,
check_name="folder_structure",
- message="Folder doesn't follow Skill Evaluator structure (missing skills/ or team-skills/)",
+ message="Folder doesn't follow SkillEvaluator structure (missing skills/ or team-skills/)",
file_path=file_path,
suggestion="Create skills/ and/or team-skills/ directories for organizing skills",
),
@@ -708,7 +708,7 @@ class SchemaValidator(ValidatorBase):
Recognised skill-root subdirectories (``DEFAULT_ALLOWED_SKILL_DIRS``):
- ``agents/`` — recommended agent-facing UI metadata.
- - ``references/``, ``scripts/``, ``assets/`` — Skill Evaluator canonical content dirs.
+ - ``references/``, ``scripts/``, ``assets/`` — SkillEvaluator canonical content dirs.
- ``evals/`` — canonical location for Tier 3 evaluation datasets
(``evals/evals.json``, optional ``evals/EVAL.md``, and Harbor outputs
under ``evals/results/``).
diff --git a/src/skillevaluator/validators/security.py b/src/skillevaluator/validators/security.py
index 041c883a..a173faba 100644
--- a/src/skillevaluator/validators/security.py
+++ b/src/skillevaluator/validators/security.py
@@ -369,7 +369,7 @@ class SecurityValidator(ValidatorBase):
Reads the SKILL.md manifest in ``skill_path`` (if any) and extracts the
author identity from either the top-level ``author`` field or
- ``metadata.author`` (Skill Evaluator nests it under ``metadata``). Returns the
+ ``metadata.author`` (SkillEvaluator nests it under ``metadata``). Returns the
empty set when there is no manifest or no parseable author.
"""
return self._usernames_from_identity(self._author_identity(skill_path))
diff --git a/src/skillevaluator/validators/workflows_schema.py b/src/skillevaluator/validators/workflows_schema.py
index dcfeae96..ff0b3efb 100644
--- a/src/skillevaluator/validators/workflows_schema.py
+++ b/src/skillevaluator/validators/workflows_schema.py
@@ -3,7 +3,7 @@
"""Workflows Schema and Structure Validator.
-Validates workflow directories against Skill Evaluator specification.
+Validates workflow directories against SkillEvaluator specification.
Workflows are directory-based structures containing:
- README.md (required)
- workflow-rules.mdc (required)
@@ -43,7 +43,7 @@ logger = get_logger(__name__)
class WorkflowsSchemaValidator(ValidatorBase):
- """Validates Workflows directory structure and content per Skill Evaluator spec.
+ """Validates Workflows directory structure and content per SkillEvaluator spec.
Checks:
- Directory structure (README.md, workflow-rules.mdc, references/)
@@ -340,13 +340,13 @@ class WorkflowsSchemaValidator(ValidatorBase):
return result
def _validate_folder_compliance(self, folder_path: Path) -> ValidationResult:
- """Check if folder follows Skill Evaluator workflows structure."""
+ """Check if folder follows SkillEvaluator workflows structure."""
result = ValidationResult()
has_workflows = (folder_path / "workflows").exists()
has_team_workflows = (folder_path / "team-workflows").exists()
if has_workflows or has_team_workflows:
- result.add_message("Folder structure compliant with Skill Evaluator guidelines")
+ result.add_message("Folder structure compliant with SkillEvaluator guidelines")
if has_workflows:
workflows_dir = folder_path / "workflows"
count = len([d for d in workflows_dir.iterdir() if d.is_dir()])
@@ -359,7 +359,7 @@ class WorkflowsSchemaValidator(ValidatorBase):
result.add_message("Validating workflows within standard folder structure")
else:
result.add_warning(
- "Folder doesn't follow Skill Evaluator structure (missing workflows/ or team-workflows/)"
+ "Folder doesn't follow SkillEvaluator structure (missing workflows/ or team-workflows/)"
)
return result
diff --git a/tests/conftest.py b/tests/conftest.py
index 0576e181..b1efd948 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,9 +1,9 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
-"""Pytest configuration and fixtures for Skill Evaluator tests.
+"""Pytest configuration and fixtures for SkillEvaluator tests.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_SKILLS.md and HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specifications.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_SKILLS.md and HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specifications.
"""
from pathlib import Path
@@ -17,7 +17,7 @@ import pytest
@pytest.fixture
def sample_skill_dir(tmp_path: Path) -> Path:
- """Create a sample valid skill directory per Skill Evaluator spec.
+ """Create a sample valid skill directory per SkillEvaluator spec.
Structure: skills/sample-skill/SKILL.md
Required fields: name, description
@@ -29,11 +29,11 @@ def sample_skill_dir(tmp_path: Path) -> Path:
skill_dir = skills_dir / "sample-skill"
skill_dir.mkdir()
- # Create valid SKILL.md per Skill Evaluator spec
+ # Create valid SKILL.md per SkillEvaluator spec
skill_md = skill_dir / "SKILL.md"
skill_md.write_text("""---
name: sample-skill
-description: A sample skill for testing Skill Evaluator validation. Use when demonstrating validation workflows.
+description: A sample skill for testing SkillEvaluator validation. Use when demonstrating validation workflows.
metadata:
author: Test User <[email protected]>
tags:
@@ -95,7 +95,7 @@ def skill_with_forbidden_fields(tmp_path: Path) -> Path:
skill_md = skill_dir / "SKILL.md"
skill_md.write_text("""---
name: forbidden-fields
-description: A skill that uses forbidden fields per Skill Evaluator spec
+description: A skill that uses forbidden fields per SkillEvaluator spec
alwaysApply: true
globs:
- "*.py"
@@ -248,7 +248,7 @@ graph.invoke({"input": "test"}, config={"debug": True})
@pytest.fixture
def sample_rule_file(tmp_path: Path) -> Path:
- """Create a sample valid .mdc rule file per Skill Evaluator spec.
+ """Create a sample valid .mdc rule file per SkillEvaluator spec.
Structure: team-rules/<team-name>/<rule-name>.mdc
Required fields: alwaysApply, title, description
@@ -352,7 +352,7 @@ Follow these {name.replace("-", " ")} guidelines.
@pytest.fixture
def sample_workflow_dir(tmp_path: Path) -> Path:
- """Create a sample valid workflow directory per Skill Evaluator spec.
+ """Create a sample valid workflow directory per SkillEvaluator spec.
Structure: workflows/<workflow-name>/
Required files: README.md, workflow-rules.mdc
@@ -369,7 +369,7 @@ def sample_workflow_dir(tmp_path: Path) -> Path:
## Overview
-A sample workflow for testing Skill Evaluator validation.
+A sample workflow for testing SkillEvaluator validation.
## Prerequisites
diff --git a/tests/golden/benchmark_tier1.md b/tests/golden/benchmark_tier1.md
index c85bab45..ab095923 100644
--- a/tests/golden/benchmark_tier1.md
+++ b/tests/golden/benchmark_tier1.md
@@ -1,8 +1,8 @@
# Evaluation Report
-Evaluation of the `demo-skill` skill before publication through Skill Evaluator.
+Evaluation of the `demo-skill` skill before publication through SkillEvaluator.
-This benchmark summarizes 3-Tier Evaluation from Skill Evaluator results for the skill. The goal is to document whether the skill is safe, discoverable, effective, and useful for agents before it is published for broader workflow use.
+This benchmark summarizes 3-Tier Evaluation from SkillEvaluator results for the skill. The goal is to document whether the skill is safe, discoverable, effective, and useful for agents before it is published for broader workflow use.
## Evaluation Summary
@@ -38,7 +38,7 @@ Tier 3 dimension rollup was not available in this report.
## Tier 1: Static Validation Summary
-Tier 1 validation passed. Skill Evaluator ran 1 checks and found 0 total findings.
+Tier 1 validation passed. SkillEvaluator ran 1 checks and found 0 total findings.
Notable observations:
@@ -46,7 +46,7 @@ Notable observations:
## Tier 2: Deduplication Summary
-Tier 2 validation passed with observations. Skill Evaluator ran 1 checks and found 1 total findings.
+Tier 2 validation passed with observations. SkillEvaluator ran 1 checks and found 1 total findings.
Top findings:
@@ -54,4 +54,4 @@ Top findings:
## Publication Recommendation
-The skill is suitable to proceed toward Skill Evaluator publication based on this benchmark. Skill owners should keep this file with the skill and refresh it when the evaluation dataset, skill behavior, or target agents materially change.
+The skill is suitable to proceed toward SkillEvaluator publication based on this benchmark. Skill owners should keep this file with the skill and refresh it when the evaluation dataset, skill behavior, or target agents materially change.
diff --git a/tests/golden/test_benchmark_card.py b/tests/golden/test_benchmark_card.py
index 1fe381ad..93cb4e67 100644
--- a/tests/golden/test_benchmark_card.py
+++ b/tests/golden/test_benchmark_card.py
@@ -3,7 +3,7 @@
"""Golden regression guard for the BENCHMARK.md skill evaluation card.
-The card content is a faithful Skill Evaluator 3.2.1 port and must not drift. If this
+The card content is a faithful SkillEvaluator 3.2.1 port and must not drift. If this
test fails after an intentional change, regenerate the golden and review the
diff. Timestamps are disabled so the snapshot is deterministic.
"""
@@ -48,7 +48,7 @@ def _deterministic_results() -> list[ValidationResult]:
def test_benchmark_card_matches_golden() -> None:
rendered = BenchmarkReporter(include_timestamp=False).render_all(_deterministic_results())
assert rendered == GOLDEN.read_text(encoding="utf-8"), (
- "BENCHMARK.md content drifted from the faithful Skill Evaluator golden. If intentional, "
+ "BENCHMARK.md content drifted from the faithful SkillEvaluator golden. If intentional, "
"regenerate tests/golden/benchmark_tier1.md and review the diff."
)
@@ -104,7 +104,7 @@ def test_benchmark_sanitizes_invalid_legacy_skill_label() -> None:
)
assert "LegacySkillsEval" not in rendered
- assert "- Skill: `Skill Evaluator`" in rendered
+ assert "- Skill: `SkillEvaluator`" in rendered
@pytest.mark.parametrize(
@@ -117,7 +117,7 @@ def test_benchmark_rebrands_retired_product_name_from_payload(retired_name: str)
)
assert retired_name not in rendered
- assert "`accuracy` (Skill Evaluator)" in rendered
+ assert "`accuracy` (SkillEvaluator)" in rendered
def test_benchmark_sanitizes_agent_and_model_labels() -> None:
@@ -254,7 +254,7 @@ def test_benchmark_preserves_relative_paths_and_non_label_text() -> None:
assert "Runtime skills eval failed in docs/database-skills-eval/SKILL.md" in rendered
assert "(`docs/database-skills-eval/SKILL.md`)" in rendered
- assert "docs/Skill Evaluator/SKILL.md" not in rendered
+ assert "docs/SkillEvaluator/SKILL.md" not in rendered
def test_benchmark_redacts_absolute_paths_from_dynamic_text() -> None:
diff --git a/tests/reporting/test_reporters.py b/tests/reporting/test_reporters.py
index 3da125e6..3ce6f146 100644
--- a/tests/reporting/test_reporters.py
+++ b/tests/reporting/test_reporters.py
@@ -918,7 +918,7 @@ class TestHTMLReporter:
reporter = HTMLReporter(include_timestamp=False)
output = reporter.render_all(mixed_results)
- assert "Validation Report" in output or "Skill Evaluator" in output
+ assert "Validation Report" in output or "SkillEvaluator" in output
assert "SCHEMA" in output
assert "SECRETS" in output
@@ -965,7 +965,7 @@ class TestHTMLReporter:
assert "composite lift = +0.00" not in markdown
def test_standalone_tier3_report_uses_skillevaluator_branding(self, tmp_path: Path) -> None:
- """Standalone Tier 3 HTML should use the canonical Skill Evaluator branding."""
+ """Standalone Tier 3 HTML should use the canonical SkillEvaluator branding."""
skill = tmp_path / "log-analyzer"
skill.mkdir()
results_dir = tmp_path / "20260624_134842"
@@ -1027,8 +1027,8 @@ class TestHTMLReporter:
)
output = report_path.read_text(encoding="utf-8")
- assert "Skill Evaluator" in output
- assert "Generated by <strong>Skill Evaluator</strong>" in output
+ assert "SkillEvaluator" in output
+ assert "Generated by <strong>SkillEvaluator</strong>" in output
assert "?tab=analysis" in output
assert "?step=9" in output
diff --git a/tests/reporting/test_unified_tier3_report.py b/tests/reporting/test_unified_tier3_report.py
index 84f8ccbe..f8126e96 100644
--- a/tests/reporting/test_unified_tier3_report.py
+++ b/tests/reporting/test_unified_tier3_report.py
@@ -122,7 +122,7 @@ def test_standalone_tier3_uses_generic_tier3_only_report(tmp_path: Path) -> None
assert "Tier 2: Deduplication" not in html
assert 'data-tier3-tab="trials"' in html
assert "Diagnostics" in html
- assert "Skill Evaluator" in html
+ assert "SkillEvaluator" in html
def test_canonical_report_prefers_agentskills_dataset_fields() -> None:
diff --git a/tests/test_checks_routing.py b/tests/test_checks_routing.py
index 9d1d3886..73fdc027 100644
--- a/tests/test_checks_routing.py
+++ b/tests/test_checks_routing.py
@@ -3,7 +3,7 @@
"""Regression tests for the SKILL.md shell-read routing detection.
-Ports Skill Evaluator 0.7.22 ``b656d5a`` ("recognize non-cat shell reads of SKILL.md in
+Ports SkillEvaluator 0.7.22 ``b656d5a`` ("recognize non-cat shell reads of SKILL.md in
routing checks") into the in-process Tier 3 engine (``tier3/eval_core/checks.py``).
"""
diff --git a/tests/test_cli.py b/tests/test_cli.py
index 7d066eb8..467bf076 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -44,7 +44,7 @@ def test_top_level_help_shows_branded_header() -> None:
assert result.exit_code == 0
assert "SKILLEVALUATOR: SkillEvaluator" in result.output
- assert "README.md" in result.output
+ assert "https://docs.nvidia.com/skills/skillevaluator/" in result.output
# Plain text under a non-TTY runner so the output stays greppable.
assert "\x1b[" not in result.output
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 038f578e..c021ea95 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -94,7 +94,7 @@ def test_validate_fixture_no_llm() -> None:
def test_validate_prints_tier1_section_banner() -> None:
# The Tier 1 section is announced as it runs so it is visibly reported in
- # CI logs (Skill Evaluator parity), not only inside the final combined report.
+ # CI logs (SkillEvaluator parity), not only inside the final combined report.
result = CliRunner().invoke(
cli, ["validate", str(FIXTURE), "--verbose", "--no-llm", "--no-dedup", "--checks", "schema,quality,lint"]
)
diff --git a/tests/test_harbor_input_staging.py b/tests/test_harbor_input_staging.py
index 467199b3..56f68b5b 100644
--- a/tests/test_harbor_input_staging.py
+++ b/tests/test_harbor_input_staging.py
@@ -3,7 +3,7 @@
"""Regression tests for per-entry eval input staging.
-Ports Skill Evaluator 0.7.22 ``0d17f5e`` ("upload staged eval inputs to standard sandboxes")
+Ports SkillEvaluator 0.7.22 ``0d17f5e`` ("upload staged eval inputs to standard sandboxes")
into the in-process Tier 3 engine (``tier3/harbor/adapter.py``). The adapter now
stages both the shared ``evals/files/`` directory and each entry's ``files`` refs
into the task ``input/`` dir, with traversal protection.
diff --git a/tests/test_oss_packaging.py b/tests/test_oss_packaging.py
index 693ceba2..78e8dd60 100644
--- a/tests/test_oss_packaging.py
+++ b/tests/test_oss_packaging.py
@@ -232,14 +232,46 @@ def test_public_docs_declare_support_and_security_sections() -> None:
assert "Support level: **Experimental**" in support
-def test_public_quickstart_is_one_install_command_without_a_fixture_clone() -> None:
+def test_public_readme_is_a_concise_docs_landing_page() -> None:
readme = (REPO_ROOT / "README.md").read_text(encoding="utf-8")
- quickstart = readme.split("\n## Quickstart\n", 1)[1].split("\n## Tier 1:", 1)[0]
-
- install = 'uv tool install --python 3.13 "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git"'
- assert install in quickstart
- assert "skillevaluator quality-check ./my-skill" in quickstart
- assert "git clone" not in quickstart
+ quickstart = readme.partition("\n## Quickstart\n")[2].partition("\n## LLM provider setup\n")[0]
+ deeper_evaluations = readme.partition("\n## Run deeper evaluations\n")[2].partition("\n## Documentation\n")[0]
+ normalized = " ".join(readme.split())
+
+ positioning = (
+ "SkillEvaluator is an open-source, multi-tier framework for evaluating AI agent artifacts, "
+ "starting with agent skills: deterministic quality gates, semantic overlap detection, "
+ "synthetic eval dataset generation, and live agent evaluation."
+ )
+ assert positioning in normalized
+ assert "https://docs.nvidia.com/skills/skillevaluator/" in readme
+ assert "https://docs.nvidia.com/skills/" in readme
+ assert "https://github.com/NVIDIA/SkillSpector" in readme
+ assert "\n## Three-tier overview\n" not in readme
+ assert "\n## Quickstart\n" in readme
+ assert "skillevaluator[all] @ git+https://github.com/NVIDIA/SkillEvaluator.git" in readme
+ assert (
+ "skillevaluator validate ./my-skill \\\n --checks schema,pii,license,quality,unicode,lint \\\n --no-dedup"
+ ) in quickstart
+ assert "skillevaluator quality-check ./my-skill" not in quickstart
+ assert "SKILL_EVAL_LLM_PROVIDER=nv_build" in readme
+ assert "NVIDIA_API_KEY='nvapi-...'" in readme
+ assert "skillevaluator context-optimization-check ./my-skill" in readme
+ assert (
+ "skillevaluator validate ./my-skill \\\n --full \\\n --agents codex \\\n --env-mode docker"
+ ) in deeper_evaluations
+ assert "Semgrep, SkillSpector, and Gitleaks" in deeper_evaluations
+ assert "enables autopilot" in deeper_evaluations
+ assert "evals/evals.json" in deeper_evaluations
+ assert "only for trusted skills and workspaces" in deeper_evaluations
+ assert "skillevaluator create-eval-dataset ./my-skill --full" in deeper_evaluations
+ assert "skillevaluator tier3 evaluate ./my-skill" not in deeper_evaluations
+ assert "--n-attempts 1" not in deeper_evaluations
+ assert "tier3-live-evaluation#plan-for-cost" in readme
+ assert "\n## Tier 1:" not in readme
+ assert "Skill Evaluator" not in readme
+ assert "Skillevaluator" not in readme
+ assert len(readme.split()) <= 750
def test_release_metadata_is_public_facing_and_version_consistent() -> None:
@@ -479,9 +511,9 @@ def test_public_docs_show_external_nvidia_build_harness_paths_only() -> None:
assert "--agent-model codex=nvidia/nemotron-3-super-120b-a12b" in public_docs
assert "--agent-model claude-code=nvidia/nemotron-3-super-120b-a12b" in public_docs
assert "--agent-model opencode=nvidia/meta/llama-3.1-8b-instruct" in public_docs
- assert "skillevaluator evaluate ./my-skill --agents opencode --env-mode docker\n" in tier3
- assert "skillevaluator evaluate ./my-skill --agents codex --env-mode docker\n" in tier3
- assert "skillevaluator evaluate ./my-skill --agents claude-code --env-mode docker\n" in tier3
+ assert "skillevaluator tier3 evaluate ./my-skill --agents opencode --env-mode docker\n" in tier3
+ assert "skillevaluator tier3 evaluate ./my-skill --agents codex --env-mode docker\n" in tier3
+ assert "skillevaluator tier3 evaluate ./my-skill --agents claude-code --env-mode docker\n" in tier3
assert "never changes models silently" in public_docs
assert "direct OpenCode" in public_docs
assert "Docker or local compatibility bridge" in public_docs
@@ -499,3 +531,59 @@ def test_ci_installs_the_security_wheel_on_rhel8() -> None:
assert 'Version(version("pip-audit")) >= Version("2.10.0")' in rhel8_job
assert ".rhel8-security-venv/bin/bandit --version" in rhel8_job
assert ".rhel8-security-venv/bin/semgrep --version" not in rhel8_job
+
+
+def test_fern_docs_use_the_verified_skills_basepath_and_launch_positioning() -> None:
+ fern = (REPO_ROOT / "fern" / "docs.yml").read_text(encoding="utf-8")
+ overview = (REPO_ROOT / "docs" / "index.mdx").read_text(encoding="utf-8")
+ normalized_overview = " ".join(overview.split())
+
+ positioning = (
+ "SkillEvaluator is an open-source, multi-tier framework for evaluating AI agent artifacts, "
+ "starting with agent skills: deterministic quality gates, semantic overlap detection, "
+ "synthetic eval dataset generation, and live agent evaluation."
+ )
+ assert "url: nvidia-skillevaluator.docs.buildwithfern.com/skills/skillevaluator" in fern
+ assert "custom-domain: docs.nvidia.com/skills/skillevaluator" in fern
+ assert "docs.nvidia.com/skillevaluator" not in fern
+ assert positioning in normalized_overview
+ assert "https://docs.nvidia.com/skills/" in overview
+ assert "https://github.com/NVIDIA/SkillSpector" in overview
+
+
+def test_tier3_docs_explain_cost_controls_and_local_mode_tradeoffs() -> None:
+ tier3 = (REPO_ROOT / "docs" / "tier3-live-evaluation.mdx").read_text(encoding="utf-8")
+ normalized = " ".join(tier3.split())
+
+ assert "eval cases \u00d7 agents \u00d7 attempts \u00d7 arms" in normalized
+ assert "--skip-baseline" in tier3
+ assert "cannot produce Skill Lift" in normalized
+ assert "--n-concurrent" in tier3
+ assert "--max-agents" in tier3
+ assert "do not reduce the total planned trials" in tier3
+ assert "--env-mode local" in tier3
+ assert "does **not** automatically eliminate model charges" in tier3
+ assert "weaker isolation than Docker" in tier3
+
+
+def test_public_product_branding_uses_the_canonical_name() -> None:
+ paths = [
+ REPO_ROOT / "README.md",
+ REPO_ROOT / "CHANGELOG.md",
+ REPO_ROOT / "CITATION.cff",
+ REPO_ROOT / "CODE_OF_CONDUCT.md",
+ REPO_ROOT / "SECURITY.md",
+ REPO_ROOT / "SUPPORT.md",
+ REPO_ROOT / "Dockerfile",
+ REPO_ROOT / "sonar-project.properties",
+ *(REPO_ROOT / ".github" / "ISSUE_TEMPLATE").glob("*.yml"),
+ *(REPO_ROOT / "docs").rglob("*.mdx"),
+ *(REPO_ROOT / "src" / "skillevaluator").rglob("*.py"),
+ *(REPO_ROOT / "src" / "skillevaluator").rglob("*.j2"),
+ *(REPO_ROOT / "src" / "skillevaluator").rglob("SKILL.md"),
+ ]
+
+ for path in paths:
+ content = path.read_text(encoding="utf-8")
+ assert "Skill Evaluator" not in content, path
+ assert "Skillevaluator" not in content, path
diff --git a/tests/validators/test_base.py b/tests/validators/test_base.py
index 8cd69af8..40329bcb 100644
--- a/tests/validators/test_base.py
+++ b/tests/validators/test_base.py
@@ -228,7 +228,7 @@ class TestValidatorBase:
def test_find_all_skills_skips_versions_snapshots(self, tmp_path):
"""Historical snapshots under ``.versions/`` must not be re-validated.
- The resource versioning proposal (Skill Evaluator) lets contributors keep
+ The resource versioning proposal (SkillEvaluator) lets contributors keep
immutable per-commit snapshots of a skill alongside the live
``SKILL.md`` (e.g. ``my-skill/.versions/v1.0.0/SKILL.md``).
``_find_all_skills`` must treat anything under a ``.versions``
diff --git a/tests/validators/test_folder_validation.py b/tests/validators/test_folder_validation.py
index eb7b2dd6..605353b9 100644
--- a/tests/validators/test_folder_validation.py
+++ b/tests/validators/test_folder_validation.py
@@ -233,7 +233,7 @@ Example.
validator = SchemaValidator()
result = validator.validate(root)
- assert any("Folder structure compliant with Skill Evaluator guidelines" in m for m in result.messages)
+ assert any("Folder structure compliant with SkillEvaluator guidelines" in m for m in result.messages)
def test_folder_structure_compliance_with_team_skills(self, tmp_path):
"""Test folder structure compliance for folder with team-skills/ directory."""
@@ -268,7 +268,7 @@ Example.
validator = SchemaValidator()
result = validator.validate(root)
- assert any("Folder structure compliant with Skill Evaluator guidelines" in m for m in result.messages)
+ assert any("Folder structure compliant with SkillEvaluator guidelines" in m for m in result.messages)
assert any("team-skills" in m for m in result.messages)
diff --git a/tests/validators/test_quality_score.py b/tests/validators/test_quality_score.py
index 7fddee24..d2352464 100644
--- a/tests/validators/test_quality_score.py
+++ b/tests/validators/test_quality_score.py
@@ -299,7 +299,7 @@ class TestQualityScoreValidator:
def test_readme_supporting_file_is_allowed(self, quality_skill):
# An unreferenced README.md is a permitted human-facing supporting file
- # (Skill Evaluator HOW_TO_CONTRIBUTE_SKILLS.md). The quality_skill SKILL.md does
+ # (SkillEvaluator HOW_TO_CONTRIBUTE_SKILLS.md). The quality_skill SKILL.md does
# not link to it, so under progressive disclosure it costs no agent
# context and must not be penalized.
(quality_skill / "README.md").write_text("# Human-facing skill notes\n")
diff --git a/tests/validators/test_rules_schema.py b/tests/validators/test_rules_schema.py
index ca628056..b758fb0d 100644
--- a/tests/validators/test_rules_schema.py
+++ b/tests/validators/test_rules_schema.py
@@ -3,7 +3,7 @@
"""Tests for Rules schema validation.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
"""
from pathlib import Path
@@ -23,7 +23,7 @@ class TestRulesSchemaValidator:
@pytest.fixture
def valid_rule_file(self, tmp_path: Path) -> Path:
- """Create a valid .mdc rule file per Skill Evaluator spec."""
+ """Create a valid .mdc rule file per SkillEvaluator spec."""
team_rules_dir = tmp_path / "team-rules" / "test-team"
team_rules_dir.mkdir(parents=True)
diff --git a/tests/validators/test_schema.py b/tests/validators/test_schema.py
index c5d1e6f8..62ce6104 100644
--- a/tests/validators/test_schema.py
+++ b/tests/validators/test_schema.py
@@ -3,7 +3,7 @@
"""Tests for schema validator.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_SKILLS.md specification.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_SKILLS.md specification.
"""
from pathlib import Path
@@ -12,10 +12,10 @@ from skillevaluator.validators.schema import SchemaValidator
class TestSchemaValidator:
- """Test cases for SchemaValidator based on Skill Evaluator spec."""
+ """Test cases for SchemaValidator based on SkillEvaluator spec."""
def test_valid_skill(self, sample_skill_dir: Path):
- """Test validation passes for valid skill with proper Skill Evaluator structure."""
+ """Test validation passes for valid skill with proper SkillEvaluator structure."""
validator = SchemaValidator()
result = validator.validate(sample_skill_dir)
@@ -286,7 +286,7 @@ Example usage.
skill_md = skill_dir / "SKILL.md"
skill_md.write_text("""---
name: complete-metadata
-description: A skill with complete metadata structure per Skill Evaluator spec
+description: A skill with complete metadata structure per SkillEvaluator spec
license: MIT
compatibility: Requires Python 3.11+
metadata:
diff --git a/tests/validators/test_workflows_schema.py b/tests/validators/test_workflows_schema.py
index 2933eb3c..f159c606 100644
--- a/tests/validators/test_workflows_schema.py
+++ b/tests/validators/test_workflows_schema.py
@@ -3,7 +3,7 @@
"""Tests for Workflows schema validation.
-Based on Skill Evaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
+Based on SkillEvaluator HOW_TO_CONTRIBUTE_WORKFLOW_RULES.md specification.
"""
from pathlib import Path
@@ -23,7 +23,7 @@ class TestWorkflowsSchemaValidator:
@pytest.fixture
def valid_workflow_dir(self, tmp_path: Path) -> Path:
- """Create a valid workflow directory per Skill Evaluator spec."""
+ """Create a valid workflow directory per SkillEvaluator spec."""
workflows_dir = tmp_path / "workflows"
workflows_dir.mkdir()
workflow_dir = workflows_dir / "fastapi-setup"
@@ -712,7 +712,7 @@ metadata:
assert any("team-workflows" in msg.lower() for msg in result.messages)
def test_validate_folder_not_skill_evaluator_compliant(self, tmp_path: Path):
- """Test validation warns for non-Skill Evaluator compliant folder."""
+ """Test validation warns for non-SkillEvaluator compliant folder."""
validator = WorkflowsSchemaValidator()
# Create a kebab-case named workflow directory