Tinmem Memory System
openclaw-tinmem provides persistent memory capabilities for the OpenClaw AI assistant.
Tools
memory_recall
Search and retrieve relevant memories from past conversations.
Use this tool when:
- The user references something from a previous conversation
- You need context about user preferences, background, or past decisions
- You want to check if a problem has been solved before
Parameters:
query (required): Search query to find relevant memories
scope: Memory namespace (default: "global")
categories: Filter by category: profile, preferences, entities, events, cases, patterns
limit: Max results (default: 10)
level: Detail level - L0 (headline), L1 (summary), L2 (full content)
Example:
{
"query": "user's preferred programming language",
"categories": ["profile", "preferences"],
"level": "L1"
}
memory_store
Store new information as a persistent memory.
Use this tool when:
- The user shares important personal information
- A significant decision is made
- A problem is solved in a novel way
- A new project or entity is introduced
Parameters:
content (required): The information to store
category (required): profile | preferences | entities | events | cases | patterns
scope: Memory namespace
importance: 0.0-1.0 (default: 0.5)
tags: Keywords for searchability
Example:
{
"content": "User is building a SaaS product called TaskFlow for project management, using Next.js 14 and PostgreSQL with Prisma",
"category": "entities",
"importance": 0.9,
"tags": ["taskflow", "nextjs", "postgresql", "saas"]
}
memory_forget
Remove memories that are no longer relevant or are incorrect.
Parameters:
id: Specific memory ID to delete
query: Search and delete matching memories
scope: Limit deletion to this scope
categories: Limit deletion to these categories
Example:
{
"query": "old job at previous company",
"categories": ["profile", "entities"]
}
memory_update
Update an existing memory with corrected or additional information.
Parameters:
id (required): Memory ID to update
content: New full content
summary: New summary
headline: New headline
importance: New importance score
tags: New tags (replaces existing)
Memory Categories Reference
| Category |
What to Store |
Merge Behavior |
profile |
User identity, role, expertise, demographics |
Always merge |
preferences |
Likes/dislikes, habits, recurring preferences |
Topic-based merge |
entities |
Projects, people, tools, organizations |
Merge if same entity |
events |
Decisions made, milestones, things that happened |
Always append (never merge) |
cases |
Problem-solution pairs, debugging sessions |
Always append (never merge) |
patterns |
Recurring workflows, methodologies, best practices |
Merge if same pattern |
Notes
- Memories are automatically injected into context before each response via
<agent-experience> tags
- New memories are automatically extracted after each conversation turn
- Similar memories are deduplicated using LLM-based analysis
- All memories persist across sessions in a local LanceDB database
1---
2name: tinmem-memory-system
3description: openclaw-tinmem provides persistent memory capabilities for the
4 OpenClaw AI assistant.
5metadata:
6 source: https://skillmd.com/skills/modbender/tinmem-memory-system
7---
8
9# Tinmem Memory System
10
11openclaw-tinmem provides persistent memory capabilities for the OpenClaw AI assistant.
12
13## Tools
14
15### memory_recall
16
17Search and retrieve relevant memories from past conversations.
18
19Use this tool when:
20- The user references something from a previous conversation
21- You need context about user preferences, background, or past decisions
22- You want to check if a problem has been solved before
23
24**Parameters:**
25- `query` (required): Search query to find relevant memories
26- `scope`: Memory namespace (default: "global")
27- `categories`: Filter by category: profile, preferences, entities, events, cases, patterns
28- `limit`: Max results (default: 10)
29- `level`: Detail level - L0 (headline), L1 (summary), L2 (full content)
30
31**Example:**
32```json
33{
34 "query": "user's preferred programming language",
35 "categories": ["profile", "preferences"],
36 "level": "L1"
37}
38```
39
40---
41
42### memory_store
43
44Store new information as a persistent memory.
45
46Use this tool when:
47- The user shares important personal information
48- A significant decision is made
49- A problem is solved in a novel way
50- A new project or entity is introduced
51
52**Parameters:**
53- `content` (required): The information to store
54- `category` (required): profile | preferences | entities | events | cases | patterns
55- `scope`: Memory namespace
56- `importance`: 0.0-1.0 (default: 0.5)
57- `tags`: Keywords for searchability
58
59**Example:**
60```json
61{
62 "content": "User is building a SaaS product called TaskFlow for project management, using Next.js 14 and PostgreSQL with Prisma",
63 "category": "entities",
64 "importance": 0.9,
65 "tags": ["taskflow", "nextjs", "postgresql", "saas"]
66}
67```
68
69---
70
71### memory_forget
72
73Remove memories that are no longer relevant or are incorrect.
74
75**Parameters:**
76- `id`: Specific memory ID to delete
77- `query`: Search and delete matching memories
78- `scope`: Limit deletion to this scope
79- `categories`: Limit deletion to these categories
80
81**Example:**
82```json
83{
84 "query": "old job at previous company",
85 "categories": ["profile", "entities"]
86}
87```
88
89---
90
91### memory_update
92
93Update an existing memory with corrected or additional information.
94
95**Parameters:**
96- `id` (required): Memory ID to update
97- `content`: New full content
98- `summary`: New summary
99- `headline`: New headline
100- `importance`: New importance score
101- `tags`: New tags (replaces existing)
102
103---
104
105## Memory Categories Reference
106
107| Category | What to Store | Merge Behavior |
108|----------|---------------|----------------|
109| `profile` | User identity, role, expertise, demographics | Always merge |
110| `preferences` | Likes/dislikes, habits, recurring preferences | Topic-based merge |
111| `entities` | Projects, people, tools, organizations | Merge if same entity |
112| `events` | Decisions made, milestones, things that happened | Always append (never merge) |
113| `cases` | Problem-solution pairs, debugging sessions | Always append (never merge) |
114| `patterns` | Recurring workflows, methodologies, best practices | Merge if same pattern |
115
116## Notes
117
118- Memories are automatically injected into context before each response via `<agent-experience>` tags
119- New memories are automatically extracted after each conversation turn
120- Similar memories are deduplicated using LLM-based analysis
121- All memories persist across sessions in a local LanceDB database