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.