shared-memory

A shared memory system for AI agents on one workstation, with three levels of stored information.

In plain words
What is it for?
Use it to search past context, store results, and record decisions with their origin.
Why use it?
It lets agents find earlier context before starting work and save important findings afterward.

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/kanenasingreece/shared_memory/shared-memory
Any agent
npx skills add KanenasInGreece/Shared_Memory --skill shared-memory
Clone the repo
git clone --depth 1 https://github.com/KanenasInGreece/Shared_Memory

Made for: Claude Code, Codex.

Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. Scan, not verified.
Origin unknown 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.00076 $0.16580
Opus 5 $0.00038 $0.08290
Sonnet 5 $0.00015 $0.03316
Haiku 4.5 $0.00008 $0.01658

Measured yesterday against content hash 8c550dc1bed2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

shared-memory scanned grade D with 3 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/memory_bridge.py, scripts/update_skill.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

> **Fix (either works, and both keep the recommended `uv` install as-is):** put `uv` somewhere already on the **system default PATH** (e.g. `sudo ln -s "$(command -v uv)" /usr/local/bin/uv`, run once as the operator), or

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

> **Troubleshooting — `uv: command not found` (or the skill silently doing something else).** Every command in this document runs `memory_bridge.py` **through `uv run`**. If the shell this agent spawned to run that comma

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> **Troubleshooting — `uv: command not found` (or the skill silently doing something else).** Every command in this document runs `memory_bridge.py` **through `uv run`**. If the shell this agent spawned to run that comma
shared-memory-skill/shared-memory/SKILL.md · 752 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 752 lines · 76 tokens per session scan D 8c550dc1bed2

Subscribe to this mod's changes

shared-memory is a skill published in the GitHub repository KanenasInGreece/Shared_Memory (1 stars, last pushed yesterday), with no licence file. It adds 76 tokens to every session and 16,580 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

engrama-onboard

Build a personalized Engrama memory graph for any user through a conversational interview. Use this skill whenever someone says "set up Engrama", "create my graph", "onboard", "build my profile", "configure Engrama for me", or asks how to start using Engrama. Also use when the user mentions they have a different role…

scops/engrama · 104 tokens

archilles-search

Use when answering questions from a research library through the ARCHILLES MCP tools — picking the right tool for the question, choosing search mode and filters, and turning [docN] markers into citations a reader can follow. Covers searchbookswithcitations, listbooksbyauthor, searchannotations, listtags and the…

kasssandr/archilles · 71 tokens

handoff

Save a session handoff to Engram for future sessions. Captures decisions, todos, blockers, mental model, and next steps as a structured memory. Use when the user wants to preserve session context before ending work.

edg-l/engram-mcp · 47 tokens

read-handoffs

Resume a session by loading recent handoffs from Engram. Use at the start of a session or when the user wants to review what was done previously.

edg-l/engram-mcp · 36 tokens

codemem

Quick reference for all 32 codemem MCP tools. Use when working with the codemem knowledge graph — finding code, traversing relationships, storing memories, or running analysis.

cogniplex/codemem · 41 tokens

t2i

Use the t2i CLI to generate AI images from text prompts via Microsoft Foundry providers (FLUX.2, MAI-Image-2). Activate when the user asks to generate images, automate image creation in scripts, or set up image generation for CI/CD.

elbruno/ElBruno.MempalaceNet · 59 tokens