GreenLv/dsh-session-insights
dsh-session-insights
Local-first, evidence-backed workflow retrospectives for DeepSeek Harness
Install
npx @deepseek-ai/dsh plugin --profile web add dsh-session-insightsRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-session-insights)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from GreenLv/dsh-session-insights, cleaned of badges and images.
dsh-session-insights
Turn your DeepSeek Harness session history into a private, local workflow retrospective, directly from /session-insights.
dsh-session-insights is a native DSH Bundle backed by a mature Python analysis core. In plugin mode it reads replay-validated snapshots through DSH's sessionQuery service and produces a self-contained HTML dashboard plus companion JSON. It helps answer questions such as:
- What kinds of work am I doing with DSH?
- Which projects and workflows take the most effort?
- Where do tool failures, retries, or unfinished work appear?
- Which practices are working, and what should I try next?
This is behavioral review, not telemetry. It is not a live monitor, a billing calculator, or a claim that it can judge the quality of your work.
What you get
The dashboard brings several views of the same evidence together:
| View | What it helps you understand |
|---|---|
| Overview and time comparison | Rollouts, task families, tool use, token mix, and changes between two periods |
| Work and workflow breakdown | Projects, roles, representative workflows, and completion evidence |
| Wins and friction | Evidence-backed strengths plus failures, retries, and other signals worth investigating |
| Recommendations | DSH workflow suggestions tied to measured evidence, with prompts you can copy |
The HTML file contains its own styles and data, so you can keep it locally and open it without a server. A machine-readable JSON report is written beside it.
Install the Bundle
Requirements: DeepSeek Harness and Python 3.11 or newer. Install the published Bundle into a DSH profile, then start that profile:
dsh plugin --profile web add dsh-session-insights
dsh web
To install from a reviewed source checkout instead:
git clone https://github.com/GreenLv/dsh-session-insights.git
cd dsh-session-insights
dsh plugin --profile web add .
dsh web
Then run this in the DSH composer:
/session-insights --days 30 --locale en
The command prepares bounded semantic batches, queues the current DSH agent to analyze them serially, and writes the final HTML/JSON under $DSH_HOME/insights/runs/<run-id>. Add --deterministic to skip the model-assisted stage. The command name intentionally differs from /insights, so this Bundle can coexist with dsh-insights.
The npm package has no install or build lifecycle script. The registry command installs the published Bundle; dsh plugin ... add . installs the current local checkout.
Availability
- Install the published Bundle from npm.
- Download versioned artifacts from GitHub Releases.
- Find the public directory entry on dsh.pub.
- Find the project in Awesome DeepSeek Harness.
Privacy modes
Deterministic reports run offline. In native plugin mode, complete raw snapshots are streamed from sessionQuery to Python over stdin and are not copied into the run directory. Choose how much session content the report and optional model stage may retain:
…
