mlsanityData to 14 Oct 2026

Counterfactual Trace Auditing of LLM Agent Skills

arXiv 2605.11946 ↗First posted 12 May 2026cs.AIcited by 10

On the map: LLM agents and tool use → Agent skill learning and evolution

Abstract (arXiv)

Large Language Model agents are increasingly augmented with agent skills. Current evaluation methods for skills remain limited. Most deployed benchmarks report only pass rate before and after a skill is attached, treating the skill as a black box change to agent behavior. We introduce Counterfactual Trace Auditing (CTA), a framework for measuring how a skill changes agent behavior. CTA pairs each with skill agent trace with a without skill counterpart on the same task, segments both traces into goal directed phases, aligns the phases, and emits structured Skill Influence Pattern (SIP) annotations. These annotations describe the behavioral effect of a skill rather than only its task outcome. We instantiate CTA on SWE-Skills-Bench with Claude across 49 software engineering tasks. The resulting audit reveals a clear evaluation gap. Pass rate changes by only +0.3 percentage points on average, suggesting little aggregate effect. Yet CTA identifies 522 SIP instances across the same paired traces, showing that the skills substantially reshape agent behavior even when pass rate is nearly unchanged. The audit also separates several recurring effects that pass rate cannot detect, including literal template copying, off task artifact creation, excess planning, and task recovery. Three findings emerge. First, high baseline tasks contain most of the observed skill effects, although their pass rate is already saturated and therefore cannot reflect those effects. Second, tasks with moderate baseline performance show the most recoverable gain, but often at substantially higher token cost. Third, the dominant SIP type can be identified by baseline bucket: surface anchoring is most common on ceiling tasks and edge-case prompting is most common on mid-range and floor tasks. These regularities turn informal failure mode observations into reproducible behavioral measurements.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 26 of its 29 references that are in the map. First posted on arXiv 12 May 2026.

Builds on

26 of 29 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks13 Feb

Other references · 25

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  6. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  7. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  8. 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
  9. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  10. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  11. 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 870
  12. 2026SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?cited by 82
13 more
  1. 2023Panoptic Scene Graph Generation with Semantics-Prototype Learningcited by 42
  2. 2025Treble Counterfactual VLMs: A Causal Approach to Hallucinationcited by 35
  3. 2023Understanding In-Context Learning from Repetitionscited by 29
  4. 2024DPU: Dynamic Prototype Updating for Multimodal Out-of-Distribution Detectioncited by 29
  5. 2025When Agents go Astray: Course-Correcting SWE Agents with PRMscited by 28
  6. 2025Beyond the Final Answer: Evaluating the Reasoning Trajectories of Tool-Augmented Agentscited by 24
  7. 2025Secure On-Device Video OOD Detection Without Backpropagationcited by 19
  8. 2025Beyond Final Code: A Process-Oriented Error Analysis of Software Development Agents in Real-World GitHub Scenarioscited by 14
  9. 2024Mitigating Copy Bias in In-Context Learning through Neuron Pruningcited by 11
  10. 2026Defenses Against Prompt Attacks Learn Surface Heuristicscited by 11
  11. 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failurecited by 11
  12. 2026SkillTester: Benchmarking Utility and Security of Agent Skillscited by 10
  13. 2026The Autonomy Tax: Defense Training Breaks LLM Agentscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 10.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SkillAudit: Ground-Truth-Free Skill Evolution via Paired Trajectory Auditing
  2. 2026SkillAudit: From Fixed-Suite Benchmarking to Skill-Centered Assessment
  3. 2026Skill-Use: Can LLMs Actually Use Skills in Agentic Harnesses?
  4. 2026Skill Coverage: A Test Adequacy Metric for Agent Skills
  5. 2026SkillJuror: Measuring How Agent Skill Organization Changes Runtime Behavior
  6. 2026TRACE: Diagnosing Verifier Brittleness in Agentic Evaluation
  7. 2026A Framework for Evaluating Agentic Skills at Scale
  8. 2026SkillRevise: Improving LLM-Authored Agent Skills via Trace-Conditioned Skill Revision