add-mnemon

Featured

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

AI & Automation 30,743 stars 12840 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 '"provider"' groups/*/container.json 2>/dev/null # no match, or "provider": "claude" = Claude ``` If a group sets a different provider (e.g. `"provider": "opencode"`), it spawns its own process and never invokes the `claude` CLI, so the hooks registered by `mnemon setup` do not run for that group. ## Phase 1: Pre-flight ### Check if already applied ```bash grep -q 'MNEMON_VERSION' container/Dockerfile && echo "Already applied" || echo "Not applied" ``` If already applied, re-run Phase 2 anyway — every step is idempotent and skips work that is already in place — then continue to Phase 3 (Verify). ### Check latest mnemon version ```bash curl -fsSL https://api.github.com/repos/mnemon-dev/mnemon/releases/latest | grep '"tag_name"' ``` Note the version (e.g. `v0.1.1`) — use it as `MNEMO...

Details

Author
nanocoai
Repository
nanocoai/nanoclaw
Created
7 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category