Verifier-Independent Skill Evolution from Scripts (VISE)¶
Extract operational records from inspectable tool scripts and align them with
SKILL.mdand traces to revise skills without a task verifier.
Verifier-Independent Skill Evolution (VISE) revises SKILL.md workflow guidance from tool source code and an unlabeled execution trace (Liu et al., 2026). Use it when task-specific verifiers are unavailable and skills rely on inspectable local scripts. The pipeline extracts structured operational records before editing and leaves scripts frozen. Added to four evolution methods across SkillsBench and SkillLearnBench on GPT-5.5, it raised overall average task success (P@1) by 9.14 to 13.35 percentage points over No-verifier (Liu et al., 2026). Three-run success (Hit3) rose by 12.36 to 18.29 points.
When this applies¶
Three conditions bound when script-grounded revision pays off:
- Inspectable local scripts implement the skill's operations. VISE reads full source code to extract inputs, usage conditions, and output formats (Liu et al., 2026).
- Task verifiers are absent or miss script-interface gaps. Source code exposes missing arguments and unused outputs directly.
- Revision uses structured extraction and alignment. Direct source-and-trace revision without structured feedback scored lower than skipping revision (Liu et al., 2026).
How the revision stage works¶
VISE separates executable scripts from Markdown guidance, treating script source as a fixed reference while revising SKILL.md (Liu et al., 2026). This applies the broader principle of using executable artifacts as specifications.
graph LR
A[Inspectable scripts] --> B[Extract operational<br>knowledge records]
B --> C[Align with SKILL.md,<br>request, and trace]
C --> D[Emit cited<br>feedback items]
D --> E[Apply targeted<br>SKILL.md patches]
- Extract operational records. The model reads numbered script source, assisted by an AST index for parsable Python files. It writes up to 12 records holding capabilities, usage conditions, ordered steps, constraints, and verified line spans (Liu et al., 2026).
- Align records with guidance. One model call compares those records against
SKILL.md, the task request, and an unlabeled trace. It checks for missing operations, unstated conditions, and missing fallback steps (Liu et al., 2026). - Emit cited feedback. Identified gaps produce up to 12 feedback items citing knowledge IDs, exact request quotes, and conflicting
SKILL.mdpassages (Liu et al., 2026). - Patch Markdown selectively. The revision call returns no change or up to four unique, non-overlapping edits of at most 8,000 characters each. Scripts stay frozen before evaluation (Liu et al., 2026).
Why it works¶
Huang et al. study intrinsic self-correction in reasoning without external feedback. In that reasoning setting, Huang et al. found that "LLMs struggle to self-correct their responses without external feedback, and at times, their performance even degrades after self-correction" (Huang et al., 2024). VISE supplies an external referent by extracting behavior from tool source code and binding each edit to verified line spans (Liu et al., 2026).
A 60-task TraceEvo ablation shows that structured extraction and alignment drive the gain. Full VISE reached 57.78% P@1, 76.67% P@3, and 30.00% Hit3 (Liu et al., 2026):
| Condition | P@1 change (pp) | P@3 change (pp) | Hit3 change (pp) |
|---|---|---|---|
| w/o Workflow Revision | -8.33 | 0.00 | -5.00 |
| w/o Workflow Alignment | -10.56 | -5.00 | -1.67 |
| w/o Structured Feedback | -13.89 | -16.67 | -5.00 |
| Raw-Source Revision | -18.89 | -13.33 | -16.67 |
Direct source-and-trace revision without structured knowledge or workflow alignment (w/o Structured Feedback) dropped P@1 by 13.89 points and P@3 by 16.67 points. It solved 36 tasks at least once versus 46 for Full VISE, and sat 5.56 points below skipping revision (w/o Workflow Revision, down 8.33 points). The Raw-Source Revision condition fell further, down 18.89 points in P@1 and 16.67 points in Hit3. In the main evaluation, most tasks newly reaching three successes under VISE had passed once or twice under No-verifier: 28 of 33 for Self-Refine, 25 of 37 for TraceEvo, 23 of 36 for SkillLearn, and 22 of 35 for SkillRevise (Liu et al., 2026).
When this backfires¶
- Closed-source tools or remote APIs. The authors note that "accessible scripts may expose invocation logic but provide limited information about the underlying operations" (Liu et al., 2026).
- Domains with strong test-failure verifiers. On SkillLearnBench Software Engineering, test-failure Report improved P@1 by 5.9 to 21.6 percentage points over No-verifier. VISE changed P@1 by -3.9 to 3.9 percentage points. Native SkillLearn and SkillRevise workflows also beat VISE on overall P@1 (52.01% versus 51.04%, and 54.40% versus 51.40%). Both native workflows led on Hit3 too (46.15% versus 41.24%, and 45.05% versus 40.78%), while VISE led on P@3 (Liu et al., 2026).
- Tight token budgets and passing skills. Across 122 shared tasks, the VISE refinement stage used 41.62k to 44.79k input tokens, 1.70k to 1.95k output tokens, and 57.97 to 82.27 seconds per skill. VISE revises without a parent-pass stopping rule, and 3 to 14 previously three-for-three tasks moved to fewer successes per method (Liu et al., 2026).
- Coupled-requirement shifts. Across 233 SkillsBench variants, frozen VISE skills raised overall success from 46.35% to 49.36% up to 61.37% to 66.52%. Coupled-requirement variants remained the lowest-scoring category for every method (Liu et al., 2026).
- Unreviewed reuse in security-sensitive settings. The authors warn that "Revised skill guidance may be reused across tasks, allowing unsafe instructions or sensitive information to propagate beyond the original interaction" (Liu et al., 2026). On SkillMisevo-Bench, Mao et al. report that "Across 21 combinations of agents and evolution methods, all of them write unsafe skills and 15 carry the harm into the new session" (Mao et al., 2026); see Skill Misevolution in Self-Updating Skill Libraries.
All controlled evolution and execution runs used GPT-5.5 alone. VISE also evaluated complete-score subsets of 177 to 179 of the 183 benchmark tasks (Liu et al., 2026).
Example¶
In the paper's video object-counting study (Appendix F), scripts/count_objects.py exposed five required arguments: --tool, --input_image, --object_image, --threshold, and --dedup_min_dist. The script printed an integer count per call and stayed unchanged; only SKILL.md changed (Liu et al., 2026).
Before — incoming Self-Refine guidance excerpt:
Inspect the files under scripts/ to determine their interfaces and behavior. Use runtime evidence when available.
After — VISE-appended guidance excerpt linked to the extracted count-objects-cli record:
Counting objects with a template
When a task asks to count occurrences of a sample object image in another image, the package provides a count tool in scripts/count_objects.py.
...
Choose threshold and de-duplication distance based on the image/template scale and validate as needed. The command prints a line reporting the number of objects for that input image and template; use that reported count for each frame/template pair.
With the incoming guidance, the agent ran four calls on one frame after the CSV file already existed. With the revised guidance, it called the script inside a frame-template loop, captured stdout with subprocess.check_output, parsed the counts, and wrote them into the final CSV (Liu et al., 2026).
Key Takeaways¶
- Treat inspectable tool source code as a structural oracle when task verifiers are missing, keeping scripts frozen while patching
SKILL.md. - Build structured extraction and alignment before revising; direct source-and-trace revision without structured feedback scored 5.56 points below skipping revision on the 60-task TraceEvo ablation (Liu et al., 2026).
- Compare test-failure reports with VISE for your task category; Report beat VISE on SkillLearnBench Software Engineering and skips passing skills, while native SkillLearn and SkillRevise led on overall P@1 and Hit3 (Liu et al., 2026).
- Budget 41.62k to 44.79k input tokens and 57.97 to 82.27 seconds of API time per skill for the revision stage, and watch previously passing tasks for regressions (Liu et al., 2026).
- Gate automated
SKILL.mdupdates with review and tool access controls before reuse, because evolved skills can carry unsafe procedures into clean sessions (Mao et al., 2026).
Related¶
- Per-Step Preconditions and Postconditions in Skill Files — static comparison between declared skill intent and bundled scripts without execution traces
- Plugin Component Co-Change: Scripts and Their Instructions Move Together — empirical evidence that bundled scripts and
SKILL.mdfiles behave as one coupled interface - Repairing Agent Prompts from Trace Contrast, Not Search — trace-driven prompt repair that derives corrective prompt statements from outcome-linked features in existing execution traces
- Cost-Aware Skill Rewriting: Preserve Operational Anchors, Not Skill Tokens — deciding which flags, thresholds, and output rules to keep when editing
SKILL.md - Skill Misevolution in Self-Updating Skill Libraries — lifecycle gates for preventing unsafe instructions from persisting across evolved skills