dshbase

插件目录 / Knowledge / dsh-tool-sysinfo

dsh-tool-sysinfo

已验证 · 实测可装 shiyi-0x7f

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-18最近推送
跨平台平台

功能简介

Read-only system_info tool plugin for DeepSeek Harness agents (OS/CPU/memory/network snapshot)

✅
我们的评价
可用 — 实测通过,早期项目

Read-only system_info tool plugin for DeepSeek Harness agents (OS/CPU/memory/network snapshot) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-tool-sysinfo

DeepSeek Harness 的系统信息工具插件:给 agent 一个只读的本机环境快照工具 system_info——操作系统与架构、主机名、开机时长、CPU 型号与核数、内存占用、Node 版本、非回环 IPv4 地址。零外部依赖、零网络请求、零写操作,agent 排查"我这台机器什么配置 / 内存还够不够"这类问题时直接可用。

A read-only system_info tool for DeepSeek Harness agents: OS/arch, hostname, uptime, CPU model and core count, memory usage, Node version, and non-internal IPv4 addresses. Zero dependencies, no network, no writes.

安装

dsh plugin --profile web add github:shiyi-0x7f/dsh-tool-sysinfo

重启 dsh --profile web(或 dsh-shell)后,在聊天里让 agent「调用 system_info 工具」即可看到效果。

Windows + pnpm 10.x 用本地路径安装有已知 junction bug,建议 pnpm ≥ 11 或直接用上面的 github 规格。

输出示例

OS: win32 10.0.26200 (x64)
Host: my-machine
Uptime: 2d 5h 13m
CPU: 13th Gen Intel(R) Core(TM) i7-13700K × 24 logical cores
Memory: 21.3 GiB used / 63.8 GiB total (42.5 GiB free)
Node: v22.20.0
Network (IPv4): 以太网 192.168.1.23

实现

单文件(index.js)零构建插件:inject: ['tools'] 后经 ctx.effect(() => ctx.tools.register(defineTool({...}))) 注册;数据全部来自 node:os 与 process。cordis.patch.yml 声明组合层(dsh.bundle),安装即入 profile 层栈。

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-tool-sysinfo」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:shiyi-0x7f/dsh-tool-sysinfo

Headless(CLI)profile:

dsh plugin --profile headless add github:shiyi-0x7f/dsh-tool-sysinfo

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Knowledge 里更多

浏览全部 7819 个插件 →