OpenHands vs Claude Code: which do top repos set up for?
Claude Code averages higher: 64.5 for OpenHands and 71.9 for Claude Code, across 402 repos. OpenHands scores higher on 15, Claude Code on 384, and 3 tie.
Scores measure how well each repo is set up for an agent: instruction files, tests, CI and the other checks, weighted by what each agent's docs say it uses, not which agent writes better code.
Which files does each one read?
- Reads from the repo
- OpenHands:
AGENTS.mdCLAUDE.md.openhands/setup.sh.agents/skills/ - Claude Code:
CLAUDE.md.claude/CLAUDE.md.claude/rules/CLAUDE.local.mdAGENTS.md.claude/AGENTS.md - Reads AGENTS.md
- OpenHands: Always
- Claude Code: Only when there is no CLAUDE.md
- Reads CLAUDE.md
- OpenHands: Yes
- Claude Code: Yes
- From its docs
- OpenHands: Runs
.openhands/setup.shwhen it starts work on a repo. Treats CLAUDE.md and GEMINI.md as context for Claude and Gemini models. - Claude Code: Reads AGENTS.md only when no CLAUDE.md,
.claude/CLAUDE.mdor CLAUDE.local.md is found (v2.1.277 and later). A CLAUDE.md that imports@AGENTS.mdloads both, as does a setting. - Repos with its own file
- OpenHands: .openhands/setup.sh: 2 of 402 (0.5%)
- Claude Code: CLAUDE.md only: 18 of 402 (4%)
AGENTS.md and CLAUDE.md mean the file at the repo root; a repo with both counts under AGENTS.md, and empty files don't count. Every agent's files.
Which checks does each weigh more?
| Check | OpenHands | Claude Code |
|---|---|---|
| .openhands/setup.sh | 10% | 0% |
| AGENTS.md / CLAUDE.md | 5% | 13% |
| Test suite | 9% | 13% |
| Skills (.agents/skills) | 4% | 0% |
| CI configuration | 10% | 7% |
| Type configuration | 5% | 8% |
Each figure is the check's share of the agent's total weight, from the docs linked below. A check few repos pass, such as an agent's own file, lowers that agent's scores wherever it carries weight. The methodology lists every weight.
Which repos are set up better for OpenHands than Claude Code?
- symfony/symfony49.4 vs 43.4 for Claude Code
- ocornut/imgui28.0 vs 22.4 for Claude Code
- JetBrains/compose-multiplatform33.6 vs 30.3 for Claude Code
- flutter/flutter55.7 vs 52.6 for Claude Code
- sgl-project/sglang55.4 vs 53.0 for Claude Code
Which repos are set up better for Claude Code than OpenHands?
- forem/forem89.5 vs 73.4 for OpenHands
- kubernetes/kubernetes71.4 vs 55.4 for OpenHands
- yugabyte/yugabyte-db80.3 vs 64.7 for OpenHands
- nodejs/node89.5 vs 74.4 for OpenHands
- denoland/deno89.5 vs 74.4 for OpenHands
Which one leads in each language?
| Language | Repos | OpenHands | Claude Code |
|---|---|---|---|
| TypeScript | 83 | 68.9 | 77.0 |
| Python | 56 | 68.6 | 75.6 |
| Rust | 45 | 66.8 | 74.9 |
| Go | 40 | 67.5 | 76.7 |
| Java | 28 | 58.9 | 66.9 |
| C++ | 21 | 58.0 | 64.0 |
| JavaScript | 15 | 70.2 | 79.2 |
What if I use both?
- Write the shared instructions once, in AGENTS.md at the repo root. What to put in it.
- OpenHands: reads AGENTS.md and runs
.openhands/setup.shwhen it starts work on a repo. - Claude Code: import
@AGENTS.mdin a CLAUDE.md; without that, a CLAUDE.md hides AGENTS.md from it.
AGENTS.md vs CLAUDE.md · Which files each agent reads · Make a repo agent-ready
From the docs: docs.openhands.dev/repository (new tab) · docs.openhands.dev/skills (new tab) · docs.openhands.dev/overview (new tab) · code.claude.com/memory (new tab) · code.claude.com/skills (new tab)
Boards: best set up for OpenHands · best set up for Claude Code
More comparisons: Claude Code vs Cursor · Claude Code vs Codex · Gemini CLI vs Claude Code · Cursor vs Codex · Aider vs Claude Code · Pi vs Claude Code · Kimi Code CLI vs Claude Code · Devin vs Claude Code · Codex vs Gemini CLI