by walkinglabs
Harness engineering beginner tutorial, from 0 to 1
# Add to your Claude Code skills
git clone https://github.com/walkinglabs/learn-harness-engineeringGuides for using ai agents skills like learn-harness-engineering.
Last scanned: 11/28/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@chevrotain/cst-dts-gen: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@chevrotain/gast: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@vue/server-renderer: @vue/server-renderer: XSS via missing CR in attribute-name blacklist",
"severity": "high"
},
{
"type": "npm-audit",
"message": "brace-expansion: brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups",
"severity": "high"
},
{
"type": "npm-audit",
"message": "chevrotain: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "chevrotain-allstar: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "dompurify: DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix)",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "esbuild: esbuild enables any website to send any requests to the development server and read the response",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "js-yaml: JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases",
"severity": "high"
},
{
"type": "npm-audit",
"message": "katex: KaTeX: Existing prototype pollution can bypass trust restrictions",
"severity": "low"
},
{
"type": "npm-audit",
"message": "langium: Vulnerability found",
"severity": "high"
},
{
"type": "npm-audit",
"message": "linkify-it: linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text",
"severity": "high"
},
{
"type": "npm-audit",
"message": "lodash-es: lodash vulnerable to Code Injection via `_.template` imports key names",
"severity": "high"
},
{
"type": "npm-audit",
"message": "markdown-it: markdown-it: Quadratic complexity in smartquotes with unmatched closing quotes",
"severity": "high"
},
{
"type": "npm-audit",
"message": "mermaid: Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "minimatch: minimatch has potential denial of service via globparts amplification",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "nanoid: nanoid: non-secure generators can loop indefinitely with negative size",
"severity": "high"
},
{
"type": "npm-audit",
"message": "postcss: PostCSS has XSS via Unescaped </style> in its CSS Stringify Output",
"severity": "high"
},
{
"type": "npm-audit",
"message": "source-map-js: source-map-js allows event-loop denial of service through indexed source-map section offsets",
"severity": "high"
},
{
"type": "npm-audit",
"message": "uuid: uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vite: Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling",
"severity": "high"
},
{
"type": "npm-audit",
"message": "vitepress: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vitepress-plugin-llms: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vitepress-plugin-mermaid: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "vue: Vulnerability found",
"severity": "high"
},
{
"file": "README.md",
"line": 729,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/walkinglabs/learn-harness-engineeri\"",
"severity": "low"
}
],
"status": "WARNING",
"scannedAt": "2026-11-28T21:03:34.789Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}learn-harness-engineering is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by walkinglabs. Harness engineering beginner tutorial, from 0 to 1. It has 26,291 GitHub stars.
learn-harness-engineering returned warnings in AgentsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/walkinglabs/learn-harness-engineering" and add it to your Claude Code skills directory (see the Installation section above).
learn-harness-engineering is primarily written in TypeScript. It is open-source under walkinglabs on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh learn-harness-engineering against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
🌍 This course is available in 16 languages: English, 简体中文, 繁體中文, 日本語, 한국어, Español, Français, Русский, Deutsch, العربية, Tiếng Việt, Oʻzbekcha, Türkçe, Portuguese (BR), Українська, हिन्दी. Choose your language from the badges above.
Frontier Harness Design Breakdowns — new section (4 breakdowns)
| What | Details |
|---|---|
| New section | Frontier Harness Design Breakdowns — Apply the course's five-subsystem framework (instructions, tools, environment, state, feedback) to reverse-engineer how four frontier products build real harnesses. |
| Pi | How Pi builds its harness — a minimal kernel, programmable expansion, and context engineering behind "ask Pi to build what you want." |
| Claude Code | How Claude Code builds its harness — four-layer memory, five-level compaction, hooks, and sub-agent isolation. |
| Codex | How Codex builds its harness — the repository as source of truth, AGENTS.md as a directory page, and worktree isolation. |
| DeepSeek | How DeepSeek builds its harness — "everything is a plugin," capability seams, and an event pipeline. |
| All 15 languages | Full translation coverage across all supported languages. |
Key idea: The course gives you a framework; these breakdowns show you how the same principles actually play out in production harnesses.
Graph Engineering Update — 1 new lecture, 1 new project
| What | Details |
|---|---|
| Lecture 14 | From Single Loops to Graph Engineering — Why a single loop grows into a graph: the four stacked layers (prompt → context → loop → graph) and where harness sits in that stack, the four parts of a graph (nodes, edges, shared state, routing), why in-loop checkpoints can't fix the three structural failures at scale (Goodhart, blindness upward, conflict), a framework-agnostic six-step walkthrough for building your first graph, graph vs. workflow, anchors, which open-source "graph engineering" projects existed before the name vs. after it, the orchestration tax, and when a graph is actually worth drawing. |
| Project 08 | Draw Your Workflow as a Graph — Three progressive experiments: draw your maker-checker loop as an explicit graph, add a parallel fan-out/fan-in node, then add a conditional rollback edge and a human-approval node. |
Key idea: A loop is a graph with one node. When your task needs specialization, parallelism, shared state, verification, and recovery — it has stopped being a loop. It's a graph.
Loop Engineering Update — 1 new lecture, 1 new project
| What | Details |
|---|---|
| Lecture 13 | Why You Need to Stop Prompting Your Agent — From /goal to the six primitives of loop engineering (automations, worktrees, skills, connectors, sub-agents, external state), the generator/evaluator split, four silent costs, and a step-by-step guide to building your first loop. |
| Project 07 | Build Your First Automated Loop — Three progressive experiments: goal loop, timer loop, and maker-checker loop. Compare manual vs. automated, measure intervention reduction, and learn to step outside the loop. |
| Code templates | goal-template.md, loop-state-template.md, maker-prompt.md, checker-prompt.md — drop-in templates for building loops immediately. |
| All 15 languages | Full translation coverage across all supported languages. |
Key idea: Harness engineering builds the vehicle. Loop engineering designs the road it drives on — and you design the road from outside the car.
Learn Harness Engineering is a course dedicated to the engineering of AI coding agents. We have deeply studied and synthesized the most advanced Harness Engineering theories and practices in the industry. Our core references include:
Quick start? The
skills/harness-creator/skill can help you scaffold a production-grade harness (AGENTS.md, feature lists, init.sh, verification workflows) for your own project in minutes.
A comprehensive course outline and introduction to core philosophies, providing a clear path to get started.

Deep dives into real-world pain points and hands-on projects (like Project 01) for an immersive learning experience.

Templates and reference configurations designed to solve common pitfalls in multi-turn AI agent development, such as context loss and premature task completion.

The repository now includes a PDF build pipeline for the course content.
npm run pdf:build to generate the currently configured PDF coursebooks locally.artifacts/pdfs/.npm run screenshots:readme if you want to refresh the README preview images.