From f44605658d89dd96b0466d2795ec31539cb3e675 Mon Sep 17 00:00:00 2001 From: Aviral Arora Date: Wed, 15 Apr 2026 13:28:05 +0530 Subject: [PATCH] =?UTF-8?q?docs:=20add=20CLAUDE=5FMEM=5FMODE=20documentati?= =?UTF-8?q?on=20for=20language=20and=20modes=20(fix=20#=E2=80=A6=20(#1777)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: add CLAUDE_MEM_MODE documentation for language and modes (fix #1767) * docs: fix markdown formatting for CLAUDE_MEM_MODE section * docs: fix markdown code block formatting properly * docs: fix markdown issues in modes section * docs: fix markdown spacing and table note formatting * Update README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * docs: fix markdown * docs: fix markdown issues in modes --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/README.md b/README.md index abcaf7b3..5087175a 100644 --- a/README.md +++ b/README.md @@ -305,6 +305,45 @@ Settings are managed in `~/.claude-mem/settings.json` (auto-created with default See the **[Configuration Guide](https://docs.claude-mem.ai/configuration)** for all available settings and examples. +### Mode & Language Configuration + +Claude-Mem supports multiple workflow modes and languages via the `CLAUDE_MEM_MODE` setting. + +This option controls both: +- The workflow behavior (e.g. code, chill, investigation) +- The language used in generated observations + +#### How to Configure + +Edit your settings file at `~/.claude-mem/settings.json`: + +```json +{ + "CLAUDE_MEM_MODE": "code--zh" +} +``` + +Modes are defined in `plugin/modes/`. To see all available modes locally: + +```bash +ls ~/.claude/plugins/marketplaces/thedotmack/plugin/modes/ +``` + +#### Available Modes + +| Mode | Description | +|------------|-------------------------| +| `code` | Default English mode | +| `code--zh` | Simplified Chinese mode | +| `code--ja` | Japanese mode | + +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). + +> Note: `code--zh` (Simplified Chinese) is already built-in — no additional installation or plugin update is required. + +#### After Changing Mode + +Restart Claude Code to apply the new mode configuration. --- ## Development