TL;DR
LLM agents rely on written instructions ("skills") to string tools together into coherent workflows, much like a carpenter follows a project blueprint. Usually, fixing broken instructions requires an external test suite ("verifier") to tell the agent it failed—something rarely available in the wild. This paper introduces VISE, a method that skips external verifiers altogether and instead reads the actual source code of the tools to spot missing steps and rewrite the agent’s instruction manual, making agents significantly more reliable.
What Problem Does This Paper Address?
Give an LLM a Python script to count objects in an image, and it might happily run the script—and then completely forget to actually read the printed output and save it to your final CSV file.
To prevent these fumbles, developers equip agents with skills: reusable markdown files (SKILL.md) paired with scripts that spell out which tools to call, how to format their inputs, and what to do with their outputs. Because initial drafts of these instructions are rarely perfect, researchers want agents to practice "skill self-evolution"—refining their own manuals through trial and error.
Here is the catch: how does an agent know its manual needs fixing? Most existing approaches rely on task-specific verifiers (like unit tests or ground-truth grading scripts) to flag failures. Out in the real world, nobody writes a custom unit test for every ad-hoc task you ask an AI to do. Without a verifier, agents are forced to guess what went wrong based only on their own execution logs, which often leads to vague or unhelpful edits.
Methods
Instead of looking for an external judge, VISE (Verifier-Independent Skill Evolution) treats the source code of the tools themselves as the source of truth. If a tool prints its result to standard output rather than returning a file, the code already knows that—the markdown manual just needs to catch up.
VISE operates in a "scripts-first" four-stage pipeline, keeping the underlying scripts ($P$) frozen while surgically editing the markdown guidance ($M$):
- Task-Grounded Tools: Given a task, VISE reuses existing scripts or writes new ones, then drafts initial markdown instructions around them.
- Knowledge Extraction: Using an LLM (assisted by syntax parsing), VISE reads the tool source code and extracts structured operational knowledge—capabilities, usage conditions, ordered steps, constraints, and exact line-number citations.
- Workflow-Grounded Feedback: Looking at the user's task and a past execution trace, VISE compares the extracted code facts against the current
SKILL.md. Where existing methods merely reflect on what happened in the logs, VISE performs a structural diff between what the code actually requires and what the manual currently says, generating targeted feedback items. - Guidance Revision: Rather than rewriting the whole manual from scratch, VISE applies targeted, non-overlapping passage replacements to
SKILL.md, linking every edit back to specific code constraints.
Importantly, VISE is modular: you can tack its revision stage onto the end of existing skill-evolution methods (like Self-Refine or SkillRevise) to clean up their outputs.
Datasets
The authors evaluate VISE using GPT-5.5 across two established agent-skill benchmarks: SkillsBench and SkillLearnBench (spanning domains from software engineering and cybersecurity to math and data analytics).
To test whether evolved skills genuinely generalize or just overfit to the original prompt, the authors also construct 233 new SkillsBench task variants grouped into three stress-test categories:
- Representation changes (P1): Altering file paths, field names, or formats.
- Instance changes (P2): Swapping out specific data records or permissions.
- Coupled-requirement changes (P3): Modifying interdependent constraints that must stay consistent across outputs.
Key Insights and Ideas
- Aggregate scores hide task churn: In an empirical study prior to introducing VISE, the authors ran Self-Refine twice and got the exact same number of perfect task scores (50) both times. Beneath the surface, however, nine previously solved tasks failed while nine different ones succeeded. Looking only at average pass rates masks massive instability.
- Rigid skills break when requirements shift: Standard evolved skills often degrade—sometimes scoring worse than using no skill at all—when tasks undergo coupled-requirement changes (P3). However, skills refined by VISE transfer cleanly to unseen variants without further editing.
- VISE turns "lucky guesses" into repeatable reliability: Two methods can solve the exact same percentage of tasks at least once over three tries (
P@3), yet behave completely differently in production. VISE dramatically shrinks the flaky middle ground (tasks solved 1 or 2 times out of 3), converting brittle workflows into deterministic 3-out-of-3 successes. - Code beats test-failure reports (mostly): Surprisingly, reading tool source code via VISE generally outperforms giving the agent actual verifier test-failure reports! The one notable exception is Software Engineering tasks, where explicit unit-test failure values give verifier-backed methods an edge.
Key Results
When added as a revision stage on top of four baseline evolution methods (Self-Refine, TraceEvo, SkillLearn, and SkillRevise) without any verifier access:
- Higher average success (
P@1): VISE boosts overall single-run task success by 9.14 to 13.35 percentage points over No-verifier baselines (reaching ~50%–52.5% overall). - Massive gains in consistency (
Hit³): The share of tasks solved consistently across all three evaluation runs jumps by 12.36 to 18.29 percentage points. - Beating Verifiers: Across all four methods, VISE beats the best task-verifier conditions (Binary, Report, and Diagnostic) by 0.76–9.16 points in
P@1and 3.62–16.10 points inHit³. - Better Generalization: On the 233 unseen SkillsBench variants, VISE lifts overall transfer success from 46.35%–49.36% (No-verifier) up to 61.37%–66.52%.
Qualitative case studies confirm why this works: in a video object-counting task where an agent previously ran the counter script after already writing its output CSV, VISE read the script's print behavior and updated SKILL.md to explicitly loop over frame–template pairs, parse stdout, and aggregate counts before building the final file.
Limitations and Future Work
VISE relies on being able to read a tool's underlying source code. If an agent's workflow leans heavily on closed-source binaries or opaque remote APIs, local wrapper scripts might show how an endpoint is called without revealing its internal constraints or edge cases. To bridge that gap, the authors suggest extending VISE to blend source-code inspection with external API documentation and observed runtime behavior. They also note a practical security consideration: because revised skills get reused across tasks, deployments should review automated manual edits so sensitive data or unsafe instructions don't quietly propagate.
Summary updated