mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-19 02:13:58 +00:00
Implements a lightweight, local-first memory system that works across all 17 AI coding agents. Key features: - YAML-based storage (no databases or external services) - Three memory layers: Session, Project, and Global - AI-powered compression of observations into learnings - Cross-agent memory injection with relevance matching - Progressive disclosure for token efficiency Core modules: - ObservationStore: Capture raw session observations - LearningStore: Persist compressed learnings - MemoryCompressor: AI/rule-based compression engine - MemoryInjector: Context-aware memory retrieval - MemoryObserver: Automatic observation capture CLI commands (skillkit memory): - status, search, list, show, compress, export - import, clear, add, rate, config TUI integration: - New Memory screen with tabs (Learnings/Observations/Search) - useMemory hook for state management - Updated navigation and keybindings Code quality improvements: - Replaced nested ternaries with explicit functions - Added named constants for magic numbers - Simplified navigation with lookup map