agent-harness-construction

Design agent action spaces and tool definitions for reliable task completion.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/richardnpaul/everything-vscode-copilot --skill agent-harness-construction-richardnpaul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-harness-construction
Source: https://github.com/richardnpaul/everything-vscode-copilot/tree/main/.github/skills/agent-harness-construction
Command: npx skills add https://github.com/richardnpaul/everything-vscode-copilot --skill agent-harness-construction-richardnpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Design robust agent action spaces and tool definitions to improve completion reliability. This skill guides how agents plan, call tools, recover from errors, and converge on successful outcomes. It provides a structured approach to organize tool interactions and observations for repeatable success across diverse tasks.

Core Features & Use Cases

  • Action Space Design: Define explicit, stable tool names and narrow input schemas to reduce ambiguity.
  • Observation Design & Recovery: Standardize tool responses with status, summary, next_actions, and artifacts; specify error recovery contracts.
  • Context Budgeting & Architecture: Manage system prompts, modular guidance, and planning architectures (ReAct, function-calling, hybrid) for deterministic results.
  • Benchmarking & Anti-Patterns: Track completion rates, retries, and cost while avoiding tool overlap and unsafe outputs.

Quick Start

Provide an agent task and I will design its action space, tool definitions, and observation formatting to maximize completion rate.

Frequently Asked Questions about agent-harness-construction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design agent action spaces to improve completion reliability?

Agent action spaces improve completion reliability by defining explicit, stable tool names and narrow input schemas to reduce ambiguity. Structured observation design standardizes tool responses with status, summary, next_actions, and artifacts for repeatable success.

What is the best way to handle agent error recovery in complex workflows?

Agent error recovery in complex workflows is handled by specifying explicit recovery contracts within tool definitions. Standardizing observations ensures agents receive structured status and next_actions hints, enabling deterministic convergence on successful outcomes after tool invocation failures.

How does context budgeting work for planning architectures like ReAct?

Context budgeting for ReAct and function-calling architectures manages system prompts and modular guidance to enforce deterministic results. It organizes tool interactions and observations, preventing context overflow while maintaining repeatable planning success across diverse tasks.

Why does my agent workflow fail to converge despite providing clear tool definitions?

Agent workflows fail to converge when tool definitions overlap or lack explicit recovery hints. Benchmarking completion rates, retries, and cost helps identify these anti-patterns, ensuring action spaces and observation formatting drive reliable task completion.

Can I use modular context budgeting with hybrid planning architectures?

Modular context budgeting supports hybrid planning architectures by managing system prompts and tool interactions to enforce deterministic outputs. It applies structured context allocation across ReAct and function-calling workflows, maximizing completion rates for complex agent tasks.