memory-system

Persist and search development observations across sessions using SQLite with FTS5.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Kuass/kiro-gateway-plus --skill memory-system-kuass
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-system
Source: https://github.com/Kuass/kiro-gateway-plus/tree/main/.opencode/skill/memory-system
Command: npx skills add https://github.com/Kuass/kiro-gateway-plus --skill memory-system-kuass

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a robust system for persisting learnings, loading previous context, and searching past decisions, ensuring knowledge compounds across sessions.

Core Features & Use Cases

  • Searchable Memory: Utilizes SQLite with FTS5 for efficient, full-text searching of observations.
  • Progressive Disclosure: Fetches compact search results first, allowing users to retrieve full details only for relevant items, preventing context bloat.
  • Structured Learning: Encourages recording discoveries as observations (decisions, bugfixes, patterns, etc.) for future reference.
  • Session Handoffs: Facilitates seamless transitions between sessions by documenting completion state, blockers, and next steps.
  • Use Case: When starting a new coding task, first search memory for similar past problems or solutions to avoid redundant work. Record any new insights or solutions discovered during the session as observations.

Quick Start

Use the memory_search tool to find past solutions related to 'authentication patterns'.

Frequently Asked Questions about memory-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist context and search past development decisions across sessions?

You can persist context across coding sessions by recording decisions, bugfixes, and patterns as structured observations in SQLite. This enables full-text searching of past learnings, ensuring knowledge compounds over time without redundant work.

What is progressive disclosure for context loading and how does it prevent bloat?

Progressive disclosure fetches compact search results first, allowing you to retrieve full details only for relevant items. This mechanism prevents context bloat by minimizing the amount of loaded memory data during development sessions.

How do I document session handoffs to maintain continuity between coding tasks?

Document session handoffs by recording the completion state, current blockers, and next steps. This facilitates seamless transitions between development sessions by providing immediate context for continued coding tasks.

Does SQLite FTS5 work for full-text searching of development observations?

Yes, SQLite with FTS5 provides efficient full-text searching specifically for development observations. It indexes structured learnings like bugfixes and patterns, allowing you to quickly retrieve past solutions using search queries.

What's the best way to record bugfixes and patterns for future reference?

The best way to record bugfixes is by storing them as structured observations within a persistent memory system. This allows future search queries to instantly retrieve past solutions, preventing redundant debugging efforts.

When should I search memory before starting a new coding task?

Search memory before starting a new coding task to find similar past problems or solutions. This avoids redundant work by loading relevant prior observations, ensuring you build upon existing knowledge rather than repeating previous efforts.