跳到正文
TakoAPI
返回技能列表

session-memory

由 swaylq 提供

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

简介

Persistent memory toolkit for AI agents.

描述

该技能的功能

A set of bash and Node.js scripts that give AI agents persistent memory across sessions. Memories are stored locally as JSONL files, tagged by topic, and scored by importance and recency. Supports save, recall, consolidation, export/import, and pruning.

Runs with no external dependencies or API calls, keeping all memory local and available offline.

何时使用

  • Resuming a coding session by loading recent decisions and insights
  • Recording an architectural choice so the agent remembers it next week
  • Flagging a credential rotation as critical so it always surfaces in context
  • Reviewing a week of decisions grouped by topic before a team sync
  • Exporting a memory snapshot before wiping a development environment

示例工作流

输入

User asks: load my context from the last 3 days and remind me what database decisions we made

智能体
  1. 1

    Runs context.sh --days 3 to load recent and high-priority memories

  2. 2

    Runs recall.sh "database" --topic decision to find relevant entries

  3. 3

    Presents matched memories sorted by relevance score

  4. 4

    Saves a new memory summarizing the current session's starting point

输出

Agent outputs recent context, lists database decisions with dates and importance levels, and confirms the session summary was saved

安装

clawhub install swaylq/session-memory

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

链接