agentleFS
lycorp-jplycorp-jp/sim-use/.agents/skills/run-evals/SKILL.md

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

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 2 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the lycorp-jp/sim-use repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. danielvm-git/bigpowers★ 252same name
    2. Azure/azure-sdk-tools★ 134same name
    3. stellar-experimental/stellar-raven★ 9same name
    4. 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.

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
  1. Distinctive:

    Ask (or infer from the user's request) which binary to evaluate:

    line 23
  2. Very specific:

    Start an emulator (not on PATH by default: ~/Library/Android/sdk/emulator/emulator -avd <AVD> &), wait for adb shell getprop …

    line 54
  3. Distinctive:

    Don't run evals without stating which binary is under test.

    line 100
  4. Very specific:

    Don't pass -y unless the user already approved the cost.

    line 101
  5. Distinctive:

    Don't edit or delete eval cases to make a run green — a red case is signal.

    line 102
  6. Very specific:

    Don't commit anything under e2e/agent-evals/reports/ (gitignored on purpose).

    line 104

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. Ask (or infer from the user's request) which binary to evaluate:
    • Installed release (default): whatever sim-use resolves 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 with make build.
  2. Confirm the resolution and report it to the user before running:
    python3 -c 'import pathlib,shutil; print(pathlib.Path(shutil.which("sim-use")).resolve())'
    sim-use --version
    The wrapper prints sim-use under test: <real path> (<version>) and the run report records it under sim-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

  1. Device Hub (Xcode 27) must be CLOSED — pgrep dtuhidd must 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.
  2. Boot a simulator and wait: xcrun simctl boot <UDID> && xcrun simctl bootstatus <UDID>.
  3. The Playground fixture must be installed. Check: xcrun simctl listapps <UDID> | grep -c com.cameroncooke.SimUsePlayground — if missing, install with scripts/test-runner.sh -b (builds sim-use + Playground, ~2-3 min).

Android

  1. Start an emulator (not on PATH by default: ~/Library/Android/sdk/emulator/emulator -avd <AVD> &), wait for adb shell getprop sys.boot_completed → 1.
  2. Both fixture packages must be present: adb shell pm list packages | grep -c com.linecorp.simuse should be 2 (playground + device bridge). If missing, make e2e-android installs them.
  3. 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 test line, and the report path.
  • FAIL → read the case's transcript before concluding anything. Classify:
    1. 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.
    2. CLI regression — the right verb failed → treat as a product bug; reproduce it directly with sim-use before filing.
    3. 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).
  • ERROR → the harness itself broke (reset failed, claude missing); 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 -y unless 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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.