crestapps-core-ai-memory

crestapps-core-ai-memory is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 140 tokens per session (1,155 once invoked), scanned A, original, MIT.

A guide for adding durable, user-specific memory to CrestApps.Core, a software framework, using a database and safety checks.

In plain words
What is it for?
Use it to register memory storage, search or manage saved memories, and inject relevant memories into agent workflows.
Why use it?
It helps applications retain relevant user facts across sessions without confusing them with temporary chat state.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the crestapps-core plugin — 47 skills shipped together

Good fit Use it to register memory storage, search or manage saved memories, and inject relevant memories into agent workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/crestapps-core-ai-memory
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 CrestApps/CrestApps.AgentSkills --skill crestapps-core-ai-memory
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install crestapps-core, the plugin that ships this one along with the rest of its 47 skills.

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 crestapps-core-ai-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-ai-memory"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-ai-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,155 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00140 $0.01155
Opus 5.5 $0.00056 $0.00462
Sonnet 5.5 $0.00028 $0.00231
Haiku 4.5 $0.00014 $0.00115

Measured yesterday against content hash 1d1b5a97ee41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crestapps-core-ai-memory 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 yesterday.

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.

plugins/crestapps-core/skills/crestapps-core-ai-memory/SKILL.md · 108 lines

How it starts

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

CrestApps.Core AI Memory

Memory stores long-lived facts about the authenticated user (preferences, projects, roles) and recalls them in later conversations. It is not for transient chat state.

Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddOpenAI()
        .AddAIMemory(memory => memory
            .AddEntityCoreStores()))   // or .AddYesSqlStores()
    .AddIndexingServices(indexing => indexing
        .AddEntityCoreStores()
        .AddElasticsearch(
            builder.Configuration.GetSection("CrestApps:Elasticsearch"),
            elasticsearch => elasticsearch.AddAIMemory()))
    .AddEntityCoreSqliteDataStore("Data Source=app.db"));

builder.Services.Configure<AIMemoryOptions>(options =>
{
    options.IndexProfileName = "user-memories"; // an index profile of type AIMemory
    options.TopN = 5;
});
  • AddAIMemory(...) calls AddCoreAIMemory(), which registers IAIMemorySafetyService, IAIMemorySearchService, AIMemoryIndexingService, AIMemoryOrchestrationHandler, AIMemoryPreemptiveRagHandler, the options and the four memory tools.
  • The store builder call registers IAIMemoryStore (and ICatalog<AIMemoryEntry>). YesSql hosts also create the index table with CreateAIMemoryEntryIndexSchemaAsync(...).
  • A backend's AddAIMemory() registers the AIMemory index-profile source, its profile handler and the keyed IMemoryVectorSearchService. Without it, memory is stored but never searched semantically.
  • AIMemoryOptions.IndexProfileName must name an existing index profile of type AIMemory; otherwise indexing logs a warning and skips.

Turning Memory On

Surface Switch
AI profile MemoryMetadata.EnableUserMemory = true on the profile (profile.Put(new MemoryMetadata { EnableUserMemory = true }))
Chat interactions ChatInteractionMemoryOptions.EnableUserMemory (default true)
Preemptive recall GeneralAIOptions.EnablePreemptiveMemoryRetrieval (default true)

Read the full file on GitHub · 108 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. yesterday Changed · +57 lines · +115 tokens per session 1d1b5a97ee41
  2. 1mo ago First seen · 51 lines · 25 tokens per session scan A a468db923896

Subscribe to this mod's changes

crestapps-core-ai-memory is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (13 stars, last pushed yesterday), licensed MIT. It adds 140 tokens to every session and 1,155 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

chromadb

Manage the ChromaDB vector database that stores the ecosystem's persistent memory. Use when user asks to check memory storage, backup memory, search stored entries, delete entries, or reset the vector database. Do NOT use for general question answering about past sessions (use the memory skill for that).

EliasOulkadi/shokunin · 61 tokens

setup-location-memory

Install or repair the location archive. Use when the location tools are missing, when they error on the database, when the user wants to import a Google Timeline export, when they want to start a live feed from OwnTracks, or when they ask to set up location memory.

michelgrolet/tars-location-mcp · 59 tokens

lore-onboard

First-time setup wizard for LoreConvo. Verifies the MCP server is connected, the database is accessible, hooks are configured, and runs a test save/load cycle. Use when the user says "set up loreconvo", "onboard", "/lore-onboard", "verify loreconvo", "test loreconvo setup", or after first installing the plugin.

labyrinth-analytics/loreconvo · 81 tokens

nlqdb-docs-memory

Turn this repo's markdown docs into a queryable nlqdb memory database — decision IDs and statuses, open questions with ages, queues, ledgers, and the cross-references between them. Use when asked which features have stale open questions, which decisions reference a given ID, what is blocked and since when, or to…

nlqdb/nlqdb · 91 tokens

nlqdb-memory

Give this agent persistent, queryable memory over the nlqdb MCP server. Use whenever the agent needs to remember something across sessions, recall what it stored, or aggregate over its memory (GROUP BY / JOIN / counts / trends) — backed by a real Postgres it queries in plain English, not a vector store.

nlqdb/nlqdb · 70 tokens

aws-rds-aurora-performance-investigator

Investigate Amazon RDS and Aurora-specific incidents involving latency, connection exhaustion, slow queries, lock waits, storage pressure, CPU/I/O saturation, replica lag, failover behavior, Performance Insights, and database capacity. Prefer this for database performance; prefer broad observability responder for…

VincentChuWaiChow/vanguard-frontier-agentic · 70 tokens