@bjlee2024/claude-mem 13.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.codex-plugin/plugin.json +46 -0
  3. package/LICENSE +202 -0
  4. package/README.md +419 -0
  5. package/dist/npx-cli/index.js +10001 -0
  6. package/dist/opencode-plugin/index.js +67 -0
  7. package/openclaw/Dockerfile.e2e +46 -0
  8. package/openclaw/SKILL.md +462 -0
  9. package/openclaw/TESTING.md +279 -0
  10. package/openclaw/dist/index.js +15 -0
  11. package/openclaw/e2e-verify.sh +222 -0
  12. package/openclaw/install.sh +1653 -0
  13. package/openclaw/openclaw.plugin.json +98 -0
  14. package/openclaw/package.json +21 -0
  15. package/openclaw/src/index.test.ts +1124 -0
  16. package/openclaw/src/index.ts +1092 -0
  17. package/openclaw/test-e2e.sh +40 -0
  18. package/openclaw/test-install.sh +2086 -0
  19. package/openclaw/test-sse-consumer.js +98 -0
  20. package/openclaw/tsconfig.json +26 -0
  21. package/package.json +211 -0
  22. package/plugin/.claude-plugin/plugin.json +24 -0
  23. package/plugin/.codex-plugin/plugin.json +46 -0
  24. package/plugin/.mcp.json +12 -0
  25. package/plugin/hooks/bugfixes-2026-01-10.md +92 -0
  26. package/plugin/hooks/codex-hooks.json +74 -0
  27. package/plugin/hooks/hooks.json +87 -0
  28. package/plugin/modes/code--ar.json +24 -0
  29. package/plugin/modes/code--bn.json +24 -0
  30. package/plugin/modes/code--chill.json +8 -0
  31. package/plugin/modes/code--cs.json +24 -0
  32. package/plugin/modes/code--da.json +24 -0
  33. package/plugin/modes/code--de.json +24 -0
  34. package/plugin/modes/code--el.json +24 -0
  35. package/plugin/modes/code--es.json +24 -0
  36. package/plugin/modes/code--fi.json +24 -0
  37. package/plugin/modes/code--fr.json +24 -0
  38. package/plugin/modes/code--he.json +24 -0
  39. package/plugin/modes/code--hi.json +24 -0
  40. package/plugin/modes/code--hu.json +24 -0
  41. package/plugin/modes/code--id.json +24 -0
  42. package/plugin/modes/code--it.json +24 -0
  43. package/plugin/modes/code--ja.json +24 -0
  44. package/plugin/modes/code--ko.json +24 -0
  45. package/plugin/modes/code--nl.json +24 -0
  46. package/plugin/modes/code--no.json +24 -0
  47. package/plugin/modes/code--pl.json +24 -0
  48. package/plugin/modes/code--pt-br.json +24 -0
  49. package/plugin/modes/code--ro.json +24 -0
  50. package/plugin/modes/code--ru.json +24 -0
  51. package/plugin/modes/code--sv.json +24 -0
  52. package/plugin/modes/code--th.json +24 -0
  53. package/plugin/modes/code--tr.json +24 -0
  54. package/plugin/modes/code--uk.json +24 -0
  55. package/plugin/modes/code--ur.json +25 -0
  56. package/plugin/modes/code--vi.json +24 -0
  57. package/plugin/modes/code--zh.json +24 -0
  58. package/plugin/modes/code.json +139 -0
  59. package/plugin/modes/email-investigation.json +120 -0
  60. package/plugin/modes/law-study--chill.json +7 -0
  61. package/plugin/modes/law-study-CLAUDE.md +85 -0
  62. package/plugin/modes/law-study.json +120 -0
  63. package/plugin/modes/meme-tokens.json +125 -0
  64. package/plugin/package.json +46 -0
  65. package/plugin/scripts/bun-runner.js +216 -0
  66. package/plugin/scripts/context-generator.cjs +795 -0
  67. package/plugin/scripts/mcp-server.cjs +239 -0
  68. package/plugin/scripts/server-beta-service.cjs +9856 -0
  69. package/plugin/scripts/statusline-counts.js +40 -0
  70. package/plugin/scripts/version-check.js +69 -0
  71. package/plugin/scripts/worker-cli.js +19 -0
  72. package/plugin/scripts/worker-service.cjs +2368 -0
  73. package/plugin/scripts/worker-wrapper.cjs +2 -0
  74. package/plugin/skills/babysit/SKILL.md +87 -0
  75. package/plugin/skills/design-is/SKILL.md +312 -0
  76. package/plugin/skills/do/SKILL.md +45 -0
  77. package/plugin/skills/how-it-works/SKILL.md +22 -0
  78. package/plugin/skills/how-it-works/onboarding-explainer.md +17 -0
  79. package/plugin/skills/knowledge-agent/SKILL.md +80 -0
  80. package/plugin/skills/learn-codebase/SKILL.md +21 -0
  81. package/plugin/skills/make-plan/SKILL.md +67 -0
  82. package/plugin/skills/mem-search/SKILL.md +131 -0
  83. package/plugin/skills/oh-my-issues/SKILL.md +226 -0
  84. package/plugin/skills/pathfinder/SKILL.md +111 -0
  85. package/plugin/skills/smart-explore/SKILL.md +190 -0
  86. package/plugin/skills/timeline-report/SKILL.md +211 -0
  87. package/plugin/skills/version-bump/SKILL.md +68 -0
  88. package/plugin/skills/version-bump/scripts/generate_changelog.js +34 -0
  89. package/plugin/skills/weekly-digests/SKILL.md +262 -0
  90. package/plugin/skills/wowerpoint/SKILL.md +205 -0
  91. package/plugin/ui/assets/fonts/monaspace-radon-var.woff +0 -0
  92. package/plugin/ui/assets/fonts/monaspace-radon-var.woff2 +0 -0
  93. package/plugin/ui/claude-mem-logo-for-dark-mode.webp +0 -0
  94. package/plugin/ui/claude-mem-logo-stylized.png +0 -0
  95. package/plugin/ui/claude-mem-logomark.webp +0 -0
  96. package/plugin/ui/icon-thick-completed.svg +8 -0
  97. package/plugin/ui/icon-thick-investigated.svg +8 -0
  98. package/plugin/ui/icon-thick-learned.svg +12 -0
  99. package/plugin/ui/icon-thick-next-steps.svg +8 -0
  100. package/plugin/ui/viewer-bundle.js +65 -0
  101. package/plugin/ui/viewer.html +3145 -0
