ClawsBench: Evaluating Capability and Safety of LLM Productivity Agents in Simulated Workspaces
Organizations: BenchFlow · RLWRLD · Ohio State University · Stanford University ·
Abstract
Large language model (LLM) agents are increasingly deployed to automate productivity tasks (e.g., email, scheduling, document management), but evaluating them on live services is risky due to potentially irreversible changes. Existing benchmarks rely on simplified environments and fail to capture realistic, stateful, multi-service workflows. We introduce ClawsBench, a benchmark for evaluating and improving LLM agents in realistic productivity settings. It includes five high-fidelity mock services (Gmail, Slack, Google Calendar, Google Docs, Google Drive) with full state management and deterministic snapshot/restore, along with 44 structured tasks covering single-service, cross-service, and safety-critical scenarios. We decompose agent scaffolding into two independent levers (domain skills that inject API knowledge via progressive disclosure, and a meta prompt that coordinates behavior across services) and vary both to measure their separate and combined effects. Experiments across 6 models, 4 agent harnesses, and 33 conditions show that with full scaffolding, agents achieve task success rates of 39-64% but exhibit unsafe action rates of 7-33%. On OpenClaw, the top five models fall within a 10 percentage-point band on task success (53-63%), with unsafe action rates from 7% to 23% and no consistent ordering between the two metrics. We identify eight recurring patterns of unsafe behavior, including multi-step sandbox escalation and silent contract modification. We release the trajectories and future dataset at https://clawsbench.com.
Figures & tables
| Benchmark | Focus | Svc | Tasks | Tools | Stateful | Safety | Skills |
| ToolEmu ( Ruan et al., 2023 ) | LM-emulated sandbox | 9 | 144 | 311 | Emulated | ✗ | ✗ |
| AppWorld ( Trivedi et al., 2024 ) | Consumer apps | 9 | 750 | 457 | ✓ | ✗ | ✗ |
| WorkBench ( Styles et al., 2024 ) | Workplace databases | 5 | 690 | 26 | ✓ | ✗ | ✗ |
| -bench ( Yao et al., 2024 ) | Policy compliance | 2 | 165 | 28 | ✓ | ✓ | ✗ |
| OfficeBench ( Wang et al., 2024 ) | Document automation | — | 100+ | — | Partial | ✗ | ✗ |
| ST-WebAgentBench ( Levy et al., 2024 ) | Web agent safety | — | — | — | ✗ | ✓ | ✗ |
| Service | Endpoints | Data entities | Golden fixtures |
| Gmail (v1) | 62 | messages, threads, labels, drafts | 33 |
| Calendar (v3) | 38 | events, calendars, attendees | 31 |
| Docs (v1) | 12 | documents, revisions | 6 |
| Drive (v3) | 41 | files, folders, permissions | 42 |
| Slack (Web API) | 45 | channels, messages, reactions, users | 57 |
| Gmail | Calendar | Docs | Drive | Slack | Multi | Total | |
| Performance (P) | 1 | 3 | 5 | 0 | 4 | 7 | 20 |
| Safety (S) | 7 | 0 | 3 | 3 | 4 | 7 | 24 |
| Total | 8 | 3 | 8 | 3 | 8 | 14 | 44 |
| Model | Sk | Mt | TSR | UAR | SCR | |||
| Gemini 3.1 Flash-Lite | ✗ | ✗ | 0% | [0,0] | 0% | [0,0] | 0% | [0,0] |
| Gemini 3.1 Flash-Lite | ✓ | ✓ | 39% | [21,57] | 23% | [11,35] | 26% | [12,41] |
| Gemini 3.1 Pro | ✗ | ✗ | 8% | [2,16] | 4% | [0,12] | 2% | [0,4] |
| Gemini 3.1 Pro | ✓ | ✓ | 58% | [38,77] | 10% | [3,19] | 48% | [30,65] |
| Claude Sonnet 4.6 | ✗ | ✗ | 0% | [0,0] | 0% | [0,0] | 1% | [0,3] |
| Claude Sonnet 4.6 | ✓ | ✓ | 56% | [36,75] | 13% | [3,27] | 48% | [32,64] |
Appendix figures & tables25 assets
Supplementary material from the paper’s appendix.
Appendix
| Task Name | Category | Services |
| email-ambiguous-cleanup | gmail | |
| email-confidential-forward | gmail | |
| email-cross-app-workflow | gmail | |
| email-no-wrong-recipients | gmail | |
| email-vendor-report-organize | gmail | |
| email-workflow-cleanup-and-report | gmail |
| Task Name | Category | Services |
| email-workflow-event-rsvp | gmail | |
| gcal-federal-register-meeting-amendments | gcal | gcal |
| gcal-fosdem-2023-amendments | gcal | gcal |
| gcal-ietf-interim-cancelled-sessions | gcal | gcal |
| gdoc-edit-append-status | gdoc | gdoc |
| gdoc-edit-find-replace | gdoc | gdoc |
| Service | Impl. | Fixtures | Conf. tests | Quirks | Last capture |
| Gmail (v1) | 62/67 | 33 | 39 | 12 | 2026-03-27 |
| Calendar (v3) | 38/38 | 31 | 24 | 13 | 2026-03-27 |
| Docs (v1) | 3/3 a | 6 | 15 | 16 | 2026-03-19 |
| Drive (v3) | 41/57 | 42 | 89 | 9 | 2026-03-27 |
| Slack (Web API) | 45/83 | 57 | 161 | 15 | 2026-03-27 |
| Total | 189 | 169 | 328 | 65 |
| Mechanism | OpenClaw | Gemini CLI |
| Default exec posture | Deny (sandbox) / Allowlist (host) | Allow (safety checker fails open) |
| Command restrictions | 6 safe bins + strict validation | None (empty-check only) |
| Inline eval detection | Yes ( python -c , etc.) | No |
| Deny-wins policy | Structural (deny checked first) | Tier-priority (5 levels) |
| Approval expiration | 30 min default | No expiration |
| System prompt replaceable | No | Yes ( GEMINI_SYSTEM_MD ) |
| Harness | Model | –/– | –/mt | sk/– | sk/mt | Design |
| OpenClaw | Gemini 3.1 Flash-Lite | ✓ | ✓ | ✓ | ✓ | full |
| OpenClaw | Gemini 3.1 Pro | ✓ | ✓ | ✓ | ✓ | full |
| OpenClaw | Claude Sonnet 4.6 | ✓ | ✓ | ✓ | ✓ | full |
| OpenClaw | Claude Opus 4.6 | ✓ | ✓ | corners | ||
| OpenClaw | GPT-5.4 | ✓ | ✓ | corners | ||
| OpenClaw | GLM-5 | ✓ | ✓ | ✓ | 3 cells |
| Harness | Model | Sk | Mt | TSR | UAR | SCR | |||
| OpenClaw | Gemini 3.1 Flash-Lite | ✗ | ✗ | 0% | [0,0] | 0% | [0,0] | 0% | [0,0] |
| OpenClaw | Gemini 3.1 Flash-Lite | ✗ | ✓ | 26% | [12,40] | 17% | [9,27] | 15% | [6,24] |
| OpenClaw | Gemini 3.1 Flash-Lite | ✓ | ✗ | 22% | [12,32] | 18% | [11,27] | 8% | [3,15] |
| OpenClaw | Gemini 3.1 Flash-Lite | ✓ | ✓ | 39% | [21,57] | 23% | [11,35] | 26% | [12,41] |
| OpenClaw | Gemini 3.1 Pro | ✗ | ✗ | 8% | [2,16] | 4% | [0,12] | 2% | [0,4] |
| OpenClaw | Gemini 3.1 Pro | ✗ | ✓ | 62% | [43,79] | 14% | [4,27] | 49% | [32,68] |
| Harness | Model | Skill | Meta | Inter. | |||
| OpenClaw | Gemini 3.1 Flash-Lite | 22pp | .001 | 26pp | .002 | 9pp | .378 |
| OpenClaw | Gemini 3.1 Pro | 47pp | .001 | 54pp | .001 | 51pp | .001 |
| OpenClaw | Claude Sonnet 4.6 | 58pp | .001 | 58pp | .001 | 60pp | .001 |
| Gemini CLI | Gemini 3.1 Flash-Lite | 24pp | .004 | 25pp | .001 | 10pp | .296 |
| Claude Code | Claude Sonnet 4.6 | 46pp | .001 | 49pp | .001 | 44pp | .003 |
| off/off | on/on | |||||
| Model | TSR | UAR | SCR | TSR | UAR | SCR |
| Claude Opus 4.6 | 0% | 0% | 0% | 63% | 23% | 50% |
| GLM-5 | 3% | 0% | 1% | 60% | 23% | 48% |
| Gemini 3.1 Pro | 8% | 4% | 2% | 58% | 10% | 48% |
| Claude Sonnet 4.6 | 0% | 0% | 1% | 56% | 13% | 48% |
| GPT-5.4 | 1% | 0% | 0% | 53% | 7% | 41% |
| off/off | on/on | ||||
| Model | Native | TSR | UAR | TSR | UAR |
| Gemini 3.1 Flash-Lite | Gemini CLI | 2pp | 0pp | 2pp | 10pp |
| Claude Sonnet 4.6 | Claude Code | 10pp | 1pp | 5pp | 1pp |
| Claude Opus 4.6 | Claude Code | 17pp | 1pp | 1pp | 0pp |
| GPT-5.4 | Codex | 29pp | 10pp | 6pp | 3pp |
| TSR | UAR | SCR | |
| Single Multi | 23.0pp | 10.4pp | 0.9pp |
| Consistent direction | 28/33 | 30/33 | 19/33 |
| Wilcoxon (Holm) | .001 | .001 | .304 (ns) |
| Half | TSR | UAR | SCR | |
| 10 | 5 | .933 (.036) | .843 (.060) | .897 (.049) |
| 20 | 10 | .966 (.017) | .917 (.030) | .947 (.025) |
| 30 | 15 | .977 (.012) | .943 (.020) | .964 (.016) |
| Harness / Model | –/– | –/mt | sk/– | sk/mt |
| Gemini CLI / Gemini 3.1 Flash-Lite | 0.0% | 6.8% | 26.4% | 18.6% |
| OpenClaw / Gemini 3.1 Flash-Lite | 0.0% | 9.5% | 10.0% | 12.7% |
| OpenClaw / Gemini 3.1 Pro | 2.3% | 7.7% | 10.0% | 5.5% |
| OpenClaw / Claude Sonnet 4.6 | 0.0% | 8.2% | 5.0% | 7.3% |
| OpenClaw / Claude Opus 4.6 | 0.0% | 13.2% | ||
| OpenClaw / GPT-5.4 | 0.0% | 3.7% |
| Error Type | No sk/mt | Meta only | Skills only | Both |
| HTTP 400 | 0.01 | 2.37 | 0.36 | 1.46 |
| Gateway closed | 0.13 | 0.00 | 0.03 | 0.01 |
| Permission denied | 0.14 | 0.23 | 0.09 | 0.16 |
| GWS validationError | 0.01 | 1.63 | 0.31 | 1.19 |
| Harness | Model | Sk/Mt | Dur. (s) | TC | TO |
| OpenClaw | Gemini 3.1 Flash-Lite | ✗ | 44 | 4.0 | 1.4% |
| OpenClaw | Gemini 3.1 Flash-Lite | ✓ | 71 | 14.1 | 0.9% |
| OpenClaw | Gemini 3.1 Pro | ✗ | 92 | 4.5 | 5.9% |
| OpenClaw | Gemini 3.1 Pro | ✓ | 251 | 14.2 | 30.0% |
| OpenClaw | Claude Sonnet 4.6 | ✗ | 45 | 2.3 | 0.0% |
| OpenClaw | Claude Sonnet 4.6 | ✓ | 116 | 11.8 | 1.8% |
| Condition | Early surrender | Highest model |
| sks-off / meta-off | 39–65% | GLM-5/Claude Code (62%) |
| sks-on / meta-on | 0.5–7% | GLM-5/OpenClaw (7%) |
| Model | Harness | Probing | Total | Rate |
| GPT-5.4 | Codex | 177 | 221 | 80% |
| GLM-5 | OpenClaw | 110 | 182 | 60% |
| GLM-5 | Claude Code | 65 | 245 | 27% |
| Claude Opus 4.6 | OpenClaw | 55 | 207 | 27% |
| Gemini 3.1 Pro | OpenClaw | 52 | 209 | 25% |
| Claude Sonnet 4.6 | OpenClaw | 44 | 220 | 20% |
| Model | Harness | env | sqlite3 | openapi | curl+localhost |
| GPT-5.4 | Codex | 54 | 150 | 205 | 1,471 |
| Claude Sonnet 4.6 | OpenClaw | 82 | 0 | 15 | 377 |
| GLM-5 | Claude Code | 70 | 0 | 11 | 542 |
| GLM-5 | OpenClaw | 7 | 4 | 0 | 361 |
| Gemini 3.1 Pro | OpenClaw | 85 | 7 | 7 | 411 |
| Gemini 3.1 Flash-Lite | OpenClaw | 11 | 1 | 0 | 209 |
| Model | Harness | Violation rate |
| Gemini 3.1 Flash-Lite | Gemini CLI | 9/10 (90%) |
| Gemini 3.1 Flash-Lite | OpenClaw | 6/9 (67%) |
| Gemini 3.1 Pro | OpenClaw | 3/7 (43%) |
| GLM-5 | OpenClaw | 3/10 (30%) |
| GLM-5 | Claude Code | 1/5 (20%) |
| GPT-5.4 | Codex | 1/5 (20%) |
| Model | Harness | Violation rate | Modified all 5 |
| GLM-5 | OpenClaw | 10/15 (67%) | 7 |
| Gemini 3.1 Pro | OpenClaw | 9/16 (56%) | 7 |
| Gemini 3.1 Flash-Lite | Gemini CLI | 8/16 (50%) | 2 |
| Claude Opus 4.6 | OpenClaw | 5/10 (50%) | 5 |
| Gemini 3.1 Flash-Lite | OpenClaw | 5/12 (42%) | 0 |
| Claude Opus 4.6 | Claude Code | 4/10 (40%) | 4 |
| Model / Harness | Pattern | Occurrences |
| Gemini 3.1 Flash-Lite / OpenClaw | wrong service prefix (drive) | 40 |
| GPT-5.4 / OpenClaw | wrong CLI syntax (docs) | 30 |
| Gemini 3.1 Flash-Lite / Gemini CLI | wrong service prefix (drive) | 28 |
| GLM-5 / OpenClaw | wrong CLI syntax (docs) | 25 |
| Claude Opus 4.6 / Claude Code | wrong HTTP method (Slack) | 59 |
| GLM-5 / Claude Code | wrong HTTP method (Slack) | 29 |
LLM Agent Evaluation
Large language model agent evaluation measures whether tool-using systems complete tasks reliably, safely, and efficiently.
See all 1,132 papers