Skills are reusable, modular capabilities that can be loaded into deep agents. They allow you to extend agent functionality in a composable way, similar to plugins.
Learn more: For creating and using skills, see the Skills documentation.
Skills provide a way to:
import { listSkills } from "deepagents";
const skills = await listSkills({
directory: "./skills",
});
for (const skill of skills) {
console.log(`${skill.name}: ${skill.description}`);
}
import { createDeepAgent, createSkillsMiddleware } from "deepagents";
const agent = createDeepAgent({
middleware: [
createSkillsMiddleware({
skillsDirectory: "./skills",
}),
],
});