Your AI agent skills, finally organized. A macOS app to browse, edit, and manage skills across Claude Code, Cursor, Codex, Windsurf, and Amp.
Add Pi AI agent support (#33)
MG Santoscbe8dba36c90
diff --git a/Chops/Models/ToolSource.swift b/Chops/Models/ToolSource.swiftindex a36efab..cd39bb5 100644--- a/Chops/Models/ToolSource.swift+++ b/Chops/Models/ToolSource.swift@@ -9,6 +9,7 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {case aidercase ampcase openclaw+ case picase customvar id: String { rawValue }@@ -23,6 +24,7 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {case .aider: "Aider"case .amp: "Amp"case .openclaw: "OpenClaw"+ case .pi: "Pi"case .custom: "Custom"}}@@ -38,6 +40,7 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {case .aider: "wrench.and.screwdriver"case .amp: "bolt.fill"case .openclaw: "server.rack"+ case .pi: "sparkles"case .custom: "folder"}}@@ -64,6 +67,7 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {case .aider: .yellowcase .amp: .pinkcase .openclaw: .indigo+ case .pi: .cyancase .custom: .gray}}@@ -79,6 +83,7 @@ enum ToolSource: String, Codable, CaseIterable, Identifiable {case .aider: return []case .amp: return ["\(home)/.config/amp"]case .openclaw: return []+ case .pi: return ["\(home)/.pi/agent/skills"]case .custom: return []}}diff --git a/Chops/Services/SkillParser.swift b/Chops/Services/SkillParser.swiftindex 2facce9..e1b5172 100644--- a/Chops/Services/SkillParser.swift+++ b/Chops/Services/SkillParser.swift@@ -12,7 +12,7 @@ enum SkillParser {return MDCParser.parse(content)}return FrontmatterParser.parse(content)- case .codex, .amp, .windsurf, .copilot, .aider, .openclaw, .custom:+ case .codex, .amp, .windsurf, .copilot, .aider, .openclaw, .pi, .custom:// Try frontmatter first, fall back to headinglet parsed = FrontmatterParser.parse(content)if !parsed.name.isEmpty { return parsed }diff --git a/Chops/Views/Shared/ToolBadge.swift b/Chops/Views/Shared/ToolBadge.swiftindex d1f5137..68cef88 100644--- a/Chops/Views/Shared/ToolBadge.swift+++ b/Chops/Views/Shared/ToolBadge.swift@@ -44,6 +44,7 @@ extension ToolSource {case .aider: "AI"case .amp: "AM"case .openclaw: "OC"+ case .pi: "PI"case .custom: "?"}}