Splitting SKILL.md into three layers lifts retrieval 12%, risk detection 24%
Notes on From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skills (arXiv:2604.24026) — Qiliang Liang, Hansi Wang, Zhongzhi Liang, Yang Liu · April 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 retrieval Bridge: retrieval × securityLLM agent skills today live almost entirely as prose — SKILL.md-style files that bundle a skill's invocation rules, execution phases, and side effects into a single block of natural-language text. The Scheduling-Structural-Logical (SSL) representation pulls that block apart into three typed layers: a scheduling record for when and how a skill gets invoked, a structural graph of execution scenes (prepare, acquire, act, verify, and so on), and a logical graph of atomic actions with explicit resource boundaries. The three-way split borrows directly from Schank and Abelson's cognitive-linguistics work — Memory Organization Packets, Script Theory, Conceptual Dependency. An LLM normalizer (DeepSeek-V3.2) converts raw SKILL.md text into SSL's JSON schema; a 100-skill human audit found 83% of the normalized fields faithfully grounded in the source document.
Structure pays off on two concrete tasks, tested across a 6,184-skill corpus. On skill discovery, pairing a short description with rich SSL fields (skill identifier, scene types, dependencies, expected inputs/outputs) lifts retrieval MRR@50 from 0.649 — the best any text-only baseline reaches across 431 intent-level queries — to 0.729. That beats even embedding the complete SKILL.md verbatim (0.645), which means the gain comes from disentangling signal, not from adding more words. On risk assessment, across 252 skills labeled on six threat dimensions, giving an LLM judge both the full SKILL.md and its SSL representation raises macro F1 from 0.409 to 0.509 over source text alone. SSL by itself barely edges past the text-only baseline — it works as an evidence layer laid over the source document, not a replacement for it.
Key numbers
| Skill Discovery MRR@50 (best SSL view vs. best text-only) | 0.729 vs 0.649 |
| Risk Assessment macro F1 (SKILL.md+SSL vs. SKILL.md alone) | 0.509 vs 0.409 |
| Covert-execution F1, best combined view | 0.264 |
| Normalizer fidelity (100-skill human audit) | 83% |
| Benchmark scale | 6,184 skills / 431 queries / 252 risk-labeled |
Skills related to this research
Related notes
- 26.1% of Community Skills Ship With a Vulnerability →
- Same skill, +22 points for Claude Sonnet, +5.5 for Nemotron Nano →
- Agent-skill catalogs already top 700,000 entries — curation hasn't caught up →
- 40,285 Skills Later, Supply Still Doesn't Match Demand →
- LLM-Written Agent Skills Add Zero Pass-Rate Gain — Self-Diagnosis Closes Up to 67% of the Gap to Human Authors →
- Progressive Disclosure Triples Resource Touches — Pass Rate Moves Just 4 Points →
- Only 0.1 points separate agents that need a skill from ones that don't →
- SKILL.md alone catches 0% of malicious skills; the full package recovers 67% →
- Skill pass rates jump from 33.6% to 88.0% — with zero gradient steps →
References
- Liang, Q., Wang, H., Liang, Z., & Liu, Y. (2026). From Skill Text to Skill Structure: The Scheduling-Structural-Logical Representation for Agent Skills. arXiv:2604.24026.
- Schank, R. C. (1972). Conceptual Dependency: A Theory of Natural Language Understanding.
- Schank, R. C., & Abelson, R. P. (1977). Scripts, Plans, Goals, and Understanding.
- Schank, R. C. (1980). Language and Memory. Cognitive Science.
- Wang, G. et al. (2023). Voyager: An Open-Ended Embodied Agent with Large Language Models.