memory-architect

memory-architect is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 105 tokens per session (2,850 once invoked), scanned A, original, Apache-2.0.

A design tool for planning an AI agent's long-term memory system. It defines what to remember, where to store it, how memory entries are structured, who can change them, and when they should be forgotten.

In plain words
What is it for?
Use it to design layered memory for an agent, choose among files, databases, or vector stores, and specify reading, writing, privacy, and expiry rules.
Why use it?
It prevents a memory system from becoming an unfiltered store of stale or private information. It makes storage, privacy, deletion, and context-size limits explicit before implementation.

Skill for Claude CodeCodex

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

Good fit Use it to design layered memory for an agent, choose among files, databases, or vector stores, and specify reading, writing, privacy, and expiry rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/memory-architect
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 Morningstar202604/awesome-skillkit --skill memory-architect
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

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 memory-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/memory-architect/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/memory-architect)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/memory-architect"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/memory-architect/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 memory-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/memory-architect"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/memory-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,850 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.00105 $0.02850
Opus 5.5 $0.00042 $0.01140
Sonnet 5.5 $0.00021 $0.00570
Haiku 4.5 $0.00011 $0.00285

Measured 2mo ago against content hash 92c8f82d92ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-architect 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 2mo 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.

site/skills/memory/memory-architect/SKILL.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Memory Architect

When most people give an agent memory, they just "dump it all into a vector database and walk away" — the result is retrieval noise, stale memories polluting the context, and privacy you can never delete. This skill designs before it builds: before writing a single line of storage code, settle all five questions — what to remember, which layer to put it in, what structure it takes, who may edit it, and how it is forgotten — then produce an executable architecture decision record.

Input Checklist

Collect everything up front before starting. If an input is missing, ask the user once with this prompt: "To design a memory architecture, please provide all at once: the agent's purpose and main tasks, the expected memory scale (order of magnitude of entry count), whether a vector database / database is available, privacy requirements (whether user personal information is involved), and the token budget constraint (the upper limit of context memory may occupy)."

Input Required Notes
Agent purpose and task type Yes Determines what to remember: customer service stores preferences, coding assistants store project state, assistants store facts and relations
Memory scale order Yes Hundreds / thousands / 100k+ entries; directly drives storage selection
Available storage facilities Yes Plain files / SQLite / vector database; with no vector database the design must take the degraded path
Privacy requirements Yes Whether to store PII, whether deletion-right support is needed; if involved, triggers red line 2
Token budget No Upper limit of memory injectable per session; defaults to the empirical 2000 tokens, adjustable
Concurrent writers No Single agent or multiple agents writing together; multi-writer setups must add timestamp and source fields

Pre-flight Self-check

This is a pure-prompt skill; no environment probing needed. It only checks input completeness:

  • Are the first four of the six inputs (purpose, scale, storage facilities, privacy requirements) all clear? If any is missing → stop and ask once with the prompt above; do not guess.
  • User says "just design something generic" → design scale at the thousands level, storage on the plain-file degraded path, and explicitly mark these two assumptions in the ADR.
  • User only wants "a chat log archive" → that is not a memory system; this skill does not apply — say so directly.

Read the full file on GitHub · 167 lines

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. 2mo ago Changed · -2 tokens per session 92c8f82d92ff
  2. 2mo ago First seen · 167 lines · 107 tokens per session scan A 83fb7251e979

Subscribe to this mod's changes

memory-architect is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 105 tokens to every session and 2,850 once invoked, about $0.0004 per session on Opus 5.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-09-19.

Related

memory-architect compared with skills from other repositories

memory-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memory-architectMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A105Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k3d agoApache-2.0A146Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61k3d agoMITA94Claude Code
pausemem0ai/mem0Skill70k3d agoApache-2.0A30Claude Code
mineMemPalace/mempalaceSkill61k3d agoMITA21Claude Code
agent-carnetyamadashy/repomixSkill30kyesterdayMITA67Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex