Add .agents/skills and ~/.config/agent/skills to skills discovery paths (#6139)

Signed-off-by: Joah Gerstenberg <joah@squareup.com>
This commit is contained in:
Joah Gerstenberg
2025-12-16 14:15:27 -06:00
committed by GitHub
parent 6d33cbc078
commit 3e37f9c512
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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()),
},
@@ -83,6 +83,7 @@ impl SkillsClient {
if let Some(home) = dirs::home_dir() {
dirs.push(home.join(".claude/skills"));
dirs.push(home.join(".config/agent/skills"));
}
dirs.push(Paths::config_dir().join("skills"));
@@ -90,6 +91,7 @@ impl SkillsClient {
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