nanocoai/nanoclaw✦ 精选0°

add-mnemon

仓库创建 2026年1月31日最近提交 17 小时前SkillHot 收录 20 天前
▸ 精选理由

让代理跨会话记住关键信息与洞见

▸ 风险提示

会修改镜像并在容器内注册钩子与写入 .claude 挂载

这个 Skill 做什么

在容器中安装 mnemon,为代理提供持久的图谱记忆与回忆能力。

在代理容器里安装 mnemon,给代理加上持久的图谱记忆:响应前会提取相关记忆,响应后把新洞见写入保存。需要代理跨会话记忆上下文、重启后仍能回忆关键信息时用。记忆存放在每个 agent group 的 .claude 挂载里,重启也不丢失。

▸ 展开 SKILL.md 英文原文

Add persistent graph-based memory via mnemon. Agents recall past context before responding and remember insights after each turn.

数据与抓取持久记忆mnemon记忆管理通用
3.0w
Stars
1.3w
Forks
40
仓库内 Skill
+241
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/nanocoai/nanoclaw/main/.claude/skills/add-mnemon/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/nanocoai/nanoclaw/main/.claude/skills/add-mnemon/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Add Mnemon — Persistent Memory

Installs [mnemon](https://github.com/mnemon-dev/mnemon) in the agent container image. On each container start, `mnemon setup` registers Claude Code hooks that surface relevant memory before the agent responds and store new insights after each turn. Memory is written to the per-agent-group `.claude/` mount and survives container restarts.

## Provider Compatibility

mnemon hooks fire only under `--target claude-code`. Use this skill on agent groups that run the default Claude provider. The provider is the materialized `provider` key in each group's `container.json` (absent or `claude` = default Claude provider). Confirm it before applying:

```bash
grep -H '"
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有