[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-85955-en":3,"doc-seo-85955-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},85955,13056703019404,"Miles","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",8,"Research & Report","Cross-Layer Misalignment Detection in Agent Skills: A Progressive Loading-Aware Contrastive Learning Approach","Large language model (LLM) agents extend through Agent Skills—reusable artifacts that bundle natural-language metadata, procedural instructions, and execution-time resources. As skill marketplaces grow, short descriptions increasingly guide selection, yet inconsistencies between stated behavior and actual supported capabilities create “cross-layer misalignment.” Progressive Loading-Aware Hierarchical Contrastive Learning (PL-HCL) models Agent Skill layer structure and learns cross-layer consistency. On a normalized dataset of 264,000+ open-source skills with a human-verified challenge set, PL-HCL raises Macro-F1 from ~0.45 to 0.87–0.89 across evaluated LLM backbones.","Cross-Layer Misalignment Detection in Agent Skills: A Progressive Loading-Aware Contrastive Learning Approach  \nChengjun Zhang  \n[cz1@iu.edu](cz1@iu.edu)  \nIndiana University Bloomington Bloomington, Indiana, USA  \nYang Gao  \n[gaoyang@iu.edu](gaoyang@iu.edu)[ ](gaoyang@iu.edu)Indiana University Bloomington Bloomington, Indiana, USA  \nJianna Hur  \n[jhur06@iu.edu](jhur06@iu.edu)[ ](jhur06@iu.edu)Indiana University Bloomington  \nBloomington, Indiana, USA  \nJingjing Zhang [jjzhang@iu.edu](jjzhang@iu.edu)  \nIndiana University Bloomington Bloomington, Indiana, USA  \nSagar Samtani  \n[ssamtani@iu.edu](ssamtani@iu.edu)[ ](ssamtani@iu.edu)Indiana University Bloomington Bloomington, Indiana, USA  \narXiv :2607 . 10534v 1 [ cs .AI] 12 Jul 2026  \nAbstract  \nLarge language model (LLM) agents are increasingly extended through Agent Skills, reusable artifacts that package natural-language metadata, procedural instructions, and execution-time resources for runtime use. As open-source skill marketplaces expand, users and agents increasingly rely on brief metadata to select third-party skills, making it difficult to detect inconsistencies between a skill’s description and its true behavior, a problem we call cross-layer misalignment. To address this issue, we propose Progressive LoadingAware Hierarchical Contrastive Learning (PL-HCL), an LLMbased framework that detects misalignment by modeling the layered structure of Agent Skills and learning cross-layer consistency. Using a normalized corpus of over 264,000 open-source skills anda human-verified challenge set, PL-HCL improves Macro-F1 from approximately 0.45 for unadapted baselines to 0.87–0.89 across evaluated LLM backbones. This approach offers an effective screening tool for users and operators, as well as design principles for detecting inconsistencies in layered digital artifacts.  \nKeywords  \nAgent Skills, agentic AI, trustworthiness, cross-layer misalignment, contrastive learning, continued pretraining  \n1 Introduction  \nLarge Language Models (LLMs) are evolving from single-turn text generators into agentic Artificial Intelligence (AI) systems capable of reasoning, tool use, and interaction with external environments [24, 32] . Agent Skills have become essential supply-side components of agentic AI systems to extend an agent’s capabilities [1, 17] . Agent Skills encapsulate reusable procedural knowledge into loadable modules, which typically include natural language instructions, scripts, and resources to support specific tasks or workflows [1] .  \nIn contrast to standard prompts or standalone tools, Agent Skills are hierarchical artifacts in which a surface metadata layer sits above layers of instructions, code, files, and executables. Users and agents access metadata before progressively accessing deeper components. This progressive loading mechanism introduces the risk that the metadata used for skill selection may not correspond to the behaviors actually supported or enabled by the underlying components [6, 7, 33] . For example, a skill may claim in its  \nmetadata to be a harmless productivity assistant while containing prompt injection, credential leakage, data exfiltration, or insecure command execution within its instruction or script layers [18, 19] . Conversely, a skill may claim to support a specific capability in its description, yet fail to implement it within its instructions or resources. This reflects a broader documentation-implementation consistency problem, where natural-language descriptions can diverge from the executable or procedural artifacts they are intended to summarize [20, 28, 36] . In Agent Skill packages, such inconsistency can be described as cross-layer misalignment. In this case, user-facing claims may diverge from the behaviors supported, requested, or enabled by the underlying instructions, resources, and executable components.  \nThis mismatch warrants attention because trust decisions regarding Agent Skills are frequently made before the package is ful","cbCaivDgcpH87g7T","https://ap.wps.com/l/cbCaivDgcpH87g7T","pdf",1440965,2,1,16,"English","en",105,"# Abstract\n# Introduction\n## Cross-layer misalignment and progressive loading\n## Why pre-execution evaluation is necessary\n## Proposed PL-HCL framework overview","[{\"question\":\"What problem does cross-layer misalignment describe in Agent Skills?\",\"answer\":\"Cross-layer misalignment occurs when user-facing metadata claims diverge from the actual behaviors supported by deeper instruction, resource, and executable components inside an Agent Skill package.\"},{\"question\":\"How does PL-HCL detect misalignment before execution?\",\"answer\":\"PL-HCL evaluates skills in a pre-execution setting by comparing heterogeneous evidence across metadata, instructions, and resources using a progressive loading-aware hierarchical contrastive learning framework.\"},{\"question\":\"What performance improvement does the proposed approach achieve?\",\"answer\":\"Using a normalized corpus of 264,000+ open-source skills and a human-verified challenge set, PL-HCL improves Macro-F1 from about 0.45 for unadapted baselines to 0.87–0.89 across evaluated LLM backbones.\"}]",1784207360,40,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"cross-layer-misalignment-detection-in-agent-skills-a-progressive-loading-aware-contrastive-learning-approach","",{"@graph":36,"@context":85},[37,53,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,47,50],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":20},"https://docshare.wps.com/document/","Document",{"item":48,"name":12,"@type":43,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":43,"position":52},"https://docshare.wps.com/document/cross-layer-misalignment-detection-in-agent-skills-a-progressive-loading-aware-contrastive-learning-approach/85955/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":24,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":41,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-25","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What problem does cross-layer misalignment describe in Agent Skills?","Question",{"text":75,"@type":76},"Cross-layer misalignment occurs when user-facing metadata claims diverge from the actual behaviors supported by deeper instruction, resource, and executable components inside an Agent Skill package.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does PL-HCL detect misalignment before execution?",{"text":80,"@type":76},"PL-HCL evaluates skills in a pre-execution setting by comparing heterogeneous evidence across metadata, instructions, and resources using a progressive loading-aware hierarchical contrastive learning framework.",{"name":82,"@type":73,"acceptedAnswer":83},"What performance improvement does the proposed approach achieve?",{"text":84,"@type":76},"Using a normalized corpus of 264,000+ open-source skills and a human-verified challenge set, PL-HCL improves Macro-F1 from about 0.45 for unadapted baselines to 0.87–0.89 across evaluated LLM backbones.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,119,122,127,130,134],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":29,"slug":118},7,"Healthcare","healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]