# Dsh Session Graph

> Install and troubleshoot a directed force graph plugin for DeepSeek Harness (DSH) session visualization.

Dsh Session Graph is a free AI agent skill on Agensi by freeheart, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [freeheart](https://www.agensi.io/creators/freeheart)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/dsh-session-graph
- Tags: ai-agents, deepseek-harness, debugging, data-visualization, plugin-management

## About this skill

DeepSeek Harness (DSH) sessions often become complex as assistant steps, tool calls, and retries pile up. This skill installs and manages an interactive session trajectory plugin that visualizes these events as a directed force graph in the DSH Web UI.

### What it does
- **Visualizes session flow** by mapping user messages, assistant steps, tool calls, and retries onto a canvas.
- **Identifies failures** by highlighting failed tool results in red and marking retries clearly within the graph.
- **Toggles layouts** between a force-directed view for relationship analysis and a timeline view for sequential tracking.
- **Filters event types** to show or hide user, assistant, system, or tool-specific nodes.
- **Inspects details** through hover summary cards or a full details panel for any node in the trajectory.

### How it works
1. **Identify paths** by finding the absolute path of the plugin bundle containing `package.json` and `client.js`.
2. **Install bundle** using the `plugin_manager` tool to apply the package to the DSH environment.
3. **Verify registration** by querying the `conversation.view` slot to ensure the graph tab is active.
4. **Interact with UI** through the DSH Web UI to zoom, pan, pin nodes, or load older history segments.

### Why this beats prompting it yourself
Manual analysis of long DSH logs is slow and error prone. This skill provides a specialized visualization layer that maps tool results to their originating assistant steps, which is difficult to track in a standard text-based chat interface.

### Use cases
- Debugging complex multi-turn tool interactions and chain failures.
- Visualizing context compaction events during long-running sessions.
- Auditing model retry logic and sequence behavior in the Web UI.

### Known limitations
Requires DeepSeek Harness with the Web UI. The graph displays a maximum of 1600 nodes and will drop older events once this limit is reached.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Dsh Session Graph skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What problem does this skill solve for DeepSeek Harness users?

This skill provides a specialized visualization layer for DeepSeek Harness (DSH) sessions, mapping complex multi-turn tool interactions, assistant steps, and failures onto an interactive graph to make debugging easier than reading text logs.

### Are there any specific software requirements to use this skill?

Users must have DeepSeek Harness (DSH) with the Web UI active to use this skill, as it is designed specifically to enhance that environment. It requires the presence of specific plugin files including client.js, package.json, and cordis.patch.yml to function.

### What kind of visual outputs can I expect from this skill?

The skill generates an interactive directed force graph and a timeline view within the DSH Web UI, featuring color-coded nodes for user messages, tool calls, retries, and context compactions. Users can interact with these outputs through zooming, panning, and opening detailed inspection panels for specific nodes.

### Are there any limitations on how much data the graph can display?

The graph is limited to displaying a maximum of 1600 nodes and will automatically drop the oldest events once this limit is reached. It also requires the session history to be loaded and may show an empty tab if all event filters are switched off.

### How should I tell my AI agent to use this skill?

You can ask your agent to install the session trajectory plugin to your DSH environment or request help troubleshooting the graph view if it is not appearing correctly. It is especially useful to invoke this skill when you need to visualize tool call failures or understand how context compaction is affecting a long-running session.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
