← Back to Skills Marketplace
2072932870wh-ui

Agent Harness Construction

by 2072932870wh-ui · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
56
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install agent-harness-construction
Description
Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates.
README (SKILL.md)

\r \r

Agent Harness Construction\r

\r Use this skill when you are improving how an agent plans, calls tools, recovers from errors, and converges on completion.\r \r

Core Model\r

\r Agent output quality is constrained by:\r

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

Action Space Design\r

\r

  1. Use stable, explicit tool names.\r
  2. Keep inputs schema-first and narrow.\r
  3. Return deterministic output shapes.\r
  4. Avoid catch-all tools unless isolation is impossible.\r \r

Granularity Rules\r

\r

  • Use micro-tools for high-risk operations (deploy, migration, permissions).\r
  • Use medium tools for common edit/read/search loops.\r
  • Use macro-tools only when round-trip overhead is the dominant cost.\r \r

Observation Design\r

\r Every tool response should include:\r

  • status: success|warning|error\r
  • summary: one-line result\r
  • next_actions: actionable follow-ups\r
  • artifacts: file paths / IDs\r \r

Error Recovery Contract\r

\r For every error path, include:\r

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

Context Budgeting\r

\r

  1. Keep system prompt minimal and invariant.\r
  2. Move large guidance into skills loaded on demand.\r
  3. Prefer references to files over inlining long documents.\r
  4. Compact at phase boundaries, not arbitrary token thresholds.\r \r

Architecture Pattern Guidance\r

\r

  • ReAct: best for exploratory tasks with uncertain path.\r
  • Function-calling: best for structured deterministic flows.\r
  • Hybrid (recommended): ReAct planning + typed tool execution.\r \r

Benchmarking\r

\r Track:\r

  • completion rate\r
  • retries per task\r
  • pass@1 and pass@3\r
  • cost per successful task\r \r

Anti-Patterns\r

\r

  • Too many tools with overlapping semantics.\r
  • Opaque tool output with no recovery hints.\r
  • Error-only output without next steps.\r
  • Context overloading with irrelevant references.\r
Usage Guidance
This skill is a coherent, read-only set of best practices for designing agent harnesses and does not itself access secrets or install code. Before using it in production, (1) review and vet any skills or files the agent will be instructed to load or reference (the guide encourages referencing files/on-demand skills), (2) enforce least privilege for any micro-tools you implement (especially for deploy/migration/permissions), and (3) monitor agent tool invocations and artifact paths to ensure sensitive data isn't exposed or written where it shouldn't be.
Capability Analysis
Type: OpenClaw Skill Name: agent-harness-construction Version: 1.0.0 The skill bundle contains only high-level architectural guidance and best practices for designing AI agent toolsets, observation formats, and error recovery strategies. There is no executable code, shell commands, or instructions that could be interpreted as malicious or suspicious in SKILL.md or _meta.json.
Capability Assessment
Purpose & Capability
The name and description (designing agent action spaces, tool definitions, observation formatting) match the SKILL.md content. There are no unrelated requirements (no env vars, binaries, or install steps) that would be inconsistent with the stated purpose.
Instruction Scope
The instructions are high-level design guidance for building agent harnesses and do not instruct the agent to read specific system files, call external endpoints, or collect credentials. A mild caveat: the doc recommends 'prefer references to files over inlining long documents' and suggests loading skills on demand — these are reasonable design options but imply the agent may be directed to reference files or load other skills at runtime, so reviewers should ensure any referenced files/skills are vetted in their environment.
Install Mechanism
No install spec and no code files are present (instruction-only). Nothing will be written to disk or downloaded by the skill itself, which minimizes install-related risk.
Credentials
The skill declares no environment variables, credentials, or config paths. The guidance does not request secrets or cross-service credentials, so there is no disproportionate access requested.
Persistence & Privilege
always is false and model invocation is allowed (default). The skill does not request permanent presence or modify other skills or system settings. Autonomous invocation is normal for skills and does not raise additional concerns here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-harness-construction
  3. After installation, invoke the skill by name or use /agent-harness-construction
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of agent-harness-construction. - Provides a comprehensive guide for designing and optimizing AI agent action spaces and tool usage. - Introduces standardized observation formats and error recovery contracts. - Offers practical granularity rules for tool design and clear anti-patterns to avoid. - Includes benchmarking recommendations to measure agent output quality and completion rates. - Suggests architecture patterns for effective agent planning and execution.
Metadata
Slug agent-harness-construction
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Agent Harness Construction?

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. It is an AI Agent Skill for Claude Code / OpenClaw, with 56 downloads so far.

How do I install Agent Harness Construction?

Run "/install agent-harness-construction" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Harness Construction free?

Yes, Agent Harness Construction is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agent Harness Construction support?

Agent Harness Construction is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Harness Construction?

It is built and maintained by 2072932870wh-ui (@2072932870wh-ui); the current version is v1.0.0.

💬 Comments