№ 0894Skill
Muse subagent for DeepSeek Harness
DeepSeek Harness bundle that exposes an authenticated Muse Code CLI as a one-shot subagent_muse tool running muse exec --json in the parent workspace.
dsh-muse-subagent
A persistent DeepSeek Harness bundle that exposes an authenticated Muse Code CLI as the one-shot subagent_muse tool.
What it does
- Registers a
museprovider onctx.subagents. - Adds a dedicated static
subagent_musetool. Its model-facing description mentions the WSL/Windows-filesystem boundary only when the Harness host runs on Windows; Linux and macOS retain the original wording. - Runs
muse exec --jsonin the parent session's workspace. - Uses the Harness
ctx.subprocessservice for environment scrubbing, process ownership, cancellation, and teardown. Native execution gets the full managed-range guarantee; WSL has the boundary documented below. - Returns only Muse's authoritative final text. Raw JSONL events, stderr, tool traffic, reasoning, and workspace diffs stay out of the parent model context.
- Supports foreground and generic Harness background-job execution.
The provider intentionally advertises no optional start capabilities. Dynamic agent/model options, output schemas, personas, tool filters, and Harness depth limits are rejected instead of silently ignored. A model can be fixed in the plugin configuration.
Runtime discovery
runtime controls where Muse runs:
auto(default): resolvecommandnatively first. On Windows only, fall back towsl.exeand runwslCommandin the default or configured distribution.native: require a native Muse executable.wsl: require WSL and run Muse there.
On WSL, Windows workspace and temporary prompt-file paths are translated to /mnt/<drive>/...; a distribution is inferred from \\wsl$/\\wsl.localhost paths when needed. The Harness owns the Windows wsl.exe relay, while guest-process quiescence ultimately depends on WSL terminating the relayed Linux command.
Configuration
| Field | Default | Meaning |
|---|---|---|
providerName |
muse |
Registry name consumed by the tool row |
runtime |
auto |
auto, native, or wsl |
command |
muse |
Native executable name or absolute path |
wslExecutable |
wsl.exe |
Windows WSL launcher |
wslDistribution |
default distro | Optional distribution name |
wslCommand |
muse |
Muse command inside WSL |
provider |
Muse default | Optional Muse provider override |
model |
Muse default | Optional Muse model override |
preset |
Muse default | Optional Muse preset |
| `rea |



