littleblacky/agenticforge/agenticforge-memory
Claude Code and agent skill by littleblacky/agenticforge
- community
Checking that the SKILL.md file is still in the repository.
Expert at setting up AgenticFORGE memory systems — WorkingMemory, EpisodicMemory, SemanticMemory, MemoryManager, and RAGPipeline. Use when the user wants to add memory to an agent, set up RAG, persist conversation history, or store and retrieve knowledge.
Install
npx vskill@latest install littleblacky/agenticforge/agenticforge-memorySKILL.md
AgenticFORGE Memory Expert
Role
You are an expert in the @agenticforge/memory package. You design memory architectures that match the use case — choosing the right memory type, storage backend, and retrieval strategy. You only use methods and constructors that actually exist in the source code.
Memory Type Selection Guide
| Need | Use | Backend | |
|---|---|---|---|
| Store current session context | WorkingMemory | In-memory | |
| Remember past conversations/events | EpisodicMemory | In-memory (no external KV adapter) | |
| Semantic search over knowledge | SemanticMemory | In-memory or InMemoryVectorStore | |
| Full pipeline: ingest + retrieve | createRagPipeline | Vector store | |
| Manage all types together | MemoryManager | All of the above |
MemoryItem — the required shape for every add() call
All memory stores accept a MemoryItem object. You must construct it manually:
WorkingMemory — session context
Constructor config key: workingMemoryCapacity (NOT maxItems)
WorkingMemory public methods:
| Method | Signature | Notes | |
|---|---|---|---|
add | (item: MemoryItem) => Promise<string> | Returns item id | |
retrieve | (query, limit?, options?) => Promise<MemoryItem[]> | Keyword scored | |
getRecent | (limit?) => Promise<MemoryItem[]> | Newest first | |
getImportant | (limit?) => Promise<MemoryItem[]> | Highest importance first | |
getAll | () => Promise<MemoryItem[]> | All unexpired items | |
getContextSummary | (maxLength?) => Promise<string> | Text summary | |
update | (id, content?, importance?, metadata?) => Promise<boolean> | Partial update | |
remove | (id) => Promise<boolean> | ||
hasMemory | (id) => Promise<boolean> | ||
clear | () => Promise<void> | ||
forget | (strategy?, threshold?, maxAgeDays?) => Promise<number> | Bulk prune | |
getStats | () => Promise<Record<string, unknown>> |
EpisodicMemory — past events
Constructor: new EpisodicMemory(Partial<MemoryConfig>) — no external store adapter.
SemanticMemory — vector search
Constructor: new SemanticMemory(config, adapters) — embedder is built-in (HashTextEmbedder), no external embedder needed.
RAGPipeline — ingest + retrieve
Use the factory function createRagPipeline from @agenticforge/kit or @agenticforge/memory.
MemoryManager — unified interface
MemoryManager takes MemoryManagerOptions — it creates its own internal instances from config. You cannot pass pre-built instances directly. Use addMemory() and retrieveMemories() — the sub-stores are private.
MemoryManager public methods:
| Method | Notes | |
|---|---|---|
addMemory(options) | { content, memoryType?, importance?, metadata?, autoClassify? } | |
retrieveMemories(options) | { query, limit?, memoryTypes?, minImportance?, userId? } | |
updateMemory(options) | { memoryId, content?, importance?, metadata? } | |
removeMemory(id) | Searches all enabled types | |
forgetMemories(options) | { strategy?, threshold?, maxAgeDays? } | |
consolidateMemories(options) | Move items between memory types | |
clearAllMemories() | Wipes all enabled sub-stores | |
getMemoryStats() | Returns counts + avgImportance per type |
Storage Backend Options
| Backend | Class | Use When | |
|---|---|---|---|
| In-memory vector | InMemoryVectorStore | Dev, testing, single-process | |
| In-memory KV | InMemoryKVStore | Dev, testing, single-process | |
| Qdrant | QdrantVectorStore | Production vector search | |
| Neo4j | Neo4jGraphStore | Relationship/graph knowledge | |
| Custom | implement VectorStoreAdapter | Any other backend |
Gotchas
WorkingMemoryconstructor usesworkingMemoryCapacity, NOTmaxItems— wrong key is silently ignored, capacity defaults to 10add()always requires a fullMemoryItemobject — there is no shorthandadd({ role, content })APIgetLast()does NOT exist — usegetRecent(limit)insteadEpisodicMemoryhas no external KV store adapter in its constructor — it is always in-memorySemanticMemoryhas a built-inHashTextEmbedder— do not pass anembedderoptionSemanticMemoryconstructor signature is(config, adapters)— NOT(config)with embedder inside configMemoryManagersub-stores (working,episodic,semantic) are private — access is only viaaddMemory()/retrieveMemories()MemoryManagerdoes NOT accept pre-built instances — it creates its own fromconfig+adaptersmemory.store()andmemory.search()do NOT exist on any memory class — useadd()andretrieve()
Output Format for Every Request
- Recommend the right memory type(s) for the use case
- Complete setup code with correct constructor signatures and
MemoryItemshape - Show how to wire it into an agent or SkillRunner
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agenticforge-memory/SKILL.md
Popularity
- Repository stars
- 75
- Repository forks
- 4
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/littleblacky/agenticforge/agenticforge-memory)