data-memory-storage

data-memory-storage is a skill for Claude Code, Codex from clenci/arch-advisor. It costs 125 tokens per session (1,070 once invoked), scanned A, original, no licence file.

A guide for choosing data storage, designing an application's data layer, and deciding how an agent keeps information between sessions. It also covers vector storage, which stores numeric representations used to compare content by meaning.

In plain words
What is it for?
Use it when selecting databases, storing agent state, keeping memory between sessions, or planning storage for embeddings.
Why use it?
It helps avoid choosing a database or memory system without first matching it to the data and the way it will be used.

Skill for Claude CodeCodex

Part of the arch-advisor plugin — 15 skills, 1 command, 1 hook shipped together

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/clenci/arch-advisor/data-memory-storage
Any agent
npx skills add clenci/arch-advisor --skill data-memory-storage
Clone the repo
git clone --depth 1 https://github.com/clenci/arch-advisor

Made for: Claude Code, Codex.

Or install arch-advisor, the plugin that ships this one along with the rest of its 15 skills, 1 command, 1 hook.

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 data-memory-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/clenci/arch-advisor/data-memory-storage.svg)](https://agentmods.dev/skills/clenci/arch-advisor/data-memory-storage)
Your own site
<a href="https://agentmods.dev/skills/clenci/arch-advisor/data-memory-storage"><img src="https://agentmods.dev/badge/skills/clenci/arch-advisor/data-memory-storage.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00125 $0.01070
Opus 5 $0.00063 $0.00535
Sonnet 5 $0.00025 $0.00214
Haiku 4.5 $0.00013 $0.00107

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

Security

Grade A, and why

data-memory-storage 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 4d 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.

arch-advisor/skills/data-memory-storage/SKILL.md · 100 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

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. 4d ago First seen · 100 lines · 125 tokens per session scan A 3627fd406849

Subscribe to this mod's changes

data-memory-storage is a skill published in the GitHub repository clenci/arch-advisor (5 stars, last pushed 4mo ago), with no licence file. It adds 125 tokens to every session and 1,070 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

cognee-cli

Use when the user wants to drive cognee from the terminal with cognee-cli — remember/recall/forget/improve memory commands, managing datasets and config, or database migrations.

topoteretes/cognee · 42 tokens

add-memory-kind

Add a new business memory kind end-to-end. Pick the storage combination (Markdown / SQLite / LanceDB), pick the markdown strategy (daily-log / skill-named / single-file), then wire up the schema(s), repo(s), and writer(s).

EverMind-AI/EverOS · 55 tokens

memory-search

Query the raw trajectory SQLite database directly when the built-in memory and history tools are insufficient. Use when you need structured analysis across sessions: finding repeated errors, grouping tool calls by pattern, verifying what was actually executed, or locating specific past commands/decisions that text…

XiaomiMiMo/MiMo-Code · 78 tokens

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens

build-with-tinybase

Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, configuring browser or database persistence, configuring MergeableStore…

tinyplex/tinybase · 76 tokens