package/README.md ADDED
@@ -0,0 +1,419 @@
1
+ <h1 align="center">
2
+ <br>
3
+ <a href="https://github.com/bjlee2024/claude-mem">
4
+ <picture>
5
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/claude-mem-logo-for-dark-mode.webp">
6
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/claude-mem-logo-for-light-mode.webp">
7
+ <img src="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/claude-mem-logo-for-light-mode.webp" alt="Claude-Mem" width="400">
8
+ </picture>
9
+ </a>
10
+ <br>
11
+ </h1>
12
+
13
+ <p align="center">
14
+ <a href="docs/i18n/README.zh.md">🇨🇳 中文</a> •
15
+ <a href="docs/i18n/README.zh-tw.md">🇹🇼 繁體中文</a> •
16
+ <a href="docs/i18n/README.ja.md">🇯🇵 日本語</a> •
17
+ <a href="docs/i18n/README.pt.md">🇵🇹 Português</a> •
18
+ <a href="docs/i18n/README.pt-br.md">🇧🇷 Português</a> •
19
+ <a href="docs/i18n/README.ko.md">🇰🇷 한국어</a> •
20
+ <a href="docs/i18n/README.es.md">🇪🇸 Español</a> •
21
+ <a href="docs/i18n/README.de.md">🇩🇪 Deutsch</a> •
22
+ <a href="docs/i18n/README.fr.md">🇫🇷 Français</a> •
23
+ <a href="docs/i18n/README.he.md">🇮🇱 עברית</a> •
24
+ <a href="docs/i18n/README.ar.md">🇸🇦 العربية</a> •
25
+ <a href="docs/i18n/README.ru.md">🇷🇺 Русский</a> •
26
+ <a href="docs/i18n/README.pl.md">🇵🇱 Polski</a> •
27
+ <a href="docs/i18n/README.cs.md">🇨🇿 Čeština</a> •
28
+ <a href="docs/i18n/README.nl.md">🇳🇱 Nederlands</a> •
29
+ <a href="docs/i18n/README.tr.md">🇹🇷 Türkçe</a> •
30
+ <a href="docs/i18n/README.uk.md">🇺🇦 Українська</a> •
31
+ <a href="docs/i18n/README.vi.md">🇻🇳 Tiếng Việt</a> •
32
+ <a href="docs/i18n/README.tl.md">🇵🇭 Tagalog</a> •
33
+ <a href="docs/i18n/README.id.md">🇮🇩 Indonesia</a> •
34
+ <a href="docs/i18n/README.th.md">🇹🇭 ไทย</a> •
35
+ <a href="docs/i18n/README.hi.md">🇮🇳 हिन्दी</a> •
36
+ <a href="docs/i18n/README.bn.md">🇧🇩 বাংলা</a> •
37
+ <a href="docs/i18n/README.ur.md">🇵🇰 اردو</a> •
38
+ <a href="docs/i18n/README.ro.md">🇷🇴 Română</a> •
39
+ <a href="docs/i18n/README.sv.md">🇸🇪 Svenska</a> •
40
+ <a href="docs/i18n/README.it.md">🇮🇹 Italiano</a> •
41
+ <a href="docs/i18n/README.el.md">🇬🇷 Ελληνικά</a> •
42
+ <a href="docs/i18n/README.hu.md">🇭🇺 Magyar</a> •
43
+ <a href="docs/i18n/README.fi.md">🇫🇮 Suomi</a> •
44
+ <a href="docs/i18n/README.da.md">🇩🇰 Dansk</a> •
45
+ <a href="docs/i18n/README.no.md">🇳🇴 Norsk</a>
46
+ </p>
47
+
48
+ <h4 align="center">Persistent memory compression system built for <a href="https://claude.com/claude-code" target="_blank">Claude Code</a>.</h4>
49
+
50
+ <p align="center">
51
+ <a href="LICENSE">
52
+ <img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License">
53
+ </a>
54
+ <a href="package.json">
55
+ <img src="https://img.shields.io/badge/version-6.5.0-green.svg" alt="Version">
56
+ </a>
57
+ <a href="package.json">
58
+ <img src="https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg" alt="Node">
59
+ </a>
60
+ <a href="https://github.com/bjlee2024/awesome-claude-code">
61
+ <img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Claude Code">
62
+ </a>
63
+ </p>
64
+
65
+ <p align="center">
66
+ <a href="https://trendshift.io/repositories/15496" target="_blank">
67
+ <picture>
68
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/trendshift-badge-dark.svg">
69
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/trendshift-badge.svg">
70
+ <img src="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/trendshift-badge.svg" alt="bjlee2024/claude-mem | Trendshift" width="250" height="55"/>
71
+ </picture>
72
+ </a>
73
+ </p>
74
+
75
+ <br>
76
+
77
+ <table align="center">
78
+ <tr>
79
+ <td align="center">
80
+ <a href="https://github.com/bjlee2024/claude-mem">
81
+ <picture>
82
+ <img
83
+ src="https://raw.githubusercontent.com/bjlee2024/claude-mem/main/docs/public/cm-preview.gif"
84
+ alt="Claude-Mem Preview"
85
+ width="500"
86
+ >
87
+ </picture>
88
+ </a>
89
+ </td>
90
+ <td align="center">
91
+ <a href="https://www.star-history.com/#bjlee2024/claude-mem&Date">
92
+ <picture>
93
+ <source
94
+ media="(prefers-color-scheme: dark)"
95
+ srcset="https://api.star-history.com/image?repos=bjlee2024/claude-mem&type=date&theme=dark&legend=top-left"
96
+ />
97
+ <source
98
+ media="(prefers-color-scheme: light)"
99
+ srcset="https://api.star-history.com/image?repos=bjlee2024/claude-mem&type=date&legend=top-left"
100
+ />
101
+ <img
102
+ alt="Star History Chart"
103
+ src="https://api.star-history.com/image?repos=bjlee2024/claude-mem&type=date&legend=top-left"
104
+ width="500"
105
+ />
106
+ </picture>
107
+ </a>
108
+ </td>
109
+ </tr>
110
+ </table>
111
+
112
+ <p align="center">
113
+ <a href="#quick-start">Quick Start</a> •
114
+ <a href="#how-it-works">How It Works</a> •
115
+ <a href="#mcp-search-tools">Search Tools</a> •
116
+ <a href="#documentation">Documentation</a> •
117
+ <a href="#configuration">Configuration</a> •
118
+ <a href="#troubleshooting">Troubleshooting</a> •
119
+ <a href="#license">License</a>
120
+ </p>
121
+
122
+ <p align="center">
123
+ Claude-Mem seamlessly preserves context across sessions by automatically capturing tool usage observations, generating semantic summaries, and making them available to future sessions. This enables Claude to maintain continuity of knowledge about projects even after sessions end or reconnect.
124
+ </p>
125
+
126
+ ---
127
+
128
+ ## Quick Start
129
+
130
+ Install with a single command:
131
+
132
+ ```bash
133
+ npx claude-mem install
134
+ ```
135
+
136
+ Or install for Gemini CLI (auto-detects `~/.gemini`):
137
+
138
+ ```bash
139
+ npx claude-mem install --ide gemini-cli
140
+ ```
141
+ Or install for OpenCode:
142
+
143
+ ```bash
144
+ npx claude-mem install --ide opencode
145
+ ```
146
+
147
+ Or install from the plugin marketplace inside Claude Code:
148
+
149
+ ```bash
150
+ /plugin marketplace add bjlee2024/claude-mem
151
+
152
+ /plugin install claude-mem
153
+ ```
154
+
155
+ Restart Claude Code or Gemini CLI. Context from previous sessions will automatically appear in new sessions.
156
+
157
+ > **Note:** Claude-Mem is also published on npm, but `npm install -g claude-mem` installs the **SDK/library only** — it does not register the plugin hooks or set up the worker service. Always install via `npx claude-mem install` or the `/plugin` commands above.
158
+
159
+ ### 🦞 OpenClaw Gateway
160
+
161
+ Install claude-mem as a persistent memory plugin on [OpenClaw](https://openclaw.ai) gateways with a single command:
162
+
163
+ ```bash
164
+ curl -fsSL https://install.cmem.ai/openclaw.sh | bash
165
+ ```
166
+
167
+ The installer handles dependencies, plugin setup, AI provider configuration, worker startup, and optional real-time observation feeds to Telegram, Discord, Slack, and more. See the [OpenClaw Integration Guide](https://docs.claude-mem.ai/openclaw-integration) for details.
168
+
169
+ **Key Features:**
170
+
171
+ - 🧠 **Persistent Memory** - Context survives across sessions
172
+ - 📊 **Progressive Disclosure** - Layered memory retrieval with token cost visibility
173
+ - 🔍 **Skill-Based Search** - Query your project history with mem-search skill
174
+ - 🖥️ **Web Viewer UI** - Real-time memory stream at http://localhost:37777
175
+ - 💻 **Claude Desktop Skill** - Search memory from Claude Desktop conversations
176
+ - 🔒 **Privacy Control** - Use `<private>` tags to exclude sensitive content from storage
177
+ - ⚙️ **Context Configuration** - Fine-grained control over what context gets injected
178
+ - 🤖 **Automatic Operation** - No manual intervention required
179
+ - 🔗 **Citations** - Reference past observations with IDs (access via http://localhost:37777/api/observation/{id} or view all in the web viewer at http://localhost:37777)
180
+ - 🧪 **Beta Channel** - Try experimental features like Endless Mode via version switching
181
+
182
+ ---
183
+
184
+ ## Documentation
185
+
186
+ 📚 **[View Full Documentation](https://docs.claude-mem.ai/)** - Browse on official website
187
+
188
+ ### Getting Started
189
+
190
+ - **[Installation Guide](https://docs.claude-mem.ai/installation)** - Quick start & advanced installation
191
+ - **[Gemini CLI Setup](https://docs.claude-mem.ai/gemini-cli/setup)** - Dedicated guide for Google's Gemini CLI integration
192
+ - **[Usage Guide](https://docs.claude-mem.ai/usage/getting-started)** - How Claude-Mem works automatically
193
+ - **[Search Tools](https://docs.claude-mem.ai/usage/search-tools)** - Query your project history with natural language
194
+ - **[Beta Features](https://docs.claude-mem.ai/beta-features)** - Try experimental features like Endless Mode
195
+
196
+ ### Best Practices
197
+
198
+ - **[Context Engineering](https://docs.claude-mem.ai/context-engineering)** - AI agent context optimization principles
199
+ - **[Progressive Disclosure](https://docs.claude-mem.ai/progressive-disclosure)** - Philosophy behind Claude-Mem's context priming strategy
200
+
201
+ ### Architecture
202
+
203
+ - **[Overview](https://docs.claude-mem.ai/architecture/overview)** - System components & data flow
204
+ - **[Architecture Evolution](https://docs.claude-mem.ai/architecture-evolution)** - The journey from v3 to v5
205
+ - **[Hooks Architecture](https://docs.claude-mem.ai/hooks-architecture)** - How Claude-Mem uses lifecycle hooks
206
+ - **[Hooks Reference](https://docs.claude-mem.ai/architecture/hooks)** - 7 hook scripts explained
207
+ - **[Worker Service](https://docs.claude-mem.ai/architecture/worker-service)** - HTTP API & Bun management
208
+ - **[Database](https://docs.claude-mem.ai/architecture/database)** - SQLite schema & FTS5 search
209
+ - **[Search Architecture](https://docs.claude-mem.ai/architecture/search-architecture)** - Hybrid search with Chroma vector database
210
+
211
+ ### Configuration & Development
212
+
213
+ - **[Configuration](https://docs.claude-mem.ai/configuration)** - Environment variables & settings
214
+ - **[Development](https://docs.claude-mem.ai/development)** - Building, testing, contributing
215
+ - **[Troubleshooting](https://docs.claude-mem.ai/troubleshooting)** - Common issues & solutions
216
+
217
+ ---
218
+
219
+ ## How It Works
220
+
221
+ **Core Components:**
222
+
223
+ 1. **5 Lifecycle Hooks** - SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd (6 hook scripts)
224
+ 2. **Smart Install** - Cached dependency checker (pre-hook script, not a lifecycle hook)
225
+ 3. **Worker Service** - HTTP API on port 37777 with web viewer UI and 10 search endpoints, managed by Bun
226
+ 4. **SQLite Database** - Stores sessions, observations, summaries
227
+ 5. **mem-search Skill** - Natural language queries with progressive disclosure
228
+ 6. **Chroma Vector Database** - Hybrid semantic + keyword search for intelligent context retrieval
229
+
230
+ See [Architecture Overview](https://docs.claude-mem.ai/architecture/overview) for details.
231
+
232
+ ---
233
+
234
+ ## MCP Search Tools
235
+
236
+ Claude-Mem provides intelligent memory search through **4 MCP tools** following a token-efficient **3-layer workflow pattern**:
237
+
238
+ **The 3-Layer Workflow:**
239
+
240
+ 1. **`search`** - Get compact index with IDs (~50-100 tokens/result)
241
+ 2. **`timeline`** - Get chronological context around interesting results
242
+ 3. **`get_observations`** - Fetch full details ONLY for filtered IDs (~500-1,000 tokens/result)
243
+
244
+ **How It Works:**
245
+ - Claude uses MCP tools to search your memory
246
+ - Start with `search` to get an index of results
247
+ - Use `timeline` to see what was happening around specific observations
248
+ - Use `get_observations` to fetch full details for relevant IDs
249
+ - **~10x token savings** by filtering before fetching details
250
+
251
+ **Available MCP Tools:**
252
+
253
+ 1. **`search`** - Search memory index with full-text queries, filters by type/date/project
254
+ 2. **`timeline`** - Get chronological context around a specific observation or query
255
+ 3. **`get_observations`** - Fetch full observation details by IDs (always batch multiple IDs)
256
+
257
+ **Example Usage:**
258
+
259
+ ```typescript
260
+ // Step 1: Search for index
261
+ search(query="authentication bug", type="bugfix", limit=10)
262
+
263
+ // Step 2: Review index, identify relevant IDs (e.g., #123, #456)
264
+
265
+ // Step 3: Fetch full details
266
+ get_observations(ids=[123, 456])
267
+ ```
268
+
269
+ See [Search Tools Guide](https://docs.claude-mem.ai/usage/search-tools) for detailed examples.
270
+
271
+ ---
272
+
273
+ ## Beta Features
274
+
275
+ Claude-Mem offers a **beta channel** with experimental features like **Endless Mode** (biomimetic memory architecture for extended sessions). Switch between stable and beta versions from the web viewer UI at http://localhost:37777 → Settings.
276
+
277
+ See **[Beta Features Documentation](https://docs.claude-mem.ai/beta-features)** for details on Endless Mode and how to try it.
278
+
279
+ ---
280
+
281
+ ## System Requirements
282
+
283
+ - **Node.js**: 18.0.0 or higher
284
+ - **Claude Code**: Latest version with plugin support
285
+ - **Bun**: JavaScript runtime and process manager (auto-installed if missing)
286
+ - **uv**: Python package manager for vector search (auto-installed if missing)
287
+ - **SQLite 3**: For persistent storage (bundled)
288
+
289
+ ---
290
+ ### Windows Setup Notes
291
+
292
+ If you see an error like:
293
+
294
+ ```powershell
295
+ npm : The term 'npm' is not recognized as the name of a cmdlet
296
+ ```
297
+
298
+ Make sure Node.js and npm are installed and added to your PATH. Download the latest Node.js installer from https://nodejs.org and restart your terminal after installation.
299
+
300
+ ---
301
+
302
+ ## Configuration
303
+
304
+ Settings are managed in `~/.claude-mem/settings.json` (auto-created with defaults on first run). Configure AI model, worker port, data directory, log level, and context injection settings.
305
+
306
+ See the **[Configuration Guide](https://docs.claude-mem.ai/configuration)** for all available settings and examples.
307
+
308
+ ### Mode & Language Configuration
309
+
310
+ Claude-Mem supports multiple workflow modes and languages via the `CLAUDE_MEM_MODE` setting.
311
+
312
+ This option controls both:
313
+ - The workflow behavior (e.g. code, chill, investigation)
314
+ - The language used in generated observations
315
+
316
+ #### How to Configure
317
+
318
+ Edit your settings file at `~/.claude-mem/settings.json`:
319
+
320
+ ```json
321
+ {
322
+ "CLAUDE_MEM_MODE": "code--zh"
323
+ }
324
+ ```
325
+
326
+ Modes are defined in `plugin/modes/`. To see all available modes locally:
327
+
328
+ ```bash
329
+ ls ~/.claude/plugins/marketplaces/bjlee2024/plugin/modes/
330
+ ```
331
+
332
+ #### Available Modes
333
+
334
+ | Mode | Description |
335
+ |------------|-------------------------|
336
+ | `code` | Default English mode |
337
+ | `code--zh` | Simplified Chinese mode |
338
+ | `code--ja` | Japanese mode |
339
+
340
+ Language-specific modes follow the pattern `code--[lang]` where `[lang]` is the ISO 639-1 language code (e.g., `zh` for Chinese, `ja` for Japanese, `es` for Spanish).
341
+
342
+ > Note: `code--zh` (Simplified Chinese) is already built-in — no additional installation or plugin update is required.
343
+
344
+ #### After Changing Mode
345
+
346
+ Restart Claude Code to apply the new mode configuration.
347
+ ---
348
+
349
+ ## Development
350
+
351
+ See the **[Development Guide](https://docs.claude-mem.ai/development)** for build instructions, testing, and contribution workflow.
352
+
353
+ ---
354
+
355
+ ## Troubleshooting
356
+
357
+ If experiencing issues, describe the problem to Claude and the troubleshoot skill will automatically diagnose and provide fixes.
358
+
359
+ See the **[Troubleshooting Guide](https://docs.claude-mem.ai/troubleshooting)** for common issues and solutions.
360
+
361
+ ---
362
+
363
+ ## Bug Reports
364
+
365
+ Create comprehensive bug reports with the automated generator:
366
+
367
+ ```bash
368
+ cd ~/.claude/plugins/marketplaces/bjlee2024
369
+ npm run bug-report
370
+ ```
371
+
372
+ ## Contributing
373
+
374
+ Contributions are welcome! Please:
375
+
376
+ 1. Fork the repository
377
+ 2. Create a feature branch
378
+ 3. Make your changes with tests
379
+ 4. Update documentation
380
+ 5. Submit a Pull Request
381
+
382
+ See [Development Guide](https://docs.claude-mem.ai/development) for contribution workflow.
383
+
384
+ ---
385
+
386
+ ## License
387
+
388
+ Claude-Mem is licensed under the Apache License 2.0.
389
+
390
+ We chose Apache-2.0 because durable agentic memory should be easy to embed in
391
+ developer tools, local agents, MCP servers, enterprise systems, robotics stacks,
392
+ and production agent harnesses.
393
+
394
+ See the [LICENSE](LICENSE) file for full details. See [docs/license.md](docs/license.md)
395
+ and [docs/ip-boundary.md](docs/ip-boundary.md) for licensing scope and the
396
+ open/commercial boundary.
397
+
398
+ **Note on Ragtime**: The `ragtime/` directory is licensed under the **Apache License 2.0**. See [ragtime/LICENSE](ragtime/LICENSE) for details.
399
+
400
+ ---
401
+
402
+ ## Support
403
+
404
+ - **Documentation**: [docs/](docs/)
405
+ - **Issues**: [GitHub Issues](https://github.com/bjlee2024/claude-mem/issues)
406
+ - **Repository**: [github.com/bjlee2024/claude-mem](https://github.com/bjlee2024/claude-mem)
407
+ - **Official X Account**: [@Claude_Memory](https://x.com/Claude_Memory)
408
+ - **Official Discord**: [Join Discord](https://discord.com/invite/J4wttp9vDu)
409
+ - **Author**: Alex Newman ([@bjlee2024](https://github.com/bjlee2024))
410
+
411
+ ---
412
+
413
+ **Built with Claude Agent SDK** | **Works with Claude Code** | **Made with TypeScript**
414
+
415
+ ---
416
+
417
+ ### What About $CMEM?
418
+
419
+ $CMEM is a solana token created by a 3rd party without Claude-Mem's prior consent, but officially embraced by the creator of Claude-Mem (Alex Newman, @bjlee2024). The token acts as a community catalyst for growth and a vehicle for bringing real-time agent data to the developers and knowledge workers that need it most. $CMEM: 2TsmuYUrsctE57VLckZBYEEzdokUF8j8e1GavekWBAGS