tldr
Too long; didn't read — for AI coding agents.
Your coding agent buries the answer in four paragraphs.
This makes it lead with three lines and fold the rest.
Demote, don't delete.
🇬🇧 English ·
🇨🇳 ·
🇪🇸 ·
🇧🇷 ·
🇯🇵 ·
➕ add yours
Install
Paste this into your agent. It works in Claude Code, Cursor, Codex, Gemini CLI, and the 20 agents in the table below.
Install the tldr skill from https://github.com/SurefireStudios/tldr — read the repo's AGENTS.md for instructions.
Prefer a real command? Claude Code:
claude plugin marketplace add SurefireStudios/tldr
claude plugin install tldr@tldr
Every other agent: 🔗 INSTALL.md
Then type /tldr.
Real output from the eval suite, not a mockup — both halves are in evals/results/run6-pass/.
The problem
Two problems, actually.
Your agent talks too much. You asked a yes/no question. You got four paragraphs, a numbered plan, a caveat about edge cases, and "Hope this helps!" The answer was in there somewhere.
Your agents talk too much to each other. A subagent finishes a search and returns 4,000 tokens of narration to the orchestrator, which needed three lines. You paid for all of it, twice — once to write it, once to carry it in context for the rest of the session.
Most "be concise" prompts fix the first problem by deleting information. That is a bad trade the moment you are doing code review, a security audit, or anything you will be held to.
Demote, don't delete
tldr does not make your agent say less. It makes your agent say the important part first, and put everything else directly underneath.
Nothing is thrown away. You choose your depth.
**TL;DR**
- `listOrders` queries the customer table once per row: 241 round trips to render one page.
- Fix: pass `include: { customer: true }` at `src/orders/repository.ts:88`, then delete the loop under it.
- ~10 minutes. The orders benchmark already covers this path.
<details>
<summary>Full detail</summary>
...everything the agent would normally have said, in full...
</details>
In a terminal, where <details> does not render, it uses a plain divider instead. The skill knows the difference.
What changes
Before
Thanks for flagging this — there's a fair bit going on with the orders endpoint. The route handler calls listOrders over in the repository layer, which pulls the order rows and then, for each individual row, issues a separate query to resolve that order's customer record. On a page rendering 240 orders that works out to 241 round trips to the database, which is almost certainly where the latency is coming from. Prisma does support eager loading through the include option, so one possible approach would be to pass the customer relation into the initial query and then remove the per-row lookup beneath it. You might also want to confirm there's an index on orders.customer_id, though that's more of a nice-to-have than the actual fix here. While I was in there I noticed the invoices repository looks like it has the same shape of problem, and separately your Prisma client is a couple of minor versions behind. Hope that helps — let me know if you'd like me to dig into any of that!
|
After |