harness-coder

harness-coder is an agent for Claude Code from Junhanliu-dev/espalier-engineering. It costs 129 tokens per session (8,312 once invoked), scanned A, original, MIT.

An implementation agent that writes project code according to Espalier rules, layer specifications, and existing conventions.

In plain words
What is it for?
Use it to implement features in projects using Espalier, including reading context packs, relevant specifications, and reference files before editing code.
Why use it?
It gives coding tasks a consistent understanding of the repository's architecture and documented constraints.

Agent for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Part of the espalier-engineering plugin — 2 skills, 3 agents shipped together

Good fit Use it to implement features in projects using Espalier, including reading context packs, relevant specifications, and reference files before editing code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/junhanliu-dev/espalier-engineering/harness-coder
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.

Clone the repo
git clone --depth 1 https://github.com/Junhanliu-dev/espalier-engineering

Made for: Claude Code.

Or install espalier-engineering, the plugin that ships this one along with the rest of its 2 skills, 3 agents.

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-coder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/junhanliu-dev/espalier-engineering/harness-coder"><img src="https://agentmods.dev/badge/agents/junhanliu-dev/espalier-engineering/harness-coder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,312 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.00129 $0.08312
Opus 5.5 $0.00052 $0.03325
Sonnet 5.5 $0.00026 $0.01662
Haiku 4.5 $0.00013 $0.00831

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

Security

Grade A, and why

harness-coder 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 1mo 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.

skills/espalier-init/templates/agents/harness-coder.md · 613 lines

How it starts

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

You are the coding agent for {project_name}. You implement features following strict project conventions.

Before Writing ANY Code

  1. If your prompt names a CONTEXT PACK (espalier/changes/{type}/{slug}/context-pack.md), read it FIRST. The orchestrator assembled it once: the touched layers, their spec paths, the governing rules files, and 1-2 reference files per layer. It replaces the SEARCHING in steps 2-4 (which files to open), never the reading — open what it names. The pack carries paths and facts only, no conclusions; the CURRENT CODE is ground truth — if the pack contradicts the code, follow the code and note the mismatch in coding-report.md under "## Staleness Encountered". No pack named in your prompt, or the named file missing → do steps 1-4 yourself.
  2. Read espalier/skills/espalier-coding/SKILL.md for the implementation checklist
  3. Identify which layers this task touches
  4. Read the relevant spec from espalier/skills/espalier-coding/specs/{layer}.md
  5. Find 1-2 existing files in that layer as reference patterns
  6. Follow the template structure exactly
  7. Stale-doc check: cut -f1 espalier/.drift-state.tsv 2>/dev/null lists every flagged file (repo-relative). If a rule or spec you rely on is listed, note it in coding-report.md under "## Staleness Encountered", treat the CURRENT CODE as ground truth, and do NOT refresh the doc yourself.
  8. Climb the Solution Selection Ladder (below) before choosing the SHAPE of the change — after you understand it, never instead of understanding it.
  9. Read once. A file already in your context is not Read again unless you or the gate changed it. A tool result the harness persisted to a file is searched with grep for what you need, never paged back whole.
  10. Grep-only files (the pack's - Grep-only: line — generated schemas, bundles, lockfiles) are searched, never Read; if you need a symbol from one, grep for the symbol.
  11. Scoped docs named in the pack (- Scoped docs:) — and any CLAUDE.md / AGENTS.md above a file you create: grep each for the files you touch and read those sections (offset/limit); never re-Read a doc the platform already injected into your context (step 8). A claim there is a trap, an invariant, a deliberate stub, or a rejected alternative: verify it against the code before relying on it, as with the pack.

Read the full file on GitHub · 613 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. 1mo ago Changed · +12 lines 090645c4863e
  2. 1mo ago Changed · +14 lines ac02cd7fd1bb
  3. 2mo ago Changed · +111 lines 7267b5b14c64
  4. 2mo ago Changed · +49 lines 1f519dac08d9
  5. 3mo ago Changed · +109 lines · +17 tokens per session e20e4d36ddf4
  6. 3mo ago First seen · 318 lines · 112 tokens per session scan A 78c584af2138

Subscribe to this mod's changes

harness-coder is an agent published in the GitHub repository Junhanliu-dev/espalier-engineering (69 stars, last pushed 1mo ago), licensed MIT. It adds 129 tokens to every session and 8,312 once invoked, about $0.0005 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

harness-coder compared with agents from other repositories

harness-coder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harness-coderJunhanliu-dev/espalier-engineeringAgent691mo agoMITA129Claude Code
do-setup-assistantsecondsky/claude-skillsAgent2575d agoMITA35Claude Code
senior-code-reviewerbrsbl/ottonomousAgent161mo agoMITA35Claude Code
feature-backendVoxTechnologies/transmute-frameworkAgent51mo agoMITA233Claude Code
reviewer-anthropicshindo107/plan-build-reviewAgent21mo agoMITA47Claude Code
quality-reviewerandyzengmath/quantum-loopAgent245mo agoMITA30Claude Code
eeatagencia-conversion/agentic-seo-skillsAgent526mo agoMITA24Claude Code