AGENT SKILL

clawbench-base

Run and diagnose ClawBench evaluations through ClawMind and ClawWeb. Use when the user wants to trigger /clawbench, inspect benchmark progress, locate run artifacts, or troubleshoot evaluation execution.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 603
Forks
82

01 前言 Front Matter

name
clawbench-base
metadata
{ "version": "1.2.1" }
description
Run and diagnose ClawBench evaluations through ClawMind and ClawWeb. Use when the user wants to trigger /clawbench, inspect benchmark progress, locate run artifacts, or troubleshoot evaluation execution.

02 资源文件 32

03 SKILL.md 正文

ClawBench

ClawBench is the OpenClaw evaluation workflow exposed through ClawMind and ClawWeb. It runs evaluation domains, records task results, captures transcripts, and can generate diagnostic reports.

Do not expose internal benchmark runtime names to end users. Refer to this capability as ClawBench in user-facing responses, UI copy, docs, and release material.

When to Use

  • The user wants to run an OpenClaw evaluation with /clawbench.
  • The user wants to repair or regenerate a ClawBench report with /clawbenchreport.
  • The user asks whether a ClawBench run was intercepted by ClawMind.
  • The user wants to locate run status, result files, transcripts, or diagnosis output.
  • The user reports that ClawBench is pending, stuck, or failed.
  • The user needs a publishing-safe explanation of the ClawBench workflow.

Common Commands

Run all templates in a domain:

/clawbench run --domainId <domain_id>

Run one template:

/clawbench run --domainId <domain_id> --templateName <template_name>

Run as an explicit ClawWeb owner on a shared evaluation machine:

/clawbench run --domainId <domain_id> --ownerId <user_id>

Repair or regenerate the report for an existing run:

/clawbenchreport run --benchId <bench_run_id>

Useful local checks:

tail -n 200 ~/.openclaw/logs/gateway.log
curl --noproxy '*' -s http://localhost:3001/api/bench/runs/<benchRunId>
find ~/.openclaw/workspace -path '*benchmark*' -maxdepth 8 -type f

Included Runtime Files

This skill ships the local ClawBench runner implementation:

  • scripts/: runner, adapter, grading, upload, and utility scripts.
  • tests/: core library tests.
  • report/: report template and report-generation skill source.

Task datasets are intentionally not packaged in this skill. Runtime tasks are expected to come from ClawWeb/centralized configuration.

Execution Path

  1. OpenClaw receives /clawbench ....
  2. ClawMind resolves the ClawBench facade binding. Report repair uses the separate /clawbenchreport facade.
  3. ClawMind loads the workflow spec from ClawWeb API/DB.
  4. Normal workflow creates a ClawWeb bench run record. Report repair workflow resolves an existing bench run instead.
  5. Workflow runs the local evaluation engine.
  6. Workflow uploads result artifacts and task summaries to ClawWeb.
  7. Workflow prepares report context and optionally runs clawbench-report.
  8. ClawWeb displays run status, score, pass rate, task records, and report summary.

Key Log Signals

[clawmind] extractWrappedWorkflowSlashCommand result { commandName: 'clawbench' }
[clawmind] facade registry built
[clawmind] handleRun entry
NODE_EXECUTING node=create-bench-run
NODE_EXECUTING node=run-evaluation
NODE_EXECUTING node=upload-results
NODE_EXECUTING node=prepare-report
NODE_EXECUTING node=generate-report

Run artifacts usually appear under:

~/.openclaw/workspace/<runtime>/<runStamp>/<domainId>/benchmark/<scene>/

Important files:

*_benchmark_report.json
*_transcripts/<task_id>.jsonl

Troubleshooting

If /clawbench is not intercepted:

  • Check gateway logs for extractWrappedWorkflowSlashCommand.
  • Confirm ClawMind loaded facade bindings from ClawWeb.
  • Confirm the facade binding contains command clawbench.
  • Confirm the OpenClaw session is sending messages to gateway.

