Introduction¶
When building agents or workflows in DeepSeek Harness (DSH), a common requirement is to take a CSV, XLSX, or JSON file, inspect its structure, filter rows, perform grouping and aggregation, and finally export the subset. If you write scripts manually or spin up Jupyter notebooks temporarily, it decouples from the conversation and tool calls within Harness, making it inconvenient to unify permissions and auditing.
DSH’s ecosystem philosophy is “everything is a plugin”: capabilities are mounted as plugins to Harness and called by the model via MCP-style tools. dsh-plugin-data-analyst (maintainer: thegabopacheco-sudo, community category: Workflow) packages “read table, overview, query, groupby, export” into a set of tools and relies on DSH’s built-in Python environment to run pandas, avoiding the need for you to configure a separate analysis runtime. This article explains positioning, capabilities, installation, and security conventions based on the official README and repository metadata; the community directory can be found at SkillHub Plugin Page, and the source code at GitHub. Note that this directory belongs to the community site and has no official affiliation with DeepSeek / Huafan.
What is this¶
dsh-plugin-data-analyst is a data analysis plugin for DeepSeek Harness (current package version 0.1.0, license MIT). One-sentence positioning: perform dataset profile (overview) on CSV / XLSX / JSON, use pandas for query (row filtering) and groupby, and export the results as CSV / XLSX, with calculations running on DSH’s bundled Python.
Core Features¶
The tools listed in the README fall into five categories, each serving a specific purpose:
| Tool | Function (per README) |
|---|---|
status |
View plugin/execution status |
profile |
Dataset overview (profiling like types, size, etc.) |
query |
Query rows based on conditions |
groupby |
Grouping and aggregation |
export |
Export query or groupby results as CSV / XLSX |
The repository package.json indicates the plugin entry point as ./dist/server.mjs, keywords include deepseek-harness, dsh-plugin, mcp, data-analyst, indicating it is implemented as an MCP-style service module loadable by DSH (Node ≥ 20).
Below is the typical usage sequence in Harness (specific parameters depend on the installed tool schema; the README does not provide complete call examples, so only the capability chain is described here):
- Use
profileto confirm file format and fields, row count, and other basic information. - Use
queryto filter rows of interest. - Use
groupbywhen summarization is needed. - Use
exportto write out the subset; when involving writing to disk, the security conventions below must be observed.
Installation and Activation¶
Refer to the README for installation methods; do not use the plugin name to splice other add commands yourself.
Graphical Interface: Open DSH → Settings → Plugins, install github:thegabopacheco-sudo/dsh-plugin-data-analyst, and follow the prompts to allow script installation (the postinstall will execute node scripts/postinstall.mjs).
Command Line:
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-data-analyst
Replace <perfil> with the name of the profile used by DSH on your local machine. It is recommended to read the repository source code and the MIT license before installation, and confirm that you are willing to let this plugin access data paths under the current dsh process permissions.
Security and Read/Write Strategy¶
The following conventions are defined in the README ‘Security’ section and should be considered together with the --profile deployment strategy:
- Default read-only; Write (e.g., export overwriting or writing files) only occurs when the caller includes
confirm:trueand explicitly requests it. - The environment variable
DSH_DATA_ANALYST_MODE=read-onlycan disable write-related actions. - Whitelist and audit logs are located at
<DSH_HOME>\cache\data-analyst\audit.jsonl(path syntax follows README; on Linux it corresponds tocache/data-analyst/audit.jsonlunder your configuredDSH_HOME).
The plugin reads and writes data on disk under the identity of the DSH process. Please verify the access scope and audit configuration before enabling it on production or sensitive tables.
Applicable Scenarios and Notes¶
Suitable for:
- Already using DSH for workflows or conversational operations, and need to keep “viewing tables, filtering numbers, simple aggregation, and export” within the Harness tool chain.
- Want to reuse DSH’s bundled Python / pandas instead of spinning up a separate environment for every analysis.
Notes:
- GitHub currently has 0 stars (based on the directory/warehouse page), it is an early-stage community plugin; the interface and behavior should be based on the repository CHANGELOG and releases.
- The README does not provide step-by-step examples of query/groupby parameters; implementation should be based on the installed MCP tool description.
- Any
exportthat writes to a file should be combined withconfirm:trueandDSH_DATA_ANALYST_MODE, and checkaudit.jsonl.
Conclusion¶
dsh-plugin-data-analyst packages table data profiling, pandas querying and grouping, and CSV/XLSX export into the DSH plugin toolset, emphasizing a default read-only and auditable write strategy. To install or view an introduction, you can open the community directory https://www.skillhub.cn/plugins/thegabopacheco-sudo/dsh-plugin-data-analyst; for source code, tool lists, and security explanations, see https://github.com/thegabopacheco-sudo/dsh-plugin-data-analyst.