Skip to content

armgit / chops

Public Imported from GitHub
0

Your AI agent skills, finally organized. A macOS app to browse, edit, and manage skills across Claude Code, Cursor, Codex, Windsurf, and Amp.

feat: add Copilot CLI global skill scanning (#41)

Josh Pigford6c63bef1397e
diff --git a/Chops/Models/ToolSource.swift b/Chops/Models/ToolSource.swift
index 92afdf9..adf776a 100644
--- a/Chops/Models/ToolSource.swift
+++ b/Chops/Models/ToolSource.swift
@@ -85,7 +85,7 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {
case .cursor: return ["\(home)/.cursor/skills", "\(home)/.cursor/rules"]
case .windsurf: return ["\(home)/.codeium/windsurf/memories", "\(home)/.windsurf/rules"]
case .codex: return ["\(home)/.codex/skills"]
- case .copilot: return []
+ case .copilot: return ["\(home)/.copilot/skills"]
case .aider: return []
case .amp: return ["\(configHome)/amp/skills"]
case .openclaw: return []
@@ -125,7 +125,10 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {
|| Self.cliBinaryExists("amp")
case .pi:
return Self.cliBinaryExists("pi")
- case .copilot, .aider, .openclaw, .custom:
+ case .copilot:
+ return fm.fileExists(atPath: "\(home)/.copilot")
+ || Self.cliBinaryExists("copilot")
+ case .aider, .openclaw, .custom:
return true
}
}