How xaghy/ai-skills-manager works
AI Skills Manager is an Obsidian plugin for discovering and managing AI skills and related assets in their existing tool folders. The main workflow is: open the library, scan configured global and project locations, enrich results with vault metadata and usage, then organize or act on items in place. Separate branches cover GitHub discovery and installation/updates, memories and MCP visibility, integrity checks, and usage history. Some subsystem links are based on README documentation or indexed imports; unsampled implementation details are not inferred.
Main entry points: LibraryView.ts Library View · rescan.ts Rescan Coordinator · main.ts Plugin Entry · discover.ts Repository Discovery
Components 22
Plugin and Library
- Plugin Entry
src/main.ts - Library View
src/views/LibraryView.ts - Settings
src/settings.ts
Scanning and Metadata
- Tool Scanners
src/scanners.ts - Rescan Coordinator
src/rescan.ts - Agent Memories
src/memories.ts - MCP Servers
src/mcpScanners.ts - Vault Metadata
src/store.ts
Item Operations
- Enable and Disable
src/itemToggle.ts - Collections
src/collections.ts - Integrity Checks
src/integrity.ts
GitHub Lifecycle
- Repository Discovery
src/discover.ts - GitHub Installation
src/modals/InstallFromGitHubModal.ts - Git Operations
src/git.ts - Update Diffs
src/diff/tabsDiff.ts - Diff Line Builder
src/diff/buildDiffLines.ts - Saved Versions
src/history.ts
Insights
- Usage Collection
src/claude-usage.ts - Usage History
src/usage-history.ts - Usage Dashboard
src/dashboard.ts
Other components
- Obsidian User
- GitHub
Connections 25
- Obsidian User → Plugin Entry: opens plugin
README.md - Plugin Entry → Library View: opens view
src/main.ts - Plugin Entry → Settings: registers settings
src/main.ts - Plugin Entry → Rescan Coordinator: schedules rescans
src/main.ts - Library View → Rescan Coordinator: requests scan
src/views/LibraryView.ts - Rescan Coordinator → Tool Scanners: scans tools
src/rescan.ts - Rescan Coordinator → Agent Memories: scans memories
src/rescan.ts - Rescan Coordinator → MCP Servers: scans servers
src/rescan.ts - Rescan Coordinator → Vault Metadata: updates metadata
src/rescan.ts - Library View → Vault Metadata: organizes items
README.md - Library View → Enable and Disable: toggles items
README.md - Library View → Collections: organizes collections
src/views/LibraryView.ts - Library View → Integrity Checks: shows health issues
README.md - Library View → Repository Discovery: browses sources
src/views/LibraryView.ts - Repository Discovery → GitHub: fetches repo details
README.md - Repository Discovery → Git Operations: clones repositories
src/discover.ts - Library View → GitHub Installation: starts installation
README.md - GitHub Installation → Git Operations: clones source
src/modals/InstallFromGitHubModal.ts - GitHub Installation → Rescan Coordinator: refreshes inventory
src/modals/InstallFromGitHubModal.ts - Library View → Update Diffs: reviews updates
README.md - Update Diffs → Diff Line Builder: builds diff lines
src/diff/tabsDiff.ts - Library View → Saved Versions: opens saved versions
README.md - Usage Collection → Usage History: records daily use
src/claude-usage.ts - Library View → Usage Dashboard: shows usage
README.md - Usage Dashboard → Usage History: reads history