setup

setup is a command for Claude Code from cpj-dev/dsh-plugin-cc. It costs 15 tokens per session (584 once invoked), scanned A, original, MIT.

A setup command that installs DeepSeek Harness and creates a ready-to-use profile named cc. DeepSeek Harness is a tool for running multi-step coding sessions.

In plain words
What is it for?
Use it to install or migrate the Harness setup, configure the cc profile, and display its readiness report.
Why use it?
It prepares the required command-line tools and profile settings so the coding workflow can run.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dsh plugin — 2 skills, 10 commands, 1 agent, 2 hooks shipped together

Good fit Use it to install or migrate the Harness setup, configure the cc profile, and display its readiness report.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add cpj-dev/dsh-plugin-cc
Claude Code
/plugin install dsh

Made for: Claude Code.

Or install dsh, the plugin that ships this one along with the rest of its 2 skills, 10 commands, 1 agent, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/cpj-dev/dsh-plugin-cc/setup/github.svg)](https://agentmods.dev/commands/cpj-dev/dsh-plugin-cc/setup)
Your own site
<a href="https://agentmods.dev/commands/cpj-dev/dsh-plugin-cc/setup"><img src="https://agentmods.dev/badge/commands/cpj-dev/dsh-plugin-cc/setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/cpj-dev/dsh-plugin-cc/setup"><img src="https://agentmods.dev/badge/commands/cpj-dev/dsh-plugin-cc/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00584
Opus 5.5 $0.00006 $0.00234
Sonnet 5.5 $0.00003 $0.00117
Haiku 4.5 $0.00002 $0.00058

Measured 1mo ago against content hash f6dd5e40e9b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dsh/commands/setup.md · 20 lines

What it actually says

Run the setup and show the user the resulting readiness report verbatim. First run installs the pinned npm CLI — use a long Bash timeout (10 minutes) or run it in the background, and tell the user it is installing:

node "${CLAUDE_PLUGIN_ROOT}/scripts/dsh-bridge.mjs" setup "$ARGUMENTS"

What it does, end to end (each step skipped when already done — rerunning is a no-op):

  1. Get dsh. Default: install @deepseek-ai/dsh@<HARNESS_NPM_VERSION> into the plugin data directory (npm install --prefix), write a wrapper pinned to Node >= 22.19, persist it. A persisted source install (old harnessCheckout / dshInstall: harness) is migrated to that pin. --harness <checkout-path> uses an already-built DeepSeek Harness checkout instead (the plugin does not run pnpm install / build:lib; packages/sdk/server must exist). A later no-args setup migrates back to npm. Requirements: Node >= 22.19 (harness floor; the plugin itself needs only >= 20), npm (default path), and pnpm for profile plugin add (corepack enable when missing). Do not follow npm latest/next.
  2. The cc profile for multi-turn sessions: dsh-base + the SDK JSON-RPC server. Default path: dsh plugin --profile cc add @deepseek-ai/dsh-sdk-jsonrpc-server@<pin> plus that package's published peerDependencies (a server-only add cannot resolve @deepseek-ai/dsh-sdk-protocol at boot). --harness link:-installs <checkout>/packages/sdk/server. Approval never, verified via --dump-config. One-shot commands (/dsh:review, /dsh:critique, fresh /dsh:run) work without the profile; --session, --resume, and /dsh:import need it.

After setup, the only remaining prerequisite is a DEEPSEEK_API_KEY (env var, $DSH_HOME/.credentials.yaml, or .env) — the report's next steps say so when it is missing.

--mode minimal|standard|anchored-standard persists this machine's default agent mode. The built-in default is standard (full catalog from request #1); /dsh:setup --mode minimal locks two tools for the whole run; --mode anchored-standard is the two-phase filter. Per-run --mode still overrides.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 20 lines · 15 tokens per session scan A f6dd5e40e9b9

Subscribe to this mod's changes

setup is a command published in the GitHub repository cpj-dev/dsh-plugin-cc (105 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 584 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.