learn-harness-engineering: Instructions file for Claude Code

CLAUDE.md

learn-harness-engineering CLAUDE.md is an instructions file for Claude Code from walkinglabs/learn-harness-engineering. It costs 776 tokens per session, scanned A, original, MIT.

Project instructions for Learn Harness Engineering, a course about building reliable coding environments for AI agents. They describe the repository, its VitePress documentation site, and its example Electron applications.

In plain words
What is it for?
Use them when working on the course documentation, building or previewing the site, or checking and testing its Electron project examples.
Why use it?
They give Claude Code consistent commands and project context, reducing mistakes when editing documentation or running the course examples.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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

About the project

Learn Harness Engineering is a project-based course about building the instructions, tools, environment, state, and feedback systems that help AI coding agents work reliably. It is for people learning how to design and understand the surrounding systems that guide coding agents.

walkinglabs/learn-harness-engineering · 23,320 stars · on GitHub · walkinglabs.github.io

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/walkinglabs/learn-harness-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/walkinglabs/learn-harness-engineering/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 776 This file is loaded in full into every session.
When invoked 776 The same file — it is already loaded in full.
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.00776 $0.00776
Opus 5.5 $0.00310 $0.00310
Sonnet 5.5 $0.00155 $0.00155
Haiku 4.5 $0.00078 $0.00078

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

Security

Grade A, and why

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

CLAUDE.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 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 (claude.ai/code) when working with code in this repository.

Project Overview

Learn Harness Engineering is a project-based course on building reliable coding environments for AI agents. The repo contains a VitePress documentation site plus hands-on project code.

Commands

# Documentation site
npm install
npm run docs:dev        # Dev server with hot reload (VitePress)
npm run docs:build      # Production build
npm run docs:preview    # Preview built site

# Run lecture code examples
npx tsx docs/en/lectures/<lecture-dir>/code/<file>.ts

# Project Electron apps (from each project directory)
cd projects/project-NN/starter  # or solution/
npm install
npm run dev              # Build + launch Electron (via scripts/dev.js)
npm run check            # Type-check both tsconfig.json and tsconfig.node.json
npm run test             # Vitest run (single run)
npm run test:watch       # Vitest watch mode

Repository Structure

  • docs/ — VitePress documentation site (lectures, projects, resources)
  • docs/.vitepress/config.mts — Nav/sidebar config for all 15 locales (en, zh, zh-TW, ja, ko, es, fr, ru, de, ar, vi, uz, tr, uk, pt-BR)
  • docs/<lang>/lectures/ — 14 lectures, each with index.md + code/ examples
  • docs/<lang>/projects/ — 8 project descriptions
  • docs/<lang>/resources/ — localized templates, references, OpenAI advanced pack
  • docs-readme/ — localized README translations (one directory per locale)
  • projects/shared/ — Shared Electron + TypeScript + React foundation
  • projects/project-NN/ — Per-project starter/ and solution/ directories (project-01 through project-06; project-07 and project-08 are docs-only so far)

Architecture

The course revolves around an Electron knowledge-base desktop app that evolves across the projects:

  • Main process (src/main/): Window management, IPC handlers, service initialization
  • Preload (src/preload/): contextBridge exposing typed API to renderer
  • Renderer (src/renderer/): React UI with document list, Q&A panel, status bar
  • Services (src/services/): DocumentService, IndexingService, QaService, PersistenceService
  • Shared types (src/shared/types.ts): Cross-boundary interfaces and IPC channel constants

Read the full file on GitHub · 64 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. 2mo ago First seen · 64 lines · 776 tokens per session scan A b5a3ee4fdd55

Subscribe to this mod's changes

learn-harness-engineering CLAUDE.md is an instructions file published in the GitHub repository walkinglabs/learn-harness-engineering (23,320 stars, last pushed 15d ago), licensed MIT. It adds 776 tokens to every session, about $0.0031 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

learn-harness-engineering CLAUDE.md compared with instructions from other repositories

learn-harness-engineering CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
learn-harness-engineering CLAUDE.mdwalkinglabs/learn-harness-engineeringInstructions file23k15d agoMITA776Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode