Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ All notable changes to SkillEvaluator are documented in this file.

### Added

- Dataset-first Tier 3 walkthrough: prepare and review cases before an explicit
live evaluation, with a short dataset guide and concise run-settings page.
Tier 1 and Tier 2 now have short first-run paths; detailed checks, policies,
algorithms, and run contracts move to linked references with legacy anchors
preserved. Installation defaults to the lightweight base package and offers
`[all]` explicitly for all three tiers.

- Central installation guide with pip and uv PyPI installs, uv bootstrap, and
direct GitHub source options for all three tiers. Release differences, scanner
setup, and smaller installs are documented on a linked options page. Tier guides and the quickstart use the installed CLI. Navigation
groups Tier 1 Validation, Tier 1 Harness Check, Tier 2 Deduplication, and
Tier 3 Live Agent Evaluation in that order.
- Task-first documentation entry pages: a three-step keyless quickstart and a
live-evaluation walkthrough with provider tabs, readiness checks, and report
interpretation. Detailed Tier 3 run options, runtime behavior, grading,
results, and experiments now have separate reference pages; existing topic
bookmarks link to their new locations.
The README harness panel is labelled as an illustrative profile summary.
- Pre-commit hooks for offline Tier 1 skill checks: `.pre-commit-hooks.yaml`
exposes `skillevaluator-quality`, `skillevaluator-schema`, and
`skillevaluator-lint-scripts`. A hidden `skillevaluator precommit-run` entry
Expand Down Expand Up @@ -453,6 +471,7 @@ All notable changes to SkillEvaluator are documented in this file.

### Fixed

- GitLab JUnit collection includes nested skill folders in catalog reports.
- API caller now percent-encodes scalar OpenAPI path values as individual segments and rejects `.` and `..` values with a JSON input error.
- Direct Tier 1 validates the target, selected checks and LLM configuration before
preparing scanners, so configuration errors do not trigger downloads or stdout noise.
Expand Down
61 changes: 29 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,23 @@ the [NVIDIA Verified Skills pipeline](https://github.com/NVIDIA/skills).

## Get started

Install the CLI:
Install the CLI in a Python 3.12–3.14 environment:

```bash
pip install skillevaluator
```

<details><summary>Or use uv, or run from a clone</summary>
<details><summary>Or use uv</summary>

```bash
uv tool install skillevaluator
```

From a clone, with [uv](https://docs.astral.sh/uv/getting-started/installation/):

```bash
git clone --depth 1 https://github.com/NVIDIA/SkillEvaluator.git
cd SkillEvaluator
uv run --python 3.13 skillevaluator --help
uv tool install --python 3.13 skillevaluator
```

</details>

For uv setup or direct GitHub source installation, see
[Installation](https://docs.nvidia.com/skills/skillevaluator/installation).

Then check skills from your terminal, CI, or agent:

<table><tbody><tr valign="top">
Expand All @@ -58,11 +53,10 @@ Then check skills from your terminal, CI, or agent:
Quickly check your skill without an LLM key:

```bash
skillevaluator validate \
./my-skill --tiers 1
skillevaluator quality-check ./my-skill
```

Run all tiers with a [free build.nvidia.com key](#run-all-three-tiers-with-a-free-nvidia-build-key). Same command, no tiers flag:
After [all-tier setup with NVIDIA Build](#run-all-three-tiers-with-a-free-nvidia-build-key), run the combined pipeline:

```bash
skillevaluator validate \
Expand Down Expand Up @@ -102,12 +96,14 @@ See the [agent guide](https://docs.nvidia.com/skills/skillevaluator/agent-skill)

### ⚡ [Harness check](https://docs.nvidia.com/skills/skillevaluator/harness-check): will your agent load your skill?

Know in seconds: 🧠 **No LLM** &nbsp;·&nbsp; 🔑 **No key** &nbsp;·&nbsp; 🤖 **No agent run**
Requires [GitHub source](https://docs.nvidia.com/skills/skillevaluator/installation); not in PyPI 0.9.0. No model key or agent run.

```bash
skillevaluator harness-check ./my-skill
```

Illustrative summary of versioned profiles. Full output can include notes and schema diagnostics.

```text
╭─ Harness compatibility · my-skill ──────────────────────────────────────────────────────╮
│ ⚠️ codex degraded Description cut to 1,021 chars + '...' in the skill list │
Expand All @@ -119,7 +115,7 @@ skillevaluator harness-check ./my-skill
╰────────────────────────────────────────────────────────────────── ❌ 2 of 6 not loaded ─╯
```

`validate` above runs it by default, as part of Tier 1. 🧪 **Ready to go deeper?** Try a
`validate` on current source includes it in Tier 1. 🧪 **Ready to go deeper?** Try a
[live agent evaluation](https://docs.nvidia.com/skills/skillevaluator/tier3-live-evaluation) (Tier 3).

## Quickstart
Expand All @@ -132,11 +128,11 @@ skillevaluator quality-check ./my-skill

No API key, scanner, GPU or Docker is needed. It prints a score out of 100 with a
grade and the findings behind it; the passing threshold defaults to 70. This is
static quality only: security and agent impact come with the full run below. See the
static quality only; publication evidence stays `INCOMPLETE`. Security and agent impact need additional checks. See the
[keyless walkthrough](docs/quickstart.mdx#run-without-an-llm).

No skill yet? Clone the repository and use the bundled
`src/skillevaluator/tier3/reference_skills/text-analyzer`, which scores **88.8/100 (B)**.
`src/skillevaluator/tier3/reference_skills/text-analyzer`. Scores can differ by release.

### Run all three tiers with a free NVIDIA Build key

Expand All @@ -145,7 +141,7 @@ Eligible NVIDIA Developer Program members can use NVIDIA-hosted endpoints for

1. Sign in at [build.nvidia.com](https://build.nvidia.com/) and complete enrollment.
2. Open a model page, select **Get API Key**, and generate your key.
3. Install every tier, set the provider and key, then validate:
3. Complete [scanner setup](docs/installation-options.mdx#system-tools), start Docker, and [prepare a reviewed dataset](docs/prepare-dataset.mdx). Install every tier, set the provider and key, then validate:

```bash
pip install "skillevaluator[all]"
Expand All @@ -154,8 +150,9 @@ export NVIDIA_API_KEY='nvapi-...'
skillevaluator validate ./my-skill
```

Without `--tiers`, `validate` runs all three, and the one key covers them: model
checks in Tier 1, embeddings in Tier 2 and supported agents in Tier 3. Tier 3 also
Without `--tiers`, `validate` runs all three. The key covers embeddings and chat
in Tier 2 and supported agents in Tier 3; add `--llm` for model checks in Tier 1.
For uv or GitHub installations, use the matching [all-tier install](https://docs.nvidia.com/skills/skillevaluator/installation#all-tiers) instead of the pip command above. Tier 3 also
needs Docker running; add `--tiers 1,2` to skip it. More in
[Run the combined pipeline](#run-the-combined-pipeline), the
[Build walkthrough](docs/quickstart.mdx#use-nvidia-build) and [provider configuration](docs/configuration.mdx).
Expand All @@ -164,16 +161,16 @@ needs Docker running; add `--tiers 1,2` to skip it. More in

![Three-tier pipeline: skill, validation, deduplication, live evaluation, reports](https://raw.githubusercontent.com/NVIDIA/SkillEvaluator/ad2815fe78c045db91d230681d32863698da08cf/docs/assets/three-tier-overview.svg)

Each tier is independent. Add its extra to your command:
Each tier is independent. Use the [all-tier installation](https://docs.nvidia.com/skills/skillevaluator/installation#all-tiers) for all three:

| Tier | Question | Example after setup | Additional setup |
| --- | --- | --- | --- |
| Tier 1: Validation | Is the skill safe, well-formed and [harness-compatible](docs/tier1-validation.mdx#the-checks)? | `uv run skillevaluator tier1 ./my-skill --no-llm` | External scanners for full static coverage; a provider and model clients enable LLM checks |
| Tier 2: Deduplication | Does guidance repeat or overlap? | `uv run --extra tier2 skillevaluator tier2 ./my-skill` | Embeddings and chat; add `--catalog ./skill-catalog.json` for inter-skill comparison |
| Tier 3: Live Evaluation | Does the skill help the agent? | `uv run --extra tier3 skillevaluator tier3 ./my-skill` | Provider access, a supported agent, and a running sandbox (Docker by default) |
| Tier 1: Validation | Is the skill safe, well-formed and [harness-compatible](docs/tier1-reference.mdx#the-checks)? | `skillevaluator tier1 ./my-skill --no-llm` | External scanners for full static coverage; a provider and model clients enable LLM checks |
| Tier 1: Harness Check | Will the agent load the skill? | `skillevaluator harness-check ./my-skill` | GitHub source; no API key or agent run |
| Tier 2: Deduplication | Does guidance repeat or overlap? | `skillevaluator tier2 ./my-skill` | Embeddings and chat; add `--catalog ./skill-catalog.json` for inter-skill comparison |
| Tier 3: Live Agent Evaluation | Does the skill help the agent? | `skillevaluator tier3 ./my-skill` | Provider access, a supported agent, and a running sandbox (Docker by default) |

Tier 1 fetches pinned, verified SkillSpector and Gitleaks releases when they
are missing; Semgrep is optional. See [scanners](docs/installation.mdx#system-tools).
Prepare [scanners](docs/installation-options.mdx#system-tools) for your installed release; Semgrep is optional.
`--no-llm` does not remove scanner requirements; a scanner that cannot run is
`INCOMPLETE` and exits nonzero.
[SkillSpector](https://github.com/NVIDIA/SkillSpector) provides specialized skill
Expand All @@ -189,8 +186,8 @@ sources or creates one skill-grounded case with limited coverage. See
After setting up the provider, scanners, and agent sandbox, run all three tiers:

```bash
uv run --python 3.13 --extra all skillevaluator doctor --env-mode docker
uv run --python 3.13 --extra all skillevaluator validate ./my-skill
skillevaluator doctor --env-mode docker
skillevaluator validate ./my-skill
```

`doctor` checks readiness, not inference success. `validate` runs all tiers with
Expand All @@ -200,7 +197,7 @@ retain their applicable stages.

Tier 1 gates `validate`. Tier 2 gates unless `--no-block-on-dedup` is set;
Tier 3 gates only with `--block-on-agent-eval`. Model and managed-sandbox usage
can incur charges; see [runtime and cost](docs/tier3-live-evaluation.mdx#plan-for-cost).
can incur charges; see [runtime and cost](docs/tier3-run-reference.mdx#plan-for-cost).

Standalone generation needs substantive `evals/EVAL.md` guidance, a `--prompt`
file with task requests and outcomes, or matching retained traces. `--force`
Expand All @@ -209,12 +206,12 @@ below replaces the autopilot starter; `--refine` refines it. Explicit
unauthored negatives.

```bash
uv run --python 3.13 --extra tier3 skillevaluator tier3 create-eval-dataset ./my-skill --full --prompt eval-guidance.md --force
skillevaluator tier3 create-eval-dataset ./my-skill --full --prompt eval-guidance.md --force
```

## Run from a source checkout

Prefix commands with `uv run --python 3.13`; see [extras](docs/installation.mdx#choosing-extras).
For an editable environment, follow the [development setup](docs/developer-guide.mdx#set-up-a-development-environment).

## Research and citation

Expand Down
36 changes: 31 additions & 5 deletions docs/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,24 @@ folder holds MDX pages published to <https://docs.nvidia.com/skills/skillevaluat
## What lives here

- `index.mdx` — landing page and three-tier overview (Fern slug `/`)
- `quickstart.mdx` — install, one provider and key, and first runs
- `quickstart.mdx` — check a bundled example with the installed CLI
- `starter-demo.mdx` — reproducible public terminal starter, output checks and adaptation
- `installation.mdx` — extras, uv, pip, Docker, requirements
- `installation.mdx` — shared pip, uv, and GitHub installation paths and verification
- `installation-options.mdx` — upgrades, Docker, release differences, extras, and scanner setup
- `configuration.mdx` — providers, embeddings, and Tier 3 credential roles
- `agent-skill.mdx` — installing and using the `skills/skillevaluator` agent skill
- `tier1-validation.mdx` — Tier 1 checks, profiles, scanner setup, exit codes
- `tier2-deduplication.mdx` — Tier 2 dedup commands, catalogs, thresholds, limits
- `tier3-live-evaluation.mdx` — Tier 3 live agent evaluation workflow
- `tier1-validation.mdx` — first static run, report, and next steps
- `tier1-reference.mdx` — detailed checks, policies, scanners, and exit semantics
- `tier2-deduplication.mdx` — choose a scope, run deduplication, and read findings
- `tier2-reference.mdx` — chunking, catalogs, thresholds, algorithms, and limits
- `tier3-live-evaluation.mdx` — first Tier 3 comparison; keep this task-focused
- `prepare-dataset.mdx` — author, generate, review, and validate cases before trials
- `tier3-run-options.mdx` — choose an agent and attempt count for reviewed cases
- `tier3-run-reference.mdx` — staging contracts, run settings, budgets, and repeat comparisons
- `tier3-runtime.mdx` — backend compatibility, runtime contracts, and troubleshooting
- `tier3-grading.mdx` — judges, evidence budgets, retries, and fallback policies
- `tier3-results.mdx` — scores, applicability, verdicts, and incomplete evidence
- `tier3-experiments.mdx` — skill interaction and activation experiments
- `grader-validation.mdx` — independent-label qualification of the shipped verifier
- `eval-datasets.mdx` — the `evals/` contract, dataset generation, run policy
- `agents-and-sandboxes.mdx` — agents, environment backends, local mode, readiness
Expand Down Expand Up @@ -46,6 +56,22 @@ Navigation order, page titles, and slugs are defined in

## Rules for editing

Keep entry pages focused on the reader's next action: setup, a runnable command,
the expected output, and a next step. Put advanced contracts and edge cases in
the linked reference page. Use Steps for ordered actions, Tabs for exclusive
choices, and Accordions for optional detail; do not put a reference chapter
ahead of the first runnable example.

Keep pip, uv, uv bootstrap, and direct repository installation in
`installation.mdx`; keep upgrades and advanced setup in
`installation-options.mdx`. Default to the lightweight `skillevaluator` install;
keep `skillevaluator[all]` as an explicit opt-in for all tiers. Distinguish the published PyPI release from
unreleased GitHub features and dependencies. Tier guides and the
quickstart link there and use the installed `skillevaluator` command. Avoid
copying package-manager recipes into each tier or mixing `uv run`, `uv tool
install`, and pip in a single first-run workflow. Contributor checkout commands
belong in the development guide.

1. **Every page needs YAML frontmatter** with `title` and `description`. The
`title` renders as the page H1 — do **not** also add a `# Heading` in the
body, or the title appears twice.
Expand Down
20 changes: 15 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ contributors making non-trivial edits.
## Layout

- `index.mdx` — landing page and three-tier overview
- `quickstart.mdx` — install, one provider and key, and first runs
- `installation.mdx` — extras, uv, pip, Docker, requirements
- `quickstart.mdx` — check a bundled example with the installed CLI
- `installation.mdx` — shared pip, uv, and GitHub installation paths and verification
- `installation-options.mdx` — upgrades, Docker, release differences, extras, and scanner setup
- `configuration.mdx` — providers, embeddings, and Tier 3 credential roles
- `tier1-validation.mdx` — checks, profiles, scanner setup, exit codes
- `tier2-deduplication.mdx` — dedup commands, catalogs, thresholds, limits
- `tier3-live-evaluation.mdx` — skill evaluation with live agents
- `tier1-validation.mdx` — first static run, report, and next steps
- `tier1-reference.mdx` — detailed checks, policies, scanners, and exit semantics
- `tier2-deduplication.mdx` — choose a scope, run deduplication, and read findings
- `tier2-reference.mdx` — chunking, catalogs, thresholds, algorithms, and limits
- `tier3-live-evaluation.mdx` — first live comparison, from model setup to report
- `prepare-dataset.mdx` — author, generate, review, and validate cases before trials
- `tier3-run-options.mdx` — choose an agent and attempt count for reviewed cases
- `tier3-run-reference.mdx` — staging contracts, run settings, budgets, and repeat comparisons
- `tier3-runtime.mdx` — runtime contracts, backend compatibility, and troubleshooting
- `tier3-grading.mdx` — judges, evidence budgets, retries, and fallback models
- `tier3-results.mdx` — scores, applicability, verdicts, and incomplete results
- `tier3-experiments.mdx` — skill interactions and activation validation
- `eval-datasets.mdx` — the `evals/` contract, dataset generation, run policy
- `agents-and-sandboxes.mdx` — agents, environment backends, local mode, readiness
- `custom-graders.mdx` — bring-your-own graders and native Harbor tasks
Expand Down
14 changes: 4 additions & 10 deletions docs/agent-skill.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,9 @@ npx skills list
### Install the CLI

The skill folder contains instructions for your agent; the checks run in the
`skillevaluator` CLI. Install it before you ask the agent to run a check:

```bash
pip install --upgrade skillevaluator
```

`uv tool install skillevaluator` works too. See
[Installation](/skills/skillevaluator/installation) for Python requirements and
the extras that add Tier 2 and Tier 3.
`skillevaluator` CLI. Follow [Installation](/skills/skillevaluator/installation#install)
before asking the agent to run a check. The lightweight installation supports basic checks; choose the
[all-tier option](/skills/skillevaluator/installation#all-tiers) for Tier 2 and Tier 3.

### Start a new agent session

Expand Down Expand Up @@ -235,7 +229,7 @@ so it needs a provider key on the host even when launched from inside your agent
## Next steps

<CardGroup cols={2}>
<Card title="Tier 3: Live Evaluation" icon="flask" href="/skills/skillevaluator/tier3-live-evaluation">
<Card title="Tier 3: Live Agent Evaluation" icon="flask" href="/skills/skillevaluator/tier3-live-evaluation">
How baseline and with-skill runs are scored, and what Skill Lift means.
</Card>
<Card title="Eval Datasets" icon="list-check" href="/skills/skillevaluator/eval-datasets">
Expand Down
Loading
Loading