Make Opus 5.5 Finish Long Tasks: A Reusable Harness Engineering Setup

beamnxw ./ · tweet · 2026-10-06 source ↗ Reader 🖥️

Agent HarnessAgent MemoryAgent SkillsClaude CodeAgent Context Files (CLAUDE.md / AGENTS.md)Context EngineeringGuardrailsLong-Running & Managed AgentsVendor Self-Reported MetricsVerifiability (as the Quality Bar)
A long Claude Code run on Opus 5.5 is best set up by defining before the run what it must leave behind (an openable result, inspectable evidence, and a saved progress note) and wiring seven documented Claude Code layers (stable CLAUDE.md facts, a reusable skill, scoped source access, tool-boundary permission rules, an evidence-returning reviewer subagent, per-job effort, and a /goal completion condition) so that the same procedure can be reused on the next task and judged on measurements of accepted work, not on borrowed vendor numbers.

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

PartRole
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

Propositions

Arguments

Defining deliverables, evidence and a progress record before starting makes a long Claude Code run likely to finish and be reusable.
Explicit premises:
Implicit premises:
Inferences:
A dedicated evidence-reviewer subagent that returns a claim/verdict/source table is a sound way to verify draft outputs.
Explicit premises:
Implicit premises:
Inferences:
Do not expect the 60% token saving from Anthropic's report to apply to your harness; measure your own on accepted work. strength: high
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Related documents