agentdb-persistent-memory-patterns — Claude Code skill
agentdb-persistent-memory-patterns is a Claude Code skill that structures AI agent memory in AgentDB, from session data to long-term storage. It also covers retrieving records and finding patterns through clustering.
no license 1 installs ★ 492 updated 2026-10-25
npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a claude-codeWhat agentdb-persistent-memory-patterns does
This skill lays out an AgentDB memory design with episodic, semantic, and procedural layers. Its examples cover session storage, moving selected working-memory records into long-term storage, retrieving entries by query, and finding patterns with clustering. The code uses AgentDB and MemoryManager from agentdb-memory.
The workflow moves from schema and storage design through implementation, testing, performance tuning, and documentation. You’ll need familiarity with AgentDB, memory management, and database schema design to apply the patterns. Without those basics, adapting the examples to an existing system will take extra work.
What it helps with
- retain agent memory across restarts
- separate session data from long-term records
- move selected facts into persistent storage
- find patterns in episodic memories
- retrieve context for a query
Example prompts for the agent
- Design AgentDB memory for my agent, including session data and long-term storage.
- Show how to consolidate important records from working memory into long-term memory.
- Add clustering to discover patterns in episodic memory.
How to install agentdb-persistent-memory-patterns
1Skills CLI (Vercel)
npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a claude-code2Manually: put the files in place
~/.claude/skills/agentdb-persistent-memory-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agentdb-persistent-memory-patterns/
1Skills CLI (Vercel)
npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a codex2Manually: put the files in place
.agents/skills/agentdb-persistent-memory-patterns/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a cursor2Manually: put the files in place
.cursor/skills/agentdb-persistent-memory-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aiskillstore/marketplace skills/dnyoussef/agentdb-persistent-memory-patterns2Manually: put the files in place
.github/skills/agentdb-persistent-memory-patterns/SKILL.md1Skills CLI (Vercel)
npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a gemini-cli2Platform CLI
gemini skills install https://github.com/aiskillstore/marketplace --path skills/dnyoussef/agentdb-persistent-memory-patternsManually: put the files in place
.devin/skills/agentdb-persistent-memory-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agentdb-persistent-memory-patterns
How do I install agentdb-persistent-memory-patterns in Claude Code?
Run npx skills add aiskillstore/marketplace --skill agentdb-persistent-memory-patterns -a claude-code. The skill file is at ~/.claude/skills/agentdb-persistent-memory-patterns/SKILL.md.
What does agentdb-persistent-memory-patterns do?
It guides implementation of AgentDB-based agent memory, covering session storage, long-term persistence, context handling, and pattern discovery.
What should I know before using this skill?
You’ll need the basics of AgentDB, memory management, and database schema design. Its code examples use AgentDB and MemoryManager from agentdb-memory.