This skill explains how to shape an agent’s action space, tool granularity, observations, error recovery, and context budget. It recommends ReAct, function-calling, or hybrid architectures and outlines benchmarking and completion checks. It also demonstrates an ECC work-item verification flow using Node.js commands.
79%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./skills/agent-harness-construction/SKILL.mdUse this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.
Agent output quality is constrained by:
Every tool response should include:
status: success|warning|errorsummary: one-line resultnext_actions: actionable follow-upsartifacts: file paths / IDsFor every error path, include:
Track:
Define a narrow completion check before the worker starts. Keep queue selection, session hosting, action selection, and result validation separate so different tools and models can share the same contract.
ECC's opt-in verified work-item flow
registers a deterministic artifact check and records failed and successful
attempts. Start with the harness-adapter-documentation/v1 validator for adapter
matrix documentation. Repair the artifact after a failed check, then verify it
again. A manual done status is not evidence that a validator passed.
From an ECC checkout, set ECC_SESSION_ID to an existing session ID in the same
state database, then use a new work-item ID:
node scripts/work-items.js upsert adapter-docs --title 'Check adapter matrix' \
--repo-root "$PWD" --verify harness-adapter-documentation/v1 \
--artifact docs/architecture/harness-adapter-compliance.md
node scripts/work-items.js claim adapter-docs --owner docs-worker --as agent --session-id "$ECC_SESSION_ID"
node scripts/work-items.js verify adapter-docs --jsonCompact models can eventually choose or repair tool calls through these same interfaces; the current flow does not train models or automate those repairs.
affaan-m/ECC
4adeee6
nodenode scripts/work-items.jsnode scripts/work-items.js upsertnode scripts/work-items.js claimnode scripts/work-items.js verifyAlso appears in
last in sync Jul 13, 2026
last in sync Jul 13, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.