Agent skill

Mnemon

by mnemon-dev in mnemon-dev/mnemon

Persistent memory CLI for Hermes Agent. An agent skill from mnemon-dev/mnemon.

Apache-2.0Auto-check passedAgent Workflows

Install Mnemon

skills CLI
$ npx skills add mnemon-dev/mnemon --skill mnemon -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mnemon-dev/mnemon mnemon --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mnemon-dev/mnemon.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/memory/setup/assets/hermes .claude/skills/mnemon && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mnemon
GitHub stars
611
Token cost
~657 tokens
SKILL.md length
236 words
Files
5
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Persistent memory CLI for Hermes Agent. An agent skill from mnemon-dev/mnemon.

  • Works in 3 steps: Recall when prior decisions,… → Remember only stable, reusable knowledge → Link related memories after reviewing…
  • Tasks that involve Agent memory
  • SKILL.md covers Workflow, Recall Intent, Commands and Guardrails
  • Runs Shell scripts from its folder

What it does

Mnemon is an agent skill from mnemon-dev/mnemon. Persistent memory CLI for Hermes Agent. Store facts, recall past knowledge, link related memories, manage lifecycle.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `compact.sh`, `nudge.sh` and `prime.sh`).

It sits in Agent Workflows, covering Agent memory. The repository describes itself as: LLM-supervised persistent memory for AI agents — graph-based recall, cross-session knowledge, single binary. Works with DeepSeek Harness, Claude Code, OpenClaw, and any agent… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Agent memory

Example prompts

  • “/mnemon”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Recall when prior decisions, preferences, or facts may affect the current task
  2. Remember only stable, reusable knowledge
  3. Link related memories after reviewing candidates from remember

What it can do on your machine

Read from SKILL.md and the folder at commit 55ecd3e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mnemon loads about 657 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 236 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~657

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mnemon-dev/mnemon at commit 55ecd3e, republished under its Apache-2.0 licence (© mnemon-dev). 236 words, ~657 tokens.

Download SKILL.mdSave it as .claude/skills/mnemon/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
mnemon
description
Persistent memory CLI for Hermes Agent. Store facts, recall past knowledge, link related memories, manage lifecycle.

mnemon

Use mnemon when durable memory can materially improve continuity across Hermes sessions. Hooks may inject recalled context before an LLM call, but the agent decides what is worth storing.

Workflow

  1. Recall when prior decisions, preferences, or facts may affect the current task: mnemon recall "<query>" --limit 10
  2. Remember only stable, reusable knowledge: mnemon remember "<fact>" --cat <cat> --imp <1-5> --entities "e1,e2" --source agent
  3. Link related memories after reviewing candidates from remember: mnemon link <id> <candidate> --type <causal|semantic> --weight <0-1>

Recall Intent

Keep focused queries and memories in their original language. When the user's meaning is clear, choose --intent WHY (reasons), --intent WHEN (timing), --intent ENTITY (what/who), or --intent GENERAL (neutral retrieval). For example: mnemon recall "<query>" --intent WHY. The override works in any language; --verbose reports meta.intent and meta.intent_source (auto or override).

Automatic cues cover some forms in English, Mandarin Chinese (simplified and traditional), Hindi (Devanagari), Spanish, Modern Standard Arabic, French, Bengali (Bengali script), Portuguese, Indonesian (Latin script), Russian (Cyrillic), and German. Unrecognized forms use GENERAL; conflicting cues involving additional languages also use GENERAL. English/Chinese-only scoring is preserved. This is a lexical heuristic, not full language understanding. See the supported forms, script variants, and limits.

Commands

bash
mnemon remember "<fact>" --cat <cat> --imp <1-5> --entities "e1,e2" --source agent
mnemon link <id1> <id2> --type <type> --weight <0-1> [--meta '<json>']
mnemon recall "<query>" --limit 10
mnemon search "<query>" --limit 10
mnemon import --dry-run <file>
mnemon import <file>
mnemon forget <id>
mnemon related <id> --edge causal
mnemon gc --threshold 0.4
mnemon gc --keep <id>
mnemon status
mnemon log
mnemon store list
mnemon store create <name>
mnemon store set <name>
mnemon store remove <name>

