agentreadme

Report ยท marked 24 Nov 2026

tw93/Mole

Ready for an agent to work in without hand-holding.

Shell ยท 76,080 stars ยท 378 files ยท branch main

Fix these first

01
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.
02
Repository weight
Large binaries and vendored trees slow every operation an agent performs. Git LFS or a separate assets repo keeps the working tree navigable.
03
Environment config
Add a .env.example listing every variable with a safe placeholder value. It's the cheapest possible fix and it unblocks the whole first run.

The full marking

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

Instructions 25/27 A+

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.
โœ—Instruction quality 10/12
Specific enough that an agent can act on it.
Worth fixing: it's 36k characters, which burns context on every single turn.
names the actual commands to run
uses headings, so an agent can skim it
includes copyable code blocks
โœ“README as an entry point 3/3
README has a clear getting-started section.
Setup 16/18 A

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

โœ“Deterministic install 6/6
go.sum pins the dependency tree.
Found go.sum
โœ“Discoverable commands 6/6
Commands are declared where an agent will look for them.
Makefile
scripts/ directory
โœ—Environment config 2/4
Env vars are mentioned in the README but there's no example file to copy.
Add a .env.example listing every variable with a safe placeholder value. It's the cheapest possible fix and it unblocks the whole first run.
โœ“Pinned runtime version 2/2
The language runtime version is pinned.
go.mod declares a Go version
โ€“Reproducible environment n/a
Not applicable โ€” a library doesn't need a container to be worked on.
Verification loop 22/22 A+

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

โœ“Tests exist 8/8
150 test files against 179 source files.
e.g. cmd/analyze/analyze_filter_test.go, cmd/analyze/analyze_test.go, cmd/analyze/cache_clock_test.go
โœ“Test command is discoverable 7/7
An agent can find and run `make test`.
โœ“Continuous integration 4/4
8 GitHub Actions workflows define what "passing" means.
โœ“Lint and format rules 3/3
.golangci.yml encodes the house style.
โ€“Static type checking n/a
Not applicable โ€” the Go 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 69 patterns.
โœ—File sizes fit in context 2/6
10 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.
lib/clean/dev.sh โ€” 271KB
lib/core/file_ops.sh โ€” 186KB
lib/clean/user.sh โ€” 184KB
โœ—Repository weight 2/5
About 331MB checked out. Large enough that cloning and searching are both slow.
Large binaries and vendored trees slow every operation an agent performs. Git LFS or a separate assets repo keeps the working tree navigable.

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 tw93/Mole
# AGENTS.md

๐Ÿน Open-source Mac and PC cleaner. Keep your machine clean, light, and running like new. Fast CLI, plus native Mac and Windows apps.

## Setup

```
go mod download
```

## Commands

```
make mod-download
make build          # produce a build
make check          # lint and type check
make format         # format
make test           # run the test suite, must pass before any commit
make test-go
```

## Layout

- `cmd/`      80 source files
- `lib/`      45 source files
- `tests/`    22 source files
- `scripts/`  15 source files
- `bin/`      11 source files
- `internal/` 2 source files

## Conventions

- Tests live alongside the code they cover, following `cmd/analyze/analyze_filter_test.go`.
- CI defines what passing means. See `.github/workflows/bundle_audit.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `lib/clean/dev.sh` is 271KB. It will not fit comfortably in context, so read it in parts.

---

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/tw93/Mole.md

A draft gets the commands right and stops at the things only a maintainer knows. what AGENTS.md is explains the format itself.

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 89 out of 100

[![agent ready](https://agentreadme.com/badge/tw93/Mole.svg)](https://agentreadme.com/tw93/Mole)

Other Shell repositories, marked

mattpocock/skills 70 B+ obra/superpowers 74 B+ ohmyzsh/ohmyzsh 46 C msitarzewski/agency-agents 42 C d3/d3 68 B nvm-sh/nvm 77 B+

All Shell 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