skillhone-auto-optimiz…
Mandatory interception workflow for a reproducible defect encountered while any Agent is using a skill. Invoke this before…
Run the additional paper-compatible optimization workflow with a frozen benchmark repository. Use only when the user asks to generate or reuse an eval set, establish a baseline, improve probe or PR-validation scores, compare a Skill against a benchmark, or reproduce the
$ npx -y skills add Tencent/SkillHone --skill skillhone-benchmark-optimization --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skillhone-benchmark-optimizationContext preview
The summary Claude sees to decide when to auto-load this skill.
Run the additional paper-compatible optimization workflow with a frozen benchmark repository. Use only when the user asks to generate or reuse an eval set, establish a baseline, improve probe or PR-validation scores, compare a Skill against a benchmark, or reproduce the
name: skillhone-benchmark-optimization description: Run the additional paper-compatible optimization workflow with a frozen benchmark repository. Use only when the user asks to generate or reuse an eval set, establish a baseline, improve probe or PR-validation scores, compare a Skill against a benchmark, or reproduce the evaluation loop described in the SkillHone paper. Do not use for a single defect observed during normal Agent work; use skillhone-auto-optimization for the default path.
Use this additional workflow when the user explicitly wants a frozen evaluation dataset to discover which Skill failure to fix next. It is not a prerequisite for proactive maintenance. It feeds another evidence source into the same Issue-driven SkillHone review system:
gold answers, and raw results;
test-gated `automatic` policy as the fast path.
Do not copy a Benchmark item or a derived executable test into the Skill repository's `.test/` directory. `.test/` is for the default fast path, where a small defect observed during normal Agent work needs a visible repository regression. In this full Benchmark path, the evaluator remains the only holder of the evaluation contract.
Use a trusted evaluation repository supplied by the user. The repository must be committed and clean before it is registered. It contains:
`pass_rate`.
Do not generate or revise evaluation data after seeing candidate results. If the evaluation contract changes, commit it and initialize a new campaign.
From the Skill repository:
skillhone benchmark init --eval-repo /path/to/my-skill-eval skillhone benchmark status
The default compatibility runner is:
python3 evaluator/eval.py --skill-dir {skill} --dataset-dir {eval} --split {split} --output {output}Use `--runner` only when the evaluation repository exposes another command. The command must accept the `{skill}`, `{split}`, and `{output}` placeholders; `{eval}` is also available.
skillhone benchmark run --split probe skillhone benchmark optimize --min-improvement 0.02
`benchmark optimize` runs a baseline probe, records the most frequent redacted failure pattern as one Issue, and runs a separate Harness Explorer. The Explorer checks whether the current Skill actually implements the capabilities it names, searches community registries such as SkillHub for relevant Skills, and downloads reference copies into private scratch space under `.git/` for inspection. The repair Harness independently re-fetches the selected reference, reviews its license and files, and may adapt useful instructions, scripts, and references into one generalizable revision of the complete Skill bundle. Downloaded reference repositories themselves are never committed. SkillHone then reruns the same frozen probe outside the optimizer. When `pr_val.jsonl` exists, its baseline is measured up front, but only candidates that first pass the probe-improvement gate spend the private PR-validation split; a regression larger than two points blocks selection. SkillHone records only aggregate gate results in local state. A selected candidate becomes an Issue-linked local branch and PR.
The optimizer receives the probe questions because they are the reproducible iteration feedback in the original SkillHone loop. Read every valid, non-empty question row in file order by default; do not sample or impose an implicit row or global character limit. Redaction still applies. Never show it probe gold answers or verifier code, any `pr_val`/`test` questions, result files, or the evaluation repository path.
Do not reduce this workflow to rewriting `SKILL.md`. The paper workflow evolves the full portable bundle. When the seed Skill lacks a real search implementation, the expected optimization is to discover reviewed search Skills and adapt the smallest portable scripts/references needed to make the declared procedure executable. Unreviewed downloaded code is never run directly.
Run the held-out split only after iteration is finished:
skillhone benchmark run --split test skillhone pr list skillhone pr view <N>
Do not use `test` to choose edits. Do not merge or push automatically. Review the Skill diff, public checks, frozen eval commit, probe delta, and PR-validation delta before asking the user whether to merge.
ordinary repository-local Issue; only their evidence source differs.
text is supplied transiently to the optimizer; verifier code, gold answers, `pr_val`/`test` inputs, and raw results are never provided.
aggregate evaluation gates live in SkillHone's repository-scoped local state, not in the Skill Git tree.
by the Web API.
Continual agent skill evolution through persistent decision history. Whole-skill optimisation (SKILL.md + scripts + references) with every decision landing as a local Git issue / PR / wiki. Runs on any agentskills.io runtime — Claude Code, Codex, OpenClaw, Hermes.
Mandatory interception workflow for a reproducible defect encountered while any Agent is using a skill. Invoke this before…
Local Issue, pull-request, and Wiki workbench for agent skills. Use when a user asks what skill problems, Issues, PRs, repair…