.openhands/setup.sh: the setup script OpenHands runs
.openhands/setup.sh is a shell script OpenHands runs on starting work in a repo, to install dependencies and prepare what the tests need.
By Himanshu Singh · Updated · How we score →
How many repos have an OpenHands setup script?
Of the 434 repos on the leaderboard, 2 pass in full (0.5%), 0 pass in part (0%) and 432 fail (99.5%).
Why does OpenHands need a setup script?
Per its repo-customization docs, OpenHands runs this script every time it begins work in a repo, so the agent starts with a working environment instead of figuring out the install. Only OpenHands reads it, so this check only affects its score.
What counts as an OpenHands setup script?
- Full pass:
.openhands/setup.shexists and is not empty. - 20%: the file exists but is empty.
- Fail: no
.openhands/setup.sh.
How checks become a score: methodology.
How do I add .openhands/setup.sh to my repo?
Put in it the commands a new contributor runs once: install dependencies, build, set up test fixtures. Keep it non-interactive; nobody answers prompts.
Which AI agents read .openhands/setup.sh?
- OpenHands10% of its score
Pass rate by language
- TypeScript2 of 88 (2%)
- Python0 of 56 (0%)
- Rust0 of 47 (0%)
- Go0 of 41 (0%)
- Java0 of 32 (0%)
- C++0 of 21 (0%)
- JavaScript0 of 16 (0%)
- Kotlin0 of 15 (0%)
- PHP0 of 14 (0%)
- Swift0 of 14 (0%)
- C#0 of 12 (0%)
- Dart0 of 12 (0%)
- Ruby0 of 11 (0%)
- C0 of 10 (0%)
- Elixir0 of 7 (0%)
- Haskell0 of 7 (0%)
- Scala0 of 6 (0%)
- Zig0 of 6 (0%)
- Clojure0 of 5 (0%)
Top-scoring repos that pass
- TypeScript · 94.5k ★
- hsnice16/tula78.7TypeScript · 1 ★(by this site's author)
Popular repos that fail it
- TypeScript · 395.3k ★
- react/react75.4JavaScript · 253k ★
- TypeScript · 229.6k ★
- n8n-io/n8n86.9TypeScript · 212.4k ★
- TypeScript · 211.5k ★
- microsoft/vscode82.6TypeScript · 195.9k ★
- ollama/ollama82.6Go · 188.3k ★
- Python · 188.2k ★
Every check, grouped into what to do first: how to make your repo ready for AI coding agents.