run-evals
Skill1.4k starsChanged 4 months agoApache-2.0View on GitHub
Prepare the environment and run the LLM-driven agent evals (e2e/agent-evals/) against a chosen sim-use binary. Use when the user runs `/run-evals` or asks to "run the agent evals", "run the LLM-driven tests", "eval the skill", or wants pre-release confidence that an agent reading the bundled skill still picks the right verbs. Costs real `claude -p` API calls — always confirm before spending.
4 other projects use a version of this.
Trending
Quiet since September.thin dataabout the whole repository
Most recently taken up by
- stellar-experimental/stellar-raventheir own version, first seen Oct 2, 2026
- google/skills_lint.darttheir own version, first seen Oct 2, 2026
- danielvm-git/bigpowerstheir own version, first seen Sep 1, 2026
- Azure/azure-sdk-toolstheir own version, first seen Aug 31, 2026
Who's talking about lycorp-jp/sim-use
- exafyltd/vitana-platform“feat(e2e): integrate sim-use device-testing layer — eyes+hands on iOS Simulator / Android”GitHub · Jul 13, 2026 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.lycorp-jp.sim-use: init at 0.14.0”GitHub · Sep 29, 2026
- appium/appium-mcp“Token compression”GitHub · Jul 14, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- danielvm-git/bigpowers★ 252same name
- Azure/azure-sdk-tools★ 134same name
- stellar-experimental/stellar-raven★ 9same name
- google/skills_lint.dart★ 5same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- bump-version-devSkill
- releaseSkill
- sim-useSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Ask (or infer from the user's request) which binary to evaluate:
- Very specific: line 54
Start an emulator (not on PATH by default: ~/Library/Android/sdk/emulator/emulator -avd <AVD> &), wait for adb shell getprop …
- Distinctive: line 100
Don't run evals without stating which binary is under test.
- Very specific: line 101
Don't pass -y unless the user already approved the cost.
- Distinctive: line 102
Don't edit or delete eval cases to make a run green — a red case is signal.
- Very specific: line 104
Don't commit anything under e2e/agent-evals/reports/ (gitignored on purpose).
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
This skill orchestrates the agent-eval suite: natural-language cases executed
by a headless claude -p agent using the bundled skill (skills/sim-use/)
against the Playground fixture apps, judged by deterministic post-condition
checks. It verifies the layer the scripted E2E suites cannot: that an agent
reading SKILL.md reaches for the right verbs and survives the documented
pitfalls. A failure here with a green scripted layer usually means
skill-prose drift, not a CLI bug.
Execution is delegated to scripts/eval.sh / e2e/agent-evals/run.py — do
not reimplement their logic. Case anatomy, tags, and authoring rules live in
e2e/agent-evals/README.md. Run from the repo root.
Step 1: Decide WHICH sim-use is under test
The whole run — device probing, the agent's commands, the verification layer
— resolves sim-use from PATH unless overridden. Never let this be implicit:
- Ask (or infer from the user's request) which binary to evaluate:
- Installed release (default): whatever
sim-useresolves to on PATH. - A development build: pass
-b <path>, e.g.-b .build/out/Products/Debug/sim-use(SwiftBuild layout) or-b .build/debug/sim-use(classic). Build it first withmake build.
- Installed release (default): whatever
- Confirm the resolution and report it to the user before running:
The wrapper printspython3 -c 'import pathlib,shutil; print(pathlib.Path(shutil.which("sim-use")).resolve())' sim-use --versionsim-use under test: <real path> (<version>)and the run report records it undersim-use under test:— quote that line back in your summary so the human knows exactly what was evaluated.
Step 2: Prepare devices and fixtures
For each platform you intend to cover (the wrapper auto-detects reachable
ones; use -p ios|android to restrict):
iOS
- Device Hub (Xcode 27) must be CLOSED —
pgrep dtuhiddmust be empty. A simulator booted while Device Hub is open has legacy HID disconnected; sim-use's guard will (correctly) fail every case on it. If dtuhidd is running: quit Device Hub, then shutdown && boot the simulator. - Boot a simulator and wait:
xcrun simctl boot <UDID> && xcrun simctl bootstatus <UDID>. - The Playground fixture must be installed. Check:
xcrun simctl listapps <UDID> | grep -c com.cameroncooke.SimUsePlayground— if missing, install withscripts/test-runner.sh -b(builds sim-use + Playground, ~2-3 min).
Android
- Start an emulator (not on PATH by default:
~/Library/Android/sdk/emulator/emulator -avd <AVD> &), wait foradb shell getprop sys.boot_completed→1. - Both fixture packages must be present:
adb shell pm list packages | grep -c com.linecorp.simuseshould be 2 (playground + device bridge). If missing,make e2e-androidinstalls them. - A stale bridge from an older CLI version is fine — the version parity
check fires and the agent is expected to recover via
sim-use android init(that recovery is itself part of what the evals exercise).
Step 3: Run
make eval # quick tag, every reachable platform, asks before spending
make eval ARGS="-y -t quick" # skip the cost prompt (release-gate style)
make eval ARGS="-p ios -b .build/out/Products/Debug/sim-use" # dev build, one platform
scripts/eval.sh -- --cases <id> # a single case (raw run.py args)Cost: each case is a real claude -p agent (~1-3 min, real API charge; the
wrapper prints an estimate and asks unless -y). Never pass -y without the
user having approved the spend in this conversation.
Step 4: Interpret and report
Reports land in e2e/agent-evals/reports/<timestamp>/ (gitignored):
report.md (verdict table + env header), verdicts.jsonl, and one
stream-json transcript per case.
- All PASS → report the verdict table, the
sim-use under testline, and the report path. - FAIL → read the case's transcript before concluding anything. Classify:
- Skill-prose drift — the agent picked a wrong verb or missed a
documented pitfall the skill should have steered around → fix
skills/sim-use/SKILL.md, not the case. - CLI regression — the right verb failed → treat as a product bug; reproduce it directly with sim-use before filing.
- Environment/fixture noise — reboot-settling, Playground missing,
Device-Hub-poisoned boot → fix the environment and re-run; if the
coupling is inherent, tag the case
fragile(fragile-tagged cases never gate a run).
- Skill-prose drift — the agent picked a wrong verb or missed a
documented pitfall the skill should have steered around → fix
- ERROR → the harness itself broke (reset failed,
claudemissing); fix the environment, don't touch cases.
Things to NOT do
- Don't run evals without stating which binary is under test.
- Don't pass
-yunless the user already approved the cost. - Don't edit or delete eval cases to make a run green — a red case is signal; classify it first (Step 4).
- Don't commit anything under
e2e/agent-evals/reports/(gitignored on purpose).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

