Skip to content
11 changes: 11 additions & 0 deletions crates/goose/src/agents/extension.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::agents::chatrecall_extension;
use crate::agents::extension_manager_extension;
use crate::agents::skills_extension;
use crate::agents::todo_extension;
use std::collections::HashMap;

Expand Down Expand Up @@ -76,6 +77,16 @@ pub static PLATFORM_EXTENSIONS: Lazy<HashMap<&'static str, PlatformExtensionDef>
},
);

map.insert(
skills_extension::EXTENSION_NAME,
PlatformExtensionDef {
name: skills_extension::EXTENSION_NAME,
description: "Load and use skills from .claude/skills or .goose/skills directories",
default_enabled: true,
client_factory: |ctx| Box::new(skills_extension::SkillsClient::new(ctx).unwrap()),
},
);

map
},
);
Expand Down
1 change: 1 addition & 0 deletions crates/goose/src/agents/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub mod retry;
mod router_tool_selector;
mod router_tools;
mod schedule_tool;
pub(crate) mod skills_extension;
pub mod sub_recipe_manager;
pub mod subagent_execution_tool;
pub mod subagent_handler;
Expand Down
Loading
Loading