dsh-claude-code-local
Run the following command in DeepSeek Harness:
dsh plugin install NGdust/dsh-claude-code-local
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install NGdust/dsh-claude-code-local in your terminal to install; full source code is available at https://github.com/NGdust/dsh-claude-code-local .
About this plugin
DSH's composer defaults to DeepSeek models, but if you already have a local Claude Code CLI, switching providers means juggling raw CLI invocations and pasting streamed output into a terminal—clunky and fragmented. dsh-claude-code-local closes that gap: pick Claude Code from the model selector inside DSH, and conversations stream back into the composer just like a native DeepSeek session.
Under the hood, every message spawns a local claude child process in stream-json mode. Claude Code runs its own agentic loop—calling its built-in tools, honoring its permission mode and max-turns budget—while each stream_event and result frame is translated into DSH chat text, reasoning, and liveness lines in real time. Credentials stay entirely local (~/.claude, ANTHROPIC_API_KEY, OAuth, Bedrock/Vertex); DSH never stores an API key. Permission modes, tool allow/deny lists, maxTurns, working directory, and the model catalog are all hot-reloadable via settings.yaml—no restart required.
Best for developers who already have a working Claude Code installation and want to drive it through DSH's skills, MCP servers, and composer workflow. Keep in mind each request is a fresh stateless CLI call (no cross-request prompt-cache reuse), and DSH's sandbox does not gate Claude Code's tool execution—the CLI's permissionMode is the security boundary. macOS and Linux only.
Use Cases
- Drive local Claude Code in agentic streaming conversations inside the DSH composer
- Reuse existing Claude Code skills, MCP servers, and permission-mode settings
- Complete agentic tasks offline or on restricted networks without a cloud API
Best For
- Developers with a locally installed and authenticated Claude Code CLI
- Users who want a single DSH interface to manage multiple model providers
- Teams with data-localization needs that prefer keeping credentials on-device
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.