← 返回
未分类

Execution Harness

Agent 执行可靠性体系的导航入口。当用户询问 agent 为什么停了、怎么防 agent 提前退出、execution harness 是什么、40 个 pattern 有哪些、6 轴架构、hook 怎么配时匹配。不执行具体操作——各子 skill 分别处理。
Agent执行可靠性体系的导航入口。当用户询问agent为何停止、如何防止提前退出、execution harness是什么、40个pattern有哪些、6轴架构、hook如何配置等问题时匹配。不执行具体操作,由各子skill分别处理。
lanyasheng
未分类 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 393
下载
💾 0
安装
1
版本
#agent#harness#hooks#latest#reliability

概述

Execution Harness — 导航入口

40 patterns x 6 轴,让 Claude Code agent 把活干完。不是框架,不做模型调用——只管 hook 和脚本。

这个 skill 不执行操作。它帮你找到该用哪个子 skill。

你遇到什么问题?

问题用哪个 skill关键 pattern
--------------------------------
Agent 做了一半就停了execution-loop1.1 Ralph Stop Hook — 阻止提前退出,5 个安全阀
"应该可以"但没跑测试execution-loop1.2 Doubt Gate — 检测投机语言,要求验证
cargo build 重试 12 次tool-governance2.1 Tool Error Escalation — 3 次提示、5 次 block
rm -rf 毁了未提交代码tool-governance2.3 Checkpoint + Rollback — 自动 git stash
压缩后忘了设计决策context-memory3.1 Handoff Documents — 决策写磁盘
Context 快满了还在读大文件context-memory3.4 Token Budget — 80%+ 禁止直读
限速后 tmux 挂死error-recovery5.1 Rate Limit Recovery — cron 扫描恢复
5 个 agent 编辑同一文件multi-agent4.3 File Claim and Lock — 10min TTL 排他锁
提交了编译不过的代码quality-verification6.4 Test-Before-Commit — commit 前跑测试

6 轴速查

SkillPattern 数核心能力
-------------------------------
1execution-loop7Ralph Stop Hook、Doubt Gate、Drift Re-anchoring
2tool-governance6错误升级、权限否决、破坏性命令拦截
3context-memory8Handoff 文档、Compaction 抢救、Token Budget
4multi-agent6Coordinator/Fork/Swarm、文件锁、盲审分离
5error-recovery7限速恢复、Crash 恢复、模型降级建议
6quality-verification6编辑后 lint、commit 前测试、session 指标

最小配置

3 个 hook 解决最常见的 3 个问题:

// ~/.claude/settings.json
{
  "hooks": {
    "Stop": [{"hooks": [
      {"type": "command", "command": "bash execution-loop/scripts/ralph-stop-hook.sh"},
      {"type": "command", "command": "bash execution-loop/scripts/doubt-gate.sh"}
    ]}],
    "PreToolUse": [{"hooks": [
      {"type": "command", "command": "bash tool-governance/scripts/tool-error-advisor.sh"}
    ]}],
    "PostToolUse": [{"matcher": {"tool_name": "Write|Edit|MultiEdit"}, "hooks": [
      {"type": "command", "command": "bash quality-verification/scripts/post-edit-check.sh"}
    ]}]
  }
}

仓库

GitHub: lanyasheng/execution-harness | 90 tests | 依赖:bash、jq、python3、pytest

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-03 10:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

去 AI 味内容引擎

lanyasheng
为小红书、X、知乎等平台生成“去 AI 味”的内容重写与新稿产出技能。用于用户要求内容更像真人表达、减少模板腔、提升口语感和观点力度的场景;也用于把已有草稿改写为平台适配版本。触发词包括“去 AI 味”“重写成更像人写的”“太像 AI 了”
★ 15 📥 4,379
productivity

Earnings Reader

lanyasheng
A股财报研读助手 - 解读利润表/资产负债表/现金流量表
★ 1 📥 1,960
data-analysis

Trading Quant

lanyasheng
量化交易数据分析工具。A股/美股/港股/贵金属实时行情,多维度评分(技术面+资金面+基本面),涨跌停池,北向资金,分钟级资金流。Use when: (1) 查询任何股票实时行情和评分, (2) 分析A股涨跌停异动, (3) 查看北向资金流向
★ 3 📥 2,030