DSH Hub

lsz-asd/dsh-plugin-device-info

dsh-plugin-device-info

BundleWorkflow2 GitHub stars· updated 2026-08-14

Read-only Windows device info tools for DeepSeek Harness: 12 win_* tools (time, system, CPU, memory, disk, GPU, network/WiFi, battery, processes, USB, audio, printers) via Node os + WMI/CIM. Bundle-form dsh plugin.

Install

npx @deepseek-ai/dsh plugin --profile <profile> add github:lsz-asd/dsh-plugin-device-info

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-plugin-device-info DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-plugin-device-info.svg)](https://dshhub.dev/plugins/dsh-plugin-device-info)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from lsz-asd/dsh-plugin-device-info, cleaned of badges and images.

dsh-device-info

Read-only Windows device info for DeepSeek Harness agents �12 win_* tools, one per Win32 device category.

@huanlin/dsh-plugin-device-info gives the model structured, read-only access to the host machine: time, system, CPU, memory, disk, GPU, network/WiFi, battery, processes, USB, audio, printers. No writes, no installs, no network.

Why this plugin

Ad-hoc PowerShell probing costs tokens every query �the model re-generates a command each time (~40�00+ tokens, more with retries after a typo or a permission prompt). A plugin call is ~6 tokens against pre-tested, versioned queries. Install once, call any tool; no command-writing, no trial-and-error. (Estimates: scripts/token-estimate.mjs; real benchmark planned, see Roadmap.)

Install

dsh plugin --profile <profile> add github:lsz-asd/dsh-plugin-device-info   # after publishing
dsh plugin --profile <profile> add link:C:/path/to/dsh-device-info           # local checkout

Restart the profile. lib/ ships pre-built (no prepare script).

Tools

ToolReportsSource
win_timeISO/epoch time, IANA timezone, UTC offset, uptime, boot timeNode os �any platform
win_systemOS, hostname, user, vendor, model, BIOS, serial (config)Win32_ComputerSystem / Win32_OperatingSystem / Win32_BIOS
win_cpuModel, cores, max clock, load %Win32_Processor
win_memoryUsed/free/total, used %, modulesNode os + Win32_PhysicalMemory
win_diskDrives + volumes (capacity, free)Win32_DiskDrive / Win32_LogicalDisk
win_gpuName, VRAM, driver, resolutionWin32_VideoController
win_networkAdapters, IPs, live WiFi (SSID/signal/rates/auth)Get-NetAdapter + netsh wlan + Node os
win_batteryCharge %, AC/DC, runtime, power schemeWin32_Battery + powercfg
win_processesCount + top-N by memory/CPU (top_n, sort_by)Get-Process
win_usbUSB devicesWin32_PnPEntity
win_audioAudio devicesWin32_SoundDevice
win_printersPrinters (driver/port/default/offline)Win32_Printer

Config

FieldDefaultDescription
pwshEnabledtrueMaster switch; false disables all but win_time.
pwshTimeoutMs8000Per-query timeout (1000�0000).
topProcesses10Default top-N for win_processes (1�00).
includeSerialNumbertrueReport BIOS serial in win_system.
pwshPathpowershell.exePowerShell executable (powershell.exe/pwsh.exe).

Example

User:  这台电脑还剩多少内存?电池呢�Model: [win_memory] �72.8% used, 2× Samsung 8 GB DDR5-4800
       [win_battery] �100%, AC online, scheme 381b4222�(平衡)

All tools return canonical JSON; nullable fields stay null (schema oneOf: [type, null]) for a stable shape:

{ "supported": true, "platform": "win32",
  "name": "13th Gen Intel(R) Core(TM) i7-13700HX",
  "cores": 16, "logical_processors": 24,
  "max_clock_mhz": 2100, "current_load_percent": 3 }

Architecture

Related plugins