DeepSeek Harness is an open-source framework for building and running AI agents, organized so that its functionality is provided through plugins. Developers use it to launch agent workflows through a local web interface or from source, while the catalogue add-ons extend the harness as plugins.
Borrowing it
Nothing to install: this file belongs to deepseek-ai/deepseek-harness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/deepseek-ai/deepseek-harness/master/.agents/skills/dsh-code-review/SKILL.mdgit clone --depth 1 https://github.com/deepseek-ai/deepseek-harnessWrote 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.
[](https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-code-review)<a href="https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-code-review"><img src="https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/dsh-code-review/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.
<a href="https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-code-review"><img src="https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/dsh-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk warn
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.02657 |
| Opus 5.5 | $0.00022 | $0.01063 |
| Sonnet 5.5 | $0.00011 | $0.00531 |
| Haiku 4.5 | $0.00005 | $0.00266 |
Grade A, and why
dsh-code-review 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 yesterday.
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.
Copies of this mod
7 near-identical copies found in the catalogue:
- dsh-code-review — 92% identical, 37 lines differ
- dsh-code-review — 86% identical, 38 lines differ
- dsh-code-review — 86% identical, 38 lines differ
- dsh-code-review — 86% identical, 38 lines differ
- dsh-code-review — 86% identical, 37 lines differ
- dsh-code-review — 86% identical, 38 lines differ
- alego-code-review — 81% identical, 32 lines differ
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reviewing a DeepSeek-Harness PR
This skill is guidance, not a complete checklist. Verify and fetch the PR's live base and exact head, then run pnpm --silent run change-scope --base <verified-base-ref> --head <verified-head-ref> before reading the diff and enough surrounding code to understand the design. The report identifies paths and dirty layers but does not replace semantic review. Re-establish the base and rerun it after a retarget or merge. Prioritize correctness, lifecycle, security, and broken required behavior over style; a short review with one substantiated blocker is better than a list of nits.
Read the requirements before judging the diff. Map the changed paths to the artifacts below, open each owning page from Sources of truth, and only then read the diff against those requirements. Judging a diff against memory of the rules is how a violation passes review.
Sources of truth
- AGENTS.md and packages/AGENTS.md: standing repository and package authoring rules.
- DSH Core Guidelines: numbered design rules every change follows; cite a violated rule by its ID.
- docs/defensive-patterns/: the architecture requirements a change must satisfy and the habits behind them. Each page owns one artifact; read every page the diff touches:
- general.md — timing, async state, value representation, shared ownership, decentralization, refactors, migrations, performance evidence, disposal, callbacks, subprocesses.
- package-surface.md — exports, package shape, build faces, dependency declarations, resolve hooks.
- remote-and-api.md — remote services,
@Remotemethods, API dispatch, business ownership inpackages/api. - client-components.md — client components, slots, stores, hooks, effects, shared base packages.
- conversation-and-session.md — projection reads, Session retention, conversation nodes, renderers.
- docs/AGENTS.md: documentation placement and prose discipline.
- dsh-prose-standard: required coverage and editorial judgment for comments, docs, prompts, and visible strings.
- dsh-ci-test-reliability: isolation and regression-proof rules for resource-owning, asynchronous, or flaky tests and fixtures.
- dsh-client-ui-ux: feedback-surface choice, overlay safety, platform window adaptation, and visual token discipline for product-user-visible GUI changes.
- dsh-error-handling: failure classification, error classes and codes, tool failures, handling ownership, containment, state guarantees, and actionable reports.
- dsh-session-projection: projection ownership, state size, historical reads, and migrations.
- docs/testing.md and the quality-gates reference: required test tiers and gates.
- Agent Notes: design rationale. Treat disagreement with an Agent Note as a design discussion, not an automatic veto.
- For bilingual changes, read translation-rules.md and terminology.md; the extended translation skill is outside automatic review and runs only on explicit user invocation.
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.
- yesterday Changed 4af979815b81
- 7d ago Changed · +2 lines 252301750297
- 18d ago Changed b3903c1a6242
- 25d ago Changed · +1 lines 0d33aa4a950d
- 1mo ago Changed · +1 lines f89af2214a53
- 1mo ago Changed · +7 lines f8c6985c099d
- 1mo ago Changed · +2 lines 8a28cc43eaa7
- 1mo ago Changed · -1 lines 9163880d1a57
- 2mo ago Changed · +1 lines 8a91213a7d97
- 2mo ago First seen · 53 lines · 54 tokens per session scan A 6c862b17bca7
dsh-code-review is a skill published in the GitHub repository deepseek-ai/deepseek-harness (288,790 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 2,657 once invoked, about $0.0002 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.
dsh-code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-code-reviewdeepseek-ai/deepseek-harness | Skill | 289k | 2d ago | MIT | A | 54 | Claude Code, Codex |
| triagegongyijie85/mattpocock-skills-dsh | Skill | 33 | 12d ago | MIT | A | 33 | Claude Code |
| code-reviewgongyijie85/mattpocock-skills-dsh | Skill | 33 | 12d ago | MIT | A | 94 | Claude Code, Codex |
| improve-codebase-architecturegongyijie85/mattpocock-skills-dsh | Skill | 33 | 12d ago | MIT | A | 32 | Claude Code |
| tech-debt-auditomagents/omagents | Skill | 361 | 2d ago | MIT | A | 57 | Codex |
| work-with-promagents/omagents | Skill | 361 | 2d ago | MIT | A | 51 | Codex |
| industry-research-methodPerryLink/dsh-industry-research | Skill | 227 | 7d ago | Apache-2.0 | A | 96 | Claude Code, Codex |