Guardrails

  • Do not store secrets, passwords, tokens, private keys, or short-lived operational noise.
  • Prefer concise insights over transcript dumps.
  • Categories: preference · decision · insight · fact · context
  • Edge types: temporal · semantic · causal · entity
  • Max 8,000 chars per insight.

© mnemon-dev, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in internal/memory/setup/assets/hermes of mnemon-dev/mnemon.

  • SKILL.md
  • compact.sh
  • nudge.sh
  • prime.sh
  • remind.sh

Open the folder on GitHubat commit 55ecd3e

Compare with similar skills

Mnemon next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mnemon compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mnemon this skillmnemon-dev/mnemon611—~657Automated safety check: PassApache-2.0
Project Timeline Reportthedotmack/claude-mem97k1 repos~3.1kAutomated safety check: PassApache-2.0
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
Reflect on Session Learningscursor/plugins10k5 repos~1.2kAutomated safety check: PassNone

Similar skills

  • Project Timeline Report

    thedotmack/claude-mem

    Writes a narrative Journey Into report on a project's whole development history, built from the timeline that claude-mem has recorded.

    97k GitHub starsUsed in 1 repo~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Official

    Starts three parallel reviewer subagents over the current conversation transcript, then turns their findings into concrete edits to existing skills.

    10k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Compound Learning Writer

    EveryInc/compound-engineering-plugin

    Records one solved and verified problem as a durable learning in the repository, but only when the reasoning is not already clear from the final code, tests or docs.

    25k GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from mnemon-dev/mnemon

  • Add Mnemon

    mnemon-dev/mnemon

    Add persistent graph-based memory to NanoClaw agents using mnemon.

    611 GitHub stars~2.5k tokensUpdated 4 days ago
    Auto-check passed
  • Mnemon

    mnemon-dev/mnemon

    Persistent memory for MiniMax Code. An agent skill from mnemon-dev/mnemon.

    611 GitHub stars~776 tokensUpdated 4 days ago
    Auto-check passed
  • Mnemon

    mnemon-dev/mnemon

    Persistent memory CLI for LLM agents. An agent skill from mnemon-dev/mnemon.

    611 GitHub stars~881 tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Mnemon

What does Mnemon do?

Persistent memory CLI for Hermes Agent. An agent skill from mnemon-dev/mnemon. Mnemon is an agent skill from mnemon-dev/mnemon. Persistent memory CLI for Hermes Agent.

When should I use Mnemon?

Mnemon fits situations like: tasks that involve Agent memory.

How do I install Mnemon in Claude Code?

Run `npx skills add mnemon-dev/mnemon --skill mnemon -a claude-code`. Or copy the skill folder (internal/memory/setup/assets/hermes in mnemon-dev/mnemon) into .claude/skills/mnemon in your project. Claude Code loads it when a task matches its description.

How do I install Mnemon in Codex?

Run `npx skills add mnemon-dev/mnemon --skill mnemon -a codex`. Or copy the skill folder (internal/memory/setup/assets/hermes in mnemon-dev/mnemon) into .agents/skills/mnemon in your project. Codex loads it when a task matches its description.

Can I use Mnemon in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mnemon-dev/mnemon --skill mnemon -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mnemon, .gemini/skills/mnemon, .github/skills/mnemon and .opencode/skills/mnemon in your project.

What does Mnemon need to run?

Going by SKILL.md and its folder, Mnemon needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Mnemon access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mnemon safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mnemon use?

Mnemon is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mnemon use?

About 657 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mnemon?

Skills that share tags, products or a category with Mnemon: Project Timeline Report (thedotmack/claude-mem, 97k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), Beads Task Memory (gastownhall/beads, 28k stars) and MemPalace Memory Search (MemPalace/mempalace, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mnemon?

mnemon-dev (a GitHub organization) maintains it in mnemon-dev/mnemon, which has 611 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 3, 2026.

Source: mnemon-dev/mnemon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.