Skip to content

fix(skill): correct consent, local-mode and eval-case issues from #570/#601 review - #666

Merged
rng1995 merged 1 commit into
mainfrom
naren/skill-consent-review-fixes
Nov 16, 2026
Merged

rng1995 merged 1 commit into
mainfrom
naren/skill-consent-review-fixes

Conversation

@rng1995

@rng1995 rng1995 commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #570 and #601 (both merged). The review of those two PRs turned up problems in the skillevaluator skill text and in its own eval dataset. This PR fixes them in one place.

SKILL.md

  • Local mode was described wrongly (P2). The skill said --env-mode local "runs the agent ... with their logins". It doesn't. Each trial gets a private HOME, Seatbelt/Bubblewrap block the real HOME and keychain, and only the provider key is passed in. The bullet now says that, and gates local mode on "trusted skills only" like the rest of the docs.
  • Consent scope now matches the docs (P2). docs/agent-skill.mdx and the CHANGELOG say the agent asks before using credentials or spending tokens. SKILL.md only asked when no key was set, and only before Tier 3. Now the agent asks before the first provider-backed command (unless the user asked for that run). It also asks which provider to use when several keys are exported, states the Tier 3 trial count including judge calls, and asks again before the full run.
  • Prerequisites no longer say "install it yourself" (P2). That contradicted the ask-first rule.
  • Copying a skill (P2). Step 6 now says to keep the copy's directory name equal to the frontmatter name. A renamed copy fails Tier 1 with SCHEMA-HIGH. The misleading ~/.claude/skills example is replaced.
  • Doctor troubleshooting row (P2). It now matches Report the missing tier3 extra from doctor on a base install #626's message (Tier 3 dependencies are not installed) and reinstalls the extra with whichever installer was used. Before, pip install would miss a uv tool or pipx install.
  • Install step:
    • pipx and pip are pinned to Python 3.12-3.14. Verified: pip on macOS's default Python 3.9 resolves to the empty skillevaluator 0.0.0a0 placeholder.
    • uv tool update-shell (it edits shell startup files) now falls under the permission rule.
    • Upgrades use the installer that was used.
  • Scanner downloads are no longer described as "nothing" or "offline". The command table, step 3 and the health-check reference now say that keyless scans and health-check --tier 1 download missing scanners.
  • Other step 6 changes:
    • The agent also asks for input files.
    • It warns that tier3/validate write a starter case when none exists.
    • Fixtures and sidecars are preferred over "give the commands, do not run them" prompts.
  • Rewording. It removes two SkillSpector MEDIUM false positives: EA2 "without asking" and RA2 "Write those into".

evals.json

  • The nested fixture shipped a second skill (P2). evals/files/notes-helper/SKILL.md (from feat(skills): teach the skillevaluator skill to install the CLI when missing #570) shipped inside the skill folder, and Codex, OpenCode and Hermes load it as a separate notes-helper skill. Our own tier1 flagged it as SCHEMA-MEDIUM and HARNESS-LOW. Case 009 now inlines the target in its prompt, and the file is removed.
  • Case 003 (P2). It now accepts the labeled draft that step 6 allows, with one behavior per assertion. It no longer requires asking about input files, which the skill never taught. That item is now in step 6.
  • Renumbering. docs(skill): make the skillevaluator skill ask before installing, spending or writing cases #601's cases are renumbered 010-017, because main already had 009-explicit-cli-missing.
  • Cases 011 and 013. Each loses an assertion the prompt never asked for (the rubric key in 011, config.yml in 013).
  • Case 012. It no longer offers local mode for a deploy skill.
  • Case 017 (cold-install consent). It drops the false "CLI is installed" premise, no longer gives away the answer in the prompt, and asserts the auto-provisioning behavior.
  • New case 018. It restores coverage of writing a valid evals.json from the user's own requests (top-level keys, negative expected_skill: null), which docs(skill): make the skillevaluator skill ask before installing, spending or writing cases #601's rewrite of 003 had removed.

CHANGELOG

Verification

  • skillevaluator tier3 validate skills/skillevaluator --strict: exit 0, 18 cases (15 positive, 3 negative).

  • pytest tests/test_skillevaluator_skill.py tests/tier3/test_dataset_baseline_fairness.py: 460 passed. After the rebase onto main a2a4bac, test_skillevaluator_skill.py passed again (59 passed).

  • skillevaluator tier1 skills/skillevaluator --no-llm: exit 0, all checks pass, and the nested-manifest warning is gone. quality-check: 98.8 (A), the same as before.

  • No live Tier 3 run of the changed cases.

  • Did not add credentials, private datasets, or proprietary benchmark content

  • Updated CHANGELOG.md

🤖 Generated with Claude Code

…#601 review

- Prerequisites ask before installing the CLI; the one-key claim is scoped to
  nv_build in docker/local mode.
- Ask The User First: ask before the first provider-backed command, state the
  Tier 3 trial count with judge calls and ask again before the full run, and
  describe --env-mode local correctly (private HOME, no CLI logins, trusted
  skills only). Rewording drops two SkillSpector false positives.
- Step 1: pin pipx/pip to Python 3.12-3.14 (an older pip installs the empty
  0.0.0a0 placeholder), put uv tool update-shell under the permission rule,
  and upgrade with the installer that was used.
- Command table, step 3 and health-check reference say scanners are
  downloaded when missing; step 6 keeps a copied skill's directory name,
  asks for input files, warns that tier3/validate write a starter case, and
  prefers fixtures over "give the commands" prompts.
- Troubleshooting: the doctor row matches #626's message and reinstalls the
  extra with the original installer.
- Evals: inline the notes-helper target in case 009 so the installed skill
  carries no nested SKILL.md (Codex, OpenCode and Hermes loaded it as a second
  skill); renumber #601's cases 010-017; let case 003 accept a labeled draft
  with one behavior per assertion; drop unrequested assertions in 011/013;
  rewrite case 017 without the false premise; add case 018 for writing a
  dataset from the user's requests.
- CHANGELOG: fold #601's Fixed entry into its Changed entry and describe the
  permission rule in #570's entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 enabled auto-merge (squash) November 16, 2026 12:58
@rng1995
rng1995 merged commit c4dc649 into main Nov 16, 2026
23 of 24 checks passed
@rng1995
rng1995 deleted the naren/skill-consent-review-fixes branch November 16, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant