AI
Treating AI Agent Skills as Software: A Framework for Building Modular, Reusable Capabilities
A new paper argues that agent skills—reusable procedural knowledge loaded by LLM agents on demand—should be authored using proven software-engineering principles.
Agent skills represent an emerging pattern for extending large language model agents with specialized, reusable capabilities that can be loaded when needed. Anthropic introduced the concept and released it as an open specification now adopted across multiple agent platforms. A new research note proposes that skills deserve to be treated as serious software artifacts, subject to the same disciplined engineering practices that govern the rest of the field.
Core Design Principles#
The framework applies classical software-engineering tenets to skill authoring, adapted for the constraints and characteristics of LLM environments:
- Single responsibility: Each skill should do one thing well
- Interface-implementation separation: Hide complexity behind clear contracts
- Low coupling: Minimize dependencies on other components
- Token efficiency: Respect shared budget constraints in prompt context
- Behavioral evaluation: Replace traditional deterministic testing with assessment of actual outcomes
Rather than treating skills as ad-hoc extensions, this approach recognizes that they integrate into broader systems and must be maintainable and composable.
How Skills Fit in the Agent Ecosystem#
The paper positions skills within a larger toolkit of mechanisms for shaping agent behavior. Developers can also use project memory files, slash commands, subagents, external tool connections, and hooks. The choice among them depends on two factors: who controls when the mechanism runs and what guarantees it provides. Understanding this decision tree helps engineers select the right tool for each situation, avoiding overengineering and architectural sprawl.
Building and Evaluating Skills#
Using Claude Code as a reference, the work outlines how skills are structured, how they load in stages, and how to craft descriptions that enable effective selection by the agent. It then presents an evaluation-driven authoring process, common patterns and anti-patterns that emerge in practice, and a crucial trust concern: how to safely integrate skills from third-party sources.
The paper illustrates these concepts through UML diagrams, loading models, skill anatomy, and a map of where different mechanisms intervene during an agent session.

