harn-testing

harn-testing is a skill for Claude Code from burin-labs/harn. It costs 24 tokens per session (2,137 once invoked), scanned A, original, Apache-2.0.

A guide for testing the part of a system that owns a behavior, at the smallest level that can disprove the claim. It covers unit tests, workflow tests, end-to-end tests, liveness, replay, and repeated trials for variable results.

In plain words
What is it for?
Use it to choose tests for parsers, runtime modules, workflows, adapters, product paths, progress and recovery, deterministic replay, or model quality.
Why use it?
It helps avoid tests that pass without checking the real interface or user path. It also makes test evidence and remaining uncertainty explicit.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to choose tests for parsers, runtime modules, workflows, adapters, product paths, progress and recovery, deterministic replay, or model quality.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/burin-labs/harn/harn-testing
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.

Any agent
npx skills add burin-labs/harn --skill harn-testing
Clone the repo
git clone --depth 1 https://github.com/burin-labs/harn

Made for: Claude Code.

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 harn-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/burin-labs/harn/harn-testing/github.svg)](https://agentmods.dev/skills/burin-labs/harn/harn-testing)
Your own site
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-testing"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-testing/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 harn-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/burin-labs/harn/harn-testing"><img src="https://agentmods.dev/badge/skills/burin-labs/harn/harn-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,137 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
  • 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.00024 $0.02137
Opus 5.5 $0.00010 $0.00855
Sonnet 5.5 $0.00005 $0.00427
Haiku 4.5 $0.00002 $0.00214

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

Security

Grade A, and why

harn-testing 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 25d 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.

crates/harn-skills/src/corpus/harn-testing/SKILL.md · 217 lines

How it starts

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

Harn testing

Use this skill to choose evidence that can falsify the claim being made.

Pair it with [[harn-probe]] for uncertain runtime facts, [[harn-orchestration]] for workflow ownership, and [[harn-product-quality]] for launch behavior.

Start from the claim

  • Write the claim in observable terms.
  • Name a plausible falsifier.
  • Identify the owning module and public interface.
  • Choose the lowest test altitude that can falsify the claim.
  • Add higher-altitude evidence when the claim crosses adapters or surfaces.
  • Do not count tests as proof; map evidence to claims.
  • Record what remains outside the evidence.

Test altitude

  • Pure language semantics: conformance fixture.
  • Parser, type, lint, or format behavior: focused crate test plus conformance.
  • Runtime module behavior: test through the public runtime interface.
  • Workflow behavior: deterministic harness test.
  • Adapter contract: production and in-memory adapters through the same seam.
  • Product behavior: canonical path end to end.
  • Liveness: progress, interruption, recovery, terminal state.
  • Model quality: multiple trials with a calibrated evaluator.

Determinism

  • Use mock_time, paused Tokio time, and explicit advancement.
  • Subscribe to events rather than polling.
  • Use OrchestratorHarness for workflow state.
  • Use deterministic provider and tool adapters.
  • Seed randomness and record the seed.
  • Avoid sleep, wall-clock deadlines, and short recv_timeout.
  • Avoid network dependencies in deterministic suites.
  • Assert on typed events and outcomes rather than incidental log order.

Interface tests

  • Tests and callers should cross the same interface.
  • Assert observable outcomes, errors, receipts, and state transitions.
  • Do not test through private seams merely because they are convenient.
  • Replace shallow-module tests when a deeper owning interface supersedes them.
  • Keep test setup smaller than the behavior under test.
  • Use production-shaped configuration defaults.
  • Verify closed error variants and diagnostic codes.
  • Keep fixtures minimal and readable.

Read the full file on GitHub · 217 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. 25d ago Changed · +6 lines b3faa25da533
  2. 1mo ago Changed · +14 lines ed2bbdcc1142
  3. 1mo ago First seen · 197 lines · 24 tokens per session scan A a532909eacd2

Subscribe to this mod's changes

harn-testing is a skill published in the GitHub repository burin-labs/harn (28 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 2,137 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.

Related

Other skills, from other repositories

archestra-dev-testing

Use for test selection and quality across backend, frontend, and e2e; load its backend reference for Vitest projects, mocking, DB fixtures, and performance.

archestra-ai/archestra · 38 tokens

testing-patterns

Redirect — testing-patterns was split into 5 focused sub-skills. Use when looking for testing-patterns, writing tests, or test automation. Redirects to testing-unit, testing-e2e, testing-integration, testing-llm, or testing-perf.

yonatangross/orchestkit · 59 tokens

jira-validate-production

Check that the fix a Jira issue carries is live on the PRODUCTION site and behaves as the issue asked, then close the card, or open a follow-up issue for what failed. Insert into the prompt of a run started on a batch of merged issues, or of a Jira post-deploy column rule.

decocms/studio · 67 tokens

langchain4j-testing-strategies

Provides unit test, integration test, and mock AI patterns for LangChain4j applications. Creates mock LLM responses, tests retrieval chains, validates RAG workflows, and implements Testcontainers-based integration tests for Java AI services. Use when unit testing AI services, integration testing LangChain4j…

giuseppe-trisciuoglio/developer-kit · 81 tokens

loom-test-strategy

Test strategy guidance covering pyramid design, coverage, test categorization, flaky tests, infrastructure, and risk-based prioritization.

cosmix/loom · 29 tokens

loom-testing

Test implementation across unit, integration, e2e, security, infrastructure, data pipeline, and ML domains.

cosmix/loom · 25 tokens