dsh-pc-steward
by Anguis-L
README.md
# dsh-pc-steward
A **DSH (DeepSeek Harness) plugin**: a safe, DSH-native **PC steward** that inspects the machine,
plans file cleanup, matches symptoms to skills, and refuses destructive commands before they run.
The same tools also ship as a plain MCP server. Its aim is to be a dependable in-harness
replacement for heavyweight desktop "AI butler" apps.
## What it is
- A **DSH plugin**: package keywords (dsh, dsh-plugin, deepseek-harness) + a cordis bundle patch;
the host half registers tools into DSH via ctx.tools.register().
- A **Model Context Protocol server**: the same tools are exposed over stdio at src/index.js.
- An **Agent Skills pack**: 5 SKILL.md playbooks in skills/.
## Install as a DSH plugin
~~~
# from npm (once published)
dsh plugin --profile web add dsh-pc-steward
# or straight from this repo
dsh plugin --profile web add github:Anguis-L/dsh-pc-steward
# local development (link a checkout)
dsh plugin --profile web add link:/absolute/path/to/dsh-pc-steward
~~~
Then restart dsh once, or let DSH HMR re-compose. Requires dsh >= 0.1.7-rc.1 and Node >= 22.
## Use as a plain MCP server
~~~
node src/index.js
~~~
Example MCP client config is in examples/mcp-config.json.
## Tools (14, read-only by default)
| Tool | What it does |
|---|---|
| butler_system_info | OS, hostname, CPU, memory, uptime |
| butler_disk_usage | per-volume total / used / free |
| butler_process_top | top processes by memory (CPU on POSIX) |
| butler_find_files | bounded filename wildcard search |
| butler_organize_plan | dry-run folder grouping plan |
| butler_dir_size | total size + largest subfolders of a directory |
| butler_network_info | network interfaces and addresses |
| butler_startup_items | Windows Run-key / Startup-folder autoruns |
| butler_event_errors | recent Windows System event-log errors |
| butler_installed_software | installed software names (Windows uninstall registry) |
| butler_list_skills | list bundled skills |
| butler_diagnose | map a symptom to a skill |
| butler_task_breakdown | phased safe plan for a goal |
| butler_guard_command | classify a command before running |
## Skills
| Skill | Focus |
|---|---|
| disk-space-analysis | low disk space triage |
| bsod-analyzer | Windows blue-screen triage |
| file-organizer | dry-run folder sorting |
| it-asset-inventory | machine asset record |
| system-tuneup | performance and memory checks |
| network-diagnosis | network / DNS / VPN triage |
| startup-optimization | boot-time autorun inspection |
| software-audit | installed-software inventory |
## Safety
Read-only by default. Mutations are returned as dry-run plans and require explicit user approval.
butler_guard_command scores any command as safe / review / blocked before it is run.
## Layout
~~~
index.js DSH plugin host half (registers tools)
cordis.patch.yml DSH bundle patch (mount point)
lib/hostdeps.mjs defineTool resolver with fallback
src/ MCP server + tool implementations
skills/ SKILL.md playbooks
docs/ architecture, security, skill authoring
examples/ sample MCP client config
test/ node:test suite
~~~
## Test
~~~
node --test
~~~
## License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues