dsh-cc/dsh-cc--packages-interaction-command-memory ↗★ 1
@dsh-cc/command-memory
面向用户的斜杠命令,列出或打印memdir记忆文件。 适合查看记忆目录中主题列表或单个记忆内容的用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗@dsh-cc/command-memory
English | 中文
Human-facing /memory command that lists the memdir memory files (name, type, first line) or prints one memory's body by name, reading through ctx.fs. The plugin registers one global command through ctx.commands, so every composed command adapter discovers and executes it without a model turn.
Command contract
| Input | Result |
|---|---|
/memory | List each topic as - name (type) — first line, sorted by name, plus the memory directory header. |
/memory | Print a single memory's frontmatter and full body, matched by frontmatter name or filename. An unknown name yields a friendly notice. |
Reads the default memory home unless configured via memoryHome; the project-scoped .claude/memory overlay is used when discoverable and no override is set. Fully read-only.
Composition
The plugin injects commands and fs. A custom app mounts the owners plus this plugin:
- id: commands
name: '@deepseek-ai/dsh-commands'
- id: command-memory
name: '@dsh-cc/command-memory'
The filesystem service provides the fs seam. Pass a memoryHome config to point at an explicit directory.
Model Experience
The slash input and output are absent from model requests and consume no model tokens. Presentation text is never logged.
Known Limitations and Deferred Work
- Directory resolution — the project overlay is used only when no explicit
memoryHomeis configured and a.gitroot is discoverable.