agent-harness-construction▌
affaan-m/everything-claude-code · updated Apr 8, 2026
$23
Agent Harness Construction
Use this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.
Core Model
Agent output quality is constrained by:
- Action space quality
- Observation quality
- Recovery quality
- Context budget quality
Action Space Design
- Use stable, explicit tool names.
- Keep inputs schema-first and narrow.
- Return deterministic output shapes.
- Avoid catch-all tools unless isolation is impossible.
Granularity Rules
- Use micro-tools for high-risk operations (deploy, migration, permissions).
- Use medium tools for common edit/read/search loops.
- Use macro-tools only when round-trip overhead is the dominant cost.
Observation Design
Every tool response should include:
status: success|warning|errorsummary: one-line resultnext_actions: actionable follow-upsartifacts: file paths / IDs
Error Recovery Contract
For every error path, include:
- root cause hint
- safe retry instruction
- explicit stop condition
Context Budgeting
- Keep system prompt minimal and invariant.
- Move large guidance into skills loaded on demand.
- Prefer references to files over inlining long documents.
- Compact at phase boundaries, not arbitrary token thresholds.
Architecture Pattern Guidance
- ReAct: best for exploratory tasks with uncertain path.
- Function-calling: best for structured deterministic flows.
- Hybrid (recommended): ReAct planning + typed tool execution.
Benchmarking
Track:
- completion rate
- retries per task
- pass@1 and pass@3
- cost per successful task
Anti-Patterns
- Too many tools with overlapping semantics.
- Opaque tool output with no recovery hints.
- Error-only output without next steps.
- Context overloading with irrelevant references.
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★65 reviews- ★★★★★Ganesh Mohane· Dec 28, 2024
Keeps context tight: agent-harness-construction is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Yusuf Kim· Dec 28, 2024
Keeps context tight: agent-harness-construction is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Michael Johnson· Dec 28, 2024
agent-harness-construction reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Zara Desai· Dec 16, 2024
Registry listing for agent-harness-construction matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Fatima Taylor· Nov 19, 2024
Registry listing for agent-harness-construction matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Emma Garcia· Nov 19, 2024
agent-harness-construction is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Neel Abebe· Nov 7, 2024
Useful defaults in agent-harness-construction — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Ishan Ghosh· Nov 7, 2024
Keeps context tight: agent-harness-construction is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Ira Yang· Oct 26, 2024
I recommend agent-harness-construction for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Neel Okafor· Oct 26, 2024
agent-harness-construction is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 65