dsh-palace: Memory Palace Reading Plugin

Preface

The philosophy behind DeepSeek Harness (DSH) is “everything is a plugin.” If you find yourself constantly switching between reading a book, taking notes, tracking progress, and wanting to maintain context continuity during conversations while using DSH, then a plugin that manages both content and conversation simultaneously would be incredibly useful. What follows is an introduction to dsh-palace (Memory Palace)—a plugin that places books, courses, shows, and fleeting thoughts into a visualized palace, so you can focus on capturing ideas and chatting, while leaving the organization to AI.

What It Is

dsh-palace is a reading plugin for DeepSeek Harness, maintained by feolhn, with UI and interaction design by bbhh1226. Its core value proposition is: put your books, video courses, and notes into a visualized palace—you just capture, and AI organizes. The plugin uses AI to help generate tables of contents, organize cards, discover connections between pieces of content, and carry memory across conversations.

Core Features

Palace & Cells

  • Palace: All content (thoughts, books, shows, courses) is displayed as “cells” that can be dragged to reorder or dropped onto another cell to merge into a group.
  • Reading Room: Click a cell to enter it. Each cell has two pages: Cards (excerpts, ideas, wrong answers) and Inspiration (AI summarizes conversations into short notes). Books and video courses additionally have a “Progress” page, tracking table of contents, current position, and target dates.
  • 3D View: Press I or click the layering icon in the bottom-right corner to make the palace stand upright. Connected cells will have electric arcs between them; hover over an arc to see the reason for the connection.
  • Read Source Material: EPUB files can be read directly within the cell—select words for translation, select passages to excerpt, or “ask AI”; PDFs open in your local reader; videos open in a browser, and you come back to check them off when done.

AI Conversation & Memory

  • AI Chat: Both the palace and each individual cell can chat with Harness’s conversation model. Only conversations within the palace carry memory, leaving other Harness conversations unaffected.
  • Memory: AI organizes what you’ve discussed into memories (what you’ve read, what you’ve thought about, connections between cells) and carries these memories forward in subsequent conversations.

Skins & Fonts

  • Skins: Two themes available—watercolor and pixel. Click the palette icon in the bottom-right corner to switch. The pixel skin includes 42 additional sports and hobby icons.
  • Fonts: Source Han Serif and EB Garamond are built in—no separate installation needed.

Installation & Setup

  1. Make sure DeepSeek Harness Desktop (0.2.x) is installed. Download from the DeepSeek Harness official site.
  2. Open Harness and navigate to the plugin installation screen.
  3. Type dsh-palace and click Install.
  4. Completely quit Harness, then reopen it.
  5. “Memory Palace” appears in the left navigation—installation is successful.

ChatGPT Desktop (Beta)

  1. Make sure ChatGPT Desktop (Mac or Windows) is installed. ChatGPT’s web version and mobile app are not yet supported.
  2. Open ChatGPT Desktop and go to Codex.
  3. Copy and paste the following into Codex:
帮我安装 Memory Palace:运行 npm install -g dsh-palace && dsh-palace-mcp --install。如果电脑上没有 Node.js 22 或更新的版本,先帮我装好。
  1. Allow Codex to run the commands, and it will install automatically.
  2. Once installation is complete, fully quit ChatGPT and reopen it.
  3. Go to Codex and say “Open my palace.” Click the link it provides, and the palace will open in your browser.

Typical Usage

Start with a Single Thought

  1. In the palace, click + in the bottom-right corner, jot down a thought, and click “Let AI handle it.” AI will set up the cell for you.
  2. Open the cell and write down an idea under “Cards.”
  3. Click AI on the left side of the reading room and chat about the idea.
  4. When done, click “Save this conversation as Inspiration.” AI will write the memorable parts into memory.

Add a Book, a Show, or a Course

  1. Click +:
    - Local PDF or EPUB: Click “Choose local PDF / EPUB”—the table of contents will be read from bookmarks or the book itself. The plugin only remembers where the file is; it never copies or modifies your files.
    - Anything else: Just type it out—e.g., a book title, a video link, “I’m watching The Long Season (The Endless Season)”—then click “Let AI handle it.”
  2. Videos come with episode-level tables of contents: Bilibili episodes are read directly; YouTube, Netflix, iQiyi, Mango TV, etc. will first create the cell, then ask whether to look up episodes online (takes about 1–2 minutes).
  3. After finishing a section, check it off under “Progress”; hover over a node labeled “Learned up to here” and all preceding items will be checked automatically.

Just Tell AI Directly

Prefer not to click buttons? You can simply say in the conversation:

  • “Create a new cell. Note that I’m watching The Endless Season. I think it’s about…”
  • “Put ~/Documents/Antifragile.epub into the palace.”
  • “Add this video course: https://www.bilibili.com/video/BV…”
  • “What’s the connection between this book and Antifragile?”
  • “I have an exam in September 2027. Help me set target dates for these books.”
  • Log wrong answers: Paste a screenshot of the error into the book’s conversation and say “Log wrong answer.”

Data & Configuration

Data Storage

All data is stored locally. The default path is ~/Documents/dsh-palace-data/ (the dsh-palace-data folder inside your Documents folder). These are plain files—you can back them up by simply copying the folder:

  • palace.json: Position of each cell in the palace
  • items/: Table of contents, progress, cards, and inspiration for each cell
  • images/: Screenshots of wrong answers
  • memory/: AI’s memories (what you’ve read, what you’ve thought about)
  • .snapshots/: Automatic backup taken before the first change each day; the most recent 3 are kept.

Custom Data Directory

If you’d like to store data elsewhere, add the following to the cordis.patch.yml in your Harness profile:

- id: dsh-palace
  name: dsh-palace
  config:
    dataDir: /your/desired/path

If you’ve changed the location and also want to use it with ChatGPT, tell Codex during installation: “Data is at /your/desired/path—use DSH_PALACE_DATA_DIR to specify it when installing.”

Use Cases & Notes

Ideal for people who frequently take notes while consuming content: reading leisure books, working through textbooks, watching online courses, preparing for exams and drilling practice problems, binge-watching shows, listening to podcasts, or simply capturing a passing thought. The plugin runs with the permissions of the current DSH process. It’s recommended to review the source code and license before installing.

Closing

dsh-palace turns the “memory palace” concept into a visualized space, helping you place books, courses, shows, and thoughts all in one shared area, with AI organizing the memories along the way. You just capture and chat—let AI handle the rest. For more information and source code, visit GitHub.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye