Report · marked 25 Aug 2026
TriliumNext/Trilium
Solid foundations, held back in a few specific places.
TypeScript · 37,589 stars · 5,717 files · branch main
Higher is better. Accent marks what is costing you most.
Fix these first
The full marking
Every deduction below names the file or setting it came from.
Instructions 22/27 A-
Whether the repo tells an agent how to behave before it starts guessing.
Setup 16/20 A-
Whether an agent can install the project and get it running without a human.
Verification loop 17/25 B
Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.
Context economy 9/20 C
Whether the repo fits in a context window, or fights it.
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 Build your personal knowledge base with Trilium Notes ## Setup ``` pnpm install ``` ## Commands ``` pnpm typecheck # type check without emitting pnpm client:test pnpm client:build pnpm client:coverage pnpm client:stylelint pnpm server:test pnpm server:build pnpm server:coverage ``` ## Layout - `apps/` 1661 source files - `packages/` 999 source files - `scripts/` 24 source files - `docs/` 5 source files ## Conventions - Tests live alongside the code they cover, following `apps/client/src/components/entrypoints.spec.ts`. - TypeScript is not in strict mode. Turning it on catches a whole class of mistakes before they run. - CI defines what passing means. See `.github/workflows/checks.yml`, and keep it green. - TODO: add the two or three conventions a newcomer always gets wrong here. ## Gotchas - `packages/pdfjs-viewer/viewer/viewer.mjs` is 803KB. 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/TriliumNext/Trilium.md
Show the mark
The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.
[](https://agentreadme.com/TriliumNext/Trilium)Other TypeScript repositories, marked
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.