feat: implement skill-evaluator loop and benchmark aggregation framework#5
Open
trszhang wants to merge 1 commit into
Open
feat: implement skill-evaluator loop and benchmark aggregation framework#5trszhang wants to merge 1 commit into
trszhang wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dear TabClaw authors
I wanted to sync on a recent contribution I completed for TabClaw, which primarily focuses on establishing a closed evaluation loop after a user uploads a custom skill.
PR Summary
This change introduces the skill-evaluator. Once a user uploads a ZIP skill, they can now use this tool directly to run structured evaluations and generate iterative feedback, improving the verifiability and maintainability of custom skills.
Motivation
In the current workflow, users can import skills but lack a clear, reusable "evaluation entry point." This leads to several issues:
The goal of skill-evaluator is to bridge this gap, allowing users to directly evaluate their uploaded skills instead of stopping at just "can import, can invoke."
What Changed
Benchmark Design & Methodology
Every evaluation run generates a grading.json file. The core logic evaluates each expectation item by item to determine a passed: true/false status, which is then aggregated:
In addition to accuracy, each individual run logs quantitative efficiency data to track cost and stability:
The aggregation script located at skills/skill-evaluator/scripts/aggregate_benchmark.py compiles statistics across all runs for each specific configuration (e.g., with_skill vs. without_skill):
The final run_summary automatically calculates the performance delta between configurations:
Instead of relying on a single, isolated run, this system comprehensively evaluates Quality (pass_rate) + Cost (time/tokens) + Stability (stddev) against a strict control group (with vs. without). This isolates whether a custom skill introduces a true net benefit or if a good run was simply a fluke.
Result / User-Facing Impact
After uploading a ZIP skill, users can now immediately trigger an evaluation process via skill-evaluator to receive:
Please let me know your thoughts or if you'd like to do a quick walkthrough of the aggregation script!
Best regards
Fengyi Zhang