dsh-plugin-metric-dashboard: Generating SVG Dashboards from JSON/CSV Metrics

Preface

In DSH workflows, agents or scripts often already organize metrics in JSON or CSV forms, but turning these numbers into glanceable KPI cards and bar charts often requires writing scripts, importing chart libraries, or going through a full frontend build. DeepSeek Harness’s community plugins integrate on the principle of “everything is a plugin”; dsh-plugin-metric-dashboard is provided by the maintainer thegabopacheco-sudo, categorized as a workflow plugin, aiming to directly output metrics as SVG dashboards, supporting preview and confirmed saving; the README states there are no extra runtime dependencies.

What is this

dsh-plugin-metric-dashboard (same as the npm package name, current version in the documentation is 0.1.0) targets scenarios requiring quick chart generation in Harness sessions or automation workflows: generating bar chart dashboards (SVG) with KPI cards from JSON or CSV metrics, providing preview, and requiring explicit confirmation upon writing. The plugin exposes capabilities through MCP-style tools, with the entry point being the bundled dist/server.mjs, requiring Node.js >= 20.

Maintainer and source code repository: thegabopacheco-sudo, GitHub; Community directory page: SkillHub Plugin Page.

Core Features

The tools registered in the documentation are listed below, explained one section at a time.

Tool Overview

Tool Name Function (Original README)
status Check status
dashboard Generate dashboard

In addition to the table above, the README’s summary of product capabilities is: generating SVG dashboards from metrics (JSON/CSV) containing KPI cards and bar charts, with preview and confirmed saving, and having no dependencies (relative to the plugin’s own README).

More detailed parameters, input/output examples are not provided in the captured README snippets; please refer to the current repository documentation before use, and do not fabricate call examples based solely on the plugin name.

Installation & Enablement

There are two descriptions of the installation method in the README; steps should be followed in order.

  1. Install github:thegabopacheco-sudo/dsh-plugin-metric-dashboard in DSH → Settings → Plugins, and allow script installation as prompted (configured postinstall in package.json: node scripts/postinstall.mjs).
  2. Or add the same source by specifying a profile in the command line:
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-metric-dashboard

Note: Replace <perfil> with the profile name used by your local DSH; the installation command must match the original documentation, do not rewrite it into other github:owner/repo forms.

The plugin is released under the MIT license. The community directory and GitHub are not official DeepSeek/Huansuan app stores; it is recommended to review the source code and license before installation.

Security & Write Operations

The README lists security agreements separately, consistent with the common practice of “default read-only, requiring approval for disk writes” in workflows.

  • Default read-only; write operations only occur when confirm:true and explicitly requested.
  • The environment variable DSH_METRIC_DASHBOARD_MODE=read-only can disable write-related actions.
  • The whitelist and audit logs are located at: <DSH_HOME>\cache\metric-dashboard\audit.jsonl (path follows the original README).

Note: The plugin runs under the current dsh process permissions; before enabling write capabilities in production or shared environments, audit paths and read-only mode should be verified against policies.

Use Cases & Notes

Who is it for? Developers who have already produced structured metrics (JSON/CSV) in Harness or adjacent scripts, and wish to directly obtain SVG dashboards in conversations or workflows, and distinguish between preview and confirmed save.

Things to note when using:

  • The documentation does not provide complete dashboard call examples; please refer to the repository README / docs/ for tool parameters (package.json’s files field includes docs/).
  • The current GitHub star count is 0 (based on task clues), maturity needs to be self-assessed.
  • Installation will execute postinstall; if your environment prohibits arbitrary scripts, you should verify in an isolated environment first.

Conclusion

dsh-plugin-metric-dashboard consolidates “metrics → SVG KPI/bar dashboards” into a DSH plugin form, constraining write operations with a read-only default, confirm:true, and audit paths. When further verifying tool parameters or changelogs, you can refer to the SkillHub Directory Page and GitHub Repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye