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 internal/skills/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ var Agents = []AgentHost{
ID: "universal",
Name: "Universal",
ProjectDir: sharedProjectSkillsDir,
UserDir: ".config/agents/skills",
UserDir: sharedProjectSkillsDir,
},
{
ID: "warp",
Expand Down
19 changes: 19 additions & 0 deletions internal/skills/registry/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,25 @@ func TestInstallDir(t *testing.T) {
homeDir: "/home/monalisa",
wantDir: filepath.Join("/tmp/monalisa-repo", ".agents", "skills"),
},
{
// Issue #13494: Universal must use the shared .agents/skills dir
// at user scope so compliant clients (Copilot, Pi, OpenCode) pick up
// skills per the agentskills.io cross-client convention.
name: "universal project scope",
hostID: "universal",
scope: ScopeProject,
gitRoot: "/tmp/monalisa-repo",
homeDir: "/home/monalisa",
wantDir: filepath.Join("/tmp/monalisa-repo", ".agents", "skills"),
},
{
name: "universal user scope",
hostID: "universal",
scope: ScopeUser,
gitRoot: "/tmp/monalisa-repo",
homeDir: "/home/monalisa",
wantDir: filepath.Join("/home/monalisa", ".agents", "skills"),
},
{
name: "project scope without git root",
hostID: "github-copilot",
Expand Down
Loading