← back to leaderboard

elastic/elasticsearchGitHub

https://github.com/elastic/elasticsearch
Stars:
78.2k
Language:
Java
Default branch:
main
Last scored:
18h ago
Overall

At a glance

Rank
#260 of 371
#15 of 28 Java repos
Checks passed
7 of 16
Full list below
Best set up for
Claude Code
Score 68.8
Needs most work for
Aider
Biggest fix: .aider.conf.yml (+14.1 pts)

What to fix first

  1. 1
    README
    Expand your README to cover what the project does, how to install, the common commands, and the high-level layout.
    +9.2 pts
  2. 2
    Linter / formatter config
    Configure a linter/formatter (ESLint+Prettier, Biome, Ruff, rustfmt+clippy, golangci-lint) and commit the config.
    +7.9 pts
  3. 3
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts

Score for each AI agent

Each agent looks for different things in a repo, based on its own docs. Under each score are the three checks it cares about most.

Claude Code
68.8
Kimi CLI
68.6
GPT-5 Codex
67.9
Devin
67.8
Pi
65.1
OpenHands
60.8
Gemini CLI
59.0
Cursor
57.0
Aider
52.5

Similar repos

Scored for Claude Code. Same language and host as this repo, scoring near it.

All Java repos →

All checks

Substantive (16604 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
11 GitHub Actions workflow(s)
.github/workflows
CONTRIBUTING guide· 100% pass
Guide present
CONTRIBUTING.md
No .cursor/rules/*.mdc or .cursorrules
Manifest present
build.gradle
Has gradlew
gradlew
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE.txt
No linter/formatter config found
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 0% pass
No README found
Manageable size· 20% pass
10001+ files — very large
Test suite· 100% pass
Found /test
test
Type configuration· 100% pass
Typed language (Java/Kotlin)

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/elastic/elasticsearch
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/elastic/elasticsearch.svg)](https://agentfriendlycode.com/repo/github/elastic/elasticsearch)

Check the score on every pull request

Add this file to your repo. On each pull request, it posts one comment showing how the score changed and why. It runs in your own CI, with no outside server involved.

# .github/workflows/agent-friendly.yml
name: Agent-friendly score diff

on:
  pull_request:
    branches: [main]

permissions:
  contents: read
  pull-requests: write

jobs:
  score-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7
        with:
          fetch-depth: 0
      - uses: hsnice16/agent-friendly-action@v0
        with:
          agents-badge-token: ${{ secrets.AGENTS_BADGE_TOKEN }}

Add AGENTS_BADGE_TOKENto the repo's secrets to turn the comment on. Without it, the action does nothing. Where do I add it?