AI Agent Hub
Back to skills
Local Memory Reuse icon

Local Memory Reuse

AI Agent Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @user_3dda8f37/yoyo-nnm-11 into your AI assistant by following the instructions at https://skillhub.cn/install/skillhub.md.

About this skill

Problem

AI assistants often need to reuse user preferences, fixed rules, project context, glossary terms, task state, and history summaries across conversations. If the model has to select relevant memory from raw context every time, it spends extra token budget and may use inconsistent or noisy information.

How It Works

This skill stores memory items in a local SQLite database and organizes them by categories such as preferences, rules, project context, glossary, task state, and history summary. It returns a fixed, compact structure that can be injected directly. A typical flow is: initialize or update the database with read/write scripts in scripts/, define categories and defaults through categories/ and config/, then generate direct-injection output for the caller. The source also lists support for history references, time reminders, summary snapshots, and TTL cleanup.

Boundaries

It defaults to local, unencrypted storage, which suits offline reads, fast calls, and locally controlled workflows. If cloud sync, remote upload, or strong encryption compliance is required, an additional solution is needed. The skill does not include dynamic injection, hooks, DLLs, or drivers, and data remains only in the local SQLite database.

Use Cases

  • Store user preferences and fixed rules in a local AI assistant, then inject them by category in later conversations.
  • Maintain project glossaries, task state, and history summaries so the model reads fixed structures instead of selecting context itself.
  • Clean expired memory snapshots with TTL while keeping traceable history references for debugging long-running tasks.
  • Configure a local SQLite memory store in offline environments to avoid uploading preferences, rules, or context remotely.

Best For

  • Engineers building local AI assistants who need stable SQLite-backed storage for preferences, rules, and task state.
  • Developers working on long-running multi-turn tasks who need fixed-structure memory injection to reduce context selection.
  • Team engineers focused on offline data boundaries who require memory kept locally without cloud sync or remote upload.
  • Agent workflow maintainers who need glossary, summary, and TTL-based cleanup of stale state.