Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

trinity-harness三位一体安全带

Agent Skill

trinity-harness 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,685

周安装

113

GitHub Stars

公开资料未说明

下载量

940
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install trinity-harness

简介

用于查找、检索和筛选相关信息,支持基于关键词或场景定位候选结果。

  • 适合在 OpenClaw 中需要快速获取线索或进行信息聚合时使用。
  • 通过 clawhub 安装,结合原始 README 可进一步了解具体用法和交互方式。
  • 安装前需确认权限范围、维护状态,注意是否涉及联网或数据访问操作。
  • trinity-harness 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
agent-harness
description
Production-grade Agent Harness combining execution discipline (Superpower), knowledge compounding (CE), and product thinking (Gstack) into a single adaptive workflow. Use when: (1) building features or fixing bugs with AI agents, (2) user says 'build', 'plan', 'spec', 'review', 'ship', 'debug', (3) managing multi-step development tasks, (4) need structured engineering workflow with quality gates. Provides: task complexity auto-grading (simple/medium/complex), anti-rationalization guards, concurrent subagent scheduling, verification protocols, experience compounding, and product-level requirement validation.

Agent Harness

A unified engineering harness that combines execution discipline, knowledge compounding, and product thinking. Born from 45万字 of real-world AI textbook writing + 9 production incidents.

Core Philosophy

Agent = Model + Harness. The model provides capability; the harness provides discipline.

Three layers, one workflow:

  1. Challenge — Is this the right thing to build? (from Gstack)
  2. Execute — Build it with engineering rigor (from Superpower)
  3. Compound — Learn from what happened (from CE)

Task Complexity Auto-Grading

Before starting any task, assess complexity. This determines which workflow steps to run.

🟢 Simple (bug fix, config change, small tweak)

  • Skip spec/plan → Direct edit → Verify → Done
  • Example: "fix the typo in line 42", "update the API endpoint"

🟡 Medium (new feature, module, integration)

  • Plan → Build incrementally → Test → Review → Done
  • Example: "add user authentication", "integrate payment API"

🔴 Complex (architecture change, multi-module, new system)

  • Full pipeline: Challenge → Spec → Plan → Build → Test → Review → Ship
  • Example: "redesign the database schema", "build a multi-agent orchestrator"

When unsure, start at 🟡. Upgrade to 🔴 if you discover hidden complexity. Never downgrade mid-task.

Layer 1: Challenge (🔴 Complex tasks only)

Before writing any code, answer these questions. If any answer is "no" or uncertain, pause and discuss with the user.

  1. Problem validity — Is the user solving a real problem or building a solution looking for a problem?
  2. Simplest approach — Is there a simpler way that doesn't require building this?
  3. Scope clarity — Can you explain what "done" looks like in one sentence?
  4. Risk assessment — What's the worst thing that happens if this goes wrong?

Output: A one-paragraph problem statement that the user confirms before proceeding.

Layer 2: Execute

Spec (🟡🔴 only)

Define what you're building before you build it:

  • Goal: One sentence describing the outcome
  • Interface: Inputs, outputs, API contracts
  • Constraints: What you will NOT do (equally important as what you will do)
  • Acceptance criteria: How to verify it works (must be testable)

Plan (🟡🔴 only)

Break the spec into atomic tasks:

  • Each task modifies ≤3 files
  • Each task has a clear verification step
  • Tasks are ordered by dependency (independent tasks can parallelize)
  • Estimate: simple tasks ~5min, medium ~15min, complex ~30min

Build

Execute tasks incrementally. After each task:

  1. Verify the task works (run it, test it, check the output)
  2. Commit or checkpoint the progress
  3. Only then move to the next task

Critical rules:

  • Never modify code you haven't read first
  • Don't add features beyond what was asked
  • Don't refactor "while you're at it"
  • If tests fail, report honestly — don't claim success

Verify

Every deliverable must have evidence, not just "looks good":

Deliverable typeRequired evidence
Code changeTests pass (show output)
Config changeRestart + verify (show status)
File generationwc -l + grep key content
API integrationShow actual response
DocumentationSpot-check 3 claims for accuracy

Review (🟡🔴 only)

Self-review from 5 dimensions:

  1. Correctness — Does it do what was asked?
  2. Edge cases — What happens with empty input, huge input, concurrent access?
  3. Security — Any injection points, leaked secrets, missing auth?
  4. Performance — Will it work at 10x scale?
  5. Maintainability — Will someone understand this code in 6 months?

Ship (🔴 only)

Pre-ship checklist:

  • [ ] All tests pass
  • [ ] Rollback plan exists (can you undo this in <5 min?)
  • [ ] Feature flag or gradual rollout if risky
  • [ ] Monitoring/alerting covers the new code path

Layer 3: Compound

After completing any task (regardless of complexity), spend 30 seconds on:

  1. What broke? — Any errors, retries, unexpected behavior? → Record the specific lesson
  2. What was slow? — Any step that took longer than expected? → Note the bottleneck
  3. What would you do differently? — With hindsight, was there a better approach?

Only record specific, actionable lessons. Not generic advice like "be more careful".

Good: "Bedrock throttles at >2 concurrent requests to the same model. Use model rotation or serial execution." Bad: "Remember to handle API limits properly."

Anti-Rationalization Table

When you catch yourself thinking any of these, stop and follow the rebuttal:

Your excuseWhy it's wrongDo this instead
"Too simple to need tests"40% of P0 incidents come from "too simple" codeWrite the test. It takes 2 minutes.
"I already checked, looks fine"Reading ≠ verifyingRun it. ls, wc -l, grep, actual execution.
"I'll write tests after the feature is complete"You won't. Test debt only grows.Write the test NOW, before moving on.
"This old code looks unused, I'll delete it"Chesterton's Fence: understand before removinggit blame first. Ask why it exists.
"It should work""Should" is not evidenceProvide logs, output, or data.
"Let me refactor this while I'm here"Scope creep. You weren't asked to refactor.Do only what was requested. File a separate TODO for the refactor.
"I'll handle errors later"Error handling IS the feature in productionHandle errors now. Happy path without error handling is a prototype.
"The context is too long, I'll summarize and skip details"Skipping details = skipping correctnessCheckpoint to file, compact context, continue with full fidelity.

Concurrent Subagent Scheduling

When delegating to subagents:

Concurrency limits:

  • ≤2 subagents parallel to same API endpoint
  • >2? Serialize or distribute across regions/models
  • 4+ parallel = 75% failure rate (tested). Don't do it.

Task delegation rules:

  • Task instructions must be self-contained (don't say "go read file X")
  • Include content directly in the instruction, not file references
  • Each subagent writes to its own independent file
  • Subagents never communicate directly — everything goes through coordinator

Failure handling:

  • Don't blindly retry. First classify: Design failure? Alignment failure? Verification failure?
  • Check sessions_history for the actual error, don't guess
  • See references/mast-failure-taxonomy.md for the full classification framework

Verification Protocol

For important deliverables, use an independent verifier:

  1. Verifier does NOT read the original requirements
  2. Verifier only reads the output/deliverable
  3. Verifier independently assesses: Is this correct? Complete? Well-formed?
  4. Core principle: "The implementer is an LLM. Verify independently. Reading is not verification. Run it."

Checkpoint Protocol

Protect progress against crashes:

  1. Write to file after each step — Don't accumulate results in memory
  2. Design tasks as idempotent — Re-running a step produces the same result
  3. Only retry the failed step — Don't restart from scratch
  4. Progress must be observablels shows what's done, not model memory

See references/checkpoint-patterns.md for detailed patterns.

Quick Reference

🟢 Simple:  Edit → Verify → Done
🟡 Medium:  Plan → Build → Test → Review → Done
🔴 Complex: Challenge → Spec → Plan → Build → Test → Review → Ship → Compound

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

82.9%
按下载量换算779

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills