← Back to list

dsh-disk-guard

DeepSeek Harness Tools & Capabilities Low risk

Redirects DSH downloads, artifacts, caches and temp files to user-specified drives (auto-picks the largest non-C drive), injects a path-discipline prompt into every session, and ships a disk_guard tool for status and cleanup — keeps the C: drive from filling up.

把 DSH 的下载、产物、缓存与临时文件重定向到用户指定目录(自动挑剩余空间最大的非 C 盘),向每个会话注入路径纪律提示词,并自带 disk_guard 工具做状态查看与清理——防止 C 盘被撑爆。

How to install

DeepSeek Harness dsh plugin add github:kaka-crypto/dsh-disk-guard

About

dsh-disk-guard · DSH 磁盘守护插件 把 DSH 生态的**下载产物**与**缓存/临时文件**从 C 盘重定向到用户指定目录(默认自动挑剩余空间最大的非 C 盘), 并向每个会话注入**路径纪律提示词**,让 agent 每次运行都遵守,**防止 C 盘爆炸**。 它做什么 | 能力 | 说明 | |---|---| | 指定下载目录 | downloadDir:下载/导出/安装包/产物/大文件统一落盘处 | | 指定缓存目录 | cacheDir(临时 <cacheDir>/tmp、npm 缓存 <cacheDir>/npm) | | 环境重定向 | 把 TMP/TEMP/TMPDIR → 临时目录、npm_config_cache → npm 缓存(对子进程 bash/pwsh 生效) | | 持久化继承 | 同步追加进 $DSH_HOME/.env(dsh-launch-environment 的 user-env 层,每次启动自动继承) | | 提示词注入 | 每个会话首条用户消息前自动插入"路径纪律"块(见下文【提示词】) | | 自带工具 | disk_guard:status 看配置/盘剩余/目录体积;clean 清理过期缓存;set 改目录即时生效 | | C 盘体检 | DSH home 落在 C 盘时启动告警,附一键迁移脚本 | | 智能默认…

Recommendation signals

45 Tool quality · Based on stars, downloads, maintenance, security and docs
User interest · Adjusted by in-site views, install copies and download clicks
45 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
TypeScript
GitHub stars
0
mo. downloads
Last push
2026-08-28
Created
2026-08-28

Links

GitHub ↗ Report issue ↗

Basic safety check

Findings
curated 收录但无 npm 包/安装命令
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
dsh-plugin

Related plugins

MCP Server
Score93

fastmcp

punkpeye/fastmcp

A TypeScript framework for building MCP servers.

☆ 3.3K ↓ 2.3M Tools & Capabilities
MCP Server
Score86

ms-365-mcp-server

softeria/ms-365-mcp-server

A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API

☆ 944 ↓ 169.8K Tools & Capabilities
MCP ServerClaude Code
Score85

mcp-searxng

ihor-sokoliuk/mcp-searxng

Private web search for AI assistants via SearXNG — supports Claude, Cursor, and any MCP client

☆ 1.2K ↓ 92.1K Tools & Capabilities
MCP Server
Score84

ssh-mcp

tufantunc/ssh-mcp

MCP server exposing SSH control for Linux servers via Model Context Protocol.

☆ 676 ↓ 124.7K Tools & Capabilities