How runkids/skillshare works
skillshare is a cross-platform manager for AI-agent skills and related resources. The main workflow is to maintain shared source content and configuration, then sync skills, agents, extras, MCP connections, and plugins to agent targets; users can also install content from Git hosts and audit it before use. A web dashboard exposes these operations alongside project, hub, backup, and management features. The README documents product capabilities; sampled source confirms selected UI/API, search, preview, hub indexing, MCP, and plugin behavior, so uncertain internal wiring is omitted.
Main entry points: main.go CLI commands · sync.go Sync engine · handler_search.go API handlers · install.go Install and update
Components 20
User Interfaces
- CLI commands
cmd/skillshare/main.go - Web dashboard
ui/src/App.tsx - UI API client
ui/src/api/client.ts - HTTP server
internal/server/server.go - API handlers
internal/server/handler_search.go
Content Workflow
- Shared content
internal/resource/skill.go - Targets and projects
internal/config/targets.go - Sync engine
internal/sync/sync.go - Security audit
internal/audit/audit.go - Install and update
internal/install/install.go
Agent Integrations
- AI agent targets
- MCP connections
internal/mcp/service.go - Plugin management
internal/plugin/service.go - Extras and agents
internal/sync/extras.go - Git hosting
Management Services
- Search and preview
internal/search/search.go - Hub index
internal/hub/index.go - Backup and restore
internal/backup/backup.go - Project resources
internal/config/project.go
Other components
- User
Connections 23
- User → CLI commands: runs commands
- User → Web dashboard: uses dashboard
- Web dashboard → UI API client: requests data
- UI API client → HTTP server: sends HTTP
- HTTP server → API handlers: dispatches requests
- CLI commands → Sync engine: runs sync
- Sync engine → Shared content: reads resources
- Sync engine → Targets and projects: reads target settings
- Sync engine → AI agent targets: syncs resources
- CLI commands → Security audit: runs audit
- CLI commands → Install and update: installs content
- Install and update → Git hosting: fetches sources
- Install and update → Security audit: scans installs
- CLI commands → MCP connections: manages connections
- MCP connections → AI agent targets: writes native configs
- CLI commands → Plugin management: manages plugins
- Plugin management → AI agent targets: applies plugins
- Sync engine → Extras and agents: syncs extras
- API handlers → Search and preview: searches content
- API handlers → Hub index: builds local index
- Search and preview → Git hosting: fetches previews
- CLI commands → Backup and restore: backs up data
- CLI commands → Project resources: manages projects