agentreadme

Report ยท marked 25 Aug 2026

ghostty-org/ghostty

An agent can work here, but it will waste turns finding its footing.

Zig ยท 60,223 stars ยท 5,865 files ยท branch main

Fix these first

01
Test command is discoverable
Add a `test` script or a `test` target that runs the whole suite with no arguments. The convention is the interface โ€” an agent tries `npm test` and `make test` before it tries reading your CI config.
02
Deterministic install
Commit the lockfile your package manager generates. Without it, an agent's install and your install are different builds, and 'works on my machine' becomes unfalsifiable.
03
File sizes fit in context
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.

The full marking

Every deduction below names the file or setting it came from.

Instructions 20/27 B+

Whether the repo tells an agent how to behave before it starts guessing.

โœ“Agent instruction file 12/12
AGENTS.md is present, which is the format the most tools read.
Also found: CLAUDE.md
โœ—Instruction quality 6/12
Real instructions, with gaps.
Worth fixing: it never states a build, test, or run command; has no code blocks.
1,387 characters, a workable length
uses headings, so an agent can skim it
โœ—README as an entry point 2/3
README exists but never explains how to get the thing running.
Give the README an Install and a Usage heading with real commands under each. Agents pattern-match on those headings.
Setup 6/14 C

Whether an agent can install the project and get it running without a human.

โœ—Deterministic install 0/6
No lockfile. An agent installing dependencies may not get what CI got.
Commit the lockfile your package manager generates. Without it, an agent's install and your install are different builds, and 'works on my machine' becomes unfalsifiable.
โœ“Discoverable commands 6/6
Commands are declared where an agent will look for them.
Makefile
โ€“Environment config n/a
Not applicable โ€” this reads as a library, with no environment to configure.
โœ—Pinned runtime version 0/2
No pinned runtime version.
Add a .nvmrc, .python-version, or equivalent so the agent's toolchain matches yours.
โ€“Reproducible environment n/a
Not applicable โ€” a library doesn't need a container to be worked on.
Verification loop 15/22 B

Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.

โœ“Tests exist 8/8
4048 test files against 1062 source files.
e.g. macos/Tests/BenchmarkTests.swift, macos/Tests/ColorizedGhosttyIconTests.swift, macos/Tests/CommandLineOpenFileFilterTests.swift
โœ—Test command is discoverable 0/7
There's no obvious way to run the tests. Even if tests exist, an agent won't reliably find the entry point.
Add a `test` script or a `test` target that runs the whole suite with no arguments. The convention is the interface โ€” an agent tries `npm test` and `make test` before it tries reading your CI config.
โœ“Continuous integration 4/4
15 GitHub Actions workflows define what "passing" means.
โœ“Lint and format rules 3/3
.swiftlint.yml encodes the house style.
โ€“Static type checking n/a
Not applicable โ€” the Zig compiler type checks every build.
Context economy 13/20 B

Whether the repo fits in a context window, or fights it.

โœ“No committed build output 6/6
No generated directories committed.
โœ“.gitignore hygiene 3/3
.gitignore covers 31 patterns.
โœ—File sizes fit in context 0/6
22 source files are over 100KB.
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
src/terminal/PageList.zig โ€” 698KB
src/terminal/Terminal.zig โ€” 563KB
src/terminal/Screen.zig โ€” 418KB
โœ—Repository weight 4/5
About 78.7MB checked out, which is comfortable.

Here is your AGENTS.md

Drafted from what is actually in this repository: the install command from your lockfile, the commands you already declare, your real directory layout. Anything marked TODO needs a person. Save it at the root as AGENTS.md.

AGENTS.md โ€” drafted for ghostty-org/ghostty
# AGENTS.md

๐Ÿ‘ป Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

## Setup

```
# TODO: the install command. No lockfile was found, so this could not be inferred.
```

## Commands

```
make init
make glad
make clean
```

## Layout

- `src/`     557 source files
- `macos/`   197 source files
- `pkg/`     193 source files
- `example/` 57 source files
- `include/` 35 source files
- `test/`    9 source files

## Conventions

- Tests live alongside the code they cover, following `macos/Tests/BenchmarkTests.swift`.
- CI defines what passing means. See `.github/workflows/clean-artifacts.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- Generated output is committed (`dist/`). Search will return the compiled copy, so edit the source, not that.
- `src/terminal/PageList.zig` is 698KB. It will not fit comfortably in context, so read it in parts.
- No lockfile is committed, so an install here may not match what CI produced.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.

Open the raw markdown  or  curl -o AGENTS.md agentreadme.com/draft/ghostty-org/ghostty.md

Show the mark

The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.

agent ready 66 out of 100

[![agent ready](https://agentreadme.com/badge/ghostty-org/ghostty.svg)](https://agentreadme.com/ghostty-org/ghostty)

Other Zig repositories, marked

ziglang/zig 29 F lightpanda-io/browser 76 B+

All Zig repositories

Think this mark is wrong?

Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.

Open an issue, already filled in