dsh-prompt-optimizer

One-click prompt optimizer next to the composer, with a side-by-side diff panel and per-mode settings. Output length follows your request: ask for a short version and it writes a 350–650 character brief, otherwise it expands to as many as 1400 characters. The prompt templates are original; the official-template comparison mode needs a local Prompt Optimizer installation.

Overview

One-click prompt optimizer next to the composer, with a side-by-side diff panel and per-mode settings. Output length follows your request: ask for a short version and it writes a 350–650 character brief, otherwise it expands to as many as 1400 characters. The prompt templates are original; the official-template comparison mode needs a local Prompt Optimizer installation.

Installation

Install from GitHub

dsh plugin --profile web add github:Nyco1d/dsh-prompt-optimizer

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.