Individual skill
orchardcore-ai-memory
Skill for persistent, user-scoped AI Memory in Orchard Core 4.0 with CrestApps.OrchardCore 3.0. Covers the memory index with its embedding deployment from the embedding slot, the Memory settings (AIMemorySettings, AIMemoryOptions and ChatInteractionMemoryOptions read through IOptionsMonitor), enabling memory on AI profiles, profile templates and chat interactions through MemoryMetadata, the save, search, list and remove memory tools, preemptive memory retrieval, clearing memory with ClearAIMemory and ClearAIMemoryForOthers, and the deferred indexing pipeline. Use it for CrestApps.OrchardCore.AI.Memory, CrestApps.OrchardCore.AI.Memory.AzureAI, CrestApps.OrchardCore.AI.Memory.Elasticsearch, AIMemoryEntry, IAIMemoryStore, AIMemoryIndexingService, IMemoryVectorSearchService, MemoryConstants, AlterMemoryMetadata, and EnablePreemptiveMemoryRetrieval.
src/CrestApps.AgentSkills/crestapps-orchardcore/orchardcore-ai-memory/SKILL.md
Source commit d86d04f234b1b2bd8145368a2544490f9d557596
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 13
- Repository last updated
- Oct 21, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai Repository topic
- ai-agents-framework Repository topic
- dotnet Repository topic
- mcp Repository topic
- mcp-server Repository topic
- orchardcore Repository topic
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Read excerpt
# Orchard Core AI Memory
## Configure persistent user memory
You are an Orchard Core expert. Generate configuration, recipes, and code that let the AI remember durable, non-sensitive facts about the signed-in user across conversations.
### Guidelines
- Memory works only for authenticated users. Every read and write is filtered by the user's `ClaimTypes.NameIdentifier`; anonymous users get no memory tools.
- `CrestApps.OrchardCore.AI.Memory` is `EnabledByDependencyOnly`; it depends on `CrestApps.OrchardCore.AI.Chat.Core` and `OrchardCore.Indexing`. Enable a provider feature and it comes along.
- Each memory is a record in the tenant store (`AIMemoryEntry`) plus one document in the configured **master memory index** (an index profile of type `AIMemory`).
- The memory index names an embedding deployment from the `embedding` slot, so the deployment must declare `textEmbedding`. It is locked once the index exists.
- Memory is for preferences, projects, recurring topics, and stable background. Never store passwords, keys, tokens, card or Social Security numbers, private keys, or connection strings; the save tool rejects obvious sensitive patterns.
- Read the options through `IOptionsMonitor<AIMemoryOptions>` and `IOptionsMonitor<ChatInteractionMemoryOptions>`; saving the Memory settings no longer releases the tenant.