If run creation fails:

  • Check POST /api/bench/runs errors in gateway log.
  • Verify ClawWeb is running at the URL configured in ClawMind.
  • Verify run time fields are written as Unix seconds where required.

If evaluation hangs at agent creation:

  • Check whether ordinary OpenClaw CLI commands return.
  • Background timers in ClawMind must not block one-shot CLI processes; auxiliary timers should use unref().
  • ClawMind API server should not start in ordinary CLI contexts unless explicitly required.

If report generation fails with missing skill:

  • Install or link clawbench-report and any workflow-compatible skill alias expected by the workflow.
  • The expected skill directory must contain SKILL.md under one of:
    • ~/.openclaw/workspace/skills/<skillName>/SKILL.md
    • ~/.openclaw/skills/<skillName>/SKILL.md

04 同仓库更多 Skills

inclusionAI
inclusionAI/Avernet

clawbench-bcn

使用成套 Case/Profile 执行 BCN 群协作评测,归档真实群消息与成员证据、按单 Agent 模板进行代码或模型评分并生成成功或失败报告。当前仅支持本地 POC,评测由独立 Agent 完成。

★ 603
inclusionAI
inclusionAI/Avernet

bbs-topic-handler

【仅由 Topic 子 Session 触发】处理一个 BBS Topic。收到 [BBS-TOPIC-HANDLER] 且包含 backend、bot_id、browse_id、单个 topic_id 时使用;以详情接口的 topic_type 决定上下文、回复形态和作者管理:DISCUSSION 可读完整讨论并允许楼中楼,SHARE/HELP 参与者只基于主帖回复,POLL 提交结构化选择,HELP 原作者独立 Review 一级回复、标 helpful 并在解决后 close。历史回复只阻止重复回帖,不跳过作者管理。只调用内部 `/api/v1/**`,本地 BBS API 必须通过 OpenClaw `exec` 执行 `curl`,禁止 `web_fetch` 或 `browser` 访问。不选择其它 Topic,不创建子 Session。

★ 603
inclusionAI
inclusionAI/Avernet

bbs-create-topic

专门创建一个有明确类型的 BBS Topic。当用户要求发帖、发起讨论、分享、投票或求助时使用;整理 title/body,确定 DISCUSSION、SHARE、POLL 或 HELP,并按类型补齐 topic_config 后调用 Bot 内部 CreateTopic 接口。只调用内部 `/api/v1/**`;本地 BBS API 必须通过 OpenClaw `exec` 执行 `curl`,禁止 `web_fetch` 或 `browser` 访问。不浏览、不回帖、不派生子 Session、不管理订阅或 cron。

★ 603
inclusionAI
inclusionAI/Avernet

bbs-browse

Avernet 开源本地 Demo 的 BBS Browse Run 编排 skill。收到 [BBS-BROWSE]、用户单次触发、周期任务或可信运行时事件提供的一次性 Browse Run 指令时使用;分页读取内部 /api/v1/collaboration/tasks/bbs/topics 的全部 OPEN Topic,Demo 规则下每个去重后的 OPEN Topic 都派发给 bbs-topic-handler 子 Session,保证每个 Bot 对每个主题完成一次有内容的强制首轮回复;最多 3 个并发。只调用内部 `/api/v1/**`;本地 BBS API 必须通过 OpenClaw `exec` 执行 `curl`,禁止 `web_fetch` 或 `browser` 访问。不创建订阅或 cron,不代替子 Session 回复、沉淀或结帖。

★ 603
inclusionAI
inclusionAI/Avernet

avernet-collaboration-help

解答 Avernet 自定义协作问题,编写或修改 BCS state_machine YAML,解释校验诊断,并通过固定版本短引用提供只读预览。

★ 603
inclusionAI
inclusionAI/Avernet

undercover-game-referee

主持谁是卧底,按当前节点或唤醒执行事实层命令与主持稿,保持发言、投票、遗言和终局流程。

★ 603