SkillLens: An Interactive Human-LLM System for Diagnosing and Refining Agent Skills

Shuo Yan, Rui Sheng, Xiaoyan Gu, Lian Lian, Chengran Xu, Yifang WangarXiv 2026

It’s late, the coffee is cold, and you’ve just spent three hours trying to figure out why your LLM agent—which was working perfectly yesterday—suddenly decided to stop citing its sources. You tweaked one line in the "Search" skill to make it faster, and now the "Summarize" skill is hallucinating. Welcome to the "Whack-a-Mole" phase of agent development.

The researchers behind SkillLens want to give you a better hammer. Their paper introduces an interactive system designed to turn the chaotic process of debugging agent skills into a structured, recoverable workflow.

TL;DR

SkillLens is a "Git diff" for LLM agent behavior. It connects high-level performance drops (like a 10% dip in accuracy) directly to the specific execution traces and skill revisions that caused them, allowing developers to diagnose regressions and test "what-if" fixes in a unified, interactive workbench.

What Problem Does This Paper Address?

As we move from simple chatbots to complex LLM agents, we’ve started organizing their capabilities into "skills"—reusable packages of instructions and tools. But maintaining these skills is a nightmare.

When you revise a skill to fix one edge case, you often inadvertently break three others. Currently, developers have to hunt for evidence across fragmented logs, execution traces, and version histories. There is no easy way to see the "longitudinal" story: How did the change I made in Version 4 specifically affect the routing logic in Case #530? The authors identify this as a "sensemaking" challenge—developers can't easily connect the why (the skill edit) to the what (the failed outcome).

Methods

The team first conducted a formative study with five expert developers to map out the pain points of skill maintenance. Based on those insights, they built SkillLens, which organizes the debugging process into four linked views:

  1. Performance View: A high-level dashboard showing accuracy trends across versions. It highlights "transitions"—which cases went from Correct to Wrong (regressions) and vice versa.
  2. Summary View: This uses an LLM to cluster failures. Instead of reading 100 logs, you see that 15 cases failed because of a "duplicate-read protocol error." It links these patterns to specific skill-invocation sequences (e.g., Skill A $\rightarrow$ Skill B).
  3. Context View: The deep dive. It provides a side-by-side comparison of a "Base" run and a "Target" run. You can see the exact diff in the skill's prompt, the change in the execution trace, and the final output.
  4. Refinement View: A sandbox for action. Developers can draft a hypothesis, edit the skill code, and trigger a "What-if" run on a subset of cases to see if their fix actually works before committing it to the library.
Figure 3: The SkillLens refinement workflow: comparing benchmark results, inspecting case and skill evidence, and validating human-authorized revisions through reruns.

Datasets

The researchers evaluated SkillLens using the FRAMES (Factuality, Retrieval, And reasoning MEasurement Set) dataset. This benchmark is particularly tough because it requires agents to perform multi-hop reasoning across multiple Wikipedia articles—perfect for testing whether a "search" or "reasoning" skill is actually doing its job. They used a subset of 100 cases and a simulated v1–v8 version history of a web-search skill family.

Key Insights and Ideas

  • Trigger vs. Execution: One of the most useful distinctions in SkillLens is separating trigger evidence (did the agent even try to use the skill?) from execution evidence (did the skill fail once it started?). This helps developers quickly realize if their routing logic is broken or if the prompt instructions are just poor.
  • Progressive Formalization: The system doesn't just dump LLM summaries on you. It uses LLMs to propose explanations, but requires the human to confirm and categorize them. This keeps the developer's mental model grounded in actual evidence rather than "hallucinated" summaries.
  • Local Repair vs. Family-Level Generalization: The study found that without SkillLens, developers often perform "local repairs"—fixing the one case they are looking at while ignoring the broader impact. SkillLens forces you to see the "regressions" in the same view as the "improvements," encouraging fixes that generalize better across the whole skill family.

Key Results

The authors ran a user study with 20 participants, comparing SkillLens to a baseline of standard tools (flat tables and raw logs).

  • Speed: SkillLens users completed the debugging task significantly faster (median 26 minutes vs. 32 minutes).
  • Confidence: Participants using SkillLens were much more confident that their final hypothesis was supported by evidence. In fact, 7 out of 10 SkillLens users reported high confidence, while zero baseline users did.
  • Reduced Cognitive Load: NASA-TLX scores showed that SkillLens significantly lowered the "Mental Demand" and "Temporal Demand" of the task. It turned a "detective work" slog into a structured inspection.
Figure 1: SkillLens connects performance changes to summarized error patterns, case evidence, and a bounded refinement plan.

Limitations and Future Work

The study was conducted in a controlled lab setting with a 40-minute time limit, which doesn't fully capture the "slow-burn" nature of real-world maintenance that can span weeks. Additionally, the study focused on a single type of agent (web search).

The authors suggest that future versions should explore more complex agent architectures (like multi-agent systems) and integrate more deeply with version control systems like Git. They also want to see how SkillLens handles "multi-modal" skills, where the agent might be processing images or code alongside text.

In short: SkillLens is a promising step toward making LLM agents maintainable, moving us away from "prompt engineering by vibes" and toward actual engineering.

Summary updated

Abstract

LLM agents increasingly rely on reusable skills, yet maintaining them requires developers to connect revisions with changes in behavior and task outcomes. Existing workflows fragment evidence across versions, evaluation cases, and execution traces. We present SkillLens, an interactive human-LLM system for diagnosing and refining agent skills. A formative study with five developers and researchers identified challenges in prioritizing failures, reconstructing case-level evidence, and preserving context across revisions. SkillLens links performance changes, case transitions, skill diffs, invocation sequences, traces, and outputs in a recoverable workflow, while keeping model-generated explanations and refinements under human review. Through a between-subjects user study with 20 participants, we show that SkillLens supports developers in diagnosing and refining agent skills through a more usable and less demanding workflow than the baseline. These findings highlight the value of linking version comparisons, case-level evidence, and human-reviewed refinement across skill iterations.
BibTeX
@misc{yan2026skilllens,
  author = {Shuo Yan and Rui Sheng and Xiaoyan Gu and Lian Lian and Chengran Xu and Yifang Wang},
  title = {{SkillLens: An Interactive Human-LLM System for Diagnosing and Refining Agent Skills}},
  year = {2026},
  eprint = {2611.28706},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28706},
}
Figure