DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to see how tokens split between DSH and Claude Code with DSH Usage

Use the channel share widget to compare DSH and Claude Code token use from local logs.

Who it is forA developer who uses both DeepSeek Harness and Claude Code and wants to know where their token budget actually goes.

The problemToken use is spread across two tools, so there is no single view of which channel is doing most of the work.

The outcomeA channel share bar shows the ratio of DSH to Claude Code usage, built from aggregated numbers in ~/.claude/projects without sending message text anywhere.

What you need first

  • DeepSeek Harness host, version 0.2.0-rc.2 for v0.3.1 of this plugin, with the dsh CLI installed
  • An API key for each provider you want to query, configured through Harness credentials (for example DEEPSEEK_API_KEY)
  • Node.js and npm only if you plan to run the offline tests or develop the plugin

Steps

  1. Install the plugin into the Web profile with dsh plugin --profile web add "github:Aisland-SJL/dsh-usage".
  2. Fully restart dsh web and hard-refresh the browser so the aggregation starts.
  3. Open the detail panel and read the Channel share widget for the DSH versus Claude Code ratio.
  4. Open the Usage log widget to drill into per-day and per-model detail for each period.
  5. If the totals look wrong, check the coverage status in the usage response, since partial or unavailable coverage is labeled in the UI. (inferred, check the README)

Prompt for your agent

In the repo Aisland-SJL/dsh-usage, open the Channel share widget in the dsh web panel at <dsh web URL> and report the DSH and Claude Code shares. Verify that the coverage state is shown as complete, partial, or unavailable before you trust the ratio.

Caveat. Claude Code totals depend on the logs under ~/.claude/projects, and the README says unsupported historical formats are not repaired, so some sessions may be skipped.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Aisland-SJL/dsh-usage and "See how tokens split between DSH and Claude Code"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer