Token导航 LogoToken导航

Agent Skill · 开发

harness-creator(马具创造者)

harness-creator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

harness-creator 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 11,312。

总安装 1,836周安装 75GitHub Stars 2,294下载 594核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:harness-creator(马具创造者)
来源仓库:https://github.com/walkinglabs/learn-harness-engineering
仓库路径:skills/harness-creator
安装命令:
npx skills add https://github.com/walkinglabs/learn-harness-engineering --skill harness-creator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/walkinglabs/learn-harness-engineering --skill harness-creator

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更进行整理。通过 GitHub 安装,需结合来源仓库和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。涉及敏感操作时,应先确认最小权限和操作边界。

来源仓库内路径:skills/harness-creator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/walkinglabs/learn-harness-engineering --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

harness-creator 怎么安装?

在终端执行 npx skills add https://github.com/walkinglabs/learn-harness-engineering --skill harness-cr…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

harness-creator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

harness-creator 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

harness-creator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

harness-creator 用的人多吗?

公开数据是累计安装 1,836 次,近一周安装 75 次,下载 594 次,GitHub 2,294 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

harness-creator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 2,294 星,维护活跃度相对可查。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
harness-creator

马具创造者 · 本页

1,8362,294只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Harness Creator

Production harness engineering for AI coding agents.

For: Engineers building or extending coding-agent runtimes, custom agents, multi-session workflows, or anyone who wants their agent to work reliably across sessions.

Not for: Prompt engineering, model selection, generic software architecture, or one-off agent tasks.

All principles are grounded in the Learn Harness Engineering framework and production agent runtime decisions.


Harness Creator(中文版)

面向 AI 编程代理的生产级 Harness 工程技能。

适用人群: 构建或扩展编程代理运行时、自定义代理、多会话工作流的工程师,或任何希望代理跨会话可靠工作的人。

不适用场景: 提示工程、模型选择、通用软件架构或一次性代理任务。

所有原则均基于 Learn Harness Engineering 框架和生产代理运行时决策。


Choose Your Problem

If you want to...Read
Make the agent remember corrections and project rules between sessionsMemory Persistence
Package reusable workflows and domain knowledgeSkill Runtime
Let the agent work powerfully but not dangerouslyTool Registry & Safety
Give the agent the right context at the right costContext Engineering
Split work across multiple agents without chaosMulti-agent Coordination
Extend behavior with hooks, background tasks, startup logicLifecycle & Bootstrap
Build the complete 5-subsystem harnessFive Subsystems Guide

Before you start building: Read the Gotchas — these are the non-obvious failure modes that cost the most time.


选择你要解决的问题

如果你想...阅读
让代理在会话之间记住修正和项目规则记忆持久化
打包可重复使用的工作流和领域知识技能运行时
让代理强大但安全地工作工具注册与安全
以合适的成本给代理合适的上下文上下文工程
在多个代理之间分配工作而不混乱多代理协调
使用 hooks、后台任务、启动逻辑扩展行为生命周期与引导
构建完整的 5 子系统 harness五子系统指南

开始构建之前: 阅读 陷阱 — 这些是最耗时的非明显失败模式。


The Five-Subsystem Harness Framework

Every harness consists of five subsystems:

  1. Instructions (Recipe Shelf): AGENTS.md, CLAUDE.md, docs/ hierarchy
  2. State (Prep Station): feature_list.json, progress.md, session-handoff.md
  3. Verification (Quality Check Window): Verification commands, test suites, type checks
  4. Scope (Task Boundaries): One-feature-at-a-time policies, definition of done
  5. Lifecycle (Session Management): init.sh, clean-state checklists, handoff procedures

When creating or improving a harness, systematically address each subsystem.


Creating a Harness

Phase 1: Context Gathering

Start by understanding the user's situation:

  1. What project is this for? (tech stack, size, complexity)
  2. What agent tool are they using? (Claude Code, Codex, Cursor, etc.)
  3. What exists already? (any AGENTS.md, progress tracking, verification?)
  4. What problems are they experiencing? (agent overreach, lost context, broken tests?)
  5. What's the team's tolerance for structure? (minimal vs. comprehensive)

If the user hasn't provided this context, ask before proceeding.

Phase 2: Harness Assessment (Existing Projects)

If the user has an existing harness, assess it using the five-tuple framework:

For each subsystem, score 1-5:

  • 5: Exemplary, documented, consistently followed
  • 4: Good, mostly complete, occasional gaps
  • 3: Adequate, covers basics, missing polish
  • 2: Weak, incomplete, inconsistently applied
  • 1: Missing or actively harmful

Identify the lowest-scoring subsystem — that's the bottleneck. Focus improvement efforts there first.

Phase 3: Design

Based on the assessment, design the harness components:

Instructions:

  • Create a short AGENTS.md (~50-100 lines) as the routing layer
  • Link to detailed docs in docs/ directory (ARCHITECTURE.md, PRODUCT.md, etc.)
  • Define startup workflow: what the agent reads before coding

State:

  • Create feature_list.json with feature definitions and status tracking
  • Create or update progress.md for session continuity
  • Design session-handoff.md template if needed

Verification:

  • List explicit verification commands in AGENTS.md
  • Ensure init.sh runs verification
  • Design quality score tracking if appropriate

Scope:

  • Define one-feature-at-a-time policy
  • Document feature dependencies
  • Create definition of done checklist

Lifecycle:

  • Create init.sh for initialization
  • Design clean-state checklist
  • Document session handoff procedure

Phase 4: Implementation

Create the harness files. Use bundled scripts where available:

# Use bundled scripts from scripts/ directory
# (See scripts/ section for available tools)

Phase 5: Testing and Benchmarking

Test the harness with real agent sessions:

  1. Baseline: Run a representative task without the harness
  2. With Harness: Run the same task with the harness
  3. Measure: Success rate, time, token usage, rework
  4. Compare: Quantify the improvement

For rigorous benchmarking, see the "Running Benchmarks" section below.


Harness File Templates

AGENTS.md Structure

A minimal AGENTS.md should include:

# AGENTS.md

[One-sentence project purpose]

## Startup Workflow

Before writing code:
1. [Step 1: e.g., Read this file]
2. [Step 2: e.g., Read ARCHITECTURE.md]
3. [Step 3: e.g., Run ./init.sh]
4. [Step 4: e.g., Read feature_list.json]

## Working Rules

- [Rule 1: e.g., One feature at a time]
- [Rule 2: e.g., Verification required before claiming done]
- [Rule 3: e.g., Update progress before ending session]

## Required Artifacts

- `feature_list.json`: Feature state tracker
- `progress.md`: Session continuity log
- `init.sh`: Standard startup and verification

## Definition of Done

A feature is done when:
- [ ] Implementation complete
- [ ] Verification passed
- [ ] Evidence recorded
- [ ] Repository restartable

## End of Session

Before ending:
1. Update progress.md
2. Update feature_list.json
3. Record blockers/risks
4. Commit with descriptive message
5. Leave clean restart path

feature_list.json Structure

{
  "features": [
    {
      "id": "feat-001",
      "name": "Document Import",
      "description": "Allow users to import PDF and TXT documents",
      "dependencies": [],
      "status": "done",
      "evidence": "tests pass, manual verification on 2024-01-15"
    },
    {
      "id": "feat-002",
      "name": "Document Chunking",
      "description": "Split documents into ~500 char chunks with metadata",
      "dependencies": ["feat-001"],
      "status": "in-progress",
      "evidence": ""
    }
  ]
}

init.sh Structure

#!/bin/bash
set -e

echo "=== Installing dependencies ==="
npm install

echo "=== Running type check ==="
npm run check

echo "=== Running tests ==="
npm test

echo "=== Building application ==="
npm run build

echo "=== Verification complete ==="

Running Benchmarks

To measure harness effectiveness:

Step 1: Define Representative Tasks

Pick 2-3 tasks that are:

  • Real work the user would actually do
  • Challenging enough to fail without proper harness
  • Verifiable (clear success criteria)

Step 2: Run Comparative Sessions

For each task:

  • Without Harness: Run the task on a clean repo copy
  • With Harness: Run the same task with the harness in place

Record:

  • Success/failure
  • Time taken
  • Token usage
  • Rework required
  • Session restarts needed

Step 3: Aggregate Results

Calculate:

  • Success rate improvement
  • Time efficiency change
  • Token efficiency change
  • Qualitative feedback

Step 4: Iterate

Use results to identify:

  • Which harness components add most value
  • Which components are over-engineered
  • Where to focus improvement efforts

Bundled Resources

References (Deep-Dive Patterns)

DocumentCovers
Memory PersistenceFour-level instruction hierarchy, auto-memory taxonomy, background extraction
Context EngineeringSelect / Compress / Isolate / Write operations, budget management
Tool RegistryFail-closed registration, per-call concurrency, permission pipeline
Multi-AgentCoordinator / Fork / Swarm patterns, context sharing
Lifecycle & BootstrapHook system, long-running tasks, dependency-ordered init
Gotchas15 non-obvious failure modes with fixes

