agentreadme

Report · marked 24 Nov 2026

chatboxai/chatbox

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

TypeScript · 42,509 stars · 2,704 files · branch main

Fix these first

01
Agent instruction file
Add an AGENTS.md at the root: what the project is, how to install, how to run, how to test, and the two or three conventions a newcomer always gets wrong.
02
Instruction quality
Instructions earn their keep by naming exact commands. 'Run the tests with `pnpm test`' beats three paragraphs of philosophy.
03
Continuous integration
A CI workflow doubles as machine-readable documentation: it's the one file that states, unambiguously, the exact commands that must succeed.

The full marking

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

Instructions 3/27 F

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

✗Agent instruction file 0/12
None found. Every agent that opens this repo starts from zero.
Add an AGENTS.md at the root: what the project is, how to install, how to run, how to test, and the two or three conventions a newcomer always gets wrong.
Looked for AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, .cursorrules
✗Instruction quality 0/12
Nothing to judge, since there are no instructions.
Instructions earn their keep by naming exact commands. 'Run the tests with `pnpm test`' beats three paragraphs of philosophy.
✓README as an entry point 3/3
README has a clear getting-started section.
Setup 16/20 A-

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

✓Deterministic install 6/6
pnpm-lock.yaml pins the dependency tree.
Found pnpm-lock.yaml
✓Discoverable commands 6/6
Commands are declared where an agent will look for them.
package.json scripts (generate:model-snapshot, build, build:main, build:preload, build:renderer, build:web…)
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.
Found .node-version
✗Reproducible environment 0/2
No container or devcontainer definition.
A Dockerfile or devcontainer removes an entire class of 'it won't install' failures.
Verification loop 21/25 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
831 test files against 2382 source files.
e.g. packages/chatbox-core/src/application/attachments/AttachmentService.test.ts, packages/chatbox-core/src/application/chat/ChatMessageService.reply-below.test.ts, packages/chatbox-core/src/application/chat/ChatMessageService.test.ts
✓Test command is discoverable 7/7
An agent can find and run `npm run test`.
✗Continuous integration 0/4
No CI config. Nothing outside a developer's laptop enforces correctness.
A CI workflow doubles as machine-readable documentation: it's the one file that states, unambiguously, the exact commands that must succeed.
✓Lint and format rules 3/3
.eslintrc.js encodes the house style.
✓Static type checking 3/3
Strict type checking is on, which catches a whole class of agent mistakes before they run.
Context economy 17/20 A

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 104 patterns.
✗File sizes fit in context 4/6
3 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.
packages/chatbox-core/src/generation/GenerationService.test.ts — 137KB
src/renderer/routes/-new-user-scenarios/scenarios.ts — 122KB
packages/chatbox-react/src/query/session-transcript-window.test.ts — 108KB
✗Repository weight 4/5
About 64.4MB 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 chatboxai/chatbox
# AGENTS.md

Powerful AI Client

## Setup

```
pnpm install
```

## Commands

```
pnpm dev                       # run locally
pnpm start                     # run the app
pnpm build                     # produce a build
pnpm test                      # run the test suite, must pass before any commit
pnpm lint                      # lint
pnpm format                    # format
pnpm check                     # lint and type check
pnpm generate:model-snapshot
```

## Layout

- `src/`      1813 source files
- `packages/` 474 source files
- `test/`     35 source files
- `scripts/`  19 source files
- `script/`   4 source files
- `assets/`   1 source file

## Conventions

- Tests live alongside the code they cover, following `packages/chatbox-core/src/application/attachments/AttachmentService.test.ts`.
- TypeScript runs in strict mode. Type errors are the fastest feedback available, so do not weaken it.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `packages/chatbox-core/src/generation/GenerationService.test.ts` is 137KB. 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/chatboxai/chatbox.md

A draft gets the commands right and stops at the things only a maintainer knows. What a good TypeScript AGENTS.md looks like covers what to add by hand, and 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 66 out of 100

[![agent ready](https://agentreadme.com/badge/chatboxai/chatbox.svg)](https://agentreadme.com/chatboxai/chatbox)

Other TypeScript repositories, marked

freeCodeCamp/freeCodeCamp 69 B openclaw/openclaw 73 B+ nilbuild/developer-roadmap 45 C deepseek-ai/deepseek-harness 82 A- anomalyco/opencode 79 A- vuejs/vue 67 B

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