跳到正文
TakoAPI
返回技能列表

mnemon

由 grivn 提供

AI & LLMs
362下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Persistent memory CLI for LLM agents.

描述

该技能的功能

Mnemon is a persistent memory CLI for LLM agents. It stores categorized facts, links related memories by semantic or causal edges, and surfaces relevant knowledge on recall. Multiple named stores support separate memory contexts.

Built-in deduplication and graph-style linking lets agents build a queryable knowledge structure rather than a flat list of notes.

何时使用

  • Retaining user preferences between agent sessions
  • Linking a past decision to its downstream consequences
  • Querying prior debugging insights when a similar error recurs
  • Storing architectural choices so agents don't re-litigate them
  • Pruning low-importance memories to keep the store focused

示例工作流

输入

User asks: Remember that we switched from MySQL to PostgreSQL because of JSON query performance

智能体
  1. 1

    Run mnemon remember with category 'decision', importance 4, entities 'MySQL,PostgreSQL'

  2. 2

    Check returned semantic_candidates and causal_candidates for related memories

  3. 3

    Evaluate candidates and link the new memory to an existing architecture insight with type causal, weight 0.8

  4. 4

    Confirm stored memory ID and linked edges

输出

Memory stored with ID and causal edge to prior database selection memory

前置要求

  • mnemon binary (install via Homebrew or go install)

安装

clawhub install grivn/mnemon

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接