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: simplify repository CI onboarding (#443)

Christopher Kevin3e9e82831435
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 96d10119..4669f695 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -116,6 +116,11 @@ All notable changes to SkillEvaluator are documented in this file.
`scripts/ci/smoke_openclaw_plugins.py` repeats these checks against real
plugin sources without executing plugin code.
+- Simplify repository CI onboarding around quality and security checks with
+ no model key required,
+ keeping optional LLM checks and hosted feedback separate. Preserve opt-in
+ all-tier setup and report contracts in an Advanced CI reference.
+
### Changed
- Write Tier 3 accuracy deductions as plain-language reasons, identify findings
diff --git a/README.md b/README.md
index cc41cbd0..12644504 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ the [NVIDIA Verified Skills pipeline](https://github.com/NVIDIA/skills).
## Bring skill evaluation to your repository
-Check changed skills in GitHub or GitLab with Tier 1 quality checks, SkillSpector
+Check changed skills in GitHub or GitLab with quality checks, SkillSpector
security scanning and reports. Choose folders and thresholds; no evaluator code
to import.
diff --git a/ci/README.md b/ci/README.md
index 88ce3d16..dcedfd69 100644
--- a/ci/README.md
+++ b/ci/README.md
@@ -1,8 +1,9 @@
# Reusable repository CI
-This directory supplies the shared Tier 1 CI runtime and consumer onboarding
-templates. Start with [repository integration](../docs/repository-integration.mdx)
-for GitHub Actions or GitLab CI/CD. The GitLab adapter is in `ci/gitlab/`;
+This directory supplies the shared CI runtime for quality and security checks,
+plus consumer onboarding templates. Start with
+[repository integration](../docs/repository-integration.mdx) for GitHub Actions
+or GitLab CI/CD. The GitLab adapter is in `ci/gitlab/`;
the image and report generation are shared by both platforms.
The upstream workflow release and public package must be reviewed and published
before consumers can use this path. Source templates are not runnable while
@@ -32,7 +33,7 @@ policy label. Profile names do not control network access or report visibility.
| --- | --- |
| `paths` | `skills`; up to 100 newline-separated repository-relative skill directories or roots |
| `scan-mode` | `auto`: affected skills on PRs, all configured skills on pushes/manual runs; `all` overrides selection |
-| `llm` | `false`; static Tier 1 requires no model key |
+| `llm` | `false`; static checks require no model key |
| `artifact-name` | Keep `skill-evaluator-tier1` for the optional publisher |
| `report-base-url` | Optional own Pages URL, only after hosted publication is configured |
| `scan-workers` | `4`; skills scanned at once, from 1 to 16. `1` scans one skill at a time |
@@ -288,7 +289,7 @@ placeholders until then.
runs read that cache but never write it. Release builds do not reuse cached
layers, so `git` and `ca-certificates` come from the Debian packages current
at release time.
- Build the complete Tier 1 runtime with required external scanners. The base
+ Build the shared CI runtime with its required external scanners. The base
image digest, uv bootstrap, scanner runtime dependencies and SkillSpector
build dependencies are pinned; scanner installs require package hashes.
Confirm the resulting digest's source revision and the installed scanner
diff --git a/ci/templates/README.md b/ci/templates/README.md
index c7fdf41f..829e9a77 100644
--- a/ci/templates/README.md
+++ b/ci/templates/README.md
@@ -61,41 +61,8 @@ Enable the platform's CI service, allow the referenced workflows or includes,
and provide a compatible runner. The [platform guides](../../docs/repository-integration.mdx)
cover results and merge-gating settings.
+## Advanced CI
-## Candidate all-tier templates
-
-The unreleased all-tier setup uses two thin consumer files per platform:
-
-| Platform | Evaluation | Trusted feedback |
-| --- | --- | --- |
-| GitHub | [skill-checks-all-tiers.yml](all-tiers/skill-checks-all-tiers.yml) | [feedback-all-tiers.yml](all-tiers/feedback-all-tiers.yml) |
-| GitLab | [gitlab-all-tiers.yml](all-tiers/gitlab-all-tiers.yml) | [gitlab-feedback-all-tiers.yml](all-tiers/gitlab-feedback-all-tiers.yml) |
-
-These files contain placeholders. Use a reviewed schema-version 2 release
-with the platform's all-tier capability and immutable workflow, tools and
-image pins. Released 0.8.0 downloads remain Tier 1 only. Install a reviewed
-candidate build and use `ci init --tiers 1,2,3` to select its bundled
-`ci-release-all-tiers.json`; use `--release` to review an alternate descriptor.
-The all-tier CLI renders these references and approves the exact GitHub caller blob. See
-[the onboarding guide](../../docs/cli-onboarding.mdx#opt-in-to-three-tier-ci).
-Merge the trusted feedback entrypoint onto the default branch before the
-first demo PR/MR. On GitLab, merging into an existing root `.gitlab-ci.yml`
-means replacing the Tier 1 include with exactly the two all-tier includes,
-keeping `test` in any `stages` list, and starting every other job's rules with
-`- if: '$SKILL_EVAL_FEEDBACK == "true"'` / `when: never`, because trusted
-feedback runs as a default-branch pipeline. Merge those guards to the default
-branch before the setup MR; see the
-[GitLab guide](../../docs/gitlab-ci.mdx#merge-into-an-existing-root-configuration).
-Only Tier 1 gates CI; Tier 2 and Tier 3 remain advisory, including failed or
-incomplete outcomes, with their native evidence retained.
-The CLI's `--tier3-required`, GitHub's `tier3-required` input and GitLab's
-`SKILL_EVAL_TIER3_REQUIRED` variable are deprecated and ignored; they cannot
-make Tier 3 blocking. Reports expire after 14 days, Docker is the default, and
-native local mode is also supported.
-
-Maintainers must refresh the candidate descriptor's `workflow_ref`,
-`feedback_ref`, `gitlab_ref` and `tools_ref` together after workflow, runtime or
-feedback fixes, so new consumers receive the reviewed implementation.
-`evaluator_version` and `runtime_lock_sha256` must match the package version and
-`uv.lock` at `tools_ref`. Keep the image digest independently pinned to the
-reviewed Tier 1 image.
+The unreleased, explicitly enabled all-tier integration has separate
+[setup and maintainer instructions](all-tiers/README.md). Released templates
+above provide quality and security checks without a model key.
diff --git a/ci/templates/all-tiers/README.md b/ci/templates/all-tiers/README.md
new file mode 100644
index 00000000..fd150f95
--- /dev/null
+++ b/ci/templates/all-tiers/README.md
@@ -0,0 +1,608 @@
+# Advanced CI setup and maintainer reference
+
+This is the explicitly enabled, unreleased all-tier integration. For standard
+no-key Tier 1 onboarding, use the [template catalog](../README.md),
+[GitHub guide](../../../docs/github-actions.mdx) or
+[GitLab guide](../../../docs/gitlab-ci.mdx).
+
+Released 0.8.0 bundles and plain `skillevaluator ci init` remain Tier 1 only.
+A successful setup command is configuration preparation, not a completed CI
+run. Inspect real provider-backed outputs before claiming all tiers passed.
+
+## Candidate templates
+
+The unreleased all-tier setup uses two thin consumer files per platform:
+
+| Platform | Evaluation | Trusted feedback |
+| --- | --- | --- |
+| GitHub | [skill-checks-all-tiers.yml](skill-checks-all-tiers.yml) | [feedback-all-tiers.yml](feedback-all-tiers.yml) |
+| GitLab | [gitlab-all-tiers.yml](gitlab-all-tiers.yml) | [gitlab-feedback-all-tiers.yml](gitlab-feedback-all-tiers.yml) |
+
+These files contain placeholders. Use a reviewed schema-version 2 release
+with the platform's all-tier capability and immutable workflow, tools and
+image pins. Released 0.8.0 downloads remain Tier 1 only. Install a reviewed
+candidate build and use `ci init --tiers 1,2,3` to select its bundled
+`ci-release-all-tiers.json`; use `--release` to review an alternate descriptor.
+The all-tier CLI renders these references and approves the exact GitHub caller blob. See
+[the onboarding guide](#opt-in-to-three-tier-ci).
+Merge the trusted feedback entrypoint onto the default branch before the
+first demo PR/MR. On GitLab, merging into an existing root `.gitlab-ci.yml`
+means replacing the Tier 1 include with exactly the two all-tier includes,
+keeping `test` in any `stages` list, and starting every other job's rules with
+`- if: '$SKILL_EVAL_FEEDBACK == "true"'` / `when: never`, because trusted
+feedback runs as a default-branch pipeline. Merge those guards to the default
+branch before the setup MR; see the
+[GitLab guide](#merge-into-an-existing-root-configuration).
+Only Tier 1 gates CI; Tier 2 and Tier 3 remain advisory, including failed or
+incomplete outcomes, with their native evidence retained.
+The CLI's `--tier3-required`, GitHub's `tier3-required` input and GitLab's
+`SKILL_EVAL_TIER3_REQUIRED` variable are deprecated and ignored; they cannot
+make Tier 3 blocking. Reports expire after 14 days, Docker is the default, and
+native local mode is also supported.
+
+Maintainers must refresh the candidate descriptor's `workflow_ref`,
+`feedback_ref`, `gitlab_ref` and `tools_ref` together after workflow, runtime or
+feedback fixes, so new consumers receive the reviewed implementation.
+`evaluator_version` and `runtime_lock_sha256` must match the package version and
+`uv.lock` at `tools_ref`. Keep the image digest independently pinned to the
+reviewed Tier 1 image.
+
+## Opt in to three-tier CI
+
+The new all-tier path supports **GitHub and GitLab** with two small consumer
+files. Tier 1 is the only required tier; Tier 2 and Tier 3 are advisory, including
+failed or incomplete results. `--tier3-required` is deprecated and ignored; it
+cannot make Tier 3 block CI. Docker is the default. `--env-mode local` runs native
+agent CLIs on the selected CI runner. This setup supports these two modes only.
+
+This is an unreleased capability. Released 0.8.0 bundles and the default
+`ci init` setup remain Tier 1 only. Install a reviewed candidate build that
+includes the all-tier CLI and its bundled `ci-release-all-tiers.json`, then
+opt in with `--tiers 1,2,3`. The CLI selects that descriptor automatically.
+It must declare schema version 2 and `all-tiers-github` or `all-tiers-gitlab`,
+with immutable workflow, feedback, tools and image references. A Tier 1
+descriptor cannot enable all-tier setup.
+
+```bash
+skillevaluator ci init --tiers 1,2,3 \
+ --platform github --provider openai --paths skills --mode preview --no-input --show-files
+skillevaluator ci init --tiers 1,2,3 \
+ --platform github --provider openai --paths skills --mode pr --no-input
+```
+
+To review an alternate candidate descriptor, add
+`--release ./reviewed-ci-release.json` to either command. Review its immutable
+references before using it; the option does not install the candidate CLI.
+
+For GitLab 17.0 or later, select `--platform gitlab`. GitHub uses your local
+`gh` login; GitLab uses only a process-scoped `SKILLEVALUATOR_GITLAB_TOKEN`
+for the repository's host, never a generic `GITLAB_TOKEN`. Origins other than
+github.com need `--tiers 1,2,3` or `--platform gitlab` before any API request.
+GitLab setup does not require `glab`.
+`--mode preview` lists the files it would add or change without writing
+anything; add `--show-files` to print their contents.
+`--mode save` writes the two local configuration files; `--mode pr` opens the
+setup review through the platform API. These commands prepare CI configuration;
+they do not run the evaluators on your laptop.
+
+| Local command | Result | Evidence still needed |
+| --- | --- | --- |
+| `ci init` | Prepare the evaluation and trusted feedback entrypoints | Merge the setup and configure the CI runner and secrets |
+| `ci status --tiers 1,2,3` | Read default-branch configuration and latest pipeline status | Inspect the actual CI reports and gates |
+| `ci demo --tiers 1,2,3` | Open a small skill-change PR or MR | Inspect the Tier 1 gate, advisory Tier 2/3 results, comment, and retained reports |
+
+Before the first demo, commit native datasets under each skill's `evals/`
+directory; see [Evaluation Datasets](../../../docs/eval-datasets.mdx). CI reuses those cases
+with full positive and negative paired coverage. It does not generate cases or
+use autopilot. Missing datasets or credentials produce actionable incomplete
+results; they do not count as a passing tier. A passing Tier 1 CI gate does not
+mean the advisory tiers completed or passed. Central dataset mappings are not
+supported by this initial workflow.
+
+The trusted PR or MR comment shows one summary table with a row per skill:
+Static and Security Validation, Deduplication, and Live Agent Evaluation each
+get a one-line status, issue count and main finding or blocker. Counts remain
+unknown for incomplete or missing evidence. Each skill has one **Report** link
+to the run's combined artifact; normal repository authentication and artifact
+expiry apply. Download and extract it, then open `index.html` for the detailed
+aggregate and native reports. Hosted HTML remains optional. See
+[Reports & Results](#retained-three-tier-ci-evidence) for an example.
+
+Create the `skillevaluator` execution environment and store provider secrets
+there (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, or `NVIDIA_API_KEY`). GitHub also
+supports the generated explicit mappings from repository CI secrets; scoped
+environment secrets are recommended. On GitHub,
+provider-backed jobs require the initiating actor to have repository write,
+maintain, or admin permission, as verified through GitHub's API. They also
+require the exact current same-repository PR head or current default-branch
+commit. These checks run again after entering the execution environment.
+Environment reviewers are optional: configure them if your repository wants
+manual approval; automatic checks do not require a paid reviewer-protection
+feature. Restrict repository and CI workflow write access to trusted maintainers.
+GitLab's protected execution and feedback prerequisites are described below.
+Choose matching chat and embedding configuration with `--provider`,
+`--embedding-provider`, `--model`, and `--embedding-model`; the default embedding
+provider follows OpenAI or NVIDIA Build; Anthropic defaults to OpenAI embeddings
+and needs that provider's key too. The shared `--model` configures chat/judging
+and the native agent provider default; agent-specific models in committed eval
+configuration keep their native override semantics. `--agents` overrides the
+native provider default: OpenAI uses Codex, Anthropic uses Claude Code, and
+NVIDIA Build uses OpenCode. CI installs Tier 2 or Tier 3 extras from the reviewed
+tools commit. Tier 3 checks the selected environment with `doctor`; local mode
+also installs pinned native CLIs into an isolated runtime directory.
+
+`--timeout-minutes` sets the native job duration (10 to 360, 300 by default).
+The evaluator's runtime budget ends 20 minutes, or a quarter of a shorter
+duration, earlier so setup and retained evidence fit. If setup outlasts that
+reserve and GitLab stops the native job at its timeout, the job uploads no
+native evidence and the aggregate reports that tier's evidence as missing.
+GitLab receives a literal duration
+so the configuration also works on GitLab 17.8. `--runner` chooses a GitHub
+runner label or GitLab runner tag. GitHub defaults
+to `ubuntu-24.04`; GitLab defaults to a configured `docker` tag. Docker mode
+requires a working daemon, Docker CLI, Compose v2 and Buildx; GitLab's included Docker-in-Docker service requires
+a privileged runner that shares `/certs/client` for the daemon's TLS client
+certificates. Local mode needs a compatible native runner with Node/npm;
+the generated GitLab local configuration removes the Docker service. Cloud
+sandbox backends are outside this onboarding path.
+
+Merge both generated files onto the default branch **before opening the demo**.
+The first setup PR/MR can show evaluation checks, but automatic comments need
+the trusted feedback entrypoint to exist on the default branch. GitLab also
+needs a protected default branch and a project access token with `api` scope
+and the Maintainer role, stored as a scoped, protected
+`SKILLEVALUATOR_GITLAB_TOKEN` limited to the `skillevaluator-feedback`
+environment. GitLab before 18.4 also needs a separate project Reporter/read_api
+`SKILLEVALUATOR_GITLAB_READ_TOKEN`, scoped to the protected execution environment
+(`skillevaluator` by default). The read credential is removed before provider work.
+Newer servers use `CI_JOB_TOKEN` by default. Online init/status report the server
+version prerequisite; offline preview/save leave admission readiness unverified.
+The MR jobs receive no comment token. GitLab's feedback request uses its
+short-lived job token; the initiating user needs permission to create a pipeline
+on the protected default branch, pass pipeline variables and run the protected
+feedback environment. Without it, the request is an allowed failure: no comment
+is posted and the Tier 1 gate is unchanged. GitLab's provider-backed and
+feedback jobs record no deployments. Do not add deployment approval rules to
+their environments: depending on the GitLab version, approvals either do not
+gate these jobs or turn them into manual jobs. Restrict them with the protected
+environments' deploy access.
+See the platform pages for
+[GitHub](#github-checks-and-feedback) and
+[GitLab](#gitlab-checks-and-feedback) details.
+
+### Upgrade a Tier 1-only consumer
+
+Keep the existing workflow while previewing the explicit all-tier setup with a
+compatible descriptor. Review the new evaluator and feedback pins, provider,
+runner, protected environment, paths and Tier 1-only gate. Remove or disable
+the old Tier 1 caller in the setup review once the new all-tier caller covers
+the same roots, so a PR does not run two independent scans. Merge the new
+feedback entrypoint and then open a fresh demo. Existing released bundles and
+Tier 1-only callers keep their current behavior.
+
+On GitLab, the Tier 1 and all-tier configurations share the root
+`.gitlab-ci.yml`, which the CLI never replaces. `--mode preview` prints the
+rendered files and the merge steps; `--mode save` and `--mode pr` stop with an
+error while a different root file exists. First guard your other jobs with the
+`SKILL_EVAL_FEEDBACK` rule and merge those guards to the default branch: the
+setup MR's own feedback request runs the default branch's current
+configuration. Then, in your setup MR, replace the Tier 1 `skill-evaluation.yml`
+include with the two rendered includes, add the rendered variables, workflow
+rules and job overrides, keep `test` in any `stages` list, and add
+`.gitlab/skill-feedback.yml`. See
+[Merge into an existing root configuration](#merge-into-an-existing-root-configuration).
+
+## GitHub checks and feedback
+
+The opt-in [CLI setup](#opt-in-to-three-tier-ci) creates
+`.github/workflows/skill-checks-all-tiers.yml` and
+`.github/workflows/feedback-all-tiers.yml`. This unreleased path needs a reviewed
+candidate build and its bundled capability-bearing descriptor; the 0.8.0
+[released downloads](../../bundles/0.8.0/README.md) remain Tier 1 only. `--tiers 1,2,3` selects the candidate's
+bundled descriptor; `--release` can override it for an alternate reviewed candidate.
+The [candidate source templates](https://github.com/NVIDIA/SkillEvaluator/tree/main/ci/templates)
+contain placeholders and must be filled with reviewed immutable references.
+
+The shared `evaluate-all-tiers.yml` and `feedback-all-tiers.yml` files define
+reusable `workflow_call` workflows. Adding them to SkillEvaluator does not
+enable checks or comments on SkillEvaluator's own pull requests. Each repository,
+including SkillEvaluator itself, needs the generated caller pair committed
+there, with the trusted feedback caller on its default branch.
+
+The generated GitHub all-tier caller (`skillevaluator ci init --tiers 1,2,3`)
+also carries `paths` filters. A pull request that changes nothing under the
+selected skill folders or the two caller workflows starts no run and receives
+no comment.
+
+SkillEvaluator evaluates its own `skills/` collection with
+`.github/workflows/skill-checks-all-tiers.yml`. Its consumer feedback listener is
+`.github/workflows/skill-feedback-all-tiers.yml`, preserving the public reusable
+publisher at `.github/workflows/feedback-all-tiers.yml`. The CLI selects this
+alternate filename when the conventional feedback file already defines a
+reusable workflow, and `ci status --tiers 1,2,3` recognizes it.
+
+The repository callers pin a reviewed `main` commit for the evaluator workflows
+and tools, and the verified released Tier 1 image. They use Docker, NVIDIA Build,
+one attempt and one concurrent task, and the committed native datasets. The
+caller's explicit `model` input selects chat, judging and the default live-agent
+model together; embeddings use the separate `embedding-model` input. Add
+`NVIDIA_API_KEY` as a repository Actions secret before expecting provider-backed
+results. Without it, Tier 2 and Tier 3
+remain incomplete/advisory; a passing Tier 1 gate is not an all-tier evaluation
+pass. Forks retain keyless Tier 1 checks. On PRs, ordinary software changes
+select no skills, skill changes select the affected skills, and CI configuration
+changes select the collection. Pushes to `main` and manual runs scan the collection.
+
+If a provider returns HTTP 404, verify that the selected model accepts chat
+requests with your account. Presence in the public model catalog alone does not
+prove serving availability. Change the caller's `model` input to an accessible
+model and refresh `trusted-caller-blobs` before retrying; do not change global
+provider defaults to troubleshoot one repository.
+
+The setup PR can exercise checks, but its first automatic comment requires
+the consumer feedback listener on `main` and a subsequent PR run. Repository
+maintainers configure branch protection separately if they want the Tier 1
+aggregate check to block merges.
+
+The evaluation workflow calls the existing hardened Tier 1 container workflow
+at the same evaluator revision. Tier 2 and Tier 3 run independently with
+`fail-fast: false`, Python 3.12, and only their tier's installed extras. Native
+evaluator tools come from the pinned tools commit, while the candidate is
+checked out separately at the exact PR head. Provider-backed jobs require the
+current same-repository PR head or current default-branch commit, plus proven
+write, maintain, or admin repository permission for the initiating actor.
+Both actor permission and commit freshness are checked again before secrets
+are used. Environment-scoped provider secrets in `skillevaluator` are
+recommended; explicit mappings from repository CI secrets are also supported.
+Reviewers are optional: repositories can add an approval rule when they want one, while
+automatic execution does not depend on that GitHub plan feature. Protect
+repository and CI workflow write access as part of maintaining this boundary.
+Fork PRs retain keyless Tier 1 evidence. Provider-backed Tier 2/3 execution needs
+an eligible same-repository run; unavailable evidence remains advisory and visible.
+
+The aggregate job always runs, and only Tier 1 determines its required result.
+Tier 2 and Tier 3 remain advisory when they fail or are incomplete; their native
+statuses and reports remain visible. The deprecated `tier3-required` input is
+ignored, including when set to `true`; it cannot make Tier 3 block CI. Keep the
+aggregate check required in branch protection to enforce Tier 1, and review its
+actual check name in a completed run. Reports are retained for 14
+days in `skill-evaluator-results-attempt-N`, including failed and incomplete
+results, with each tier's native JSON and HTML. **Re-run failed jobs** reuses
+the latest evidence from tier jobs that were not rerun, and records each tier's
+producing attempt as `source_attempt`. Artifact download links require
+normal repository access; they do not create public report hosting.
+
+The feedback workflow starts from `workflow_run` on the default branch. It
+checks out only pinned trusted tools, validates the producer and current PR
+head, and updates one comment with a single summary table. Each skill has
+one-line results for Static and Security Validation, Deduplication, and Live
+Agent Evaluation, plus one **Report** link to the exact run's combined private
+artifact. The lines show status, recorded issue count and the main finding or
+blocker; incomplete or missing evidence shows an unknown count. Download and
+extract the artifact, then open `index.html` for the detailed aggregate and
+native reports. See the
+[comment and report contract](#retained-three-tier-ci-evidence).
+The workflow never checks out the candidate with a write token. Fork PR runs and
+producer attempts superseded by a re-run are skipped without a comment rather than
+failed. The workflow defers only to a report comment whose run marker names a
+newer same-repository producer run or attempt of this caller for the same pull
+request head. Otherwise it updates one existing report comment in place,
+preferring one whose marker verifies, and leaves any other report comments
+untouched. Report comments with unverifiable markers are never deferred to.
+Merge this feedback file onto the default branch before expecting the first
+automatic comment. Changes to the caller must refresh its approved Git blob in
+`trusted-caller-blobs`.
+
+A missing provider key, unavailable runtime, or missing committed native dataset
+must remain visible as an incomplete or needs-action result. Local `ci init`,
+`ci status`, and `ci demo` are setup and inspection commands; a successful setup
+is not evidence that the three tiers passed. Optional Pages hosting remains a
+separate opt-in; artifact feedback works without it.
+
+## GitLab checks and feedback
+
+This path requires **GitLab 17.0 or later** for validated include inputs.
+The unreleased [all-tier CLI path](#opt-in-to-three-tier-ci)
+creates two thin files: `.gitlab-ci.yml` includes the pinned shared evaluation
+configuration, and `.gitlab/skill-feedback.yml` includes pinned trusted feedback.
+Install a reviewed candidate build; `--tiers 1,2,3` selects its bundled
+schema-version 2 descriptor declaring `all-tiers-gitlab`. Use `--release` only
+to override it with an alternate reviewed descriptor. Released 0.8.0
+[released configurations](../../bundles/0.8.0/README.md) remain Tier 1 only. The CLI never replaces an existing,
+different `.gitlab-ci.yml`, such as a released Tier 1 setup: `--mode preview`
+prints the rendered files and the merge steps, and `--mode save` and `--mode pr`
+stop with an error until you merge by hand.
+
+### Merge into an existing root configuration
+
+The trusted feedback job validates the root `.gitlab-ci.yml` of the MR
+pipeline, so a merged file must keep this shape:
+
+1. Make `include` exactly the two rendered entries: the pinned `all-tiers.yml`
+ remote and the `.gitlab/skill-feedback.yml` local include with its rule.
+ Remove the Tier 1 `skill-evaluation.yml` include, which defines the same
+ `skill-evaluation` job, and any other include. Feedback rejects other
+ includes and reads the root as plain YAML, so do not use `!reference` tags.
+2. Add the rendered `variables`, replacing earlier `SKILL_EVAL_*` values.
+ If the root defines `stages`, keep `test` in the list: every SkillEvaluator
+ job uses stage `test`, and GitLab rejects a job whose stage is not listed.
+3. Use the rendered `workflow: rules`. Keep your own workflow rules after the
+ two `SKILL_EVAL_FEEDBACK` rules and before the final `when: never`, and
+ only if they still allow merge-request, default-branch and web pipelines.
+4. Replace any `skill-evaluation` override with the rendered
+ `skill-evaluation` and `skill-evaluation-native` entries.
+5. Guard every other job. Trusted feedback runs as a pipeline on the protected
+ default branch, so an unguarded job, such as a deployment gated on the
+ default branch, would run again for every MR. Start each job's rules with
+ the guard. A job that has neither `rules` nor `only`/`except` gets the guard
+ followed by `- when: on_success`:
+
+ ```yaml
+ deploy:
+ script: ./deploy.sh
+ rules:
+ - if: '$SKILL_EVAL_FEEDBACK == "true"'
+ when: never
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
+ lint:
+ script: make lint
+ rules:
+ - if: '$SKILL_EVAL_FEEDBACK == "true"'
+ when: never
+ - when: on_success
+ ```
+
+ Merge these guards to the default branch before the setup MR. Its own
+ feedback request starts a pipeline from the current default-branch
+ configuration, and the guard is inert until `SKILL_EVAL_FEEDBACK` is set.
+ Write these guards as rules: `.skill-evaluation-not-feedback` is defined by
+ the all-tiers include, so until the setup MR merges,
+ `extends: .skill-evaluation-not-feedback` fails validation with
+ `unknown keys in extends`. After that, a job added later with neither
+ `rules` nor `only`/`except` can use that `extends` instead.
+6. Add `.gitlab/skill-feedback.yml` as rendered and merge both files through
+ a setup MR. After it merges, `skillevaluator ci status --tiers 1,2,3`
+ reports whether the root is recognized and warns about unguarded root jobs.
+
+The shared configuration runs the pinned Tier 1 image plus parallel native
+Tier 2 and Tier 3 jobs. Tier 2 runs without a Docker service. Only Tier 1 is
+required; Tier 2 and Tier 3 are advisory,
+including failed or incomplete outcomes. The deprecated
+`SKILL_EVAL_TIER3_REQUIRED` variable is ignored, including when set to `'true'`;
+it cannot make Tier 3 block CI. Native execution jobs retain failed outcomes
+without stopping their parallel sibling. The aggregate is the required merge
+gate and follows Tier 1 only: failed, incomplete or missing Tier 1 evidence
+fails it, while advisory outcomes remain visible in retained reports.
+The always-running aggregate job
+retains `skill-evaluator-results/ci-results.json`, `index.html`, `summary.md`,
+and each tier's native reports for 14 days. Reports stay behind your normal
+GitLab artifact access controls.
+
+Trusted MR feedback uses one summary table with a row per skill. Each row has
+one-line results for Static and Security Validation, Deduplication, and Live
+Agent Evaluation, with status, recorded issue count and the main finding or
+blocker. Incomplete or missing evidence shows an unknown count. One **Report**
+link per skill downloads the combined aggregate artifact; extract it and open
+`index.html` for the detailed aggregate and native reports. Separate tier
+sections and per-tier links stay out of the comment. See the
+[comment and report contract](#retained-three-tier-ci-evidence).
+
+Configure a native-job runner matching `SKILL_EVAL_RUNNER` (default `docker`).
+Tier 1, aggregation and feedback jobs have no runner tags and also need a
+compatible runner that accepts untagged jobs and supports their container
+images. This remains necessary when a Linux or macOS shell runner runs the
+native jobs in local mode. Configure the protected
+`SKILL_EVAL_ENVIRONMENT` (default `skillevaluator`) and provider secrets scoped
+to that execution environment. The native jobs and the trusted feedback job
+use `environment: action: prepare`: each receives its environment's scoped
+variables and access protection but records no deployment, so GitLab's
+**Prevent outdated deployment jobs** setting cannot drop an older MR's jobs.
+Do not add deployment approval rules to these environments. Depending on the
+GitLab version and its `prevent_blocking_non_deployment_jobs` feature flag,
+approval rules either do not gate these jobs or turn them into manual jobs
+that wait to be run. Restrict who can run them with the protected
+environments' deploy access. The Tier 3 Docker
+service needs a privileged runner with Docker-in-Docker enabled. The daemon accepts only TLS clients on
+port 2376 (`DOCKER_TLS_CERTDIR: /certs`), so agent containers cannot use the
+Docker API. Configure the runner with `volumes = ["/certs/client"]` so the job
+can read the generated client certificates. Docker mode also requires the Docker CLI,
+Compose v2 and Buildx; the shared job installs these clients in supported root
+Linux containers and checks readiness before evaluation. For local mode the generated caller
+removes that service; use a Linux or macOS native runner with Python 3.12,
+Git and Node/npm. Missing native tools must be installed by the runner
+administrator; system-package bootstrap is limited to root Linux containers. The
+trusted tools are installed from `SKILL_EVAL_TOOLS_REF`, an immutable commit.
+Local agent CLIs are pinned and bootstrapped before selected-mode readiness
+checks. The current same-project MR head is checked before model execution;
+fork MRs do not receive provider-backed jobs.
+
+GitLab 17.0–18.3 requires a separate project access token with **Reporter** role
+and **read_api** scope for current-MR admission. Store it as masked
+`SKILLEVALUATOR_GITLAB_READ_TOKEN`, scoped only to the configured execution
+environment (`skillevaluator` by default). Protect that environment to approved CI maintainers. For ordinary
+unprotected MR branches, the variable must be available on those refs; enabling
+GitLab's protected-variable restriction would withhold it. The admission helper
+uses this read credential once, refuses HTTP redirects, and the job removes it
+before runtime installation, doctor or provider execution.
+
+GitLab 18.4 and later support the default short-lived `CI_JOB_TOKEN` path for
+this MR endpoint; the separate read token remains optional. `ci init --mode pr`
+and `ci status` check the server version through the local authenticated API.
+Offline preview/save keep the version unverified. These local commands report
+the prerequisite and do not claim to validate a stored CI secret's privileges.
+The setup still consists of two consumer files.
+
+Protect the default branch and create a project access token with `api` scope
+and the Maintainer role. The publisher reads source-pipeline variables to verify
+provenance as well as reading artifacts and updating MR notes; GitLab 17.8
+rejects the variables request for a Developer token. Store the token as masked, protected
+`SKILLEVALUATOR_GITLAB_TOKEN`, scoped only to the protected
+`skillevaluator-feedback` environment. The MR pipeline never receives that
+token. After aggregation, a small job uses its short-lived `CI_JOB_TOKEN` with
+GitLab's pipeline trigger API to request a separate pipeline on the protected
+default branch. It sends only `SKILL_EVAL_FEEDBACK=true` and the source pipeline
+ID, without forwarding repository variables or caller-supplied pipeline overrides.
+GitLab also adds its own `TRIGGER_PAYLOAD` file variable. The publisher accepts
+that bounded file entry alongside the two selectors and treats its contents as
+opaque; additional caller variables remain disallowed.
+The API supports same-project pipelines; GitLab's declarative multi-project
+bridge rejects a target in the same project. That trusted pipeline uses validated include inputs for fixed evaluator pins,
+API host and project, so forwarded MR variables cannot replace its privileged
+bootstrap. It fetches only pinned evaluator tools and authenticates the server's
+upstream pipeline and source job relationship, then validates the source
+configuration, aggregate artifact, MR and current commit before updating one
+comment. The publisher needs access to the instance's REST and GraphQL APIs;
+the pipeline's persisted MR association supports GitLab 17.x as well.
+The initiating pipeline user must be allowed to create a pipeline on
+the protected default branch, pass the two pipeline variables and run the
+protected feedback environment. Configure these permissions for authorized CI
+maintainers; a job token does not bypass protected-branch or protected-environment permissions.
+The feedback request is advisory. When GitLab refuses it, for example because
+the MR pipeline user cannot run pipelines on the protected default branch or
+may not pass pipeline variables, the request job fails as an allowed failure:
+the pipeline shows a warning, no comment is posted or updated, and the aggregate
+continues to enforce Tier 1. Server and network errors fail the job the same
+way; its log says whether to fix permissions or retry. Before the setup MR
+installs feedback on the default branch, no comment is posted and the aggregate
+still enforces Tier 1.
+
+For a rejected publisher, open its job log. The check location refers to the
+pinned `ci/feedback.py` revision, and the category distinguishes validation,
+authentication and transport failures.
+
+Install both configuration files on the default branch before the first demo
+MR. GitLab must permit the downstream pipeline and the protected feedback job;
+a setup MR alone cannot establish trusted automatic feedback. On instances
+that restrict protected variables in MR pipelines, approve an eligible protected
+execution path according to your project policy; missing provider credentials
+remain actionable evidence rather than a pass. Review the pipeline's actual
+aggregate check before enabling merge restrictions; it gates Tier 1 only.
+
+The CLI's `--timeout-minutes` option writes a literal native-job duration and
+a shorter evaluator budget. The default is 300 minutes. The budget ends 20
+minutes, or a quarter of a shorter duration, before the job timeout, leaving
+time for setup and for retaining evidence: 300 minutes gives 16800 seconds.
+On GitLab 17.8, CI variables are not expanded in a job's `timeout` field. For
+a manual consumer, set the literal directly:
+
+```yaml
+variables:
+ SKILL_EVAL_TIMEOUT_SECONDS: '2040'
+skill-evaluation-native:
+ timeout: 45 minutes
+```
+
+Timeout and runner-tag overrides on `skill-evaluation-native` apply to both
+native tiers. The
+`skill-evaluation-native-tier2` job extends that public job and clears its
+Docker service and TLS client variables; a caller's `services` override applies
+to Tier 3. The generated local-mode caller sets `services: []` on
+`skill-evaluation-native` to disable Tier 3's Docker service too.
+
+Keep a manual tier selection quoted, for example `SKILL_EVAL_TIERS: '1,2,3'`.
+GitLab's YAML parser reads the unquoted value as the number `123`. The CLI
+quotes generated variable values automatically.
+
+## Managed three-tier CI
+
+For two small consumer files and automatic artifact-backed PR/MR feedback, use
+the opt-in [three-tier CLI onboarding](#opt-in-to-three-tier-ci).
+This unreleased capability gates only on Tier 1 and runs advisory Tier 2 and
+paired Tier 3, defaults to Docker, and supports native local mode. Failed or
+incomplete advisory results retain their native evidence without blocking CI.
+The deprecated Tier 3 required settings are ignored. It requires an
+explicit compatible release descriptor and committed native datasets. The
+released Tier 1-only workflows and bundles continue to work unchanged.
+
+The shared evaluator retains native tier reports and an aggregate manifest,
+including incomplete outcomes. A separate trusted feedback entrypoint on the
+default branch verifies the current head and updates one comment linking the
+exact private CI artifact. Local setup and demo commands prepare the remote
+run; inspect that run's gates and reports before considering onboarding verified.
+The [hand-written CI recipes](../../../docs/ci-integration.mdx) retain their own CLI flags and policy choices.
+
+## Retained three-tier CI evidence
+
+The opt-in all-tier workflows retain one aggregate artifact for 14 days. GitHub
+names it `skill-evaluator-results-attempt-N`; GitLab retains the aggregate job's
+`skill-evaluator-results/` directory. The trusted feedback comment links the
+actual artifact download for that run. Authentication and artifact expiry still
+apply; this link does not imply publicly hosted HTML.
+
+The PR or MR comment presents one summary table with a row for each skill.
+Each row shows a one-line status, issue count and the most important available
+finding or blocker for **Tier 1 — Static and Security Validation**,
+**Tier 2 — Deduplication** and **Tier 3 — Live Agent Evaluation**. A single
+**Report** link per skill opens the combined report artifact for that run;
+download and extract it, then open `index.html` to inspect the detailed aggregate
+and native reports. The comment keeps tier details in those reports rather
+than adding separate tier sections or report links.
+
+This schematic shows the information in a row; real results supply the statuses,
+counts, findings and authenticated **Report** link:
+
+| Skill | Tier 1 — Static and Security Validation | Tier 2 — Deduplication | Tier 3 — Live Agent Evaluation | Combined report |
+| --- | --- | --- | --- | --- |
+| `skills/example` | Passed · 0 issues | Failed · 1 issue · duplicate content found | Incomplete · issues unknown · paired evidence missing | Report |
+
+Issue counts summarize unique actionable findings plus independent validation
+errors and warnings from retained native evidence; informational notes and
+configuration-only scope notices are excluded. Incomplete or missing evidence
+shows an unknown count; it cannot imply zero findings or a completed check.
+The Tier 1 gate and each advisory tier's status stay separate, so this example
+can pass the required CI gate while still needing review of Tier 2 and Tier 3.
+Every tier selects the same skills: the changed skills, or every skill when
+the pull request changes CI setup under `.github/`, `.gitlab/`,
+`.skillevaluator/ci` or `.gitlab-ci.yml` (on GitHub, also when it changes more
+files than the API can list). A cell for a skill that its tier did not select
+reads `Skipped · issues unknown · Not selected for this tier`.
+
+```text
+ci-results.json
+index.html
+source-attempts.json # GitHub: run attempt whose artifact supplied each tier
+summary.md
+tier1/ # hardened scanner reports, including summary.json
+tier2/ci-tier.json
+tier2/skill-001/ # native retained JSON and HTML
+tier3/ci-tier.json
+tier3/skill-001/ # native retained JSON and HTML
+ diagnostics/ # redacted worker logs when execution failed or is incomplete
+```
+
+`ci-results.json` uses report contract `skillevaluator-ci-v1` and records the
+repository, exact commit, platform, run ID, attempt, environment, and each
+tier's required/advisory policy: Tier 1 has `required: true`, while Tier 2 and
+Tier 3 have `required: false`. On GitHub, each tier with retained evidence
+records `source_attempt`, the run attempt that produced it; after **Re-run
+failed jobs** it can be earlier than the aggregate's own attempt. A tier can be
+`passed`, `failed`, `incomplete`, `skipped`, `not_run`, `needs_action`, or
+`neutral`. `neutral` means Tier 3 paired execution completed with a neutral
+dimension-based verdict; Skill Lift has its own independent diagnostic band.
+Like every Tier 3 status, it is advisory. Failed,
+incomplete or missing Tier 1 evidence fails the aggregate. Tier 2/3 failures and
+incomplete results remain advisory and retain their native status; a passing CI
+gate does not mean those tiers passed. A check that never executed cannot become an empty success.
+The deprecated Tier 3 required settings are ignored in CI. Standalone validation
+and benchmark publication retain their separate policies.
+
+Tier 2 reports retain deduplication and catalog-similarity findings;
+Tier 3 reports retain paired scores and coverage, Skill Lift, attempts,
+latency/resource metrics and available trial links. Download and extract the
+artifact, then open `index.html` to inspect the aggregate and native reports.
+Detailed files remain available even when a tier fails or needs configuration.
+When a native skill's execution fails or is incomplete, or its worker exits
+abnormally, the skill retains bounded, redacted worker, Docker and
+agent-installation diagnostics under `diagnostics/`, even if no canonical report
+was produced or its verdict is failed. A complete run with a failed or neutral
+verdict retains none. The worker's `command.log` comes first, then logs from
+one trial of each Harbor job (a failing trial when there is one), at most four
+trials per skill, with failing trials chosen before passing ones. All
+skills of one tier share a limit of 1000 diagnostic files and 16 MiB. Each
+`index.json` records retained, omitted and truncated files, including those
+omitted at a limit.
+Catalog failures retain diagnostics under `tier2/catalog/diagnostics/`.
+Agent trajectories, credentials and runtime configuration are excluded.
+The publisher renders validated retained JSON; it does not execute artifacts
+or trust candidate-provided HTML in its privileged feedback job. Optional
+report hosting is independent from these private artifact links.
diff --git a/docs/AGENTS.md b/docs/AGENTS.md
index 2f94f2fa..ccedcc5d 100644
--- a/docs/AGENTS.md
+++ b/docs/AGENTS.md
@@ -24,6 +24,11 @@ folder holds MDX pages published to <https://docs.nvidia.com/skills/skillevaluat
- `reports.mdx` — report formats, scores, and the results-on-disk contract
- `performance-dashboard.mdx` — compare saved Tier 3 scores and resource use
- `benchmark-rollout.mdx` — regenerating and promoting `BENCHMARK.md` cards
+- `github-actions.mdx` — skill check workflow setup and optional hosted PR feedback
+- `cli-onboarding.mdx` — released GitHub setup wizard
+- `repository-integration.mdx` — choose GitHub or GitLab for skill checks
+- `gitlab-ci.mdx` — reusable skill checks and downloadable GitLab reports
+- `advanced-ci.mdx` — secondary opt-in prerequisites and all-tier reference
- `ci-integration.mdx` — exit codes, GitHub Actions recipe, progressive adoption
- `cli-reference.mdx` — every command and flag
- `environment-variables.mdx` — variable-by-variable inventory
@@ -65,12 +70,14 @@ Navigation order, page titles, and slugs are defined in
`[text](url)` link.
5. **Links**:
- - Between pages in this folder, link with the relative `.mdx` file path
- (`configuration.mdx`, `tier1-validation.mdx#anchor`). Fern resolves these
- to the published slug, and they also work when browsing the source on
- GitHub — a bare slug (`configuration`) 404s on GitHub.
- - To files outside `docs/`, use a relative repo path kept as `.md`
- (`../README.md`, `../THIRD_PARTY_NOTICES.md`) — those are not Fern pages.
+ - In published MDX, use site paths such as
+ `/skills/skillevaluator/configuration` or
+ `/skills/skillevaluator/tier1-validation#anchor`. The pinned Fern 5.121.0
+ preview returns HTTP 400 for file-relative `.mdx` page URLs; it does not
+ resolve them to published slugs.
+ - For repository-only files outside `docs/`, use full GitHub source URLs in
+ published MDX. Keep repository Markdown, images and YAML `path:` entries
+ relative to their source files.
- When renaming a page, grep the whole repo and fix references in the sibling
pages, the root [`../README.md`](../README.md), [`README.md`](README.md),
and [`../fern/docs.yml`](../fern/docs.yml).
diff --git a/docs/README.md b/docs/README.md
index ff081336..4a22de9f 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -24,8 +24,11 @@ contributors making non-trivial edits.
- `reports.mdx` — report formats, scores, and the results-on-disk contract
- `performance-dashboard.mdx` — compare saved Tier 3 scores and resource use
- `benchmark-rollout.mdx` — regenerating and promoting `BENCHMARK.md` cards
-- `github-actions.mdx` — reusable Tier 1 onboarding and optional hosted PR feedback
+- `github-actions.mdx` — reusable skill checks and optional hosted PR feedback
- `cli-onboarding.mdx` — install the CLI, automate GitHub setup and open an optional test PR
+- `repository-integration.mdx` — choose GitHub or GitLab for skill checks
+- `gitlab-ci.mdx` — reusable skill checks and downloadable GitLab reports
+- `advanced-ci.mdx` — secondary opt-in prerequisites and all-tier reference
- `ci-integration.mdx` — exit codes, GitHub Actions recipe, progressive adoption
- `cli-reference.mdx` — every command and flag
- `environment-variables.mdx` — variable-by-variable inventory
diff --git a/docs/advanced-ci.mdx b/docs/advanced-ci.mdx
new file mode 100644
index 00000000..344622ca
--- /dev/null
+++ b/docs/advanced-ci.mdx
@@ -0,0 +1,44 @@
+---
+title: "Advanced CI"
+description: "Prerequisites and reference for explicitly enabled all-tier CI."
+---
+
+Standard repository onboarding runs quality and security checks without
+a model key. The all-tier integration is a separate, **explicit opt-in and
+unreleased capability**. Released 0.8.0 bundles and plain `ci init` run only the
+quality and security checks; all-tier setup requires a reviewed candidate CLI
+and its bundled schema-version 2 descriptor with the platform's all-tier
+capability and immutable pins.
+
+## Before you opt in
+
+- **Tier 2:** configure a model provider, embeddings provider and their keys.
+ Anthropic chat defaults to OpenAI embeddings and needs that key too. See
+ [providers and credentials](/skills/skillevaluator/configuration) and
+ [deduplication](/skills/skillevaluator/tier2-deduplication).
+- **Tier 3:** configure a supported provider, agent and Docker or native local
+ runtime, and commit native datasets under each skill's `evals/` directory.
+ CI consumes those cases with paired positive and negative coverage; it does
+ not generate them. See [datasets](/skills/skillevaluator/eval-datasets) and
+ [agents and runtimes](/skills/skillevaluator/agents-and-sandboxes).
+- **Platform setup:** provide compatible runners and trusted execution/feedback
+ environments. Merge the trusted feedback entrypoint onto the default branch
+ before expecting automatic PR or MR comments. GitLab additionally needs its
+ protected-branch, environment, token and existing-pipeline setup.
+
+## Setup and retained evidence
+
+Follow the [complete setup and maintainer reference](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md)
+for GitHub and GitLab commands, migration, admission, feedback, runner and
+timeout requirements, descriptor maintenance and retained report contracts.
+It also documents SkillEvaluator's own callers and alternative feedback filename.
+
+Only quality and security checks gate this CI integration. Tier 2 and Tier 3
+remain advisory even when failed or incomplete; deprecated Tier 3 required settings are ignored.
+Missing credentials, runtime or datasets must remain visible as incomplete or
+needs-action evidence. A passing scan does not mean all evaluation stages passed.
+
+Reports retain native evidence and an aggregate artifact for 14 days. Feedback
+links to the authenticated artifact for that run; download and extract it,
+then open `index.html`. Hosted HTML is a separate option. Local setup, status
+and demo commands do not prove provider-backed evaluation succeeded.
diff --git a/docs/ci-integration.mdx b/docs/ci-integration.mdx
index 5afeb59f..f367c633 100644
--- a/docs/ci-integration.mdx
+++ b/docs/ci-integration.mdx
@@ -3,33 +3,16 @@ 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. Tier 1 needs
-no model API key; full scanner-backed checks can still contact vulnerability
-services. Adopt the CLI in any CI system and add model-backed checks separately.
+Turn SkillEvaluator into a merge gate for your skill repository. Quality and
+security checks need no model API key; full scanner-backed checks can still
+contact vulnerability services. Adopt the CLI in any CI system and add
+model-backed checks separately.
For the prebuilt runtime and one-file consumer setup, see
-[GitHub Actions](github-actions.mdx). The recipe below installs tools explicitly;
+[GitHub Actions](/skills/skillevaluator/github-actions). The recipe below installs tools explicitly;
its PR-comment step is separate from the reusable publisher's hosted-feedback
setup.
-## Managed three-tier CI
-
-For two small consumer files and automatic artifact-backed PR/MR feedback, use
-the opt-in [three-tier CLI onboarding](cli-onboarding.mdx#opt-in-to-three-tier-ci).
-This unreleased capability gates only on Tier 1 and runs advisory Tier 2 and
-paired Tier 3, defaults to Docker, and supports native local mode. Failed or
-incomplete advisory results retain their native evidence without blocking CI.
-The deprecated Tier 3 required settings are ignored. It requires an
-explicit compatible release descriptor and committed native datasets. The
-released Tier 1-only workflows and bundles continue to work unchanged.
-
-The shared evaluator retains native tier reports and an aggregate manifest,
-including incomplete outcomes. A separate trusted feedback entrypoint on the
-default branch verifies the current head and updates one comment linking the
-exact private CI artifact. Local setup and demo commands prepare the remote
-run; inspect that run's gates and reports before considering onboarding verified.
-The hand-written recipes below retain their own CLI flags and policy choices.
-
## Exit codes
`skillevaluator validate` communicates pass/fail through its exit code, so a plain `run:` step is already a gate — no output parsing required.
@@ -40,7 +23,7 @@ The hand-written recipes below retain their own CLI flags and policy choices.
| `1` | Validation failed — a gating check failed, the run could not complete, or an unexpected internal error occurred | Read the report or log; fix the skill, or re-run and file an issue if the run itself failed |
| `2` | Usage error — an unknown flag, a value outside an option's type or choices, or a target path that does not exist | Fix the pipeline, not the skill |
-Tier 1 checks always gate the exit code. Tier 2 deduplication findings gate when dedup runs unless you pass `--no-block-on-dedup`; the recommended keyless gate below selects `--tiers 1` to exclude Tier 2 and Tier 3. Tier 3 live-evaluation results are advisory inside `validate` unless you pass `--block-on-agent-eval`. Reports record the effective choice for each tier. Without an explicit scope, `validate` runs all three tiers for skills, including Tier 3 autopilot.
+Quality and security checks always gate the exit code. Deduplication findings gate when dedup runs unless you pass `--no-block-on-dedup`; the recommended keyless gate below selects `--tiers 1` to exclude deduplication and live agent evaluation. Live-evaluation results are advisory inside `validate` unless you pass `--block-on-agent-eval`. Reports record the effective choice for each stage. Without an explicit scope, `validate` runs all three stages for skills, including live-evaluation autopilot.
## The recommended gate
@@ -51,7 +34,7 @@ skillevaluator validate ./skills --profile default --tiers 1 -r json,markdown,sa
Each flag earns its place:
- **`--profile default`** pins the standard validation policy explicitly instead of relying on the environment, so the gate behaves identically on every runner. The active profile name is stamped into the HTML and JSON reports (and printed in the run banner with `--verbose`), so a run always records which gate was applied.
-- **`--tiers 1`** runs static checks without the provider-backed Tier 2 and Tier 3 stages. Use `--tiers 1,2` once you add a provider secret, or omit the option to include Tier 3 after configuring its runtime. `--no-dedup` alone skips only Tier 2 and still runs Tier 3.
+- **`--tiers 1`** runs static checks without provider-backed deduplication or live agent evaluation. Use `--tiers 1,2` once you add a provider secret, or omit the option to include live evaluation after configuring its runtime. `--no-dedup` alone skips only deduplication and still runs live evaluation.
- **`-r json,markdown,sarif`** writes machine-readable JSON, a Markdown PR comment, and a SARIF file for GitHub Code Scanning.
- **`-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.
@@ -209,21 +192,25 @@ You do not have to turn on the strictest gate on day one. A path that works well
skillevaluator validate ./skills --profile default --tiers 1 -r markdown -o reports || true
```
- ### Gate on Tier 1
+ ### Require quality and security checks
+
+ <div id="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.)
+ </div>
+
### 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 select `--tiers 1,2` so Tier 2 overlap checks run too. Once dedup runs, its findings gate alongside Tier 1 by default; add `--no-block-on-dedup` if you want evidence without enforcing it yet. See [Providers & Credentials](configuration.mdx) for provider setup.
+ 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 select `--tiers 1,2` so overlap checks run too. Once dedup runs, its findings gate alongside quality and security checks by default; add `--no-block-on-dedup` if you want evidence without enforcing it yet. See [Providers & Credentials](/skills/skillevaluator/configuration) for provider setup.
### Add an advisory Tier 3 job
- Run live agent evaluation as a separate job with `skillevaluator tier3 ./my-skill`, or remove `--tiers 1,2` from `validate` to run all three tiers. Both workflows reuse existing evaluation sources and generate one starter case when none exists. Attached Tier 3 is advisory by default; add `--block-on-agent-eval` when the team is ready for its findings or invalid source evidence to fail the merge gate. Standalone Tier 3 exits non-zero 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).
+ Run live agent evaluation as a separate job with `skillevaluator tier3 ./my-skill`, or remove `--tiers 1,2` from `validate` to run all three tiers. Both workflows reuse existing evaluation sources and generate one starter case when none exists. Attached Tier 3 is advisory by default; add `--block-on-agent-eval` when the team is ready for its findings or invalid source evidence to fail the merge gate. Standalone Tier 3 exits non-zero 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](/skills/skillevaluator/tier3-live-evaluation).
</Steps>
<Note>
@@ -247,7 +234,7 @@ severity_overrides:
skillevaluator validate ./skills --profile default --policy ./policy.yaml --tiers 1 -r json,markdown -o reports
```
-The policy overlays the default rules, and the resulting profile name is stamped into the HTML and JSON reports (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.
+The policy overlays the default rules, and the resulting profile name is stamped into the HTML and JSON reports (and printed in the run banner with `--verbose`) — so a run always tells you which gate produced it. See the [validation policy reference](/skills/skillevaluator/tier1-validation) for the full overlay syntax.
## Parse the JSON
@@ -262,7 +249,7 @@ When the exit code is not enough — dashboards, custom thresholds, badge genera
| `benchmark_policy` | object | Persisted `tier2_required` and `tier3_required` evidence policy used for the publication decision |
| `results[].publication_target` | object | Exact NFC filesystem-entry name, versioned source-tree digest, and digest algorithm used to bind split-tier evidence |
| `results[].publication_evidence` | object | Validated built-in Tier 1 or Tier 2 producer contract: schema version, producer, tier, and canonical check ID |
-| `results[].skillspector_baseline` | object | Single-skill targets with `--skillspector-baseline`, when SkillSpector is installed: `status`, baseline file name and `sha256:` digest (no local path), scanner versions, suppressed (per stage) and active finding counts, and a message. Absent from merged `security-scan` folder reports; `validate` on a folder records it in each skill's report. See [Audited SkillSpector baselines](tier1-validation.mdx#audited-skillspector-baselines) |
+| `results[].skillspector_baseline` | object | Single-skill targets with `--skillspector-baseline`, when SkillSpector is installed: `status`, baseline file name and `sha256:` digest (no local path), scanner versions, suppressed (per stage) and active finding counts, and a message. Absent from merged `security-scan` folder reports; `validate` on a folder records it in each skill's report. See [Audited SkillSpector baselines](/skills/skillevaluator/tier1-validation#audited-skillspector-baselines) |
| `tier3.run_id` | string | Run-owned Tier 3 identity; duplicated in the Tier 3 summary for consistency checks |
| `severity_counts` | object | Totals for `critical`, `high`, `medium`, `low` |
| `total_errors`, `total_warnings` | number | Raw error and warning records across all validators; a finding that two validators report counts twice |
@@ -325,7 +312,7 @@ 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).
+`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](/skills/skillevaluator/reports).
## Troubleshooting
@@ -340,7 +327,7 @@ jq -e '([.quality_summary[]?.overall_score] | min // 100) >= 80' "$report"
scanners fail closed: `validate` exits non-zero and the report stays
non-green until every required scanner is installed and returns valid
evidence. See the workflow above or
- [Installation: System tools](installation.mdx#system-tools).
+ [Installation: System tools](/skills/skillevaluator/installation#system-tools).
</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.
@@ -350,16 +337,23 @@ jq -e '([.quality_summary[]?.overall_score] | min // 100) >= 80' "$report"
## Next steps
<CardGroup cols={2}>
- <Card title="Reports & Results" icon="book" href="reports.mdx">
+ <Card title="Reports & Results" icon="book" href="/skills/skillevaluator/reports">
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">
+ <Card title="Quality and security checks" icon="shield" href="/skills/skillevaluator/tier1-validation">
Every check behind the gate — what it inspects and how to fix findings.
</Card>
- <Card title="Providers & Credentials" icon="flask" href="configuration.mdx">
+ <Card title="Providers & Credentials" icon="flask" href="/skills/skillevaluator/configuration">
Add an LLM provider to unlock `--llm`, Tier 2 dedup, and Tier 3.
</Card>
- <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ <Card title="CLI Reference" icon="terminal" href="/skills/skillevaluator/cli-reference">
The complete flag reference for `validate` and every other command.
</Card>
</CardGroup>
+
+<div id="managed-three-tier-ci">
+
+For the explicit all-tier opt-in and its prerequisites, see [Advanced CI](/skills/skillevaluator/advanced-ci).
+The [managed CI reference](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#managed-three-tier-ci) preserves the detailed contracts.
+
+</div>
diff --git a/docs/cli-onboarding.mdx b/docs/cli-onboarding.mdx
index 29036ff8..fa2849f7 100644
--- a/docs/cli-onboarding.mdx
+++ b/docs/cli-onboarding.mdx
@@ -1,14 +1,13 @@
---
title: "Set Up CI with the CLI"
-description: "Prepare GitHub or GitLab checks and trusted feedback, with an explicit opt-in for three-tier CI."
+description: "Set up quality and security checks for GitHub, with optional hosted reports and PR feedback."
---
-Bring skill evaluation to your GitHub repository in one guided setup.
-SkillEvaluator finds your skills, prepares the workflows and opens a setup PR.
-If your repository already has skill checks, it can add reporting to that setup.
-The released default setup gives your CI **Tier 1 checks, including
-SkillSpector security scanning**. The explicit all-tier path below adds
-advisory Tier 2 and paired Tier 3 on GitHub or GitLab. Only Tier 1 gates CI.
+Bring quality and security checks to your repository. No model key required.
+Optional LLM checks are available. SkillEvaluator finds your skills, prepares
+the GitHub workflows and opens a setup PR. The shared runtime includes
+SkillSpector security scanning. Choose checks only or add optional hosted
+reports and PR feedback; an existing recognized scan can keep its settings.
```bash title="Run inside your checked-out GitHub repository"
pip install --upgrade skillevaluator
@@ -44,157 +43,10 @@ locally. The shared container supplies the runtime; you control the configuratio
public and private repositories. Hosted feedback supports public Pages and
verified private Pages sites in eligible organization repositories. See
[private report hosting](#private-report-hosting) for the one-time prerequisite.
- The released Tier 1 wizard supports GitHub. For Tier 1 on GitLab, use the
+ The released setup wizard supports GitHub. For GitLab, use the
[GitLab template](/skills/skillevaluator/gitlab-ci).
</Accordion>
-## Opt in to three-tier CI
-
-The new all-tier path supports **GitHub and GitLab** with two small consumer
-files. Tier 1 is the only required tier; Tier 2 and Tier 3 are advisory, including
-failed or incomplete results. `--tier3-required` is deprecated and ignored; it
-cannot make Tier 3 block CI. Docker is the default. `--env-mode local` runs native
-agent CLIs on the selected CI runner. This setup supports these two modes only.
-
-<Note>
- This is an unreleased capability. Released 0.8.0 bundles and the default
- `ci init` setup remain Tier 1 only. Install a reviewed candidate build that
- includes the all-tier CLI and its bundled `ci-release-all-tiers.json`, then
- opt in with `--tiers 1,2,3`. The CLI selects that descriptor automatically.
- It must declare schema version 2 and `all-tiers-github` or `all-tiers-gitlab`,
- with immutable workflow, feedback, tools and image references. A Tier 1
- descriptor cannot enable all-tier setup.
-</Note>
-
-```bash title="Preview, then open a setup PR or MR"
-skillevaluator ci init --tiers 1,2,3 \
- --platform github --provider openai --paths skills --mode preview --no-input --show-files
-skillevaluator ci init --tiers 1,2,3 \
- --platform github --provider openai --paths skills --mode pr --no-input
-```
-
-To review an alternate candidate descriptor, add
-`--release ./reviewed-ci-release.json` to either command. Review its immutable
-references before using it; the option does not install the candidate CLI.
-
-For GitLab 17.0 or later, select `--platform gitlab`. GitHub uses your local
-`gh` login; GitLab uses only a process-scoped `SKILLEVALUATOR_GITLAB_TOKEN`
-for the repository's host, never a generic `GITLAB_TOKEN`. Origins other than
-github.com need `--tiers 1,2,3` or `--platform gitlab` before any API request.
-GitLab setup does not require `glab`.
-`--mode preview` lists the files it would add or change without writing
-anything; add `--show-files` to print their contents.
-`--mode save` writes the two local configuration files; `--mode pr` opens the
-setup review through the platform API. These commands prepare CI configuration;
-they do not run the evaluators on your laptop.
-
-| Local command | Result | Evidence still needed |
-| --- | --- | --- |
-| `ci init` | Prepare the evaluation and trusted feedback entrypoints | Merge the setup and configure the CI runner and secrets |
-| `ci status --tiers 1,2,3` | Read default-branch configuration and latest pipeline status | Inspect the actual CI reports and gates |
-| `ci demo --tiers 1,2,3` | Open a small skill-change PR or MR | Inspect the Tier 1 gate, advisory Tier 2/3 results, comment, and retained reports |
-
-Before the first demo, commit native datasets under each skill's `evals/`
-directory; see [Evaluation Datasets](eval-datasets.mdx). CI reuses those cases
-with full positive and negative paired coverage. It does not generate cases or
-use autopilot. Missing datasets or credentials produce actionable incomplete
-results; they do not count as a passing tier. A passing Tier 1 CI gate does not
-mean the advisory tiers completed or passed. Central dataset mappings are not
-supported by this initial workflow.
-
-The trusted PR or MR comment shows one summary table with a row per skill:
-Static and Security Validation, Deduplication, and Live Agent Evaluation each
-get a one-line status, issue count and main finding or blocker. Counts remain
-unknown for incomplete or missing evidence. Each skill has one **Report** link
-to the run's combined artifact; normal repository authentication and artifact
-expiry apply. Download and extract it, then open `index.html` for the detailed
-aggregate and native reports. Hosted HTML remains optional. See
-[Reports & Results](reports.mdx#retained-three-tier-ci-evidence) for an example.
-
-Create the `skillevaluator` execution environment and store provider secrets
-there (`OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, or `NVIDIA_API_KEY`). GitHub also
-supports the generated explicit mappings from repository CI secrets; scoped
-environment secrets are recommended. On GitHub,
-provider-backed jobs require the initiating actor to have repository write,
-maintain, or admin permission, as verified through GitHub's API. They also
-require the exact current same-repository PR head or current default-branch
-commit. These checks run again after entering the execution environment.
-Environment reviewers are optional: configure them if your repository wants
-manual approval; automatic checks do not require a paid reviewer-protection
-feature. Restrict repository and CI workflow write access to trusted maintainers.
-GitLab's protected execution and feedback prerequisites are described below.
-Choose matching chat and embedding configuration with `--provider`,
-`--embedding-provider`, `--model`, and `--embedding-model`; the default embedding
-provider follows OpenAI or NVIDIA Build; Anthropic defaults to OpenAI embeddings
-and needs that provider's key too. The shared `--model` configures chat/judging
-and the native agent provider default; agent-specific models in committed eval
-configuration keep their native override semantics. `--agents` overrides the
-native provider default: OpenAI uses Codex, Anthropic uses Claude Code, and
-NVIDIA Build uses OpenCode. CI installs Tier 2 or Tier 3 extras from the reviewed
-tools commit. Tier 3 checks the selected environment with `doctor`; local mode
-also installs pinned native CLIs into an isolated runtime directory.
-
-`--timeout-minutes` sets the native job duration (10 to 360, 300 by default).
-The evaluator's runtime budget ends 20 minutes, or a quarter of a shorter
-duration, earlier so setup and retained evidence fit. If setup outlasts that
-reserve and GitLab stops the native job at its timeout, the job uploads no
-native evidence and the aggregate reports that tier's evidence as missing.
-GitLab receives a literal duration
-so the configuration also works on GitLab 17.8. `--runner` chooses a GitHub
-runner label or GitLab runner tag. GitHub defaults
-to `ubuntu-24.04`; GitLab defaults to a configured `docker` tag. Docker mode
-requires a working daemon, Docker CLI, Compose v2 and Buildx; GitLab's included Docker-in-Docker service requires
-a privileged runner that shares `/certs/client` for the daemon's TLS client
-certificates. Local mode needs a compatible native runner with Node/npm;
-the generated GitLab local configuration removes the Docker service. Cloud
-sandbox backends are outside this onboarding path.
-
-Merge both generated files onto the default branch **before opening the demo**.
-The first setup PR/MR can show evaluation checks, but automatic comments need
-the trusted feedback entrypoint to exist on the default branch. GitLab also
-needs a protected default branch and a project access token with `api` scope
-and the Maintainer role, stored as a scoped, protected
-`SKILLEVALUATOR_GITLAB_TOKEN` limited to the `skillevaluator-feedback`
-environment. GitLab before 18.4 also needs a separate project Reporter/read_api
-`SKILLEVALUATOR_GITLAB_READ_TOKEN`, scoped to the protected execution environment
-(`skillevaluator` by default). The read credential is removed before provider work.
-Newer servers use `CI_JOB_TOKEN` by default. Online init/status report the server
-version prerequisite; offline preview/save leave admission readiness unverified.
-The MR jobs receive no comment token. GitLab's feedback request uses its
-short-lived job token; the initiating user needs permission to create a pipeline
-on the protected default branch, pass pipeline variables and run the protected
-feedback environment. Without it, the request is an allowed failure: no comment
-is posted and the Tier 1 gate is unchanged. GitLab's provider-backed and
-feedback jobs record no deployments. Do not add deployment approval rules to
-their environments: depending on the GitLab version, approvals either do not
-gate these jobs or turn them into manual jobs. Restrict them with the protected
-environments' deploy access.
-See the platform pages for
-[GitHub](github-actions.mdx#three-tier-checks-and-feedback) and
-[GitLab](gitlab-ci.mdx#three-tier-checks-and-feedback) details.
-
-### Upgrade a Tier 1-only consumer
-
-Keep the existing workflow while previewing the explicit all-tier setup with a
-compatible descriptor. Review the new evaluator and feedback pins, provider,
-runner, protected environment, paths and Tier 1-only gate. Remove or disable
-the old Tier 1 caller in the setup review once the new all-tier caller covers
-the same roots, so a PR does not run two independent scans. Merge the new
-feedback entrypoint and then open a fresh demo. Existing released bundles and
-Tier 1-only callers keep their current behavior.
-
-On GitLab, the Tier 1 and all-tier configurations share the root
-`.gitlab-ci.yml`, which the CLI never replaces. `--mode preview` prints the
-rendered files and the merge steps; `--mode save` and `--mode pr` stop with an
-error while a different root file exists. First guard your other jobs with the
-`SKILL_EVAL_FEEDBACK` rule and merge those guards to the default branch: the
-setup MR's own feedback request runs the default branch's current
-configuration. Then, in your setup MR, replace the Tier 1 `skill-evaluation.yml`
-include with the two rendered includes, add the rendered variables, workflow
-rules and job overrides, keep `test` in any `stages` list, and add
-`.gitlab/skill-feedback.yml`. See
-[Merge into an existing root configuration](gitlab-ci.mdx#merge-into-an-existing-root-configuration).
-
## Run the wizard
For a new scan, the wizard discovers folders containing `SKILL.md`. Answer five
@@ -221,9 +73,11 @@ Folders [1]: 1,2
</Frame>
The score threshold does not override required security or schema checks.
-Default Tier 1 checks use no model key. Tier 2 and Tier 3 are not part of
-the released Tier 1 wizard described in this section; use the explicit
-[all-tier path](#opt-in-to-three-tier-ci) above for those stages.
+The wizard sets up quality and security checks without a model key;
+deduplication and live agent evaluation require separate setup. Optional
+model-backed checks use the
+[separate manual workflow](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/skill-checks-llm.yml)
+and a provider key.
<Note>
Already have `.github/workflows/skill-checks.yml`? The CLI recognizes a
@@ -392,3 +246,12 @@ extract it and open `index.html`. Failed scans retain their available reports to
Add the shared scanner to your GitLab pipeline.
</Card>
</CardGroup>
+
+<div id="opt-in-to-three-tier-ci">
+<div id="upgrade-a-tier-1-only-consumer">
+
+For the explicit all-tier opt-in and its prerequisites, see [Advanced CI](/skills/skillevaluator/advanced-ci).
+The [setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#opt-in-to-three-tier-ci) and [migration](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#upgrade-a-tier-1-only-consumer) references preserve the detailed contracts.
+
+</div>
+</div>
diff --git a/docs/environment-variables.mdx b/docs/environment-variables.mdx
index 14c35ff0..4e8ee122 100644
--- a/docs/environment-variables.mdx
+++ b/docs/environment-variables.mdx
@@ -278,5 +278,5 @@ Keep credentials out of skill repositories and CI configuration files. Export pr
Local onboarding can use `SKILLEVALUATOR_GITLAB_TOKEN` or `GITLAB_TOKEN` in its
own process. Keep that user credential local; the CI publisher uses its separate
-project-scoped credential. The [GitLab setup guide](gitlab-ci.mdx#three-tier-checks-and-feedback)
+project-scoped credential. The [GitLab setup guide](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#gitlab-checks-and-feedback)
describes version detection, variable scopes and the two-file consumer.
diff --git a/docs/github-actions.mdx b/docs/github-actions.mdx
index cf47dd38..a5ed670b 100644
--- a/docs/github-actions.mdx
+++ b/docs/github-actions.mdx
@@ -3,9 +3,10 @@ title: "GitHub Actions"
description: "Bring SkillEvaluator to your GitHub repository with a reusable workflow, clear results and optional PR feedback."
---
-Bring skill evaluation to your GitHub repository with one workflow file.
+Bring quality and security checks to your repository. No model key required.
+Optional LLM checks are available.
Choose your skill folders; pull requests check changed skills automatically.
-The shared image includes **Tier 1 and SkillSpector security scanning**.
+The shared image includes **SkillSpector security scanning**.
<CardGroup cols={2}>
<Card title="Use the CLI" icon="terminal" href="/skills/skillevaluator/cli-onboarding">
@@ -16,108 +17,6 @@ The shared image includes **Tier 1 and SkillSpector security scanning**.
</Card>
</CardGroup>
-## Three-tier checks and feedback
-
-The opt-in [CLI setup](cli-onboarding.mdx#opt-in-to-three-tier-ci) creates
-`.github/workflows/skill-checks-all-tiers.yml` and
-`.github/workflows/feedback-all-tiers.yml`. This unreleased path needs a reviewed
-candidate build and its bundled capability-bearing descriptor; the 0.8.0
-downloads below remain Tier 1 only. `--tiers 1,2,3` selects the candidate's
-bundled descriptor; `--release` can override it for an alternate reviewed candidate.
-The [candidate source templates](https://github.com/NVIDIA/SkillEvaluator/tree/main/ci/templates)
-contain placeholders and must be filled with reviewed immutable references.
-
-The shared `evaluate-all-tiers.yml` and `feedback-all-tiers.yml` files define
-reusable `workflow_call` workflows. Adding them to SkillEvaluator does not
-enable checks or comments on SkillEvaluator's own pull requests. Each repository,
-including SkillEvaluator itself, needs the generated caller pair committed
-there, with the trusted feedback caller on its default branch.
-
-SkillEvaluator evaluates its own `skills/` collection with
-`.github/workflows/skill-checks-all-tiers.yml`. Its consumer feedback listener is
-`.github/workflows/skill-feedback-all-tiers.yml`, preserving the public reusable
-publisher at `.github/workflows/feedback-all-tiers.yml`. The CLI selects this
-alternate filename when the conventional feedback file already defines a
-reusable workflow, and `ci status --tiers 1,2,3` recognizes it.
-
-The repository callers pin a reviewed `main` commit for the evaluator workflows
-and tools, and the verified released Tier 1 image. They use Docker, NVIDIA Build,
-one attempt and one concurrent task, and the committed native datasets. The
-caller's explicit `model` input selects chat, judging and the default live-agent
-model together; embeddings use the separate `embedding-model` input. Add
-`NVIDIA_API_KEY` as a repository Actions secret before expecting provider-backed
-results. Without it, Tier 2 and Tier 3
-remain incomplete/advisory; a passing Tier 1 gate is not an all-tier evaluation
-pass. Forks retain keyless Tier 1 checks. On PRs, ordinary software changes
-select no skills, skill changes select the affected skills, and CI configuration
-changes select the collection. Pushes to `main` and manual runs scan the collection.
-
-If a provider returns HTTP 404, verify that the selected model accepts chat
-requests with your account. Presence in the public model catalog alone does not
-prove serving availability. Change the caller's `model` input to an accessible
-model and refresh `trusted-caller-blobs` before retrying; do not change global
-provider defaults to troubleshoot one repository.
-
-The setup PR can exercise checks, but its first automatic comment requires
-the consumer feedback listener on `main` and a subsequent PR run. Repository
-maintainers configure branch protection separately if they want the Tier 1
-aggregate check to block merges.
-
-The evaluation workflow calls the existing hardened Tier 1 container workflow
-at the same evaluator revision. Tier 2 and Tier 3 run independently with
-`fail-fast: false`, Python 3.12, and only their tier's installed extras. Native
-evaluator tools come from the pinned tools commit, while the candidate is
-checked out separately at the exact PR head. Provider-backed jobs require the
-current same-repository PR head or current default-branch commit, plus proven
-write, maintain, or admin repository permission for the initiating actor.
-Both actor permission and commit freshness are checked again before secrets
-are used. Environment-scoped provider secrets in `skillevaluator` are
-recommended; explicit mappings from repository CI secrets are also supported.
-Reviewers are optional: repositories can add an approval rule when they want one, while
-automatic execution does not depend on that GitHub plan feature. Protect
-repository and CI workflow write access as part of maintaining this boundary.
-Fork PRs retain keyless Tier 1 evidence. Provider-backed Tier 2/3 execution needs
-an eligible same-repository run; unavailable evidence remains advisory and visible.
-
-The aggregate job always runs, and only Tier 1 determines its required result.
-Tier 2 and Tier 3 remain advisory when they fail or are incomplete; their native
-statuses and reports remain visible. The deprecated `tier3-required` input is
-ignored, including when set to `true`; it cannot make Tier 3 block CI. Keep the
-aggregate check required in branch protection to enforce Tier 1, and review its
-actual check name in a completed run. Reports are retained for 14
-days in `skill-evaluator-results-attempt-N`, including failed and incomplete
-results, with each tier's native JSON and HTML. **Re-run failed jobs** reuses
-the latest evidence from tier jobs that were not rerun, and records each tier's
-producing attempt as `source_attempt`. Artifact download links require
-normal repository access; they do not create public report hosting.
-
-The feedback workflow starts from `workflow_run` on the default branch. It
-checks out only pinned trusted tools, validates the producer and current PR
-head, and updates one comment with a single summary table. Each skill has
-one-line results for Static and Security Validation, Deduplication, and Live
-Agent Evaluation, plus one **Report** link to the exact run's combined private
-artifact. The lines show status, recorded issue count and the main finding or
-blocker; incomplete or missing evidence shows an unknown count. Download and
-extract the artifact, then open `index.html` for the detailed aggregate and
-native reports. See the
-[comment and report contract](reports.mdx#retained-three-tier-ci-evidence).
-The workflow never checks out the candidate with a write token. Fork PR runs and
-producer attempts superseded by a re-run are skipped without a comment rather than
-failed. The workflow defers only to a report comment whose run marker names a
-newer same-repository producer run or attempt of this caller for the same pull
-request head. Otherwise it updates one existing report comment in place,
-preferring one whose marker verifies, and leaves any other report comments
-untouched. Report comments with unverifiable markers are never deferred to.
-Merge this feedback file onto the default branch before expecting the first
-automatic comment. Changes to the caller must refresh its approved Git blob in
-`trusted-caller-blobs`.
-
-A missing provider key, unavailable runtime, or missing committed native dataset
-must remain visible as an incomplete or needs-action result. Local `ci init`,
-`ci status`, and `ci demo` are setup and inspection commands; a successful setup
-is not evidence that the three tiers passed. Optional Pages hosting remains a
-separate opt-in; artifact feedback works without it.
-
## Get started
The scanner uses one **default validation policy** for public and private
@@ -277,7 +176,7 @@ or let the [CLI](/skills/skillevaluator/cli-onboarding) handle it.
`*.pages.github.io` URL. It accepts an existing SkillEvaluator report site
or a newly configured empty private site, and preserves unrelated websites.
If private hosting is unavailable, choose checks only. See
- [private report hosting](cli-onboarding.mdx#private-report-hosting) for the
+ [private report hosting](/skills/skillevaluator/cli-onboarding#private-report-hosting) for the
guided path and [GitHub's access-control requirements](https://docs.github.com/en/enterprise-cloud@latest/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site).
</Accordion>
</AccordionGroup>
@@ -296,10 +195,6 @@ or let the [CLI](/skills/skillevaluator/cli-onboarding) handle it.
collection each time. No changed skills is a successful **Skipped** result,
not a scanner pass. Changes to shared files outside the skill roots are not
inferred dependencies; use `all` when they should trigger a full scan.
- The generated all-tier caller (`skillevaluator ci init`) also carries
- `paths` filters, so a pull request that changes nothing under the selected
- skill folders or the two caller workflows starts no run and receives no
- comment.
Selection is capped at 100 skills. Timeouts retain completed results and
mark unfinished work incomplete. The workflow scans up to four skills at
once; `scan-workers` accepts 1–16.
@@ -308,8 +203,8 @@ or let the [CLI](/skills/skillevaluator/cli-onboarding) handle it.
After the first run, select its scan check in GitHub branch rules. The
current template emits `skills / Tier 1 scan`; use the actual check name
shown in your repository. `min-score` sets the quality threshold; required
- security, schema and other checks remain independent. This integration
- runs Tier 1 only.
+ security, schema and other checks remain independent. The reusable scanner
+ runs quality and security checks only.
</Accordion>
<Accordion title="The scan finished, but the comment is missing">
Confirm setup is on the default branch and the PR is eligible for comments.
@@ -346,7 +241,7 @@ or let the [CLI](/skills/skillevaluator/cli-onboarding) handle it.
require the private Pages setup described above.
</Accordion>
<Accordion title="Do the checks need an LLM key or network access?">
- Default Tier 1 checks use no model key. Dependency audits can contact
+ Default checks use no model key. Dependency audits can contact
vulnerability services and submit package metadata; packages are not
installed and build scripts are not run. Optional LLM checks use a separate
[manual workflow](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/skill-checks-llm.yml),
@@ -363,3 +258,10 @@ or let the [CLI](/skills/skillevaluator/cli-onboarding) handle it.
Use the shared scanner image with a GitLab pipeline.
</Card>
</CardGroup>
+
+<div id="three-tier-checks-and-feedback">
+
+For the explicit all-tier opt-in and its prerequisites, see [Advanced CI](/skills/skillevaluator/advanced-ci).
+The [GitHub setup reference](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#github-checks-and-feedback) preserves the detailed contracts.
+
+</div>
diff --git a/docs/gitlab-ci.mdx b/docs/gitlab-ci.mdx
index 090e490b..6bffe6f9 100644
--- a/docs/gitlab-ci.mdx
+++ b/docs/gitlab-ci.mdx
@@ -1,217 +1,14 @@
---
title: "GitLab CI/CD"
-description: "Add reusable skill checks to GitLab, including an opt-in three-tier pipeline with trusted feedback."
+description: "Add quality and security checks to GitLab with no model key required."
---
-Bring skill evaluation to GitLab with a reusable CI job. Point it at your skills
+Bring quality and security checks to your repository. No model key required.
+Optional LLM checks are available. Point the reusable GitLab CI job at your skills
and choose a quality threshold; merge requests evaluate changed skills
without installing scanners or adding evaluation code to your repository.
The shared container includes SkillSpector security scanning.
-## Three-tier checks and feedback
-
-This path requires **GitLab 17.0 or later** for validated include inputs.
-The unreleased [all-tier CLI path](cli-onboarding.mdx#opt-in-to-three-tier-ci)
-creates two thin files: `.gitlab-ci.yml` includes the pinned shared evaluation
-configuration, and `.gitlab/skill-feedback.yml` includes pinned trusted feedback.
-Install a reviewed candidate build; `--tiers 1,2,3` selects its bundled
-schema-version 2 descriptor declaring `all-tiers-gitlab`. Use `--release` only
-to override it with an alternate reviewed descriptor. Released 0.8.0
-configurations below remain Tier 1 only. The CLI never replaces an existing,
-different `.gitlab-ci.yml`, such as a released Tier 1 setup: `--mode preview`
-prints the rendered files and the merge steps, and `--mode save` and `--mode pr`
-stop with an error until you merge by hand.
-
-### Merge into an existing root configuration
-
-The trusted feedback job validates the root `.gitlab-ci.yml` of the MR
-pipeline, so a merged file must keep this shape:
-
-1. Make `include` exactly the two rendered entries: the pinned `all-tiers.yml`
- remote and the `.gitlab/skill-feedback.yml` local include with its rule.
- Remove the Tier 1 `skill-evaluation.yml` include, which defines the same
- `skill-evaluation` job, and any other include. Feedback rejects other
- includes and reads the root as plain YAML, so do not use `!reference` tags.
-2. Add the rendered `variables`, replacing earlier `SKILL_EVAL_*` values.
- If the root defines `stages`, keep `test` in the list: every SkillEvaluator
- job uses stage `test`, and GitLab rejects a job whose stage is not listed.
-3. Use the rendered `workflow: rules`. Keep your own workflow rules after the
- two `SKILL_EVAL_FEEDBACK` rules and before the final `when: never`, and
- only if they still allow merge-request, default-branch and web pipelines.
-4. Replace any `skill-evaluation` override with the rendered
- `skill-evaluation` and `skill-evaluation-native` entries.
-5. Guard every other job. Trusted feedback runs as a pipeline on the protected
- default branch, so an unguarded job, such as a deployment gated on the
- default branch, would run again for every MR. Start each job's rules with
- the guard. A job that has neither `rules` nor `only`/`except` gets the guard
- followed by `- when: on_success`:
-
- ```yaml
- deploy:
- script: ./deploy.sh
- rules:
- - if: '$SKILL_EVAL_FEEDBACK == "true"'
- when: never
- - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
- lint:
- script: make lint
- rules:
- - if: '$SKILL_EVAL_FEEDBACK == "true"'
- when: never
- - when: on_success
- ```
-
- Merge these guards to the default branch before the setup MR. Its own
- feedback request starts a pipeline from the current default-branch
- configuration, and the guard is inert until `SKILL_EVAL_FEEDBACK` is set.
- Write these guards as rules: `.skill-evaluation-not-feedback` is defined by
- the all-tiers include, so until the setup MR merges,
- `extends: .skill-evaluation-not-feedback` fails validation with
- `unknown keys in extends`. After that, a job added later with neither
- `rules` nor `only`/`except` can use that `extends` instead.
-6. Add `.gitlab/skill-feedback.yml` as rendered and merge both files through
- a setup MR. After it merges, `skillevaluator ci status --tiers 1,2,3`
- reports whether the root is recognized and warns about unguarded root jobs.
-
-The shared configuration runs the pinned Tier 1 image plus parallel native
-Tier 2 and Tier 3 jobs. Tier 2 runs without a Docker service. Only Tier 1 is
-required; Tier 2 and Tier 3 are advisory,
-including failed or incomplete outcomes. The deprecated
-`SKILL_EVAL_TIER3_REQUIRED` variable is ignored, including when set to `'true'`;
-it cannot make Tier 3 block CI. Native execution jobs retain failed outcomes
-without stopping their parallel sibling. The aggregate is the required merge
-gate and follows Tier 1 only: failed, incomplete or missing Tier 1 evidence
-fails it, while advisory outcomes remain visible in retained reports.
-The always-running aggregate job
-retains `skill-evaluator-results/ci-results.json`, `index.html`, `summary.md`,
-and each tier's native reports for 14 days. Reports stay behind your normal
-GitLab artifact access controls.
-
-Trusted MR feedback uses one summary table with a row per skill. Each row has
-one-line results for Static and Security Validation, Deduplication, and Live
-Agent Evaluation, with status, recorded issue count and the main finding or
-blocker. Incomplete or missing evidence shows an unknown count. One **Report**
-link per skill downloads the combined aggregate artifact; extract it and open
-`index.html` for the detailed aggregate and native reports. Separate tier
-sections and per-tier links stay out of the comment. See the
-[comment and report contract](reports.mdx#retained-three-tier-ci-evidence).
-
-Configure a native-job runner matching `SKILL_EVAL_RUNNER` (default `docker`).
-Tier 1, aggregation and feedback jobs have no runner tags and also need a
-compatible runner that accepts untagged jobs and supports their container
-images. This remains necessary when a Linux or macOS shell runner runs the
-native jobs in local mode. Configure the protected
-`SKILL_EVAL_ENVIRONMENT` (default `skillevaluator`) and provider secrets scoped
-to that execution environment. The native jobs and the trusted feedback job
-use `environment: action: prepare`: each receives its environment's scoped
-variables and access protection but records no deployment, so GitLab's
-**Prevent outdated deployment jobs** setting cannot drop an older MR's jobs.
-Do not add deployment approval rules to these environments. Depending on the
-GitLab version and its `prevent_blocking_non_deployment_jobs` feature flag,
-approval rules either do not gate these jobs or turn them into manual jobs
-that wait to be run. Restrict who can run them with the protected
-environments' deploy access. The Tier 3 Docker
-service needs a privileged runner with Docker-in-Docker enabled. The daemon accepts only TLS clients on
-port 2376 (`DOCKER_TLS_CERTDIR: /certs`), so agent containers cannot use the
-Docker API. Configure the runner with `volumes = ["/certs/client"]` so the job
-can read the generated client certificates. Docker mode also requires the Docker CLI,
-Compose v2 and Buildx; the shared job installs these clients in supported root
-Linux containers and checks readiness before evaluation. For local mode the generated caller
-removes that service; use a Linux or macOS native runner with Python 3.12,
-Git and Node/npm. Missing native tools must be installed by the runner
-administrator; system-package bootstrap is limited to root Linux containers. The
-trusted tools are installed from `SKILL_EVAL_TOOLS_REF`, an immutable commit.
-Local agent CLIs are pinned and bootstrapped before selected-mode readiness
-checks. The current same-project MR head is checked before model execution;
-fork MRs do not receive provider-backed jobs.
-
-GitLab 17.0–18.3 requires a separate project access token with **Reporter** role
-and **read_api** scope for current-MR admission. Store it as masked
-`SKILLEVALUATOR_GITLAB_READ_TOKEN`, scoped only to the configured execution
-environment (`skillevaluator` by default). Protect that environment to approved CI maintainers. For ordinary
-unprotected MR branches, the variable must be available on those refs; enabling
-GitLab's protected-variable restriction would withhold it. The admission helper
-uses this read credential once, refuses HTTP redirects, and the job removes it
-before runtime installation, doctor or provider execution.
-
-GitLab 18.4 and later support the default short-lived `CI_JOB_TOKEN` path for
-this MR endpoint; the separate read token remains optional. `ci init --mode pr`
-and `ci status` check the server version through the local authenticated API.
-Offline preview/save keep the version unverified. These local commands report
-the prerequisite and do not claim to validate a stored CI secret's privileges.
-The setup still consists of two consumer files.
-
-Protect the default branch and create a project access token with `api` scope
-and the Maintainer role. The publisher reads source-pipeline variables to verify
-provenance as well as reading artifacts and updating MR notes; GitLab 17.8
-rejects the variables request for a Developer token. Store the token as masked, protected
-`SKILLEVALUATOR_GITLAB_TOKEN`, scoped only to the protected
-`skillevaluator-feedback` environment. The MR pipeline never receives that
-token. After aggregation, a small job uses its short-lived `CI_JOB_TOKEN` with
-GitLab's pipeline trigger API to request a separate pipeline on the protected
-default branch. It sends only `SKILL_EVAL_FEEDBACK=true` and the source pipeline
-ID, without forwarding repository variables or caller-supplied pipeline overrides.
-GitLab also adds its own `TRIGGER_PAYLOAD` file variable. The publisher accepts
-that bounded file entry alongside the two selectors and treats its contents as
-opaque; additional caller variables remain disallowed.
-The API supports same-project pipelines; GitLab's declarative multi-project
-bridge rejects a target in the same project. That trusted pipeline uses validated include inputs for fixed evaluator pins,
-API host and project, so forwarded MR variables cannot replace its privileged
-bootstrap. It fetches only pinned evaluator tools and authenticates the server's
-upstream pipeline and source job relationship, then validates the source
-configuration, aggregate artifact, MR and current commit before updating one
-comment. The publisher needs access to the instance's REST and GraphQL APIs;
-the pipeline's persisted MR association supports GitLab 17.x as well.
-The initiating pipeline user must be allowed to create a pipeline on
-the protected default branch, pass the two pipeline variables and run the
-protected feedback environment. Configure these permissions for authorized CI
-maintainers; a job token does not bypass protected-branch or protected-environment permissions.
-The feedback request is advisory. When GitLab refuses it, for example because
-the MR pipeline user cannot run pipelines on the protected default branch or
-may not pass pipeline variables, the request job fails as an allowed failure:
-the pipeline shows a warning, no comment is posted or updated, and the aggregate
-continues to enforce Tier 1. Server and network errors fail the job the same
-way; its log says whether to fix permissions or retry. Before the setup MR
-installs feedback on the default branch, no comment is posted and the aggregate
-still enforces Tier 1.
-
-For a rejected publisher, open its job log. The check location refers to the
-pinned `ci/feedback.py` revision, and the category distinguishes validation,
-authentication and transport failures.
-
-Install both configuration files on the default branch before the first demo
-MR. GitLab must permit the downstream pipeline and the protected feedback job;
-a setup MR alone cannot establish trusted automatic feedback. On instances
-that restrict protected variables in MR pipelines, approve an eligible protected
-execution path according to your project policy; missing provider credentials
-remain actionable evidence rather than a pass. Review the pipeline's actual
-aggregate check before enabling merge restrictions; it gates Tier 1 only.
-
-The CLI's `--timeout-minutes` option writes a literal native-job duration and
-a shorter evaluator budget. The default is 300 minutes. The budget ends 20
-minutes, or a quarter of a shorter duration, before the job timeout, leaving
-time for setup and for retaining evidence: 300 minutes gives 16800 seconds.
-On GitLab 17.8, CI variables are not expanded in a job's `timeout` field. For
-a manual consumer, set the literal directly:
-
-```yaml
-variables:
- SKILL_EVAL_TIMEOUT_SECONDS: '2040'
-skill-evaluation-native:
- timeout: 45 minutes
-```
-
-Timeout and runner-tag overrides on `skill-evaluation-native` apply to both
-native tiers. The
-`skill-evaluation-native-tier2` job extends that public job and clears its
-Docker service and TLS client variables; a caller's `services` override applies
-to Tier 3. The generated local-mode caller sets `services: []` on
-`skill-evaluation-native` to disable Tier 3's Docker service too.
-
-Keep a manual tier selection quoted, for example `SKILL_EVAL_TIERS: '1,2,3'`.
-GitLab's YAML parser reads the unquoted value as the number `123`. The CLI
-quotes generated variable values automatically.
-
## Get started
The shared image applies one default validation policy to public and private
@@ -328,9 +125,10 @@ Skill result: "skills/glossary-builder" — FAILED
</Accordion>
<Accordion title="Scores, reports and privacy">
The threshold applies to the quality score; security, schema and other
- required checks remain independent gates. The first version runs Tier 1
- only. This integration does not host reports or post merge-request comments
- automatically. Known values detected by credential patterns, NVIDIA API
+ required checks remain independent gates. The scanner runs quality and
+ security checks and saves reports as job artifacts; it does not host reports
+ or post merge-request comments automatically. Known values detected by
+ credential patterns, NVIDIA API
keys, and unquoted `KEY=value` and `Bearer` credentials are redacted,
including parts of them that a scanner cuts or escapes, but not every
secret or transformation is detectable. Raw scanner logs are
@@ -340,3 +138,12 @@ Skill result: "skills/glossary-builder" — FAILED
</AccordionGroup>
For GitHub and other CI systems, see [Repository Integration](/skills/skillevaluator/repository-integration).
+
+<div id="three-tier-checks-and-feedback">
+<div id="merge-into-an-existing-root-configuration">
+
+For the explicit all-tier opt-in and its prerequisites, see [Advanced CI](/skills/skillevaluator/advanced-ci).
+The [GitLab setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#gitlab-checks-and-feedback) and [all-tier pipeline migration](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#merge-into-an-existing-root-configuration) references preserve the detailed contracts.
+
+</div>
+</div>
diff --git a/docs/reports.mdx b/docs/reports.mdx
index aab09569..05d7c8b9 100644
--- a/docs/reports.mdx
+++ b/docs/reports.mdx
@@ -24,91 +24,6 @@ Tier 3 results include a `dataset_sufficiency` policy assessment in `result.json
The status is sufficient only when coverage, pass-rate reliability, and paired
lift-comparison requirements are met; otherwise it is provisional and does not
change the evaluation verdict.
-## Retained three-tier CI evidence
-
-The opt-in all-tier workflows retain one aggregate artifact for 14 days. GitHub
-names it `skill-evaluator-results-attempt-N`; GitLab retains the aggregate job's
-`skill-evaluator-results/` directory. The trusted feedback comment links the
-actual artifact download for that run. Authentication and artifact expiry still
-apply; this link does not imply publicly hosted HTML.
-
-The PR or MR comment presents one summary table with a row for each skill.
-Each row shows a one-line status, issue count and the most important available
-finding or blocker for **Tier 1 — Static and Security Validation**,
-**Tier 2 — Deduplication** and **Tier 3 — Live Agent Evaluation**. A single
-**Report** link per skill opens the combined report artifact for that run;
-download and extract it, then open `index.html` to inspect the detailed aggregate
-and native reports. The comment keeps tier details in those reports rather
-than adding separate tier sections or report links.
-
-This schematic shows the information in a row; real results supply the statuses,
-counts, findings and authenticated **Report** link:
-
-| Skill | Tier 1 — Static and Security Validation | Tier 2 — Deduplication | Tier 3 — Live Agent Evaluation | Combined report |
-| --- | --- | --- | --- | --- |
-| `skills/example` | Passed · 0 issues | Failed · 1 issue · duplicate content found | Incomplete · issues unknown · paired evidence missing | Report |
-
-Issue counts summarize unique actionable findings plus independent validation
-errors and warnings from retained native evidence; informational notes and
-configuration-only scope notices are excluded. Incomplete or missing evidence
-shows an unknown count; it cannot imply zero findings or a completed check.
-The Tier 1 gate and each advisory tier's status stay separate, so this example
-can pass the required CI gate while still needing review of Tier 2 and Tier 3.
-Every tier selects the same skills: the changed skills, or every skill when
-the pull request changes CI setup under `.github/`, `.gitlab/`,
-`.skillevaluator/ci` or `.gitlab-ci.yml` (on GitHub, also when it changes more
-files than the API can list). A cell for a skill that its tier did not select
-reads `Skipped · issues unknown · Not selected for this tier`.
-
-```text
-ci-results.json
-index.html
-source-attempts.json # GitHub: run attempt whose artifact supplied each tier
-summary.md
-tier1/ # hardened scanner reports, including summary.json
-tier2/ci-tier.json
-tier2/skill-001/ # native retained JSON and HTML
-tier3/ci-tier.json
-tier3/skill-001/ # native retained JSON and HTML
- diagnostics/ # redacted worker logs when execution failed or is incomplete
-```
-
-`ci-results.json` uses report contract `skillevaluator-ci-v1` and records the
-repository, exact commit, platform, run ID, attempt, environment, and each
-tier's required/advisory policy: Tier 1 has `required: true`, while Tier 2 and
-Tier 3 have `required: false`. On GitHub, each tier with retained evidence
-records `source_attempt`, the run attempt that produced it; after **Re-run
-failed jobs** it can be earlier than the aggregate's own attempt. A tier can be
-`passed`, `failed`, `incomplete`, `skipped`, `not_run`, `needs_action`, or
-`neutral`. `neutral` means Tier 3 paired execution completed with a neutral
-dimension-based verdict; Skill Lift has its own independent diagnostic band.
-Like every Tier 3 status, it is advisory. Failed,
-incomplete or missing Tier 1 evidence fails the aggregate. Tier 2/3 failures and
-incomplete results remain advisory and retain their native status; a passing CI
-gate does not mean those tiers passed. A check that never executed cannot become an empty success.
-The deprecated Tier 3 required settings are ignored in CI. Standalone validation
-and benchmark publication retain their separate policies.
-
-Tier 2 reports retain deduplication and catalog-similarity findings;
-Tier 3 reports retain paired scores and coverage, Skill Lift, attempts,
-latency/resource metrics and available trial links. Download and extract the
-artifact, then open `index.html` to inspect the aggregate and native reports.
-Detailed files remain available even when a tier fails or needs configuration.
-When a native skill's execution fails or is incomplete, or its worker exits
-abnormally, the skill retains bounded, redacted worker, Docker and
-agent-installation diagnostics under `diagnostics/`, even if no canonical report
-was produced or its verdict is failed. A complete run with a failed or neutral
-verdict retains none. The worker's `command.log` comes first, then logs from
-one trial of each Harbor job (a failing trial when there is one), at most four
-trials per skill, with failing trials chosen before passing ones. All
-skills of one tier share a limit of 1000 diagnostic files and 16 MiB. Each
-`index.json` records retained, omitted and truncated files, including those
-omitted at a limit.
-Catalog failures retain diagnostics under `tier2/catalog/diagnostics/`.
-Agent trajectories, credentials and runtime configuration are excluded.
-The publisher renders validated retained JSON; it does not execute artifacts
-or trust candidate-provided HTML in its privileged feedback job. Optional
-report hosting is independent from these private artifact links.
## Report formats
@@ -168,7 +83,7 @@ no-color, redirected, and string-rendered output retains readable paths.
skillevaluator validate ./my-skill -r json,html,markdown,sarif -o reports
```
-For gating a pipeline on the JSON output, see [Gate Your CI](ci-integration.mdx).
+For gating a pipeline on the JSON output, see [Gate Your CI](/skills/skillevaluator/ci-integration).
## Reading the final status
@@ -511,7 +426,7 @@ the orchestration did not supply render as
Keep the file with the skill and refresh it whenever the skill, eval dataset,
agent/model, evaluator version, scoring policy, attempt policy, or execution
environment materially changes. Follow the
-[rollout and backfill runbook](benchmark-rollout.mdx) when regenerating existing
+[rollout and backfill runbook](/skills/skillevaluator/benchmark-rollout) when regenerating existing
published cards.
## Safety guarantees
@@ -589,7 +504,7 @@ completed run directly:
With standard grading, `reward.json` records `trajectory_source` (the
trajectory or agent log that was graded) and, under each LLM judge's
`details`, an `omitted` record showing whether its evidence was truncated to
- fit the [evidence budget](tier3-live-evaluation.mdx#evidence-budgets) or, for
+ fit the [evidence budget](/skills/skillevaluator/tier3-live-evaluation#evidence-budgets) or, for
`behavior_check`, the final-response section limit
(`SKILL_EVAL_BEHAVIOR_FINAL_RESPONSE_LIMIT`). For `behavior_check`, the
record's `reason` names each setting that applied.
@@ -712,7 +627,7 @@ has a dimension below 0.40.
A +0.03 lift therefore remains neutral under these bands. 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).
+[Custom Graders & Tasks](/skills/skillevaluator/custom-graders).
When the HTML report has no lift for an agent or dimension, its label says
why. **no baseline** means that row has no baseline score, for example after
@@ -888,7 +803,7 @@ the available evidence.
**Qualitative-only grading is not supported by this milestone.** The worksheet
is additive to current numeric contracts, including the numeric overall required
-by [`custom_only`](custom-graders.mdx#the-reward-contract). A null score means no
+by [`custom_only`](/skills/skillevaluator/custom-graders#the-reward-contract). A null score means no
valid score was available; it is neither zero nor a pass. Execution failure,
missing evidence and measured task failure remain distinct.
@@ -1034,7 +949,7 @@ Opens a terminal chat about one completed run. Answers are grounded in that
run's scores, comparisons, per-case attempts, measured agent resources, and
saved feedback, without running the evaluation or regenerating its LLM feedback.
Pass the run directory itself; see
-[tier3 feedback](cli-reference.mdx#tier3-feedback) for the options and what the
+[tier3 feedback](/skills/skillevaluator/cli-reference#tier3-feedback) for the options and what the
chat sends to the LLM provider.
```bash title="Discuss one run"
@@ -1061,7 +976,7 @@ alias.)
## Performance dashboard
-Use the optional [Performance Dashboard](performance-dashboard.mdx) to filter
+Use the optional [Performance Dashboard](/skills/skillevaluator/performance-dashboard) to filter
saved Tier 3 reports and retained runs, compare paired scores and resource use,
and download the visible tables as CSV. The guide covers installation,
comparison eligibility, measurement limits, and reloading saved inputs.
@@ -1115,22 +1030,29 @@ configured model, unless a server-side `fallback` block in the reply names
another model.
Exit codes and a ready-made JSON gating recipe live in
-[Gate Your CI](ci-integration.mdx).
+[Gate Your CI](/skills/skillevaluator/ci-integration).
## Next steps
<CardGroup cols={2}>
- <Card title="Gate Your CI" icon="shield" href="ci-integration.mdx">
+ <Card title="Gate Your CI" icon="shield" href="/skills/skillevaluator/ci-integration">
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">
+ <Card title="Tier 3: Live Evaluation" icon="flask" href="/skills/skillevaluator/tier3-live-evaluation">
Run the evaluation that produces the results tree on this page.
</Card>
- <Card title="Custom Graders & Tasks" icon="book" href="custom-graders.mdx">
+ <Card title="Custom Graders & Tasks" icon="book" href="/skills/skillevaluator/custom-graders">
Define your own scoring when the default graders can't express success.
</Card>
- <Card title="CLI Reference" icon="terminal" href="cli-reference.mdx">
+ <Card title="CLI Reference" icon="terminal" href="/skills/skillevaluator/cli-reference">
Every flag for view, compare, and the report options, with exact defaults.
</Card>
</CardGroup>
+
+<div id="retained-three-tier-ci-evidence">
+
+For the explicit all-tier opt-in and its prerequisites, see [Advanced CI](/skills/skillevaluator/advanced-ci).
+The [retained CI evidence reference](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#retained-three-tier-ci-evidence) preserves the detailed report contract.
+
+</div>
diff --git a/docs/repository-integration.mdx b/docs/repository-integration.mdx
index 9329cc4b..f368955a 100644
--- a/docs/repository-integration.mdx
+++ b/docs/repository-integration.mdx
@@ -3,12 +3,13 @@ title: "Bring Skill Evaluation to Your Repository"
description: "Evaluate changed skills automatically with reusable GitHub and GitLab CI configurations."
---
-Bring SkillEvaluator to the repository where your team builds skills. Choose
-your skill folders and get results automatically when skills change.
+Bring quality and security checks to your repository. No model key required.
+Optional LLM checks are available. Choose your skill folders and get results
+automatically when skills change.
No evaluation code to write. No scanner installations to manage. The shared
-container brings the Tier 1 runtime to your CI runner, including SkillSpector
-for specialized skill security scanning.
+container runs the checks in your CI runner, including SkillSpector security
+scanning.
## How it works
@@ -52,7 +53,7 @@ explains customization and optional LLM checks.
## What you get
- **Automatic checks:** evaluate changed skills in pull requests or merge requests; run the configured collection on the default branch.
-- **Quality and security:** run Tier 1 checks, including SkillSpector security scanning, without adding evaluator code to the repository.
+- **Quality and security:** check your skills with SkillEvaluator and SkillSpector without adding evaluator code to the repository.
- **Control:** choose skill directories and a minimum quality score; the job fails when required checks fail or cannot complete.
- **Results you can inspect:** see a concise outcome in CI and download the detailed HTML, JSON, Markdown and SARIF reports.
@@ -64,9 +65,9 @@ Browse [report, log and PR comment examples](https://github.com/NVIDIA/SkillEval
in the public repository. No demo-repository access is needed.
<Note>
- The released CI image runs Tier 1, including SkillSpector. It does not run
- Tier 2 or Tier 3. GitHub and GitLab use the same scanner image with
- platform-specific workflow files.
+ These quality and security checks are called **Tier 1** in SkillEvaluator
+ reports. GitHub and GitLab use the same scanner image with platform-specific
+ workflow files. Additional evaluation stages require a separate opt-in.
</Note>
## Other CI systems
diff --git a/docs/tier1-validation.mdx b/docs/tier1-validation.mdx
index d5439ee8..aaa746e4 100644
--- a/docs/tier1-validation.mdx
+++ b/docs/tier1-validation.mdx
@@ -24,7 +24,7 @@ path shows help; expert subcommands remain available below.
## Tier 1 in automatic CI
-The [all-tier CI setup](cli-onboarding.mdx#opt-in-to-three-tier-ci) keeps Tier 1
+The [all-tier CI setup](/skills/skillevaluator/advanced-ci) keeps Tier 1
as a required gate. GitHub calls the hardened legacy scanner workflow at the
same evaluator commit; GitLab runs the same digest-pinned scanner image.
Static CI checks receive no model key. Tier 2 and Tier 3 execute independently
diff --git a/docs/tier2-deduplication.mdx b/docs/tier2-deduplication.mdx
index 8aca0be6..5b65229a 100644
--- a/docs/tier2-deduplication.mdx
+++ b/docs/tier2-deduplication.mdx
@@ -17,7 +17,7 @@ No external vector database or catalog service is required.
## Tier 2 in automatic CI
-The [all-tier onboarding path](cli-onboarding.mdx#opt-in-to-three-tier-ci)
+The [all-tier onboarding path](/skills/skillevaluator/advanced-ci)
runs Tier 2 as an advisory check, independently from the Tier 1 image and paired
Tier 3 evaluation. Configure chat and embedding provider credentials as CI
secrets. Tier 2 does not read `evals/`; committed native datasets are needed
@@ -28,7 +28,7 @@ The aggregate artifact preserves native Tier 2 JSON and HTML, including
deduplication and catalog-similarity findings. Failed, missing or incomplete
Tier 2 results stay advisory and do not block a passing Tier 1 CI gate; they are
never relabeled as completed passes. See
-[retained CI evidence](reports.mdx#retained-three-tier-ci-evidence).
+[retained CI evidence](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#retained-three-tier-ci-evidence).
## Run Tier 2
diff --git a/docs/tier3-live-evaluation.mdx b/docs/tier3-live-evaluation.mdx
index 25f1ae62..b8dd4d40 100644
--- a/docs/tier3-live-evaluation.mdx
+++ b/docs/tier3-live-evaluation.mdx
@@ -13,7 +13,7 @@ finished with-skill vs. without-skill comparison.
## Paired Tier 3 in automatic CI
-The [all-tier CI setup](cli-onboarding.mdx#opt-in-to-three-tier-ci) consumes
+The [all-tier CI setup](/skills/skillevaluator/advanced-ci) consumes
committed native `evals/` datasets with full coverage. It runs each selected
case both with and without the skill; it does not use autopilot, generate new
cases, or skip the baseline. Docker is the default, with native local mode as
@@ -28,7 +28,7 @@ reports for missing credentials, readiness failures and partial runs as well
as completed scores. Native reports include coverage and paired arm evidence,
Skill Lift, attempts, available latency/resource metrics and trial links. An
incomplete advisory result is visible and never described as a completed pass.
-See [retained CI evidence](reports.mdx#retained-three-tier-ci-evidence).
+See [retained CI evidence](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#retained-three-tier-ci-evidence).
## What a live eval measures
diff --git a/fern/docs.yml b/fern/docs.yml
index 5903ada9..5ae2ffdd 100644
--- a/fern/docs.yml
+++ b/fern/docs.yml
@@ -98,6 +98,9 @@ navigation:
- page: Environment Variables
path: ../docs/environment-variables.mdx
slug: environment-variables
+ - page: Advanced CI
+ path: ../docs/advanced-ci.mdx
+ slug: advanced-ci
- page: Contributing
path: ../docs/developer-guide.mdx
slug: developer-guide
diff --git a/tests/ci/test_all_tier_workflows.py b/tests/ci/test_all_tier_workflows.py
index 21a2d193..af09b49a 100644
--- a/tests/ci/test_all_tier_workflows.py
+++ b/tests/ci/test_all_tier_workflows.py
@@ -458,14 +458,14 @@ def test_gitlab_dind_daemon_requires_tls_client_certificates():
assert variables["DOCKER_TLS_VERIFY"] == "1"
assert variables["DOCKER_CERT_PATH"] == "/certs/client"
assert "2375" not in str(job)
- docs = " ".join((ROOT / "docs/gitlab-ci.mdx").read_text().split())
+ docs = " ".join((ROOT / "ci/templates/all-tiers/README.md").read_text().split())
assert 'volumes = ["/certs/client"]' in docs
def test_gitlab_native_jobs_use_environment_without_recording_deployments():
job = load("ci/gitlab/all-tiers.yml")["skill-evaluation-native"]
assert job["environment"] == {"name": "$SKILL_EVAL_ENVIRONMENT", "action": "prepare"}
- docs = " ".join((ROOT / "docs/gitlab-ci.mdx").read_text().split())
+ docs = " ".join((ROOT / "ci/templates/all-tiers/README.md").read_text().split())
assert "`environment: action: prepare`" in docs and "Prevent outdated deployment jobs" in docs
@@ -476,7 +476,7 @@ def test_gitlab_feedback_job_uses_its_protected_environment_without_recording_de
assert job["environment"] == {"name": "skillevaluator-feedback", "action": "prepare"}
# The publisher authenticates its job, pipeline and branch, never a deployment record.
assert "/deployments" not in (ROOT / "ci/feedback.py").read_text()
- docs = " ".join((ROOT / "docs/gitlab-ci.mdx").read_text().split())
+ docs = " ".join((ROOT / "ci/templates/all-tiers/README.md").read_text().split())
assert "The native jobs and the trusted feedback job use `environment: action: prepare`" in docs
# Some GitLab versions turn prepare jobs on an environment with approval
# rules into manual jobs, so deploy access is the only safe restriction.
@@ -484,7 +484,7 @@ def test_gitlab_feedback_job_uses_its_protected_environment_without_recording_de
assert "Do not add deployment approval rules to these environments" in docs
assert "turn them into manual jobs" in docs and "`prevent_blocking_non_deployment_jobs`" in docs
assert "Restrict who can run them with the protected environments' deploy access" in docs
- onboarding = " ".join((ROOT / "docs/cli-onboarding.mdx").read_text().split())
+ onboarding = " ".join((ROOT / "ci/templates/all-tiers/README.md").read_text().split())
assert "so deployment approvals do not gate them" not in onboarding
assert "Do not add deployment approval rules to their environments" in onboarding
assert "turn them into manual jobs" in onboarding
@@ -495,10 +495,10 @@ def test_gitlab_feedback_pipeline_guard_is_offered_and_documented():
hidden = load("ci/gitlab/all-tiers.yml")[".skill-evaluation-not-feedback"]
assert hidden["rules"][0] == guard
assert hidden["rules"][1] == {"when": "on_success"}
- for path in ("docs/gitlab-ci.mdx", "ci/templates/README.md", "ci/templates/all-tiers/gitlab-all-tiers.yml"):
+ for path in ("ci/templates/all-tiers/README.md", "ci/templates/all-tiers/gitlab-all-tiers.yml"):
text = (ROOT / path).read_text()
assert "- if: '$SKILL_EVAL_FEEDBACK == \"true\"'" in text, path
- docs = " ".join((ROOT / "docs/gitlab-ci.mdx").read_text().split())
+ docs = " ".join((ROOT / "ci/templates/all-tiers/README.md").read_text().split())
assert "extends: .skill-evaluation-not-feedback" in docs
assert "no comment is posted or updated" in docs
assert "Merge these guards to the default branch before the setup MR" in docs
@@ -508,7 +508,7 @@ def test_gitlab_feedback_pipeline_guard_is_offered_and_documented():
# Guards merge before the setup MR, while only all-tiers.yml defines the
# hidden job, so they use rules; a job without rules needs a fallback rule.
assert "gets the guard followed by `- when: on_success`" in docs
- assert "- when: on_success" in (ROOT / "docs/gitlab-ci.mdx").read_text()
+ assert "- when: on_success" in (ROOT / "ci/templates/all-tiers/README.md").read_text()
assert "Write these guards as rules" in docs
assert "until the setup MR merges, `extends: .skill-evaluation-not-feedback` fails validation" in docs
assert ".skill-evaluation-not-feedback" not in (ROOT / "ci/gitlab/skill-evaluation.yml").read_text()
@@ -518,7 +518,7 @@ def test_gitlab_feedback_pipeline_guard_is_offered_and_documented():
assert "Write the guards as rules" in template
assert "added after this file is on the default branch" in template
# The upgrade path must order the guards before the setup MR as well.
- onboarding = " ".join((ROOT / "docs/cli-onboarding.mdx").read_text().split())
+ onboarding = " ".join((ROOT / "ci/templates/all-tiers/README.md").read_text().split())
guards = onboarding.index("merge those guards to the default branch")
assert guards < onboarding.index("Then, in your setup MR")
assert "keep `test` in any `stages` list" in onboarding
diff --git a/tests/ci/test_tier_manifest.py b/tests/ci/test_tier_manifest.py
index 580545ec..a3b7fe36 100644
--- a/tests/ci/test_tier_manifest.py
+++ b/tests/ci/test_tier_manifest.py
@@ -262,7 +262,7 @@ def test_documented_tier_statuses_match_the_manifest_contract():
import re
from pathlib import Path
- text = " ".join((Path(__file__).parents[2] / "docs/reports.mdx").read_text().split())
+ text = " ".join((Path(__file__).parents[2] / "ci/templates/all-tiers/README.md").read_text().split())
sentence = re.search(r"A tier can be (.+?)\.", text)
assert sentence is not None
assert set(re.findall(r"`([a-z_]+)`", sentence[1])) == tier_manifest._STATUSES