axum-harness: Skill for Claude Code

.agents/skills/harness-diagnose/SKILL.md

harness-diagnose is a skill for Claude Code, Codex from openclosed-org/axum-harness. It costs 56 tokens per session (425 once invoked), scanned A, original, Apache-2.0.

A structured debugging process for finding the cause of bugs, regressions, flaky behaviour, failed checks, and suspicious program behaviour.

In plain words
What is it for?
Use it to investigate failing tests or commands, performance slowdowns, broken rules, intermittent failures, and backend or runtime problems.
Why use it?
It replaces guesswork with a repeatable loop: reproduce the problem, test ranked explanations, make the smallest causal fix, and collect evidence that it stays fixed.

Skill for Claude CodeCodex

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

This is openclosed-org/axum-harness's own configuration. It tells Claude Code and Codex how to work on axum-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 axum-harness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to openclosed-org/axum-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/openclosed-org/axum-harness/main/.agents/skills/harness-diagnose/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/openclosed-org/axum-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 harness-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/openclosed-org/axum-harness/harness-diagnose/github.svg)](https://agentmods.dev/skills/openclosed-org/axum-harness/harness-diagnose)
Your own site
<a href="https://agentmods.dev/skills/openclosed-org/axum-harness/harness-diagnose"><img src="https://agentmods.dev/badge/skills/openclosed-org/axum-harness/harness-diagnose/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 harness-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/openclosed-org/axum-harness/harness-diagnose"><img src="https://agentmods.dev/badge/skills/openclosed-org/axum-harness/harness-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 425 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.
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.00056 $0.00425
Opus 5 $0.00028 $0.00212
Sonnet 5 $0.00011 $0.00085
Haiku 4.5 $0.00006 $0.00042

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

Security

Grade A, and why

harness-diagnose 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.

.agents/skills/harness-diagnose/SKILL.md · 58 lines

What it actually says

Harness Diagnose

Use this skill for bugs and regressions.

Workflow skills guide process. Ownership skills still decide writable boundaries.

Phases

  1. Build a feedback loop.
  2. Reproduce the exact symptom.
  3. Generate 3-5 ranked falsifiable hypotheses.
  4. Instrument one boundary or variable at a time.
  5. Fix the smallest causal closed loop.
  6. Add regression evidence at the same semantic level.
  7. Run path-scoped gates from agent/manifests/gate-matrix.yml.
  8. Report evidence and residual uncertainty.

Feedback Loop Options

Prefer fast, deterministic, agent-runnable signals:

  1. failing unit, service, integration, replay, or contract test
  2. validator or gate command
  3. CLI invocation with fixture input and expected output
  4. HTTP request against a running server
  5. replayed event, outbox, or projector trace
  6. throwaway harness isolated to one service, server, worker, or repo-tool path
  7. stress loop for flakes or concurrency issues

If no credible loop can be built, stop and state what was tried and what artifact is needed.

Instrumentation Rules

  1. Every probe must test one hypothesis.
  2. Prefer debugger, targeted assertion, or narrow logs over broad logging.
  3. Tag temporary logs with a unique prefix and remove them before completion.
  4. For performance regressions, measure first and fix second.

Completion Report

State:

  1. violated invariant
  2. causal boundary: contract, service, server, worker, platform, tooling, docs, or cross-boundary
  3. repair made
  4. regression evidence added or why no correct seam exists
  5. gates run
  6. gates not run
  7. residual risk or uncertainty
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 · 58 lines · 56 tokens per session scan A 419b63cb8d55

Subscribe to this mod's changes

harness-diagnose is a skill published in the GitHub repository openclosed-org/axum-harness (49 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 425 once invoked, about $0.0003 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

open_rca_diagnosis

A structured method for finding the root cause of failures in microservices by examining measurements, request traces, and logs. It uses thresholds and cross-checks to connect symptoms to causes.

derisk-ai/OpenDerisk · 36 tokens

files-inspect

Inspect, download, upload, and debug Kurtosis file artifacts. View artifacts in an enclave, download them locally for inspection, upload local files, and troubleshoot file mounting issues. Use when services can't find expected files or configs are wrong.

kurtosis-tech/kurtosis · 51 tokens

starlark-dev

Develop and debug Kurtosis Starlark packages. Create packages from scratch, understand the plan-based execution model, use print() debugging, handle future references, and test packages locally. Use when writing or troubleshooting .star files.

kurtosis-tech/kurtosis · 50 tokens

docker-debug

Debug Kurtosis running on local Docker. Inspect engine, API container, and service logs. Diagnose container crashes, port conflicts, and networking issues. Use when kurtosis commands fail or services aren't reachable on Docker.

kurtosis-tech/kurtosis · 45 tokens

enclave-inspect

Inspect and manage Kurtosis enclaves. List enclaves, view services and ports, examine file artifacts, dump enclave state for debugging, and clean up. Use when you need to understand what's running inside an enclave or export its state.

kurtosis-tech/kurtosis · 52 tokens

k8s-debug-pods

Debug Kurtosis pods on Kubernetes. Diagnose why pods are Pending, CrashLoopBackOff, ImagePullBackOff, or Evicted. Check node taints, tolerations, resource pressure, and pod events. Use when kurtosis engine start fails or pods aren't coming online.

kurtosis-tech/kurtosis · 62 tokens