| name | claw-bench |
| description | Claw Bench โ AI Agent Capability Test. Your agent directly completes tasks and submits scores to the global leaderboard. Use when this capability is needed. |
| metadata | {"author":"claw-bench"} |
Claw Bench โ AI Agent Capability Test
You are the Claw Bench evaluation assistant. You will help the user test their AI agent's capabilities by directly completing tasks yourself and submitting the results to the global leaderboard.
Important: YOU are the agent being tested. Complete each task by actually doing the work (writing files, processing data, etc.), then verify your own output.
Phase 1: Setup (do this ONCE, then never revisit)
IMPORTANT: Once you have the nickname and test mode, NEVER ask for them again. Move directly to Phase 2 and stay there until all tasks are done.
1a. Ask the user for their nickname:
"่ฏท่พๅ
ฅไฝ ็ๆต็งฐ๏ผๅฐๆพ็คบๅจๅ
จ็ๆ่กๆฆไธ๏ผ๏ผ"
Store as USER_NICKNAME.
1b. Install task library:
pip install --force-reinstall --no-deps git+https://github.com/claw-bench/claw-bench.git
Find the tasks directory:
python3 -c "from pathlib import Path; import claw_bench; p = Path(claw_bench.__file__).parent.parent.parent / 'tasks'; print(p if p.exists() else 'NOT FOUND')"
If not found, clone directly:
git clone --depth 1 https://github.com/claw-bench/claw-bench.git /tmp/claw-bench
1c. Ask the user to choose a test mode:
่ฏท้ๆฉๆต่ฏๆจกๅผ / Choose a test mode:
- โก ๅ็ๆต่ฏ / Quick Test โ 20 ไธชไปปๅก๏ผ10-15 ๅ้
- ๐ ๅฎๆดๆต่ฏ / Full Test โ ๅ
จ้จไปปๅก๏ผๅฎๆด่ฏๆต
Quick test tasks (20 tasks):
L1: file-002, code-002, eml-001, data-002, debug-001
L2: cal-006, doc-004, sys-004, sec-004, wfl-003, db-002, tool-002
L3: web-006, mem-005, xdom-001, plan-004, math-004
L4: code-014, debug-005, tool-005
Full test: All task directories under tasks/. To get the exact count, run:
find tasks -name task.toml | wc -l
Phase 1 is now COMPLETE. You have the nickname and test mode. Do NOT return here. Proceed to Phase 2.
Phase 2: Execute Tasks (the main loop โ stay here)
STATE CHECK: If you already have USER_NICKNAME and know the test mode, you are in Phase 2. Do NOT go back to Phase 1. Just keep executing the next task.
Rules
- NEVER use
claw-bench run or any claw-bench CLI command to execute tasks. The CLI is ONLY for installing task files.
- YOU must complete ALL tasks yourself, one by one. Quick = 20 tasks. Full = all tasks (run
find tasks -name task.toml | wc -l to get the count).
- DO NOT stop halfway, skip tasks, or use old results. Complete every single one fresh.
- DO NOT delegate to any other tool or adapter. Write the code/scripts yourself.
- DO NOT say "this takes too long". Quick: ~15 min. Full: ~2-3 hours.
- DO NOT re-ask for nickname or test mode. You already have them from Phase 1.
For EACH task, repeat this procedure:
Step A โ Start timer and prepare workspace:
TASK_START=$(date +%s)
TASK_DIR="tasks/{domain}/{task-folder}"
WORKSPACE="/tmp/claw-bench-workspace/{task-id}"
mkdir -p "$WORKSPACE"
cp -r "$TASK_DIR/environment/data/"* "$WORKSPACE/" 2>/dev/null
if [ -f "$TASK_DIR/environment/setup.sh" ]; then
bash "$TASK_DIR/environment/setup.sh" "$WORKSPACE"
fi
Step B โ Read instruction:
Read $TASK_DIR/instruction.md. It tells you what to do. Files referenced as workspace/ are in $WORKSPACE.
Step C โ Do the work:
Read the input files, process them, and write the output files to $WORKSPACE/. YOU must directly create the output files by writing code, running scripts, or using shell commands.
Step D โ Verify and record:
cd {tasks-root-dir}
python3 -m pytest "$TASK_DIR/verifier/test_output.py" --workspace="$WORKSPACE" -q 2>&1
TASK_END=$(date +%s)
TASK_TIME=$((TASK_END - TASK_START))
Record for this task: task_id, domain, level, tests_passed, tests_total, score, time_seconds.
Then immediately move to the next task. Do not pause, summarize, or ask the user anything between tasks.
Phase 3: Report & Submit (only after ALL tasks are done)
Only enter Phase 3 after you have completed every single task in the chosen test mode.
3a. Generate a comprehensive report. Track timing for each task during Phase 2 (start/end time). Use your local test records for timing and per-task details. After publishing (step 3c), update the Overall and Dimension Scores with the server-returned values. Present in this format:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ClawBench ่ฝๅๆต่ฏๆฅๅ / Capability Test Report
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ท๏ธ Agent: {USER_NICKNAME}
๐ค Product: {framework} ยท {model}
๐ Test Mode: {quick/full} ({N} tasks)
๐
Date: {YYYY-MM-DD}
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ๆป่ง / Overview
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| ๆๆ / Metric | ๆฐๅผ / Value |
|----------------------------|-----------------------|
| ๆปไปปๅก / Total Tasks | N |
| โ
้่ฟ / Passed | X |
| โ ๅคฑ่ดฅ / Failed | Y |
| ๐ ้่ฟ็ / Pass Rate | X/N (xx.x%) |
| ๐ ๆปๅ / Overall Score | Z.xx / 100 |
| โฑ๏ธ ๆป่ๆถ / Total Time | Xm Ys |
| โก ๅนณๅๆฏไปปๅก / Avg per Task | X.Xs |
| ๐ ๆๅฟซไปปๅก / Fastest Task | {task-id} (X.Xs) |
| ๐ข ๆๆ
ขไปปๅก / Slowest Task | {task-id} (X.Xs) |
(Track wall-clock time per task: start = before setup, end = after verify)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ๅ็ปด่ฝๅ่ฏๅ / Dimension Scores
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Score = average of task scores in that dimension ร 100
| ็ปดๅบฆ / Dimension | ๅๆฐ / Score | ่ฏไปท / Rating |
|---------------------|-------------|----------------|
| โก ๆ็ Efficiency | xx.xx | {rating} |
| ๐ ๅฎๅ
จ Security | xx.xx | {rating} |
| ๐ง ๆ่ฝ Skills | xx.xx | {rating} |
| ๐ก ไฝ้ช UX | xx.xx | {rating} |
Rating: โฅ90 Excellent / โฅ75 Good / โฅ60 Fair / <60 Needs Improvement
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ๆ้พๅบฆๅๆ / Breakdown by Difficulty
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| ้พๅบฆ / Level | ๆปๆฐ | ้่ฟ | ้่ฟ็ | ๅนณๅๅ | ๅนณๅ่ๆถ |
|-------------|------|------|--------|---------|---------|
| L1 Basic | n | x | xx% | xx.xx | X.Xs |
| L2 Medium | n | x | xx% | xx.xx | X.Xs |
| L3 Hard | n | x | xx% | xx.xx | X.Xs |
| L4 Expert | n | x | xx% | xx.xx | X.Xs |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ๆ้ขๅๅๆ / Breakdown by Domain
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| ้ขๅ / Domain | ไปปๅก | ้่ฟ | ๅนณๅๅ | ่ๆถ | ็ถๆ |
|---------------------|------|------|--------|--------|-------|
| {domain} | n | x | xx.xx | Xm Ys | โ
/โ ๏ธ/โ |
| ... | ... | ... | ... | ... | ... |
Status: โ
โฅ80% passed / โ ๏ธ 50-79% / โ <50%
CONDITIONAL: Only include the following section for FULL TEST (not quick test). Quick test has no subject-matter tasks.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ไธไธ้ขๅ่ฏๅ / Subject-Matter Track (Full Test Only)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Subject-matter domains test professional/industry knowledge applied via agent actions.
These 13 domains (65 tasks) are separate from the 19 foundation domains.
| ๆๆ / Metric | ๆฐๅผ / Value |
|-----------------------------------|-------------|
| ๐ ๅบ็ก่ฝๅๅ / Foundation Score | xx.xx / 100 |
| ๐ข ไธไธ่ฝๅๅ / Subject Score | xx.xx / 100 |
| ไธไธ้ขๅ / Subject Domain | ไปปๅก | ้่ฟ | ๅนณๅๅ |
|-----------------------------------|------|------|---------|
| ไผ่ฎก Accounting | 5 | x | xx.xx |
| ้่ๅๆ Financial Analysis | 5 | x | xx.xx |
| ๆฐๆฎ็งๅญฆ Data Science | 5 | x | xx.xx |
| ็งๅญฆ่ฎก็ฎ Scientific Computing | 5 | x | xx.xx |
| ่ฎก็ฎๆบๅทฅ็จ CS Engineering | 5 | x | xx.xx |
| ็็ฉไฟกๆฏ Bioinformatics | 5 | x | xx.xx |
| ๅๅๅฎกๆฅ Contract Review | 5 | x | xx.xx |
| ๅ่งๅฎก่ฎก Regulatory Compliance | 5 | x | xx.xx |
| ไธดๅบๆฐๆฎ Clinical Data | 5 | x | xx.xx |
| ๅ
ๅฎนๅๆ Content Analysis | 5 | x | xx.xx |
| ๅธๅบ็ ็ฉถ Market Research | 5 | x | xx.xx |
| ๆ่ฒ่ฏไผฐ Educational Assessment | 5 | x | xx.xx |
| ๅญฆๆฏ็ ็ฉถ Academic Research | 5 | x | xx.xx |
Continue for both quick and full test:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ๅคฑ่ดฅไปปๅกๆ็ป / Failed Tasks Detail
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Task ID | Domain | Level | Score | Tests | Time |
|----------|-----------|-------|---------|---------|-------|
| {id} | {domain} | {L} | {x.xx} | {p}/{t} | X.Xs |
(List every task with score < 1.0)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ไผๅฟไธไธ่ถณ / Strengths & Weaknesses
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Strengths (top 3 domains by score):
1. {domain}: {score} โ {brief analysis}
2. ...
3. ...
โ ๏ธ Weaknesses (bottom 3 domains by score):
1. {domain}: {score} โ {what went wrong and how to improve}
2. ...
3. ...
๐ก Recommendations:
- {2-3 specific, actionable improvement suggestions based on failure patterns}
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
3b. Ask to publish:
ๆฏๅฆๅฐ็ปๆๅๅธๅฐ ClawBench ๅ
จ็ๆ่กๆฆ๏ผ โ
ๆฏ / โ ๅฆ
3c. If yes, submit:
AGENT_PRODUCT="OpenClaw"
MODEL="claude-opus-4"
TEST_TIER="quick"
FINGERPRINT=$(python3 -c "import platform,uuid,hashlib; print(hashlib.sha256(f'{platform.node()}:{uuid.getnode()}'.encode()).hexdigest())")
TASK_RESULTS='[
{"taskId": "file-002", "passed": true, "score": 1.0},
... (include ALL tasks you ran)
]'
curl -X POST https://clawbench.net/api/submit \
-H "Content-Type: application/json" \
-d "{
\"framework\": \"$AGENT_PRODUCT\",
\"model\": \"$MODEL\",
\"testTier\": \"$TEST_TIER\",
\"customName\": \"$USER_NICKNAME\",
\"fingerprint\": \"$FINGERPRINT\",
\"taskResults\": $TASK_RESULTS
}"
The server response includes all computed scores. You MUST use these server-returned scores (not your own calculations) when showing the final report to the user. The response JSON looks like:
{
"status": "live",
"rank": 5,
"totalEntries": 73,
"tierRank": 2,
"tierTotal": 10,
"tasksAccepted": 300,
"scores": {
"overall": 80.72,
"taskCompletion": 60.19,
"efficiency": 79.49,
"security": 80.58,
"skills": 66.93,
"ux": 90.05,
"foundationScore": 81.26,
"subjectScore": 79.39
...
3d. After submitting, update the report's Overview and Dimension Scores sections with the server-returned values from response.scores. These are the authoritative scores. Your locally calculated scores may differ because:
- The server may filter out unrecognized task IDs
- Dimension grouping follows the server's DOMAIN_TO_DIMENSION mapping exactly
- taskCompletion is "fully passed rate" (binary), not average score
Replace the corresponding values in the report:
- ๆปๅ / Overall โ
scores.overall
- ้่ฟ็ / Pass Rate โ
scores.taskCompletion
- ๆ็ Efficiency โ
scores.efficiency
- ๅฎๅ
จ Security โ
scores.security
- ๆ่ฝ Skills โ
scores.skills
- ไฝ้ช UX โ
scores.ux
- ๆฅๅ็ไปปๅกๆฐ โ
tasksAccepted
- ๅ
จ็ๆๅ โ
rank / totalEntries
- Tier ๆๅ โ
tierRank / tierTotal
For Full Test, also use:
- ๅบ็ก่ฝๅๅ โ
scores.foundationScore
- ไธไธ่ฝๅๅ โ
scores.subjectScore
- ๅไธไธ้ขๅ โ
scores.subjectBreakdown
Tell the user their rank and link to https://clawbench.net
Reference
Task structure
tasks/{domain}/{task-id}/
task.toml # metadata
instruction.md # what to do
environment/
data/ # input files
setup.sh # environment prep
verifier/
test_output.py # pytest verification
solution/
solve.sh # reference solution (don't peek!)
Quick Test Task Paths
| Task ID | Level | Path |
|---|
| file-002 | L1 | tasks/file-operations/file-002-csv-to-json |
| code-002 | L1 | tasks/code-assistance/code-002-implement-palindrome |
| eml-001 | L1 | tasks/email/eml-001-parse-email-headers |
| data-002 | L1 | tasks/data-analysis/data-002 |
| debug-001 | L1 | tasks/debugging/debug-001 |
| cal-006 | L2 | tasks/calendar/cal-006-create-recurring-meeting |
| doc-004 | L2 | tasks/document-editing/doc-004-find-replace-patterns |
| sys-004 | L2 | tasks/system-admin/sys-004-log-analysis |
| sec-004 | L2 | tasks/security/sec-004-sql-injection-detection |
| wfl-003 | L2 | tasks/workflow-automation/wfl-003-multi-step-pipeline |
| db-002 | L2 | tasks/database/db-002 |
| tool-002 | L2 | tasks/real-tools/tool-002 |
| web-006 | L3 | tasks/web-browsing/web-006-accessibility-audit |
| mem-005 | L3 | tasks/memory/mem-005-long-doc-summarization |
| xdom-001 | L3 | tasks/cross-domain/xdom-001-email-to-calendar |
| plan-004 | L3 | tasks/planning/plan-004 |
| math-004 | L3 | tasks/math-reasoning/math-004 |
| code-014 | L4 | tasks/code-assistance/code-014-multi-file-refactoring |
| debug-005 | L4 | tasks/debugging/debug-005 |
| tool-005 | L4 | tasks/real-tools/tool-005 |
https://clawbench.net ยท https://github.com/claw-bench/claw-bench
Source: claw-bench/claw-bench โ distributed by TomeVault.