dsh-cbm
Run the following command in DeepSeek Harness:
dsh plugin install staavanothanh/dsh-cbm
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install staavanothanh/dsh-cbm in DeepSeek Harness to install this plugin; the source repository is available at https://github.com/staavanothanh/dsh-cbm .
About this plugin
Wiring codebase-memory-mcp into a DSH workflow used to mean hand-rolling an MCP bridge, juggling stdio handshakes, and crafting session-level prompts on your own. dsh-cbm collapses all of that into a single adapter plugin: it drives DSH's native MCP client to connect to the codebase-memory-mcp executable over stdio and automatically exposes the backend tools to DSH agents, eliminating the need for custom bridge scripts.
The plugin also registers one agent/session-start lifecycle hook that injects a block of code-exploration guidance into every new session, mirroring the experience of Codex's SessionStart prompt. It deliberately avoids Claude-specific hooks such as PreToolUse, PostToolUse, or SubagentStart, keeping the integration lightweight and native to DSH's workflow model.
On the configuration side, the plugin resolves the executable in a predictable order—CBM_COMMAND environment variable, the system PATH, then ~/.local/bin—so there is no hard-coded path to maintain. The optional CBM_ALLOWED_ROOT setting lets you restrict index_repository to a specific root directory, preventing agents from touching files outside your workspace. Meanwhile, failOnStartupError defaults to non-fatal, ensuring a session can still activate even if the MCP handshake experiences a brief timeout.
This plugin is best suited for developers who already compose multi-step workflows in DSH and want to leverage codebase-memory-mcp's indexing and retrieval capabilities. If you need a ready-to-use DSH-to-MCP bridge with zero extra dependencies, dsh-cbm fills that gap cleanly.
Use Cases
- Invoke codebase-memory-mcp indexing and retrieval tools over stdio inside a DSH agent workflow
- Auto-inject code-exploration guidance at session start to cut down on boilerplate first-prompt setup
- Scope codebase indexing to a project root via CBM_ALLOWED_ROOT to prevent out-of-bounds access
Best For
- Developers composing multi-step DSH workflows and wanting to plug in codebase indexing
- Teams that want to reuse codebase-memory-mcp without hand-writing MCP bridge scripts
- Independent developers seeking a zero-dependency, ready-to-use DSH-to-MCP integration
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.