agent-harness-construction

affaan-m/everything-claude-code · updated Apr 8, 2026

$npx skills add https://github.com/affaan-m/everything-claude-code --skill agent-harness-construction
0 commentsdiscussion
summary

$23

skill.md

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:

  1. Action space quality
  2. Observation quality
  3. Recovery quality
  4. Context budget quality

Action Space Design

  1. Use stable, explicit tool names.
  2. Keep inputs schema-first and narrow.
  3. Return deterministic output shapes.
  4. 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|error
  • summary: one-line result
  • next_actions: actionable follow-ups
  • artifacts: file paths / IDs

Error Recovery Contract

For every error path, include:

  • root cause hint
  • safe retry instruction
  • explicit stop condition

Context Budgeting

  1. Keep system prompt minimal and invariant.
  2. Move large guidance into skills loaded on demand.
  3. Prefer references to files over inlining long documents.
  4. 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.
general reviews

Ratings

4.665 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

1 / 7