← back to leaderboard

charmbracelet/crushGitHub

https://github.com/charmbracelet/crush
Stars:
28.6k
Language:
Go
Default branch:
main
Last scored:
17h ago
Overall

At a glance

Rank
#117 of 371
Top 32% · #15 of 37 Go repos
Checks passed
7 of 16
Full list below
Best set up for
Pi
Score 82.4
Needs most work for
OpenHands
Biggest fix: .openhands/setup.sh (+10.4 pts)

What to fix first

  1. 1
    CONTRIBUTING guide
    Add CONTRIBUTING.md describing branch naming, commit style, test commands, and the PR process.
    +5.3 pts
  2. 2
    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
  3. 3
    Test suite
    Add a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.
    +3.9 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.

Pi
82.4
GPT-5 Codex
82.0
Kimi CLI
80.8
Claude Code
80.7
Devin
78.1
Cursor
75.4
Gemini CLI
73.0
Aider
70.0
OpenHands
68.6

Similar repos

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

All Go repos →

All checks

Substantive (10590 chars)
AGENTS.md
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
9 GitHub Actions workflow(s)
.github/workflows
No CONTRIBUTING file
No .cursor/rules/*.mdc or .cursorrules
Manifest present
go.mod
Has flake.nix
flake.nix
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
LICENSE.md
Config detected
.golangci.yml
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (35252 chars)
README.md
Manageable size· 80% pass
1215 files
Test suite· 70% pass
Test files detected (internal/agent/accepted_run_test.go)
internal/agent/accepted_run_test.go
Type configuration· 100% pass
Typed language (Go)

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/charmbracelet/crush
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/charmbracelet/crush.svg)](https://agentfriendlycode.com/repo/github/charmbracelet/crush)

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?