•
By Paul Scanlon Introducing First-Class Skills for Mastra Agents
You can now add skills directly to your Mastra agents. Download packaged ones or write your own. Use them with both code-registered or file-based agents.
We first shipped agent skills in February, but scoped them to a workspace. We still recommend workspace scoping when your skill needs to run scripts or work with a filesystem. But for most skills, you can now use a more streamlined approach.
You can add skills either in code or in a markdown file (with file-based agents).
For a single agent, you can add both workspace-level and agent-level skills – they’re merged at runtime. Agent-level skills take precedence, which lets you overwrite workspace-based skills.