memento

memento is a skill for Claude Code, Codex from sandsower/memento-vault. It costs 41 tokens per session (493 once invoked), scanned A, original, MIT.

A helper for saving important decisions, discoveries, fixes, and reusable patterns in Memento Vault, a local notes system.

In plain words
What is it for?
Use it to record durable project knowledge, capture a session summary, and maintain searchable vault notes.
Why use it?
It prevents useful knowledge from being lost after a work session and checks for existing notes before creating duplicates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to record durable project knowledge, capture a session summary, and maintain searchable vault notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sandsower/memento-vault/memento
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sandsower/memento-vault --skill memento
Clone the repo
git clone --depth 1 https://github.com/sandsower/memento-vault

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memento

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandsower/memento-vault/memento/github.svg)](https://agentmods.dev/skills/sandsower/memento-vault/memento)
Your own site
<a href="https://agentmods.dev/skills/sandsower/memento-vault/memento"><img src="https://agentmods.dev/badge/skills/sandsower/memento-vault/memento/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memento

Your own site · 80×15
<a href="https://agentmods.dev/skills/sandsower/memento-vault/memento"><img src="https://agentmods.dev/badge/skills/sandsower/memento-vault/memento.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00493
Opus 5 $0.00020 $0.00246
Sonnet 5 $0.00008 $0.00099
Haiku 4.5 $0.00004 $0.00049

Measured 10d ago against content hash 26763486984f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

memento scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/generic/memento/SKILL.md · 66 lines

What it actually says

Memento

Capture durable session knowledge as atomic notes in Memento Vault.

Preferred Path

Use MCP tools when they are available:

  1. Search first with memento_search to avoid duplicate notes.
  2. Store each durable idea with memento_store.
  3. For a broad end-of-session capture, use memento_capture with a concise structured summary.
  4. Check vault health with memento_status if the vault location or connection is unclear.

Fallback Path

If MCP tools are not available, use the configured local vault:

  1. Read ~/.config/memento-vault/memento.yml or ~/memento/memento.yml to find vault_path.
  2. Default to ~/memento if no config exists.
  3. Search notes/ and projects/ before writing.
  4. Write new notes under notes/.
  5. Update the relevant project index under projects/.
  6. Commit vault changes if a commit helper or git repo is available.

Note Shape

Each note should cover one idea and include YAML frontmatter:

---
title: Short descriptive title
type: decision | discovery | pattern | bugfix | tool
tags: [relevant, tags]
source: manual
certainty: 1-5
validity-context: conditions where this remains true
project: /full/path/to/project
branch: branch-name-if-known
date: YYYY-MM-DDTHH:MM
session_id: session-id-if-known
---

Use certainty 1 for speculation, 2 for observed once, 3 for confirmed in code, 4 for tested or shipped, and 5 for established patterns.

Sanitization

Before storing, redact credentials and sensitive identifiers:

  • API keys, bearer tokens, OAuth tokens, SSH keys
  • Cloud account IDs and IAM ARNs
  • Database connection strings
  • Private hostnames and RFC 1918 IP addresses
  • Personal identifiers unless the note is explicitly about that identity

When unsure, redact.

Output

Tell the user what was captured, what was skipped as duplicate, and where the notes were stored. Keep the response concise.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 66 lines · 41 tokens per session scan A 26763486984f

Subscribe to this mod's changes

memento is a skill published in the GitHub repository sandsower/memento-vault (12 stars, last pushed 27d ago), licensed MIT. It adds 41 tokens to every session and 493 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

garden-tending

Tend the knowledge garden — diagnose vault health, condense project memos into project.md overviews, create/merge cross-project topics, fix broken links, archive superseded notes, extend trails. Trigger on "tend the garden", "condense", "update project overview", "check vault health", "where are we with X?", "what…

linxule/memex-plugin · 131 tokens

curator-practice

Operating philosophy for autonomous memex curator tending — orientation protocol, signal triage, bounded work units, initiative thresholds, logging conventions. Trigger on cron-launched runs with no user prompt, "use your judgment", "tend without instructions", "do a pass on the vault", "I'll be away — do what needs…

linxule/memex-plugin · 153 tokens

recall

Retrieve session memory across 4 modes — TEMPORAL (date browsing), KEYWORD (FTS lookup), DEEP (cross-session synthesis), LOAD (specific file). Trigger on "what did I do yesterday/last week", "why did we...", "remind me...", "find the memo about...", "last time we...", "patterns across projects", "load the X topic". Do…

linxule/memex-plugin · 112 tokens

memo-writing

How to write effective session memos — format, frontmatter schema, observation extraction, topic-signal append. Trigger on /memex:save, "save this for later", "remember this", "save what we discussed", "document this session", "create a memo", or when the [memex] activity nudge appears in context. Do NOT trigger for…

linxule/memex-plugin · 125 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 69 tokens