devharness-contributing

Repository instructions for contributing to the devharness project, covering its development, release and documentation practices.

In plain words
What is it for?
Use them when editing devharness source files, running its build and tests, checking hot reload, preparing releases, or keeping related documentation synchronized.
Why use it?
They explain how failures propagate, where behaviour is defined, which checks are required before release, and how to avoid common publishing mistakes.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/indate/devharness/devharness-contributing
Any agent
npx skills add InDate/devharness --skill devharness-contributing
Clone the repo
git clone --depth 1 https://github.com/InDate/devharness

Made for: Claude Code, Codex.

Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00095 $0.01274
Opus 5 $0.00048 $0.00637
Sonnet 5 $0.00019 $0.00255
Haiku 4.5 $0.00010 $0.00127

Measured yesterday against content hash cf1e316196e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

devharness-contributing 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.

.claude/skills/devharness-contributing/SKILL.md · 53 lines

How it starts

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

Contributing to devharness

Read CONTRIBUTING.md first. It owns the mechanics — build and test commands, running your build as devharness-dev, hot-reload and how to tell whether it took, stress:suspend, the release sequence, and the doc-sync list. It is the single source for all of that; this skill does not repeat it.

What follows is what CONTRIBUTING.md does not say: the code conventions, and the release habits an agent specifically gets wrong.

Releasing: what an agent gets wrong

The sequence is in CONTRIBUTING.md. Three things about it change how you should behave, not just what you type:

  • npm run build:verify before bumping, always. Skipping it once put out a tag whose publish failed on a stale plugin/.mcp.json pin, while notify-marketplace had already opened a PR pinning a version npm never received. After the tag, it is too late.
  • postversion pushes the branch and the tag with no confirmation. Every local commit on main ships. Nothing is "committed but held back locally" once someone bumps — never describe a commit that way, and make main exactly what should ship before bumping.
  • Don't offer to push afterwards, and don't say a release "wasn't published". Both already happened. Check rather than guess: gh run list --workflow=publish.yml, npm view devharness version.

Never run npm publish by hand — a second unverified path to the registry that collides with the run the tag already started.

Tool failures are THROWN, not returned

executeToolCall (src/index.ts) converts any isError response into a thrown ToolError (src/tool-error.ts) carrying that response. Downstream code branching on result.isError is dead, and a fake executeToolCall that returns isError responses covers that dead branch while the live path goes untested. That mismatch shipped absent-element conditions failing whole runs, LAUNCH_FAILED never reaching the user, and a leaked verification tab.

  • Wrap every fake executeToolCall in productionShaped() (src/test-support/fake-execute-tool-call.ts). Import the real ToolError rather than re-declaring its shape.
  • Classify failures by _errorId, not message text. createErrorResponse attaches it and ToolError carries the response, so err.response._errorId is available in-process. isElementNotFoundFailure() in messages.ts is the worked example.
  • Build fixtures with the real helpers (createErrorResponse, getErrorMessage, formatCodeBlock, webStorageMeta). Hand-written text drifts: fixtures asserted Element not found: ... for a year while MessageManager emitted Error: Element not found: ....

Read the full file on GitHub · 53 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 First seen · 53 lines · 95 tokens per session scan A cf1e316196e0

Subscribe to this mod's changes

devharness-contributing is a skill published in the GitHub repository InDate/devharness (16 stars, last pushed 2d ago), licensed MIT. It adds 95 tokens to every session and 1,274 once invoked, about $0.0005 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

browser

Use this skill when the user says browser, /browser, test in Chrome, inspect a webpage, verify a localhost app, capture screenshots, check console/network errors, run browser QA, or automate browser flows with the Mochi browser MCP.

DevZonayed/Mochi · 50 tokens

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.

browser-use/browser-use · 26 tokens

remote-browser

Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.

browser-use/browser-use · 22 tokens

opencli-browser

Use when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing…

jackwener/OpenCLI · 80 tokens

opencli-adapter-author

Use when writing an OpenCLI adapter for a new site or adding a new command to an existing site. Guides end-to-end from first recon through field decoding, adapter coding, and verify. Replaces opencli-oneshot / opencli-explorer. For ad-hoc browser driving (no adapter), see opencli-browser instead; for a top-level…

jackwener/OpenCLI · 88 tokens