Make Opus 5.5 Finish Long Tasks: A Reusable Harness Engineering Setup
beamnxw ./ · tweet · 2026-10-06 source ↗ Reader 🖥️
practical · mixed — A practitioner how-to published as an X long-form post: seven numbered setup layers (CLAUDE.md, a skill, an MCP connection, permission rules, a reviewer subagent, effort setting, a /goal completion condition) plus a progress-note handoff and a measurement section, built around a single document-drafting example. Mostly mechanism and procedure, with copy-paste config snippets that lean on documented Claude Code features and link to Anthropic docs. No measured data of any kind is given: no run counts, completion rates, token or cost figures, or before/after comparison. The title's promise that the setup makes Opus 5.5 'finish' long tasks is an unevidenced claim. The one number mentioned (a 60% token reduction) is explicitly attributed to Anthropic's early-tester report and disclaimed as not transferable. The post's teaser summary mentions stopping unfinished runs from eating the budget, but the body contains no budget-scare hook or spend-enforcement mechanism; it offers only a model-evaluated turn limit in /goal and after-the-fact /usage inspection. The closing self-promotion ('follow for more alpha') marks the genre.
Structure
| Part | Role |
|---|---|
| Framing: define the outputs first (result you can open, evidence you can inspect, progress to continue tomorrow); a harness is the instructions, tools, permissions, state and checks around the model; the seven layers run on a document-workflow example (sources/, drafts/, published/). | Context and thesis statement; sets the acceptance-first stance. |
| Layer 1: root CLAUDE.md holds cross-task stable facts; temporary or unresolved items live with the task; @imports still load at session start so use skills for occasional procedures; preferences become rules only after confirmation. | Mechanism: persistent context layer, with a stable-versus-temporary rule. |
| Layer 2: the write-draft skill; every step names an observable output, the reviewer, source requirements and report format; publication approval kept separate; improve the process by editing the skill. | Mechanism: reusable procedure. |
| Layer 3: MCP connection (Notion example) added only when it serves a task step; test with one known page; preserve identifier and failure reason on retrieval failure; restrict write actions; disable unused servers. | Mechanism: source access with failure and permission hygiene. |
| Layer 4: deny rules for .env and published/**; PreToolUse hooks for argument- or state-dependent decisions; check /permissions and test with a dummy file; file-tool rules do not bind arbitrary Python/Node (OS sandboxing does); inspect the destination before retrying an external write. | Mechanism: enforcement at the tool boundary, with stated limits. |
| Layer 5: evidence-reviewer subagent returning a claim/verdict/source/correction table with an explicit 'unresolved' verdict; the main agent keeps corrections; check the saved draft, not the transcript (citing Anthropic's evals guidance). | Mechanism: verification that produces evidence the human can inspect. |
| Layers 6 and 7: medium effort for the main session and high for the reviewer, with a preflight of /context, /agents and /permissions; then a /goal that defines completion as saved files plus verification results shown in the conversation, a model-evaluated 12-turn stop clause, and /rewind limits. | Mechanism: per-job effort and an explicit completion condition. |
| Run once, then check recovery: progress.md structure (task, outputs, completed, decisions, open issues, next action), a fresh-session resume prompt, and a troubleshooting list for missing skill, reviewer or unresolved claims. | Procedure plus handoff test; grounds the 'continue tomorrow' promise. |
| Measure on accepted work: /usage and /context, include delegated review and retries, record review time and corrections, change one component at a time, and do not import Anthropic's 60% token reduction. | Epistemic caveat and evaluation method; the honest closing. |
Key terms
- harness Agent Harness
The instructions, tools, permissions, state and checks that coordinate the model; in practice the set of Claude Code configuration surfaces (CLAUDE.md, skills, MCP, settings.json, subagents, /goal). - layer
One of seven configuration responsibilities, each with a concrete Claude Code location and an observable output. - evidence
A saved, inspectable artifact tying a claim to an opened source or an outcome (a claim/verdict/source table, output paths plus verification results), as opposed to the agent's say-so or the transcript. - progress note (progress.md)
A structured handoff file (task, outputs, completed checks, decisions, open issues, one next action) that a fresh session reads to continue. - /goal completion condition
A Claude Code goal evaluated against evidence the agent surfaces in the conversation between turns; the turn-limit clause is also model-evaluated, not a hard runtime limit. - accepted work
A run's output after the human has inspected it and judged what corrections it needed; the denominator for evaluating a setup. - execution layer
Permission rules and PreToolUse hooks that decide at the tool boundary what an action may do, as opposed to instructions the model may ignore.
Propositions
- explicitA harness is the set of instructions, tools, permissions, state and checks around the model, and Claude Code exposes concrete places to configure each of those responsibilities.conf: high
- explicitA long run should be specified up front by what it must leave behind: a result you can open, evidence you can inspect, and enough saved progress to continue the next day.conf: high
- explicitRoot CLAUDE.md should hold only information that stays useful across tasks (output locations, source requirements, conventions); temporary deadlines and unresolved questions belong with the task, and a preference discovered in one draft becomes a standing rule only after you confirm it.conf: highsupportsAlex Wang's Post · p1 — Both say CLAUDE.md should contain stable cross-task context rather than temporary or procedural content.
- explicitA recurring procedure should be saved as a skill whose every step has an observable output and names its reviewer, source requirements and report format; vague steps like 'check accuracy' leave decisions open, and publication approval should be a separate authorized action.conf: highsupportsAlex Wang's Post · p2 — Both move repeatable procedures out of CLAUDE.md into skills.
- explicitAction rules belong at the tool boundary (permission deny rules, PreToolUse hooks) rather than in prose instructions, but file-tool deny rules do not constrain arbitrary Python or Node processes, so stricter isolation requires OS-level sandboxing, and external writes should be inspected before any retry because the first attempt may have completed.conf: highsupportsThe Anatomy of an Agent Harness · p8 — Permission rules at the tool boundary, separate from model reasoning, match the principle that the tool system decides what is allowed.
- explicitVerification should be delegated to a bounded subagent that returns a claim/verdict/source/correction table with 'unresolved' as a first-class verdict naming the missing evidence, while corrections stay with the main agent and the human checks the saved draft rather than the transcript.conf: highsupportsAgent Harness Engineering · p7 — Delegating verification to a separate reviewer agent instead of self-evaluation is the same generator/evaluator separation.supportsHarness design for long-running application development · p3 — A standalone, tuned evaluator is the tractable route to skeptical checking; this reviewer subagent is a lightweight version.
- explicitReasoning effort should be assigned per job (medium for the main drafting session, high for the evidence reviewer), and prose instructions about thinking depth do not change the configured effort setting.conf: high
- explicitA run's completion should be defined in terms of saved deliverables and verification results shown in the conversation (via /goal), and the 12-turn stop clause is evaluated by the model, so it is not a spending or runtime limit; those need execution controls.conf: highextendsWhat is “loop engineering?” · p3 — Uses the native /goal command that replaced DIY loops, adding an evidence-based completion condition and noting its model-evaluated limits.
- explicitKeeping a structured progress.md (current files, completed checks, decisions, open issues, one next action) lets a fresh session in the same workspace resume from the recorded next action instead of starting over.conf: mediumsupportsLoop Engineering · p9 — Both hold that state persisted outside the conversation (a markdown file) is what lets a long-running agent resume; this post specifies the note's fields.supportsAnthropic's Designs Three-Agent Harness Supports Long-Running Full-Stack AI Development · p8 — The progress.md structure is a concrete handoff artifact, which that extraction names as the critical design variable.
- explicitThe value of a harness setup should be established from your own measurements on accepted work (usage including delegated review and retries, review time, corrections needed, one component changed at a time), not by importing the 60% token reduction from Anthropic's early-tester report, which belongs to that model experiment.conf: high
- implicitThe setup is largely model-independent: apart from the model flag and effort default, each layer is a generic Claude Code (or any agent harness) surface, so the 'Opus 5.5' framing does not carry much weight and the same structure should transfer to other models.conf: medium
- implicitMaking outputs, evidence and progress explicit and checkable is sufficient to make long runs finish; completion failures are mostly specification and state-keeping failures, not model-capability failures.conf: medium
- implicitA same-family subagent given read and search tools can verify factual claims against opened primary sources well enough that the human only needs to spot-check several claim-to-source matches.conf: medium
- implicitThe agent will faithfully read and update the progress note and follow CLAUDE.md and skill steps when instructed, so the handoff works on an honor system unless a hook or check enforces it.conf: medium
Arguments
- A harness coordinates instructions, tools, permissions, state and checks around the model.
- Each layer gives an observable output (a saved file, a table, a progress note).
- A fresh session can resume from the recorded next action.
- Long-run failure is mainly due to missing state, unclear completion criteria and unchecked outputs, rather than to model limits such as context decay or fatigue.
- Instruction-following on CLAUDE.md, skills and the progress note is reliable enough over many turns.
- The document-drafting example is representative of the long tasks the reader will run (including coding).
- The same skeleton (fixed outputs, reviewer, completion format, progress note) should transfer to coding and research tasks with only the skill and reviewer swapped.
- A subagent has its own context and configurable tools.
- Each finding connects a claim to an opened source, and unresolved verdicts name the missing evidence.
- Anthropic's evaluation guidance separates the transcript from the outcome left in the environment.
- A reviewer from the same model family is independent enough from the drafter's errors.
- Opened primary sources are themselves reliable and are what the reviewer actually reads.
- The human will do the spot-checks the post recommends.
- The unresolved verdict is more valuable than a confident pass: it converts silent uncertainty into a visible work item.
- Checking the saved artifact, not the transcript, is the rule that keeps review honest.
- The 60% figure belongs to a model experiment.
- Savings depend on the harness, task and acceptance criteria.
- Usage must include delegated review and retries.
- Vendor early-tester numbers are measured under conditions unlike the reader's.
- The reader will actually run controlled one-change-at-a-time comparisons.
- By the same logic the post's own recommended setup is also unmeasured, so the reader should treat it as a hypothesis to test.
Narratives
- A running example: drafting an article from sources/ with a write-draft skill, an evidence-reviewer subagent, drafts/article.md plus drafts/checks.md, and published/ locked by deny rules.
→ Shows each layer producing an observable artifact; supports the claim that the setup is concrete and reusable with a new topic. - Release dates keep getting confused, so add a skill check separating announcement date from the date a feature became available.
→ Illustrates 'edit the skill when a recurring correction reveals a missing step': failure history becomes procedure. - An external write times out, the first attempt may already have completed, so inspect the destination before retrying.
→ Supports the claim that action rules and recovery steps belong to the execution layer, not to prompting. - A fresh session pasted with a 'read progress.md and continue' prompt either identifies the saved work and continues or starts over, in which case the note is amended.
→ A thought-experiment test of the handoff; frames recovery as a verifiable property.
Questions addressed
- ✅ How do you configure Claude Code so that a long Opus 5.5 run produces inspectable results and can be resumed after a break?
Seven layers plus a progress note: stable CLAUDE.md, a skill, scoped MCP access, deny rules and hooks, a reviewer subagent, per-job effort, and a /goal with explicit completion evidence. - ✅ How should you judge whether this setup is worth its cost?
Measure accepted work on your own tasks (usage including retries, review time, corrections), change one component at a time, and do not borrow vendor figures. - ⭕ Does the setup actually raise the rate at which long runs finish, relative to no setup?
Not addressed; the post asserts the outcome in its title and offers no completion data or baseline. - ⭕ How do you stop an unfinished run from consuming the budget (the teaser's framing)?
Only partially: a model-evaluated 12-turn clause and after-the-fact /usage checks; the post says strict spending limits need execution controls and does not provide them.
Gaps
- incompleteNo measured evidence that the setup makes long runs finish: no completion rates, run counts, durations, token or cost figures, or baseline comparison with an unconfigured run, and no real run transcript. 'Finish' is never defined beyond the example's file-existence condition. The title's promise rests on mechanism plausibility alone, and the author's own advice to measure applies to the post itself.
Read next: Controlled harness ablations on long-running coding tasks (e.g. component-removal studies like Anthropic's harness-design work) and completion-rate evals; run your own A/B on one accepted task. - incompleteThe evidence-reviewer's reliability is assumed: it is a same-family model that selects and opens its own sources, so shared blind spots and source-selection bias are unaddressed, and the human 'spot-check several matches' step has no sampling rule or error-rate expectation.
Read next: Generator/evaluator separation and LLM-as-judge reliability studies, plus work on verification capacity as the human bottleneck. - incompleteThe worked example is a short document-drafting task capped at 12 turns, not a multi-hour or multi-session coding run. Context rot, compaction loss beyond the root CLAUDE.md re-read, and task decomposition across sessions are not treated, so the claim for 'long tasks' is not exercised by the example.
Read next: Anthropic's long-running harness guidance and the corpus extractions on context resets, handoff artifacts and multi-session coding agents. - incompleteBudget control is promised in the teaser ('stop unfinished runs from eating your budget') but not delivered: the only limit is a model-evaluated turn clause, spend inspection happens after the fact via /usage, and the post says strict limits require execution controls without showing a hook or setting that enforces one.
Read next: Hook-based or harness-level spend caps and token budgeting for agents; agent cost-attribution and prediction work. - incompleteNo guidance on pruning or revisiting the setup as models and tasks change: the layers accumulate rules, skills and reviewers, and nothing says when a layer has become unnecessary or counterproductive (the post only says to edit the skill when recurring corrections appear).
Read next: Work on instruction bloat and config decay, and the principle that harness components encode assumptions about model weaknesses and should be re-tested at each release.
Related documents
- Alex Wang's Post
- The Anatomy of an Agent Harness
- Anatomy of a perfect Openclaw setup
- Developer Newsletter: higher usage limits, dreaming for Claude Managed Agents, and Claude Security
- Audit your Agent files
- Charlie Hills 🦩's Post
- Claude Code: Best practices for agentic coding
- Externalization in LLM Agents: A Unified Review of Memory, Skills, Protocols and Harness Engineering
- How to Actually Prompt Fable 5, Straight From the Team That Built It
- Paweł Huryn's Post