Skip to content
Agentmart
Submit a tool

agent-memory

Design agent memory systems with short-term, long-term, episodic, and semantic memory and retrieval strategies

Skill by hummbl-io

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hummbl-io-agent-memory

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Design agent memory systems with short-term, long-term, episodic, and semantic memory and retrieval strategies

Use cases: design, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-memory

What's inside

Skill name
agent-memory
Description
Design agent memory systems with short-term, long-term, episodic, and semantic memory and retrieval strategies
License
Apache-2.0
Instructions
73 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

---
name: agent-memory
description: Design agent memory systems with short-term, long-term, episodic, and semantic memory and retrieval strategies
version: 0.1.0
execution-mode: advisory
argument-hint: "[--type short|long|episodic|semantic] [--capacity <n>] [--retrieval bm25|vector|hybrid]"
category: fleet-ops
status: candidate
---
# agent-memory | Agent Memory System Designer

## When to Use
- Designing memory architecture for a new agent
- Improving context management for long-running sessions
- Adding persistent knowledge to an existing agent
- Evaluating retrieval strategies for recall quality

## Execution

### 1. Parse Arguments
- `--type short|long|episodic|semantic`: memory type to design (default all)
- `--capacity <n>`: max items or tokens in the memory store
- `--retrieval bm25|vector|hybrid`: retrieval strategy (default hybrid)

### 2. Define Memory Tiers
- **Short-term**: working context window, recent turns, ephemeral
- **Long-term**: persistent facts, preferences, learned rules
- **Episodic**: logs of past interactions and outcomes
- **Semantic**: structured knowledge graph or fact store

### 3. Choose Storage Backends
- Short-term: in-process buffer or Redis with TTL
- Long-term: vector DB (pgvector, Qdrant) + key-value store
- Episodic: append-only event log (SQLite, JSONL)
- Semantic: graph store (Neo4j) or triple store

### 4. Design Retrieval Pipeline
- BM25: lexical scoring over episodic and long-term text
- Vector: embedding similarity over semantic and long-term
- Hybrid: reciprocal-rank fusion of BM25 + vector scores
- Define top-k, reranking, and freshness decay parameters

### 5. Define Write and Eviction Policies
- Write triggers: turn boundary, tool result, explicit save
- Eviction: LRU for short-term, relevance decay for long-term
- Consolidation: periodic summarization of episodic into semantic

### 6. Emit Design Document
- Write design to `_state/memory/<agent>.design.md`
- Include schema, retrieval config, and capacity budgets

## Output Format

```
agent-memory | type=all retrieval=hybrid

## Memory Tiers
| Tier       | Backend   | Capacity   | Eviction       |
|------------|-----------|------------|----------------|
| short-term | buffer    | 8k tokens  | LRU (10 turns) |
| long-term  | Qdrant    | 10k items  | relevance 0.3  |
| episodic   | JSONL log | unbounded  | 90-day decay   |
| semantic   | Neo4j     | 5k nodes   | consolidation  |

## Retrieval Pipeline
- Strategy: hybrid (BM25 + vector, RRF k=60)
- Top-k: 5 | Reranker: cross-encoder
- Freshness decay: 0.95^days

## Write Policies
- Short-term: every turn | Long-term: explicit save or tool result
- Episodic: turn boundary | Semantic: nightly consolidation

## Verdict
PASS | 4-tier memory designed, hybrid retrieval configured
```

## Skill Chains
- After designing -> `[agent-design]` to integrate memory into agent architecture
- After designing -> `[rag-pipeline]` to build the retrieval backend
- Before designing -> `[agent-trace]` to analyze existing memory usage

From hummbl-io/agent-skills, Apache-2.0.

More from hummbl-io/agent-skills

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Sep 27, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hummbl-io

Cite this page

agent-memory skill. Agent Mart. https://agentmart.dev/skills/hummbl-io-agent-memory (last updated 2026-10-24)