本文へスキップ
TakoAPI
スキル一覧に戻る

simplemem

nantes 作

Search & Research
383ダウンロード数はclawskills.shが公開している値です
2スター
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Efficient Lifelong Memory for LLM Agents - semantic compression, cross-session memory, and intent-aware retrieval.

説明

このスキルでできること

SimpleMem gives LLM agents persistent memory across sessions by compressing interactions into compact units and retrieving them based on intent. It uses a multi-index approach combining semantic, lexical, and symbolic layers. Without an OpenAI key, it falls back to JSON-based keyword search.

Unlike naive context stuffing, SimpleMem compresses and indexes memories so retrieval stays fast and relevant even as history grows.

使いどころ

  • Remembering user preferences across chat sessions
  • Storing project context for long-running agent tasks
  • Reducing repeated context in multi-turn conversations
  • Retrieving relevant past interactions during planning
  • Compressing conversation history to stay within token limits

ワークフロー例

入力

User asks: Remember that I prefer dark mode and always use TypeScript

エージェント
  1. 1

    Calls simplemem add with the preference string and a user ID

  2. 2

    SimpleMem compresses and stores the memory unit in persistent storage

  3. 3

    In a later session, agent calls simplemem retrieve with query about user preferences

  4. 4

    SimpleMem runs intent-aware search across semantic and lexical indexes

  5. 5

    Returns ranked memory results with the stored preference

出力

Agent recalls dark mode and TypeScript preference without re-prompting the user

要件

  • OPENAI_API_KEY environment variable (optional, required for semantic embeddings)

インストール

clawhub install nantes/simplemem

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク