# AI use cases for DSH Routing Suite (yjh051108/dsh-routing-suite)

Repo: [yjh051108/dsh-routing-suite](https://github.com/yjh051108/dsh-routing-suite) | Use cases: 4 | Page: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/

A Windows-oriented bundle of three DSH plugins: a runtime injector, task-aware reasoning-mode router presets, and a graded task protocol with a session measurement script.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Install the full routing suite with one command: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/install-router-suite-in-one-step/
- Install the router presets by hand from a clone: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/manual-install-router-presets/
- Measure your own session with the graded metrics script: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/measure-own-session-metrics/
- Run a multi-step task through the graded protocol: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/run-graded-task-protocol/

## How to install the full routing suite with one command with DSH Routing Suite

Repo: [yjh051108/dsh-routing-suite](https://github.com/yjh051108/dsh-routing-suite) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Add the injector, router presets, and graded mode to DSH in a single plugin install.

**Who it is for:** A developer who uses DSH daily and wants the routing presets and graded mode without assembling each part by hand.

**The problem:** Setting up the injector, the preset folders, and the graded plugin separately takes several steps and is easy to get wrong.

**The outcome:** All three components are installed through one DSH plugin command, and the DSH session can load the bundled presets after a restart.

### Steps

1. Confirm the DSH CLI works by checking the version is at least 0.1.0-rc.6.
2. Run `dsh plugin --profile web add github:yjh051108/dsh-routing-suite` in PowerShell.
3. Restart DSH so the bundles take over.
4. Open a new session and check that Router Standard and Router Spec (experimental) appear in the preset list.

### Prompt to paste into your agent

```text
Using the repository yjh051108/dsh-routing-suite, run the one-step DSH plugin install for the profile web, then restart DSH with the target <dsh-install-path>. Report whether a new session lists Router Standard and Router Spec (experimental), and verify the install by confirming the plugin command exits without error.
```

### Caveat

The README says DSH is in developer preview and breaking changes are expected, so the install may need updating after DSH upgrades.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/install-router-suite-in-one-step/

## How to install the router presets by hand from a clone with DSH Routing Suite

Repo: [yjh051108/dsh-routing-suite](https://github.com/yjh051108/dsh-routing-suite) | Difficulty: Intermediate | Time: 30 minutes | Basis: From the README

Clone the repo, add the injector, and copy each preset folder into the DSH agent presets directory.

**Who it is for:** A developer who wants to control each install step, or who needs the presets in a folder layout that DSH can discover.

**The problem:** Copying the whole preset folder creates an extra nesting level that DSH cannot find, so the presets never appear.

**The outcome:** Router Standard and Router Spec are each installed as a flat folder under the DSH agent presets directory and show up in a new session.

### Steps

1. Run `git clone https://github.com/yjh051108/dsh-routing-suite.git` and then `cd dsh-routing-suite`.
2. Run `dsh plugin --profile web add .\injector` to assemble the injector.
3. Run `$target = Join-Path $env:USERPROFILE '.dsh\.agent-presets\router-standard'` then `Copy-Item -Recurse .\preset\router-standard $target`.
4. Repeat the copy for router-spec, using `$target = Join-Path $env:USERPROFILE '.dsh\.agent-presets\router-spec'` and `Copy-Item -Recurse .\preset\router-spec $target`.
5. Restart DSH and choose Router Standard or Router Spec (experimental) in a new session.

### Prompt to paste into your agent

```text
In the repository yjh051108/dsh-routing-suite, clone the repo, assemble the injector from .\injector, and copy only preset\router-standard and preset\router-spec into the DSH agent presets folder for the user <target-user>. Output the two destination paths. Verify that each destination folder contains a preset.yml file directly, with no extra preset subfolder.
```

### Caveat

The README warns against copying the whole preset folder, because DSH only scans one level of subfolders and will not find presets nested deeper.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/manual-install-router-presets/

## How to measure your own session with the graded metrics script with DSH Routing Suite

Repo: [yjh051108/dsh-routing-suite](https://github.com/yjh051108/dsh-routing-suite) | Difficulty: Intermediate | Time: 15 minutes | Basis: From the README

Run the measurement script on a session log to get numeric metrics without exposing the session content.

**Who it is for:** A developer or researcher who wants to check how a long agent session behaved and compare it with the published figures.

**The problem:** Judging long-session attention drop or protocol effects by reading raw logs is slow, and sharing the raw log can expose private content.

**The outcome:** A list of computed metrics for the session, printed as numbers only, that can be compared with the published tables in DATA.md.

### Steps

1. Clone the repository and open the graded folder.
2. Export your session to a .jsonl file.
3. Run `node scripts/measure.mjs 你的会话.jsonl` from the graded folder, replacing the file name with your session file.
4. Compare the printed numbers with the tables in graded/docs/DATA.md.

### Prompt to paste into your agent

```text
In the repository yjh051108/dsh-routing-suite, go to the graded folder and run `node scripts/measure.mjs <session-file>.jsonl` on the session file <session-file>.jsonl. Return only the numeric output. Verify that the output contains numbers only and no session text.
```

### Caveat

The script needs a session log in .jsonl format, and the README does not say how to export one from DSH, so you must find that step yourself.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/measure-own-session-metrics/

## How to run a multi-step task through the graded protocol with DSH Routing Suite

Repo: [yjh051108/dsh-routing-suite](https://github.com/yjh051108/dsh-routing-suite) | Difficulty: Advanced | Time: 45 minutes | Basis: From the README

Use the graded plugin to split a big task into brainstorm, plan, check-ins, and final review.

**Who it is for:** A developer with a long, multi-part task who wants the agent to follow a fixed sequence instead of drifting off topic.

**The problem:** Long agent sessions lose focus and skip steps, so the work ends up incomplete or off target.

**The outcome:** The task moves through the graded stages in order, with the plan, check-ins, and final review recorded in the session.

### Steps

1. Install the packaged plugin with `dsh plugin --profile web add graded/dsh-graded-mode-3.2.0.tgz`, since the README names this file and says it can be added directly. (inferred, check the README)
2. Restart DSH and open a new session.
3. Start the brainstorm stage, pick the multiple-choice options to align the goal, then confirm the north star and the written plan.
4. Work through each check-in until the group review and final review are complete.
5. Read graded/docs/ARCHITECTURE.md if you need the stage rules.

### Prompt to paste into your agent

```text
Using the repository yjh051108/dsh-routing-suite, install the graded plugin from graded/dsh-graded-mode-3.2.0.tgz and run the task <task-description> through the graded stages in order. Report the stage reached and the final review result. Verify that each stage produced its output before the next one began.
```

### Caveat

The graded component is shipped as a release candidate (v0.0.1-rc1 for the repo, with a 3.2.0 package file), so behavior may change between versions.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/yjh051108-dsh-routing-suite/run-graded-task-protocol/