Templates

  • templates/agents.md — AGENTS.md / CLAUDE.md skeleton
  • templates/feature-list.json — Feature state tracker
  • templates/init.sh — Standard initialization script
  • templates/progress.md — Session progress log
  • templates/session-handoff.md — Session handoff template

Scripts (Optional)

  • scripts/create-harness.ts — Generate harness files from templates
  • scripts/validate-harness.ts — Check harness completeness
  • scripts/run-benchmark.ts — Execute harness effectiveness comparison

Gotchas

Non-obvious principles that will cause bugs if you violate them:

  1. Memory index caps fire silently — Long entries invisible once cap hit. Keep hooks to one line.
  2. Priority ordering counterintuitive — Local beats project beats user beats org. Test full stack.
  3. Extraction timing creates race window — User can start next turn before background extraction completes.
  4. Derivable content doesn't belong in memory — Architecture and code patterns are in the repo already.
  5. Concurrent classification is per-call, not per-tool — Same tool safe for some inputs, unsafe for others.
  6. Permission evaluation has side effects — Tracks denials, transforms modes, updates state.
  7. Most async work skips "pending" state — Work units register directly as "running".
  8. Fork children must not fork — Recursive guard preserves single-level invariant.
  9. Context builders memoized but manually invalidated — Add invalidation or face staleness.
  10. Hook trust all-or-nothing — One untrusted hook disables entire extension system.
  11. Eviction requires notification — Terminal work unit only GC-eligible after parent notified.
  12. Skill listing budgets tight — Front-load distinctive trigger language, tails get cut.

Full guide: Gotchas — 15 failure modes with fixes.

陷阱(Gotchas)

违反这些非明显原则会导致 bug:

  1. 记忆索引上限静默触发 — 条目过长超上限后不可见。保持钩子单行。
  2. 优先级顺序反直觉 — 本地胜过项目胜过用户胜过组织。测试完整栈。
  3. 提取时序产生竞争窗口 — 用户可在后台提取完成前开始下一轮。
  4. 可推导内容不应存入记忆 — 架构和代码模式已在仓库中。
  5. 并发分类按调用而非按工具 — 同一工具对某些输入安全,对其他不安全。
  6. 权限评估有副作用 — 跟踪拒绝、转换模式、更新状态。
  7. 大多数异步工作跳过"pending"状态 — 工作单元直接注册为"运行中"。
  8. Fork 子节点不能 Fork — 递归防护保持单层不变量。
  9. 上下文构建器缓存但手动失效 — 添加失效或面对过时。
  10. Hook 信任全有或全无 — 一个不可信 hook 禁用整个扩展系统。
  11. 驱逐需要通知 — 终端工作单元仅在父节点通知后可 GC。
  12. Skill 列表预算紧张 — 前置独特触发语言,尾部被截断。

完整指南:陷阱 — 15 种失败模式及修复方法。


When to Use This Skill

Use this skill when:

  • User says "I need to set up AGENTS.md for my project"
  • User wants to improve their agent's reliability
  • User is experiencing agent failures, lost context, or broken work
  • User asks "how do I make my agent work better?"
  • User wants to benchmark harness effectiveness
  • User needs templates for harness files
  • User is following the Learn Harness Engineering course

Communication Style

  • Explain harness concepts in practical terms (kitchen analogy works well)
  • Focus on measurable outcomes, not theoretical perfection
  • Start minimal, add structure as needed
  • Show before/after comparisons to build confidence
  • Acknowledge tradeoffs (more structure = more reliability but more upfront work)

Getting Started

If the user is new to harness engineering:

  1. Start with assessment: Run the five-tuple assessment on their current setup
  2. Pick lowest-scoring subsystem: Focus improvement efforts there first
  3. Create minimal viable harness: AGENTS.md + init.sh + feature_list.json
  4. Test with real task: Measure before/after improvement

If the user is experienced:

  1. Ask what specific problem: Don't assume — let them describe the pain point
  2. Understand harness maturity: What exists already? What's working?
  3. Design targeted improvements: Use reference patterns for guidance
  4. Optionally run benchmarks: Quantify impact with before/after comparison

When NOT to Use This Skill

This skill is about the harness around an agent, not:

  • Prompt engineering or system prompt design
  • Model selection or fine-tuning
  • Generic software architecture (MVC, microservices)
  • Chat UIs or conversational interfaces
  • LLM API integration basics

If your question is about the model itself rather than the system around it, this skill does not apply.


Further Resources


Further Resources

平台分布

Codex

35.22%
按下载量换算209

Claude

32.68%
按下载量换算194

Cursor

18.33%
按下载量换算109

Gemini CLI

10.12%
按下载量换算60

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills