killher1/dsh-claude-preset
A scoped DeepSeek Harness preset for Claude Code-style coding workflows.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is a JavaScript preset extension for DeepSeek Harness, not a separate agent runtime or MCP server. The package requires Node.js 20 or later and declares @deepseek-ai/dsh-agent-preset and @deepseek-ai/dsh-compaction-basic. DSH loads it as a bundle in the target profile. index.js and prompt-text.js blank harness:identity, inject the adapted persona into deployment:persona-prefix, and add a separate search-guidance section.
index.js registers tool descriptions from tool-descriptions.js in the claude-code agent's child scope rather than replacing tools globally. cordis.patch.yml adapts Plan Mode and configures an isolated compaction group. In compaction.js, a BasicCompactionEngine subclass changes the summary instructions while retaining DSH's thresholds and checkpoint locking. If the base class cannot load, the extension warns and falls back without the custom compactor.
Key Capabilities & Differentiators
The preset changes how the model is instructed to use 11 tools, without adding new tool implementations. It appends guidance to the native bash and pwsh descriptions so sandbox constraints and sandbox_permissions instructions remain visible. glob and grep stay native, preserving overflow spill files, while DSH-specific tools such as apply_patch, jobs, and workflow remain available.
Plan Mode asks for context, one recommended approach, critical files, reusable utilities, and verification, while preserving DSH's planning controls. Compaction uses a nine-section summary and removes draft material. In one interactive webpage task using DeepSeek V4.1 1017, elapsed time fell from 686 s to 383 s (44.2% lower), total tokens from 5,370,913 to 2,292,784 (57.3% lower), and output tokens from 83,010 to 56,574 (31.8% lower). This tests one task on one model, not broader model compatibility or output quality.
Trade-offs & Limitations
Compared with stock DSH, this preset adds a more prescriptive workflow without migrating away from native tools or sandbox policies. Prompt guidance can steer behavior, but does not enforce it. The extension also introduces compatibility points to test on DSH upgrades: prompt section names, scoped tool registration, and the compaction base class. Compared with Claude Code itself, this is a prompt and workflow port, not a feature-equivalent runtime: hooks, output styles, persistent memory, and Chrome automation are not carried over.
The nine-section summary makes long-session state easier to scan, but do not assume that every implementation detail survives compression or that two context managers will work well together. Treat the token and timing results as a reason to run a pilot, not as a capacity or cost forecast. Measure task completion and verification quality on representative repositories alongside time and token use.
Hardware & Deployment Guide
Use an existing DSH installation and Node.js 20 or later. Install through the DSH Plugins UI, run dsh plugin --profile web add dsh-claude-preset for npm, or point the same command at a local checkout. The CLI installer uses pnpm; Electron desktop installations are managed separately through the desktop UI. Restart dsh web or the DSH host, then select the Claude Code preset in a new session.
If another plugin manages context, set DSH_CLAUDE_PRESET_DISABLE_COMPACTION=1 before startup to avoid double compaction. Alternatively, set compaction-basic to enabled: false to skip registration, or auto: false to retain manual /compact. The plugin installs into the host profile but does not supply inference or bring a remote model offline. No GitHub release is listed; pin a package version or use a controlled checkout and test it against your DSH version before rollout.
claude-code agent.bash and pwsh descriptions, and leaves glob and grep definitions intact for spill files.exit_plan_mode workflow.BasicCompactionEngine with a nine-section summary; automatic compaction can be disabled without removing /compact.AGENTS.md, without porting Claude Code-specific features.DSH teams that want Claude Code-style planning and tool guidance while retaining their existing sandbox, tools, and profile setup.
You need a standalone agent, an MCP server, local inference out of the box, or Claude Code-specific features such as hooks and persistent memory.
Quick Start & Installation
git clone https://github.com/killher1/dsh-claude-preset.git dsh plugin --profile web add ./dsh-claude-preset
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| dsh-claude-preset ★ | 91 | +45 | JavaScript | MIT | A scoped DeepSeek Harness preset for Claude Code-style coding workflows. |
| ECC | 316.1k | +4.2k | JavaScript | MIT | Plugins and CLI workflows for planning, reviewing, and verifying agent-written c |
| ponytail | 204.4k | +4.1k | JavaScript | MIT | A prompt-driven coding-agent plugin for smaller changes and focused tests. |
| spec-kit | 153.8k | +1.3k | Python | MIT | A Python CLI for spec-driven coding-agent workflows and reviewable handoffs |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/killher1/dsh-claude-preset.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about dsh-claude-preset
Is this a standalone agent or an MCP server?
What hardware and runtime overhead should I plan for?
Can we use it commercially or deploy it on our own host?
How should I choose between stock DSH, this preset, and Claude Code?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy