← Latest papers
🤖 machine learning

SkillConsist: Detecting Inconsistencies in Agent Skills via Bidirectional Graph Alignment

SkillConsist is a novel framework that detects inconsistencies between declared and implemented agent skills by constructing bidirectional behavior graphs and performing graph alignment and differencing, achieving state-of-the-art performance on a newly constructed 633-skill benchmark.

Original authors: Chaofan Meng, Yuhang Zheng, Yingnan Zhou, Sihan Xu

Published 2026-08-11
📖 4 min read☕ Coffee break read

Original authors: Chaofan Meng, Yuhang Zheng, Yingnan Zhou, Sihan Xu

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 a world where your computer doesn't just follow orders but acts like a helpful assistant, a digital butler that can browse the web, manage your files, or even book your vacation. To do this, it uses "Agent Skills"—pre-made tools or recipes that tell the computer exactly how to perform a specific task. Think of these skills like instructions in a cookbook: the "declaration" is the delicious description on the menu promising a "Spicy Tacos" dish, while the "implementation" is the actual cooking happening in the kitchen.

The problem arises when the menu lies. Maybe the chef (the code) accidentally adds a secret ingredient that makes the tacos toxic, or perhaps they forgot to add the salsa entirely, even though the menu promised it. In the digital world, these mismatches are dangerous. If a computer agent picks a skill based on a false promise, it might accidentally delete your files, leak your private data, or get tricked by a hacker. Scientists are trying to build a "food critic" that can taste the dish and compare it to the menu to catch these lies before the agent serves them up. This is the challenge of checking if what a skill says it does matches what it actually does.

Enter SkillConsist, a new digital detective designed to solve this exact mystery. The researchers behind this tool realized that previous methods were like trying to compare a one-sentence menu description to a 50-page recipe book without a clear way to match them up. The menu might say "Make Tacos," while the recipe involves chopping onions, grilling meat, warming tortillas, and mixing salsa. A simple word-for-word check would fail because the "Make Tacos" promise is one big idea, but the kitchen work is a chain of many small steps.

SkillConsist tackles this by acting like a super-organized librarian who builds two separate maps: one for the menu promises and one for the kitchen actions. First, it uses a smart AI to sort through the messy mix of text and code, separating the "what we promise" from the "what we actually do." Then, it draws these as graphs—think of them as flowcharts where every step is a node and every connection is a line.

The magic happens in the next step: Bidirectional Graph Alignment. Imagine trying to match a single, big "Make Tacos" bubble on the menu map to a whole cluster of connected bubbles on the kitchen map. SkillConsist doesn't just look for a single match; it expands outward, following the lines in the kitchen map to see if a whole group of steps (chopping, grilling, mixing) can be bundled together to perfectly explain the single menu promise. It does this in both directions, checking if every kitchen step has a menu promise and if every menu promise has a kitchen plan.

Once the maps are aligned, the detective looks for inconsistencies. It flags three types of trouble:

  1. Conflicts: The menu says "Spicy," but the kitchen code adds "Sweet."
  2. Unimplemented: The menu promises "Salsa," but the kitchen has no salsa ingredients at all.
  3. Undeclared: The kitchen is secretly adding "Poison" to the mix, but the menu never mentioned it.

The researchers tested SkillConsist on a massive benchmark of 633 real-world Agent Skills, including some that were known to be tricky or malicious. The results were impressive: the tool correctly identified inconsistent skills 87.93% of the time (a score called F1), which was a huge jump of over 20 percentage points compared to the best previous methods. It also managed to pinpoint exactly where the lie was hiding in the code about 62% of the time.

Perhaps most importantly, the paper shows that this isn't just about fixing typos; it's about safety. When the researchers used SkillConsist to screen for malicious skills, it helped catch more dangerous tools without needing to run them in a risky environment first. By catching the mismatch between the promise and the reality, SkillConsist gives us a way to trust our digital assistants a little bit more, ensuring that when the computer says it's making tacos, it's not actually serving up something dangerous.

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 →