Skip to content

feat(skill-optimizer, SCL-6360): find the skill from a repository root - #66

Open
doogal-tessl wants to merge 1 commit into
mainfrom
doogal/eval-setup-repo-skills
Open

doogal-tessl wants to merge 1 commit into
mainfrom
doogal/eval-setup-repo-skills

Conversation

@doogal-tessl

Copy link
Copy Markdown
Contributor

setup-skill-performance stopped with "package it as a plugin first" when a user ran it from the root of an application repository whose skill (for example skills/<name>/SKILL.md) had no plugin manifest. This change lets the agent find the skill and import it.

Changes

  • Phase 1 finds what to evaluate.
    • In a plugin (manifest in the current directory or a parent): use it.
    • At a repository root: look for skills below, skipping fixtures, examples and installed copies. One clear skill: use it. A few: ask which one. Many: ask the user to name the skill or give its path.
    • A skill with no manifest: run tessl skill import <skill-dir>, which adds only <skill-dir>/.tessl-plugin/plugin.json.
    • Non-interactive run: continue only with one clear candidate, else stop and ask for the path.
  • Fixes found in testing.
    • tessl scenario generate gets --wait. Without it, a non-interactive run returns at once.
    • Download scenarios by run ID, not --last.
    • Say that generation uses Tessl credits.
    • Time estimate is 2–5 minutes per scenario (measured about 4–5).
    • Every question has a default for non-interactive runs.
  • New eval scenario: skill-without-plugin-in-app-repo.
  • Version: 0.16.1.

Testing

  • Full run from the root of a small application repository with one skill and no manifest: import, 2 scenarios generated, eval run. Without the skill 70%, with the skill 100%.
  • New scenario: 97% without, 100% with. It is a regression guard; the task could be made harder.
  • tessl agent --print read-only run with the edited skill planned the correct import, generate, download and eval commands. The released skill stopped at "package it first".
  • Not tested: a live interactive session with a person answering the questions.

Before merging

main has skill-optimizer at 0.14.0, but the registry already has tessl/skill-optimizer 0.16.0. Confirm where 0.15 and 0.16 were published from, so 0.16.1 does not drop changes made outside this repository.

🤖 Generated with Claude Code

setup-skill-performance stopped with "package it as a plugin first" when
run from the root of an application repository whose skill had no plugin
manifest. Phase 1 now finds what to evaluate with the agent's judgement:
use the enclosing plugin if there is one; at a repository root, use one
clear skill, ask among a few, or ask the user to name it when there are
many. A skill with no manifest is imported with `tessl skill import`.

Also: pass --wait to `tessl scenario generate`, download by run ID, say
that generation uses credits, update the time estimate to 2-5 minutes per
scenario, and give each question a non-interactive default. Adds the
skill-without-plugin-in-app-repo eval scenario. Version 0.16.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@doogal-tessl doogal-tessl self-assigned this Nov 12, 2026

@tessl-reviewer tessl-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tessl Reviewer

Changes requested (1 required)

The change adds repository-root skill discovery, automatic import, and more reliable scenario generation and download instructions. The non-interactive default introduces a consent conflict: it can treat an unanswered setup-script approval request as permission to enable and run the script.

Severity Requires changes Advisory
Major 1 0

Requires changes (1)

  • Major · Requires changes · The non-interactive default treats missing setup-script consent as approval
    skill-optimizer/skills/setup-skill-performance/SKILL.md:14
Working with this review

Verify before acting. These findings are AI-generated and not authoritative. Check each one against the code, yourself or with an agent, before acting on it.

Answer each finding on its thread:

  • Addressed: you changed the code. Say what changed.
  • Refuted: the finding is wrong about the code.
  • Declined: the finding is right, and you are not changing it. Say why.

Reviews are incremental. The first review shows every valid optional and required finding. A later round checks the latest changes and earlier findings, and adds a fresh finding only when it requires changes. It never repeats one you refuted or declined. The configured request-changes severity sets the consequence baseline, and review mode sets the strength required to block. Ask for a full review to inspect the whole change and show optional findings again.

Lenses are configurable. Add your own and scope them to paths with globs. Keep the set small so findings stay distinct. See https://docs.tessl.io/tutorials/setting-up-agentic-code-review#route-reviews-with-yaml

Mention @tessl-reviewer to run another review.


**Companion skill:** After setup is complete, suggest the user run the `optimize-skill-performance` skill to analyze results, diagnose failures, fix plugin content, and re-verify improvements.

**Non-interactive runs:** if you cannot ask the user, do not stop at a question. Take the first option the step offers, unless the step gives its own non-interactive rule.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major · Requires changes · The non-interactive default treats missing setup-script consent as approval

SKILL.md:14 tells unattended runs to take the first offered option unless a step supplies its own non-interactive rule. In phase3-fixtures-and-setup.md:99–111, the first option is “Approve this script,” followed by writing and enabling setup.sh; that step has no non-interactive exception. A full-pipeline run for a scenario needing dependency setup can therefore enable a script such as npm install and proceed to an eval that executes it without the explicit user approval the same reference requires. Displaying the script or the pre-run summary does not supply that consent when nobody can answer. Non-interactive continuation must preserve the explicit approval gates for setup scripts and fixture sourcing rather than treating the absence of a response as approval.

Skill Instruction Integrity

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