--- title: "Set Up CI with the CLI" description: "Set up quality and security checks for GitHub, with optional hosted reports and PR feedback." --- 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. [Install SkillEvaluator](/skills/skillevaluator/installation#install), then run the setup command from your repository: ```bash title="Run inside your checked-out GitHub repository" skillevaluator ci init ``` Adding reports to an existing shared component and using private Pages require SkillEvaluator **0.7.2 or later**. For a new GitHub Tier 1 setup, use `skillevaluator ci init --channel stable` with a CLI release that supports this option. The generated workflows follow verified stable releases after the channel's first promotion. To add hosted reports to an existing stable scan, run `skillevaluator ci init`. To move an existing pinned setup to stable, edit its workflow files using the manual setup. [Stable GitHub workflows](/skills/skillevaluator/github-actions#follow-the-latest-stable-release) For stable PR comments without Pages, answer **No** when the wizard asks **Add hosted feedback?** Then follow [Set up stable PR comments](/skills/skillevaluator/github-actions#set-up-stable-pr-comments). Select skill folders, a score threshold and feedback. Review the setup PR and merge it when ready. Open a skill PR and follow its check, comment and report. No evaluation code to copy into your repository. No CI scanners to install locally. The shared container supplies the runtime; you control the configuration. Use Python 3.12–3.14, Git and the [GitHub CLI](https://cli.github.com/). Start from a clean checkout with a GitHub `origin` remote. Sign in with `gh auth login --scopes workflow` if you have not already done so. The login needs permission to add workflow files as well as access to the repository. Automatic GitHub setup requires repository admin access. GitHub Actions and the referenced reusable workflows must be allowed. Checks-only setup supports 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. This default Tier 1 wizard supports GitHub. For GitLab Tier 1, use the [GitLab template](/skills/skillevaluator/gitlab-ci). The separate [all-tier CLI opt-in](/skills/skillevaluator/advanced-ci) supports GitHub and GitLab. ## Run the wizard For a new scan, the wizard discovers folders containing `SKILL.md`. Answer five short questions; press **Enter** to keep a default. | Question | Your choice | | --- | --- | | **Skill folders** | Use the displayed numbers: `1,2` or `1 2` selects two folders. | | **Minimum score** | `70` by default; a lower quality score fails the check. | | **PR scope** | `auto` checks changed skills; `all` checks the selected collection. | | **Hosted feedback** | Add hosted HTML reports and one PR comment that updates with new results. | | **Apply setup** | Choose `pr`, review the summary, then confirm. | ```text ╭─ 1/5 Which skill folders? ───────────╮ │ 1 skills 12 │ │ 2 .agents/skills 3 │ │ Use folder numbers: 1,2 or 1 2. │ ╰─────────────────────────────────────╯ Folders [1]: 1,2 ✓ Selected: skills, .agents/skills (15 skills) ``` The score threshold does not override required security or schema checks. The wizard sets up quality and security checks without a model key. Deduplication and live agent evaluation require separate setup. For optional model-backed checks, copy `skill-checks-llm.yml` from the [released CI bundle](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/bundles/README.md). Follow the [provider and secret setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#optional-llm-checks). Already have `.github/workflows/skill-checks.yml`? The CLI recognizes a **Skill checks** workflow with one reusable scan job. It keeps your existing inputs, triggers and workflow reference, including a shared component's `@v3` tag. Review those settings, then choose whether to add hosted feedback. Reporting adds `id-token: write` to the scan job when needed and prepares the publisher workflow. Installing a newer CLI does not upgrade these existing pins; review the [current versioned files](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/bundles/README.md) when upgrading a committed caller. ### Shared components If your scan calls a shared component such as `your-org/ci/.github/workflows/skill-checks.yml@v3`, its maintainer first grants `id-token: write` in the component job that calls the evaluator. This is a one-time component change; the CLI checks it before applying reporting setup. Then run `skillevaluator ci init` in each consuming repository. The setup keeps `@v3` and approves that component to select the evaluator revision. When the maintainer updates `v3`, future scans use the updated component without a consumer edit. Each published report retains the resolved component and evaluator commits in its execution receipt. ### Private report hosting Private Pages requires a private or internal project repository owned by a GitHub Enterprise Cloud organization. An administrator must first open **Settings → Pages**, choose **GitHub Actions** as the source and set the site visibility to **Private**. GitHub's REST API cannot change site visibility, so this step is done in GitHub's settings. Rerun `skillevaluator ci init` after that one-time setup. The CLI verifies the site's private visibility and uses GitHub's assigned private URL. It can reuse an existing SkillEvaluator report site or a newly configured empty private site; an unrelated website is preserved. Personal repositories cannot host access-controlled Pages. If private Pages is unavailable, choose **checks only** to retain reports in Actions artifacts, or use the [manual comments-only setup](/skills/skillevaluator/github-actions#enable-pr-comments) for PR feedback without a hosted site. Repository privacy alone does not restrict access to a Pages site. See [GitHub's private Pages requirements](https://docs.github.com/en/enterprise-cloud@latest/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site). ## Review your setup After confirmation, the CLI configures your selected GitHub settings and opens a PR with the workflow files: ```text title="What changes in your repository" .github/workflows/ ├── skill-checks.yml Checks + downloadable reports └── publish-skill-reports.yml Optional hosting + PR comments ``` ```text ╭─ ✓ Setup PR ready ───────────────────╮ │ Merge this PR to enable checks. │ ╰─────────────────────────────────────╯ https://github.com/your-org/skills/pull/12 After merging, optionally create a test PR: skillevaluator ci demo ``` **Review and merge the setup PR yourself.** The CLI does not merge it. A setup-only run may say **Skipped** because no skill changed. ## Try a test PR After merging setup, run: ```bash skillevaluator ci demo ``` The CLI asks before adding a small Markdown comment to one selected `SKILL.md` on a new branch. Type `y` to create the test PR, or press Enter to skip. You can also make a small skill edit and open a PR yourself. ```text ╭─ ✓ Test PR created ──────────────────────────────╮ │ Checks → Skill checks │ │ Bot comment → Open full report │ │ Comment follows publication. Close PR when done. │ ╰─────────────────────────────────────────────────╯ https://github.com/your-org/skills/pull/13 ``` Close the test PR when you finish; **you do not need to merge it**. ## See the result on your PR
**github-actions[bot]** **Tier 1 scan result: PASSED** 1 skill · 1 passed · 0 failed · 0 incomplete | Skill | Status | Quality / 100 | | --- | --- | --- | | `skills/evidence-table` | PASS | 98.2 / A | **Open full report** · **View workflow run**
| Where to look | What you get | | --- | --- | | **PR → Checks** | The scan result for the current commit. | | **PR → Conversation**, with publishing enabled | One bot comment, updated when a new scan is published. | | **Open full report** in that comment | Detailed HTML findings and scores. | **Checks only:** open the scan in **Actions**, download its report artifact, extract it and open `index.html`. Failed scans retain their available reports too. For an existing GitHub CLI login, run `gh auth refresh --hostname github.com --scopes workflow`, then retry setup. If you supply a token yourself, it must permit workflow-file writes. See [GitHub's workflow scope](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps). Choose the read-only option in the wizard to see the plan without changing files or GitHub settings. Previewing an existing scan workflow makes no network requests; GitHub access and private Pages checks happen when you apply setup. The `save` option writes only the local workflow files; choose `pr` for automatic GitHub setup. The CLI preserves the settings of a recognized existing scan and leaves other workflows separate. It does not automatically make the scan a required merge check. After the first run, select its emitted check in GitHub branch rules if a failed or incomplete result should block merging; the current template emits `skills / Tier 1 scan`. Organization action restrictions are preserved. Repositories using an Actions allowlist must use the wizard's `save` option, even when the required actions are already allowed. Review the saved files and complete setup through your normal repository process. Confirm that setup is merged, the PR is open and its branch is in the same repository. Wait for **Publish skill reports** to finish; open that run if publication failed. Fork-origin PRs retain their available results in Actions. Checks-only setups do not post comments. Read the reported issue. A failed scan can still publish feedback: the result may identify a skill issue or a scanner that did not finish. Merging setup is not a passing evaluation. Push a fix to the same PR to rerun its checks and update the published feedback. Add the GitHub workflows yourself using the release files. Add the shared scanner to your GitLab pipeline.
The all-tier CLI was already included in 0.9.0; it remains a separate opt-in from this default wizard. For its prerequisites and current pins, 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.