deepseek-harness: Skill for Claude Code

.agents/skills/dsh-code-review/SKILL.md

dsh-code-review is a skill for Claude Code, Codex from deepseek-ai/deepseek-harness. It costs 54 tokens per session (2,657 once invoked), scanned A, original, MIT.

A code-review guide for the DeepSeek Harness repository, a software project with its own engineering rules and testing practices. It directs reviewers to inspect the exact pull request, surrounding code, repository guidance, and important correctness and security risks.

In plain words
What is it for?
Use it when reviewing pull requests in the DeepSeek Harness codebase and checking whether changes meet its documented standards.
Why use it?
It helps reviewers find bugs that a simple line-by-line diff may miss, especially in asynchronous code, subprocesses, resource cleanup, and unreliable tests.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is deepseek-ai/deepseek-harness's own configuration. It tells Claude Code and Codex how to work on deepseek-harness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything deepseek-harness configures →

About the project

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.

deepseek-ai/deepseek-harness · 288,790 stars · on GitHub · deepseek.com

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/deepseek-ai/deepseek-harness/master/.agents/skills/dsh-code-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness

Made for: Claude Code, Codex.

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 dsh-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/dsh-code-review/github.svg)](https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-code-review)
Your own site
<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.

agentmods 80×15 button for dsh-code-review

Your own site · 80×15
<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>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,657 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. Third-party audits
  • Snyk warn 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.02657
Opus 5.5 $0.00022 $0.01063
Sonnet 5.5 $0.00011 $0.00531
Haiku 4.5 $0.00005 $0.00266

Measured yesterday against content hash 4af979815b81, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

Origin

Copies of this mod

7 near-identical copies found in the catalogue:

.agents/skills/dsh-code-review/SKILL.md · 66 lines

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, @Remote methods, API dispatch, business ownership in packages/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.

Read the full file on GitHub · 66 lines

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. yesterday Changed 4af979815b81
  2. 7d ago Changed · +2 lines 252301750297
  3. 18d ago Changed b3903c1a6242
  4. 25d ago Changed · +1 lines 0d33aa4a950d
  5. 1mo ago Changed · +1 lines f89af2214a53
  6. 1mo ago Changed · +7 lines f8c6985c099d
  7. 1mo ago Changed · +2 lines 8a28cc43eaa7
  8. 1mo ago Changed · -1 lines 9163880d1a57
  9. 2mo ago Changed · +1 lines 8a91213a7d97
  10. 2mo ago First seen · 53 lines · 54 tokens per session scan A 6c862b17bca7

Subscribe to this mod's changes

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.

Related

dsh-code-review compared with skills from other repositories

dsh-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-code-reviewdeepseek-ai/deepseek-harnessSkill289k2d agoMITA54Claude Code, Codex
triagegongyijie85/mattpocock-skills-dshSkill3312d agoMITA33Claude Code
code-reviewgongyijie85/mattpocock-skills-dshSkill3312d agoMITA94Claude Code, Codex
improve-codebase-architecturegongyijie85/mattpocock-skills-dshSkill3312d agoMITA32Claude Code
tech-debt-auditomagents/omagentsSkill3612d agoMITA57Codex
work-with-promagents/omagentsSkill3612d agoMITA51Codex
industry-research-methodPerryLink/dsh-industry-researchSkill2277d agoApache-2.0A96Claude Code, Codex