Skip to content

Add Copilot headless runs to skills:eval to verify Copilot uses .claude/skills #2397

Closed

Description

@cliffhall

Problem

The repo's procedures live in .claude/skills/, and npm run skills:eval (scripts/skill-eval.mjs) measures whether each model-invoked skill actually fires — but it only drives the claude CLI. Some maintainers work on this repo with GitHub Copilot, and we have no evidence either way that Copilot discovers or uses these skills. If it does not, a Copilot session never sees the procedures AGENTS.md defers to (pr-flow, issue-create, pre-push-gate, …) and silently skips steps such as DCO signoff, the base branch, or the board card.

Copilot's conventional project-skill location is .github/skills/, not .claude/skills/. Whether it also reads .claude/skills/ should be measured, not assumed — documentation on this has changed over time, and a skill that is discovered is still not a skill that fires reliably.

Proposed work

  1. Add a Copilot runner to the skills eval. Drive the Copilot CLI headless (non-interactive prompt mode) over the same committed evals/evals.json cases, in fresh sessions, and detect whether the expected skill was loaded. Report Copilot's hit rates in their own columns — a Copilot rate and a Claude rate are not the same measurement and must not be folded together, for the same reason first-move and chain cases are reported separately.

  2. Answer the discovery question first. Before measuring trigger rates, establish whether Copilot lists our skills at all from .claude/skills/. Record what version of the Copilot CLI was tested.

  3. If it does not, find the least-duplicating way to coerce it, and measure each option rather than picking one by argument. Candidates:

    • a symlink .github/skills → .claude/skills (check how git, Windows checkouts and the Copilot loader each treat it),
    • Copilot configuration pointing at an additional skills directory, if one exists,
    • a pointer from AGENTS.md / .github/copilot-instructions.md to the skill files (Copilot reads AGENTS.md),
    • moving the skills to a location both tools read.

    ⚠️ A second copy of any skill is not an acceptable answer — AGENTS.md already holds that two copies of a procedure is strictly worse than one, because the stale copy is indistinguishable from the live one.

  4. Check frontmatter compatibility. disable-model-invocation and user-invocable are Claude Code keys; determine what Copilot does with them (ignored, honored, or rejected), since release depends on not being model-invoked.

  5. Record the outcome in AGENTS.md (Maintaining the skills) and docs/skill-authoring.md — including the case where the answer is "Copilot already works, here are its numbers".

Constraints carried over from the existing eval

  • Not part of validate, local:gate or CI — same reasoning as skills:eval today (metered calls, non-deterministic hit rates, red on auth/rate limits).
  • Any tool grants given to the headless Copilot run should restrict availability, not merely pre-approve, per the --tools vs --allowedTools lesson recorded in AGENTS.md.
  • The runner should degrade with a clear message when the Copilot CLI is absent or unauthenticated, rather than failing the whole eval.

Done when

  • skills:eval can run the cases against Copilot and reports its rates separately.
  • We know whether Copilot uses .claude/skills/ as-is, and if not, a single-copy mechanism that makes it do so is in place and measured.
  • The finding is documented for maintainers who use Copilot.

Activity

  1. added this to the v2.8.0 milestone on Sep 16, 2026
  2. added
    v2
    chore
    on Sep 16, 2026
  3. cliffhall commented on Sep 16, 2026

    @cliffhall
    MemberAuthor

    Priority score: severity 3 (maintainers on Copilot may not get any of the repo procedures; the workaround is reading SKILL.md files by hand) + urgency 2 (wanted, nothing blocked) + 1 signal (milestoned) = 6 → Medium.

  4. self-assigned this
    on Sep 16, 2026
  5. cliffhall commented on Sep 16, 2026

    @cliffhall
    MemberAuthor

    Shipped in #2398 (merged into v2/main).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

chorev2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions