Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

harness-engineer线束工程师

Agent Skill

harness-engineer 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,512

周安装

617

GitHub Stars

4

下载量

5,084
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:harness-engineer(线束工程师)
来源仓库:https://github.com/louis-szeto/harness-engineer
安装命令:
openclaw skills install harness-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install harness-engineer

简介

用于记录任务执行中的错误与经验,推动 Agent 持续改进能力边界。

  • 适合在 OpenClaw 中希望让代理沉淀问题、修正逻辑或积累最佳实践时使用。
  • 将存储库转换为自我优化的软件系统,支持长期自主演进。
  • 安装前需确认写入权限,防止因权限不足导致日志丢失或中断。
  • 建议定期审查日志内容,避免无效信息堆积影响后续决策。

SKILL.md

name
harness-engineer
description
>
metadata
platform_enforcement
required
platform_note
>
enforcing
MCP tool router (blocked sensitive reads, protected writes, output
required_platform_capabilities
safe_defaults

HARNESS ENGINEER

A production-grade skill for Claude Code and OpenClaw that transforms a repository into a self-improving software system using six core harness engineering principles.


SIX CORE PRINCIPLES

P1: CONTEXT ENGINEERING

Treat context as a finite, precious resource. Curate aggressively. See: runtime/context-engineering.md, runtime/compaction.md

P2: TOOL USAGE

Each sub-agent receives only the tools it needs -- no more. See: tools/TOOL_REGISTRY.md, references/mcp-tools.md

P3: VERIFICATION MECHANISM

Every output is verified by someone other than who produced it. See: agents/reviewer.md, references/testing-standards.md

P4: STATUS MANAGEMENT

State lives outside the context window, in the repo. See: runtime/status-management.md, templates/handoff.md

P5: OBSERVABILITY AND FEEDBACK CLOSED-LOOP

Track what happens. Feed failures back into the harness, not the code. See: runtime/observability.md, runtime/memory-system.md

P6: HUMAN SUPERVISION

Humans approve high-impact events. The harness surfaces them explicitly. See: runtime/autonomy-rules.md, runtime/prioritization.md


NON-NEGOTIABLE RULES

  1. CLAUDE.md / AGENTS.md IS GROUND TRUTH -- read it first, every session.
  2. CODEBASE OVER DOCS -- when they conflict, trust the code.
  3. 40% CONTEXT RULE -- compact or sub-agent before crossing 40% of context window.
  4. NO IMPLEMENTATION WITHOUT a research output, a plan, and validation criteria.
  5. GENERATION AND REVIEW ARE ALWAYS SEPARATE -- never the same agent.
  6. FAILURE = HARNESS GAP -- fix the harness, not just the symptom.
  7. OPTIMIZATION PRIORITY: Security => Correctness => Reliability => Performance =>

Memory => Maintainability => Cost

  1. MINIMAL SCOPE PER SUBAGENT — Estimate codebase size first (use platform file-count or line-count capability — never raw shell). If >5K lines, split into multiple subagents by module/feature/layer. Pin exact files to read (no wandering). One research doc + one code area per subagent max. If a subagent gets killed or times out, the scope was too large — split further.

Adaptive timeouts: Default timeouts are guidelines, not hard kills. Check process logs before killing — if the agent is actively producing output, extend the timeout instead of killing. Only kill-and-split if the agent is silent/stuck for >10min or producing garbage. Scale timeouts by effort: S-effort=15min, M-effort=20min, L-effort=30-40min.

  1. SUBAGENT PERMISSION MODE — Subagents are spawned by the platform using its native agent mechanism. The permission mode is set by the platform, NOT by this skill. The skill MUST NOT mandate any specific spawn command or permission mode — that decision belongs to the platform's enforcement layer (see PLATFORM_REQUIREMENTS.md Section 8). If the platform's default permission mode is insufficient, the platform operator configures it — the skill never overrides it.
  2. ACTIVE MONITORING — Every time you launch a new batch of subagents, track session IDs, expected output files, and remaining queue. If the platform provides a cron/scheduler, use it to detect dead agents. If no scheduler is available, check agent status before each dispatch step. Dead agents stall the pipeline — detect them early.
  3. MAX PARALLEL = 5 — Up to 5 Claude Code agents running simultaneously. If rate/API limit errors encountered, drop to 4, then 3, etc until no errors. Resume increasing after 5 clean minutes.
  4. TOKEN EXHAUSTION RECOVERY: If ALL active agents hit rate/API limits (429/500), tokens are exhausted. Wait for token refresh before retrying. If the platform provides a scheduler, set a recovery job to resume after refresh. If no scheduler is available, the human operator must manually restart the cycle.
  5. 10-MIN STUCK KILL — If any agent produces no output for >10 minutes, log the issue, kill it, and split the task into smaller subtasks before respawning. MUST ALWAYS set a cron job when a subagent is given a command that will run for a while, to periodically check on its progress.
  6. TRACKING EVERYWHERE — Every phase, cycle, and step writes to tracking logs. DISPATCH-TRACK, error log, compact summaries, progress logs. Recovery must be able to pick up from any interruption point.

SAFE START GUIDE

Before anything else: read PLATFORM_REQUIREMENTS.md and verify every item. The harness depends on platform enforcement that cannot be checked from these files alone.

Step 1 -- Verify platform requirements (PLATFORM_REQUIREMENTS.md) Run through the five platform capability checks before any other step.

Step 2 -- Sandbox first Run on a throwaway branch. Observe one single-pass cycle before enabling continuous mode.

Step 2 -- Review CONFIG.yaml before every run | loop_mode | single-pass | Change after sandbox validation | | max_parallel_agents | 3 | Increase after confirming behavior | | block_destructive... | true | Never change |

PRs always require human approval. There is no auto-merge.

Step 3 -- Protect main branch Require human reviewers on main/trunk in your git host.

Step 4 -- Graduation path: single-pass => maintenance => continuous


HOW TO USE THIS SKILL

When activated in Claude Code or OpenClaw, read in this order:

  1. CLAUDE.md or AGENTS.md if present (base context)
  2. CONFIG.yaml (runtime settings)
  3. runtime/loop.md (execution model)
  4. runtime/context-engineering.md (context budget rules)
  5. runtime/status-management.md (restore checkpoint if resuming)
  6. MEMORY.md (prior failure context)
  7. agents/dispatcher.md (task decomposition model, worktree agent)
  8. Begin the loop

REFERENCE FILES

FileWhen to read
CLAUDE.md / AGENTS.mdFirst, every session -- base knowledge
CONFIG.yamlAt startup
MEMORY.mdAt startup and after every failure
runtime/loop.mdEach loop cycle
runtime/context-engineering.mdContinuously -- governs context budget
runtime/compaction.mdWhen compacting context within a phase
runtime/status-management.mdAt startup (resume) and after each task
runtime/observability.mdAfter VERIFY phase
runtime/memory-system.mdWhen writing or querying memory
runtime/self-improvement.mdAfter any failure
runtime/prioritization.mdWhen selecting the next task
runtime/autonomy-rules.mdWhen blocked or at human gate
agents/dispatcher.mdBefore decomposing any task (worktree agent)
agents/researcher.mdResearch phase (Q-Agent + R-Agent model)
agents/planner.mdPlan phase (3-phase: design, outline, master plan)
agents/implementer.mdImplement phase (worktree-driven execution)
agents/reviewer.mdReview cycle
agents/debugger.mdOn any failure
agents/optimizer.mdOptimization mode
agents/garbage-collector.mdGC interval
tools/TOOL_REGISTRY.mdBefore any tool call
tools/tool-router.mdRouting and redaction rules
tools/execution-protocol.mdFull tool call lifecycle
references/harness-rules.mdCore constraints
references/testing-standards.mdBefore writing or running tests
references/security-performance.mdBefore any implementation
references/simplification-checklist.mdDuring review and refactoring
references/git-workflow.mdBefore any commit or PR
references/mcp-tools.mdMCP tool definitions and per-agent sets
references/sensitive-paths.mdForbidden read paths -- enforced in-skill
references/constraints.mdActive prevention rules
templates/Plans, ADRs, handoffs, status docs

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.29%
按下载量换算4,234

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills