Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/goose/src/agents/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub static PLATFORM_EXTENSIONS: Lazy<HashMap<&'static str, PlatformExtensionDef>
skills_extension::EXTENSION_NAME,
PlatformExtensionDef {
name: skills_extension::EXTENSION_NAME,
description: "Load and use skills from .claude/skills or .goose/skills directories",
description: "Load and use skills from relevant directories",
default_enabled: true,
client_factory: |ctx| Box::new(skills_extension::SkillsClient::new(ctx).unwrap()),
},
Expand Down
2 changes: 2 additions & 0 deletions crates/goose/src/agents/skills_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ impl SkillsClient {

if let Some(home) = dirs::home_dir() {
dirs.push(home.join(".claude/skills"));
dirs.push(home.join(".config/agent/skills"));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs say ~/.config/agents/skills/, plural

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reporting @t184256 ! This is fixed in #6357

}

dirs.push(Paths::config_dir().join("skills"));

if let Ok(working_dir) = std::env::current_dir() {
dirs.push(working_dir.join(".claude/skills"));
dirs.push(working_dir.join(".goose/skills"));
dirs.push(working_dir.join(".agents/skills"));
}

dirs
Expand Down