deepseek-harness: Skill for Claude Code

.agents/skills/dsh-ci-test-reliability/SKILL.md

dsh-ci-test-reliability is a skill for Claude Code, Codex from deepseek-ai/deepseek-harness. It costs 83 tokens per session (1,854 once invoked), scanned A, original, MIT.

A testing guide for DeepSeek Harness, focused on tests that run reliably in continuous integration (CI), where many tests and jobs may run at the same time.

In plain words
What is it for?
Use it when designing, reviewing, or diagnosing concurrent tests and fixtures, especially tests involving subprocesses, network services, asynchronous cleanup, or recorded sessions.
Why use it?
It helps find causes of flaky tests, such as shared ports or files, process-wide state, clocks, network listeners, subprocesses, and incomplete cleanup.

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 · 218,563 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-ci-test-reliability/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-ci-test-reliability

README.md
[![agentmods](https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/dsh-ci-test-reliability/github.svg)](https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-ci-test-reliability)
Your own site
<a href="https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-ci-test-reliability"><img src="https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/dsh-ci-test-reliability/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-ci-test-reliability

Your own site · 80×15
<a href="https://agentmods.dev/skills/deepseek-ai/deepseek-harness/dsh-ci-test-reliability"><img src="https://agentmods.dev/badge/skills/deepseek-ai/deepseek-harness/dsh-ci-test-reliability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,854 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 pass 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.00083 $0.01854
Opus 5 $0.00042 $0.00927
Sonnet 5 $0.00017 $0.00371
Haiku 4.5 $0.00008 $0.00185

Measured 11d ago against content hash 58e5de5c9cf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

dsh-ci-test-reliability 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 11d 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.agents/skills/dsh-ci-test-reliability/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reliable DSH CI tests

Build tests that remain correct under the repository's real CI topology, not only when run alone on a quiet workstation. This skill owns isolation and reliability decisions; it does not replace the repository's test-tier policy or select every command for a push.

Read the owning rules

  • Use the testing policy to select unit, coverage, expected-output, snapshot, browser, or real-API evidence.
  • Use the defensive patterns for lifecycle, subprocess, cancellation, and teardown behavior.
  • Read the active Vitest config and GitHub workflow when their worker or job topology affects the test.
  • For recorded-session scenarios, also follow the snapshot instructions.
  • Use dsh-pre-push-checks after the test design is sound to select outgoing validation.

Model the execution topology

Assume these layers can overlap unless the active configuration proves otherwise:

  1. Tests in one Vitest file.
  2. Separate Vitest files or worker processes.
  3. Independent Vitest or repository-gate processes in one job.
  4. Different Actions jobs whose runners share one host.

Process isolation does not isolate host ports, predictable filesystem paths, external services, databases, sockets, or inherited child processes. For every acquired resource, identify its owner, atomic allocation mechanism, observable readiness signal, registered cleanup, and quiescent completion signal.

Do not serialize an entire suite merely because one fixture lacks isolation. Narrow the exclusive scope or change the resource allocation first. A sequential Vitest block cannot protect a host resource from another file, process, job, or runner.

Allocate resources atomically

Use the resource owner's allocator instead of checking availability and claiming it later.

  • Network fixtures bind loopback with listen(0) and read the assigned address only after the server reports that it is listening. Never scan for a free port and bind it later.
  • Create private per-test temporary roots with mkdtemp; do not acquire predictable shared paths.
  • Give shared databases, sockets, sessions, and output locations unique per-test namespaces.
  • Use exclusive creation where a path must not already exist.
  • Keep stable recorded identifiers separate from ephemeral transport addresses. Translate inside the fixture instead of forcing the live resource to use the recorded value.

Read the full file on GitHub · 132 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 132 lines · 83 tokens per session scan A 58e5de5c9cf7

Subscribe to this mod's changes

dsh-ci-test-reliability is a skill published in the GitHub repository deepseek-ai/deepseek-harness (218,563 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 1,854 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

e2e-testing

Playwright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies. Use when writing Playwright tests, structuring page objects, or fixing flaky E2E runs in CI.

gongyijie85/dsh-ecc · 53 tokens

browser-qa

Use this skill to automate visual testing and UI interaction verification using browser automation after deploying features.

gongyijie85/dsh-ecc · 22 tokens

tdd

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

gongyijie85/mattpocock-skills-dsh · 33 tokens

dsh-web-community-plugin-developer

Develop a DSH community plugin and register it in the dsh-web Community Plugins index — author the plugin in the contributor's own repository following the official cordis bundle standard, add its entry to packages/dsh-community-plugins/community.json, regenerate the index with scripts/community-index, rebuild and…

zhu1090093659/dsh-web · 123 tokens

dsh-web-skin-developer

Build a new skin for the dsh-web skin collection (DSH Web GUI) and publish it into the Skin Center — the first-level settings section — scaffold with scripts/dsh-skin-new, author the v2 skin.json manifest plus skin.css token remap (pure asset directory, no package.json, no build step), validate with scripts/dsh-skin…

zhu1090093659/dsh-web · 120 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens