agent-harness-construction

agent-harness-construction is a skill for Claude Code, Codex from frankxai/claude-skills-library. It costs 40 tokens per session (371 once invoked), scanned A, original, MIT.

A design guide for an agent's tools, observations, and recovery steps without introducing another component to coordinate the work.

In plain words
What is it for?
Use it when defining a tool, skill, hook, or worktree lane. A worktree lane is an isolated copy of a Git working directory for separate work.
Why use it?
It helps keep an agent's responsibilities and failure handling clear when adding or changing one of its working parts.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it when defining a tool, skill, hook, or worktree lane. A worktree lane is an isolated copy of a Git working directory for separate work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frankxai/claude-skills-library/agent-harness-construction
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add frankxai/claude-skills-library --skill agent-harness-construction
Clone the repo
git clone --depth 1 https://github.com/frankxai/claude-skills-library

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-harness-construction

README.md
[![agentmods](https://agentmods.dev/badge/skills/frankxai/claude-skills-library/agent-harness-construction/github.svg)](https://agentmods.dev/skills/frankxai/claude-skills-library/agent-harness-construction)
Your own site
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/agent-harness-construction"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/agent-harness-construction/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-harness-construction

Your own site · 80×15
<a href="https://agentmods.dev/skills/frankxai/claude-skills-library/agent-harness-construction"><img src="https://agentmods.dev/badge/skills/frankxai/claude-skills-library/agent-harness-construction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00371
Opus 5.5 $0.00016 $0.00148
Sonnet 5.5 $0.00008 $0.00074
Haiku 4.5 $0.00004 $0.00037

Measured 5d ago against content hash 24140b8b1a29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-harness-construction scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

absorbed/harness/agent-harness-construction/SKILL.md · 34 lines

What it actually says

Build the harness, keep one chair

An agent is a model plus the harness around it. The harness this estate already runs is the guide, the skills, the MCP servers, starlight-memory, the loops, the evals, the permissions, and the receipts. Add a piece only when one of those is missing.

Lane

  • One writer per worktree. Branch agent/<harness>/<scope> from origin/main.
  • Reviewers stay read-only unless they have their own worktree.
  • Do not install Oh My OpenAgent, Ruflo, Oh My ClaudeCode, OpenClaw, Paperclip, Orchestrator.inc, or the ECC full profile as a coordinator.

Tools

  • Names stay stable. Inputs stay narrow.
  • A result names status, a one-line summary, the next action, and the file or id produced.
  • An error names a likely cause, one safe retry, and the condition that means stop.

Context

  • The default prompt stays small. Long procedures live in skills that load when asked.
  • Point at a file instead of pasting it.
  • Compact after the plan is on disk, not in the middle of an edit.

Where this came from

The action-space checklist follows affaan-m/ECC skills/agent-harness-construction at 4eb71d92a39cab44ad40ac9d8a6a5ccb4029d6c2 (MIT). The one-chair list and the worktree lane are estate law.

Built on SIP.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 34 lines · 40 tokens per session scan A 24140b8b1a29

Subscribe to this mod's changes

agent-harness-construction is a skill published in the GitHub repository frankxai/claude-skills-library (47 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 371 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-11.