Skills
Skills are pre-packaged bundles of tools and instructions that give agents domain expertise.Quick Start
Skill Sources
Local Directory
A directory with askill.json manifest and tool modules:
npm Package
Any npm package that exports tools:getTools(), tools, or a default export returning tool definitions.
Remote URL
A hosted skill with askill.json manifest:
skill.json and the main module at the specified paths.
Creating a Skill Object
You can also pass pre-builtSkill objects directly:
Lazy Loading
Skills are loaded on the firstrun() or connect() call, not at construction time. This avoids blocking agent creation with slow I/O operations.
Skill Instructions
If a skill has aninstructions field, it’s automatically injected into the system prompt: