← Latest papers
🤖 AI

Agent Skills Can Be Harmful: An Empirical Study of Skill-Induced Failures in LLM Agents

This paper presents a comprehensive empirical study and a differential analysis framework demonstrating that seemingly relevant agent skills often induce functional failures and efficiency regressions by forcing unnecessary validation and implementation steps, thereby highlighting the need for safer and more cost-aware skill reuse mechanisms.

Original authors: Gen Dong, Yanjie Gao, Liqun Li, Tianyin Xu, Yu Hua, Fan Yang

Published 2026-08-13
📖 6 min read🧠 Deep dive

Original authors: Gen Dong, Yanjie Gao, Liqun Li, Tianyin Xu, Yu Hua, Fan Yang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you've built a super-smart robot assistant that can write code, solve math problems, or plan your weekend. To make this robot even better, you give it a "skill book"—a collection of reference sheets, recipes, and step-by-step guides for specific jobs. If the robot needs to build a website, it opens the "Web Dev" skill book; if it needs to bake a cake, it opens the "Baking" one. This is how modern AI agents work: they use these pre-written "skills" to guide their thinking and actions. It's like giving a student a textbook for every exam. But here's the twist: what if the textbook is actually wrong? What if the recipe tells you to add salt to a dessert, or the coding guide makes you build a bridge when you needed a boat? Sometimes, following the guide perfectly leads to disaster, or at least makes the robot waste a huge amount of time and energy. This is the puzzle researchers are trying to solve: when does a helpful guide become a harmful trap?

A new study titled "Agent Skills Can Be Harmful" dives deep into this problem. The researchers, a team from universities and Microsoft, set out to figure out exactly how and why these skill books cause AI agents to fail or become inefficient. They didn't just look at whether the robot succeeded or failed; they compared a robot using a specific skill against the same robot doing the exact same task without that skill (or with a different, similar skill). Think of it like a race where one runner wears a new pair of "magic" shoes and the other runs barefoot. If the runner with the shoes trips, was it the shoes, or were they just clumsy? By running these side-by-side "differential" tests, the team could pinpoint exactly which skill caused the trouble.

The study analyzed hundreds of these head-to-head races using two major testing grounds for AI skills. They found 307 specific instances where a skill caused a problem. These problems fell into two main buckets: Functional Failures (where the task simply didn't get done) and Efficiency Regressions (where the task got done, but the robot used way more energy and time than necessary).

Here is what they discovered, broken down into the story of the "Bad Guide":

1. The "Smart" Mistake (Functional Failures)
You might think the robot fails because it picks a skill that has nothing to do with the job—like using a "Car Repair" guide to fix a toaster. Surprisingly, the study found this is rare. Only 2 out of 125 failures happened because the skill was totally irrelevant.

Instead, the failures usually happened because the skill was too relevant. The guide seemed perfect, but it tricked the robot into doing the job the wrong way.

  • The "Wrong Recipe" (68.8% of failures): The most common issue was that the skill led the robot to implement a required step incorrectly or skip it entirely. For example, a skill might say, "Calculate the percentage," but the robot's guide accidentally told it to calculate the raw number instead. Or, a guide might show how to configure 3 settings but forget to mention the 4th one that was actually required. The robot followed the guide faithfully, but the guide was incomplete or misleading.
  • The "Wrong Address" (19.2% of failures): Sometimes the robot built the right thing but put it in the wrong place. If the task said "Save the file in the 'Kitchen' folder," but the skill guide said "Save files in the 'Living Room' folder," the robot would follow the guide and fail the test.
  • The "Wrong World" (10.4% of failures): Occasionally, the skill told the robot to change its environment in a way that broke the test. For instance, the skill might say, "Install this new version of a tool," but the test was designed to work with the old version. The robot followed the instruction, broke the setup, and failed.

2. The "Over-Engineered" Mistake (Efficiency Regressions)
In 182 cases, the robot actually finished the task, but it was incredibly wasteful. It used more than double the "tokens" (the digital currency AI uses to think) and took much longer than a robot without the skill.

  • The "Over-Check" (62.6% of failures): The biggest culprit here was "Excessive Procedure." The skill guides often turned simple checklists into mandatory, heavy-duty rituals. Instead of just checking if the code works, the guide might force the robot to run a full suite of 50 extra tests, or re-verify the same thing three times. It's like a student who, instead of just answering the math question, writes a 10-page essay on the history of numbers before writing the final answer.
  • The "Heavy Backpack" (25.3% of failures): Another major cause was "Context Bloat." The skill guide itself was just too long. Every time the robot thought, it had to read the entire massive guide again, which slowed it down and cost more "tokens." It's like trying to read a menu while someone is shouting a 50-page biography of the chef in your ear.

The Takeaway
The researchers built a tool called SKILLTRIAGE to help sort through these messes. Their main conclusion is a bit of a warning: just because a skill looks relevant doesn't mean it's safe. In fact, the most dangerous skills are the ones that look helpful but contain subtle errors, missing steps, or overly strict rules that force the AI to waste time or build the wrong thing.

The study suggests that for AI agents to be truly reliable, we need to stop treating these skill guides as perfect instructions. Instead, we need to treat them as suggestions that must be checked against the specific task, ensuring the robot doesn't blindly follow a recipe that tells it to put salt in the cake. The paper doesn't claim to have fixed the problem forever, but it provides a clear map of where the traps are hidden, helping developers build safer and smarter AI assistants in the future.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →