$npx skillfedfor your agent

Metadata Alone Wins 86% of Skill-Discovery Matchups

Notes on Under the Hood of SKILL.md: Semantic Supply-chain Attacks on AI Agent Skill Registry (arXiv:2605.11418) — Shoumik Saha, Kazem Faghih, S. Feizi · May 2026

Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made

AI-assisted notes · reviewed by SkillFed Skill security Bridge: security × retrieval

SKILL.md files — the natural-language front matter that tells an agent when and how to use a packaged capability — sit upstream of three separate decisions: whether a skill gets found, whether it beats a rival for selection, and whether it clears a security check. Researchers tested all three against real skills pulled from ClawHub, a live agent-skill registry, drawing on 100 skills across five categories (email, travel, tax, health, prompt). Discovery got the beam-search-and-gradient treatment: short adversarial trigger phrases, appended to the SKILL.md text, tested whether embedding-based retrieval could be steered toward a skill without touching a line of its code. Selection worked differently — functionally identical skill pairs, differing only in how the description was framed (exaggerated capability claims, directive language, recency signals, trust claims), put in front of four LLM agents asked to pick one. Governance was the toughest test: a three-stage vetting pipeline — a static scanner, an LLM reviewer, a VirusTotal malware pass — run against admittedly malicious skills rewritten with wording-only evasion tactics like paraphrasing and context-window overflow.

The trigger attack is cheap and effective. Adversarial phrases roughly 1% the length of an average SKILL.md file pushed a skill's win rate against OpenAI's embedding model to 86% in pairwise matchups and landed it in the Top-10 results 80% of the time; triggers optimized against one embedding model still transferred to another at 79-80%. Selection needed no exploit at all — framing alone, with no functional edge attached, got adversarial variants picked in 77.6% of paired trials on average across the four LLM agents tested, and every model chose the adversarial option above chance. Governance evasion was uneven but sometimes total: paraphrasing an already-flagged malicious skill dodged a blocking verdict roughly 74% of the time, and padding a SKILL.md file with enough filler to trigger context-window overflow got 87% of malicious variants labeled clean outright, with none flagged as malicious at all.

Key numbers

Discovery: win rate vs. OpenAI embeddings86% pairwise win rate, 80% Top-10 placement
Discovery: trigger footprint~1% of average SKILL.md length
Selection: adversarial pick rate (4 LLM agents)77.6% of paired trials, on average
Governance: context-window-overflow evasion87.1% labeled clean, 0% flagged malicious
Test corpus100 real ClawHub skills across 5 categories

Skills related to this research

wiki-retrieve wiki-retrieve upgrades vault search from page-level to chunk-level granularity, combining contextual prefixes, BM25 sparse retrieval, and dense reranking to reduce retrieval failures. Setup is opt-in with built-in privacy gates: run fully on-machine with synthetic prefixes, or opt into Anthropic API or claude CLI tiers for better context generation.★ 10,007 architecture-decision This skill guides you through authoring Architecture Decision Records (ADRs) that capture major technical choices with full context. It validates decisions against existing architectural stances, engine compatibility, and GDD requirements, then generates a structured record with status, dependencies, and consequences tracked. Use it to retrofit missing sections into existing ADRs or create new ones from scratch.★ 23,424 ml-mlops ML MLOps guides you through building auditable, repeatable machine learning workflows. It covers experiment tracking, model versioning and governance, pipeline orchestration across Kubernetes, AWS, GCP, and Azure, CI/CD automation, and production monitoring to catch drift and quality issues.★ 49 paper2poster Paper2Poster transforms academic papers into conference posters through a conductor-led workflow where you control figure placement and layout. Parse the PDF, decide which sections benefit from original figures versus text explanations, hand-author the poster HTML, then refine through visual assessment and content validation. The skill treats text-only sections as legitimate outcomes when figures don't add value.★ 304

Related notes

References

  1. Under the Hood of SKILL.md: Semantic Supply-chain Attacks on AI Agent Skill Registry (Saha, Faghih & Feizi, 2026)
  2. GASLITEing the Retrieval: Exploring Vulnerabilities in Dense Embedding-Based Search (Ben-Tov & Sharif, 2024)
  3. Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward (Xu & Yan, 2026)