harness-engineering: Instructions file for Claude Code

CLAUDE.md

harness-engineering CLAUDE.md is an instructions file for Claude Code from jrenaldi79/harness-engineering. It costs 1,447 tokens per session, scanned C, original, MIT.

Repository instructions and reference material for harness-engineering, a Claude Code plugin that prepares projects for development with AI coding agents. It provides readiness checks, setup guidance, and engineering practices.

In plain words
What is it for?
Use it to assess a project across readiness areas or set up CLAUDE.md files, enforcement scripts, Git hooks, linter settings, and agent configuration.
Why use it?
It helps reveal gaps in a codebase and creates the files and checks an agent needs to work consistently.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

This is jrenaldi79/harness-engineering's own configuration. It tells Claude Code how to work on harness-engineering 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 harness-engineering configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jrenaldi79/harness-engineering. 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/jrenaldi79/harness-engineering/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/jrenaldi79/harness-engineering

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 harness-engineering CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jrenaldi79/harness-engineering/claude-md/github.svg)](https://agentmods.dev/instructions/jrenaldi79/harness-engineering/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jrenaldi79/harness-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/jrenaldi79/harness-engineering/claude-md/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-engineering CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jrenaldi79/harness-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/jrenaldi79/harness-engineering/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,447 This file is loaded in full into every session.
When invoked 1,447 The same file — it is already loaded in full.
Security scan C 1 finding. 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.01447 $0.01447
Opus 5.5 $0.00579 $0.00579
Sonnet 5.5 $0.00289 $0.00289
Haiku 4.5 $0.00145 $0.00145

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

Security

Grade C, and why

harness-engineering CLAUDE.md scanned grade C with 1 finding 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 8d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore-start -->
CLAUDE.md · 149 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code when working with code in this repository.

Project Overview

harness-engineering is a Claude Code plugin and reference for AI coding agent harnesses. The full plugin provides /readiness and /setup; the independent documentation plugin provides /documentation:documentation. Together they assess and configure projects, with a README mapping 20+ best practices from industry sources.

Core Features

  • /readiness: Scores a codebase across 8 pillars and 5 maturity levels, produces a saved report with delta tracking
  • /setup: Scaffolds CLAUDE.md files, enforcement scripts, git hooks, linter configs, and agent settings via Socratic questioning
  • Reference guide: Maps best practices from OpenAI, Anthropic, Augment Code, Factory.ai, and practitioners to concrete implementation patterns

Essential Commands

Testing

node --test tests/documentation/*.test.js
node --experimental-vm-modules node_modules/.bin/jest tests/scripts/   # Unit tests for setup scripts
bash tests/evals/run-evals.sh                                          # E2E readiness evals (default)
bash tests/evals/run-evals.sh --config setup-eval-config.json          # E2E setup evals
bash tests/evals/test-marketplace-install.sh                           # Test plugin install flow

Validation

node scripts/repo-generate-docs.js --check              # Verify indexes and compact markers
node scripts/repo-generate-docs.js --staged             # Validate the exact staged snapshot

Setup

bash scripts/install-hooks.sh   # Install git hooks (pre-commit + pre-push)

Architecture

Source inventory

  • skills: 46 files
  • scripts: 6 files
  • tests: 41 files
  • plugins: 11 files

Data Flow

User installs plugin
  -> /readiness reads templates/references as benchmark
  -> 3 parallel subagents evaluate project against 8 pillars
  -> Scored report saved to readiness-report.md

User runs /setup
  -> Socratic questions determine stack and goals
  -> Scripts scaffold project structure, configs, hooks
  -> Enforcement scripts copied to target project's scripts/
  -> Git hooks wired to run enforcement on every commit/push

Read the full file on GitHub · 149 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. 8d ago Changed · +1 lines · +21 tokens per session 9ed0d11c7e05
  2. 9d ago Changed · +6 lines · +8 tokens per session scan A → C 695e22a01da4
  3. 21d ago Changed · -71 lines · -1,373 tokens per session b9c2925371d5
  4. 1mo ago First seen · 213 lines · 2,791 tokens per session scan A ae50f040ffd1

Subscribe to this mod's changes

harness-engineering CLAUDE.md is an instructions file published in the GitHub repository jrenaldi79/harness-engineering (123 stars, last pushed 9d ago), licensed MIT. It adds 1,447 tokens to every session, about $0.0058 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories