memory-grounding

A personal-memory tool for recalling earlier conversations, feelings, and diary entries.

In plain words
What is it for?
It is for reading recent diary entries, recalling a past event, saving significant user facts, and checking system status.
Why use it?
It helps keep personal context consistent across conversations instead of treating each one as completely new.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/vneel-code/ghost/memory-grounding
Any agent
npx skills add vNeeL-code/GHOST --skill memory-grounding
Clone the repo
git clone --depth 1 https://github.com/vNeeL-code/GHOST

Made for: Claude Code, Codex.

Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 137 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.00137
Opus 5 $0.00009 $0.00068
Sonnet 5 $0.00003 $0.00027
Haiku 4.5 $0.00002 $0.00014

Measured 2d ago against content hash 1e4bbfeda579, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-grounding 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 2d 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.

app/src/main/assets/skills/memory-grounding/SKILL.md · 18 lines

What it actually says

Memory & Grounding Skill

Use this skill to remember what the user said in the past or to check your "Diary" for emotional context.

Guidelines

  1. Call readDiaryEntries() to see your recent summaries and thoughts.
  2. If the user asks about a specific past event, use your internal memory recall.
  3. Use addDiaryEntry to save new significant facts about the user.
  4. Always stay consistent with your previous sovereign states.

Tools Available

  • readDiaryEntries
  • addDiaryEntry
  • getSystemStatus
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. 2d ago First seen · 18 lines · 17 tokens per session scan A 1e4bbfeda579

Subscribe to this mod's changes

memory-grounding is a skill published in the GitHub repository vNeeL-code/GHOST (162 stars, last pushed 2d ago), licensed MIT. It adds 17 tokens to every session and 137 once invoked, about $0.0001 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

ii-app

Use this skill when you need to initialize or restart local web and mobile app projects through the bundled Rust ii-app CLI instead of calling MCP tools.

Intelligent-Internet/ii-agent · 34 tokens

watch-pr

Watch a pushed PR's checks with the Monitor tool, and act on the verdict. Use after opening or pushing to a PR.

parawanderer/OpenTagViewer · 29 tokens

device-screenshots

Render app UI on the Gradle managed device and look at the result without spending a fortune in vision tokens. Use whenever a change is visual - colours, themes, drawables, layout - or when a screenshot needs comparing before and after, light and dark.

parawanderer/OpenTagViewer · 57 tokens

watch-gradle-tests

Watch a Gradle instrumented-test run to a verdict without hand-writing greps. Use whenever running :app:testEmulatorDebugAndroidTest or :app:connectedDebugAndroidTest in the background.

parawanderer/OpenTagViewer · 45 tokens

Debroid CLI Debugger

Orchestrate headless Android debugging via JDWP. ACTIVATE this skill whenever asked to debug an Android application, set line or exception breakpoints, inspect runtime variables or Jetpack Compose state, step through execution, evaluate live expressions, watch fields, or diagnose runtime crashes.

PatilShreyas/debroid · 61 tokens

kotlin-multiplatform

Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific, source set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets (Android, JVM/Desktop, iOS) with web/wasm future considerations. Integrates with…

maxrave-dev/SimpMusic · 114 tokens