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
@skillkit/cli
CLI commands for SkillKit - install, manage, and sync skills across AI agents.
Installation
npm install @skillkit/cli
Commands
skillkit init # Initialize skillkit in project
skillkit install <skill> # Install a skill
skillkit remove <skill> # Remove a skill
skillkit list # List installed skills
skillkit update # Update installed skills
skillkit sync # Sync skills across agents
skillkit translate # Translate skills between formats
skillkit recommend # Get skill recommendations
skillkit context # Manage project context
skillkit ui # Launch interactive TUI
Usage
import { installCommand, listCommand, syncCommand } from '@skillkit/cli';
// Programmatic access to CLI commands
await installCommand('github.com/owner/repo:skill-name');
await listCommand();
await syncCommand({ all: true });
Documentation
Full documentation: https://github.com/rohitg00/skillkit
License
Apache-2.0