tldr
Skill47 starsChanged 2 months agoMITView on GitHub
Code analysis through TLDR (call graphs, impact, dataflow, semantic search) for far fewer tokens than reading files raw. Triggers "who calls X", "blast radius", or before a large file read or refactor.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- richkuo/rk-skillstheir own version, first seen Oct 4, 2026
- fabiandistler/agentstheir own version, first seen Sep 30, 2026
- DoKu67/claude-code-skilstheir own version, first seen Sep 29, 2026
- JaysonGCS/skillstheir own version, first seen Sep 29, 2026
- kaiohenricunha/dotbabeltheir own version, first seen Sep 24, 2026
- SurefireStudios/tldrtheir own version, first seen Sep 11, 2026
Used with
Projects with it also use grill-me.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- alexgreensh/attention-span★ 1.2ksame name
- earlyaidopters/claudeclaw★ 172same name
- richkuo/rk-skills★ 49same name
- Vesely/skills★ 28same name
- gsarig/skills★ 27same name
- r13i/skills★ 17same name
- SurefireStudios/tldr★ 11same name
- WahyuS002/skills★ 6same name
- DoKu67/claude-code-skils★ 4same name
- preetamnath/agent-skills★ 4same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/AGENTS.mdAGENTS.md
- adhdSkill
- auditSkill
- autoresearchSkill
- buildSkill
- ccSkill
- checkpointSkill
- codexSkill
- componentSkill
- consolidateSkill
- context-docSkill
- design-tokensSkill
- dr-initSkill
- exploreSkill
- fixSkill
- freezeSkill
- handoffSkill
- harvestSkill
- hookSkill
- lighthouseSkill
- oracleSkill
- orchestrateSkill
- plan-ceo-reviewSkill
- plan-featureSkill
- poke-holesSkill
- projectSkill
- proof-of-workSkill
- qaSkill
- refactorSkill
- retroSkill
- review-batchSkill
- reviewSkill
- share-learningSkill
- shipSkill
- strategistSkill
- testSkill
- triageSkill
- zero-tech-debtSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Do not invoke or claim to have invoked a TLDR MCP in standalone Codex.
- Distinctive: line 152
Search files by regex pattern:
- Distinctive: line 170
Check uptime and cache statistics:
- Very specific: line 178
Default engine: native-ts — no Python, no daemon, nothing to install.
- Distinctive: line 208
Store as learning: if discovering non-obvious patterns
“Common” is measured: kept by at least 6 in 10 of the 20 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TLDR Code Analysis
Standalone Codex fallback
cc-settings does not install the TLDR MCP into standalone Codex. Ignore the
Claude context, allowed-tools, and requires frontmatter in that host and
keep the task read-only with native tools. Use rg --files to map the tree,
rg -n '<symbol|pattern>' for exact references, direct import searches such as
rg -n 'from .*<module>|require\(.*<module>', and caller searches for the
symbol followed by focused file reads. Use git diff --name-only plus test-name
and import searches for change impact.
Do not invoke or claim to have invoked a TLDR MCP in standalone Codex. Report the native searches actually run and their limitations. The remaining workflow is for Claude hosts with the configured TLDR MCP.
Token-efficient codebase analysis behind the tldr MCP server. It returns the symbols, edges, and slices you asked for instead of whole file bodies, so a question that would cost several full reads costs one small structured answer.
No measured savings figure is published here on purpose. cc-settings carried a "~95% fewer tokens" claim for months with no benchmark behind it anywhere in the repo — the kind of number
AGENTS.mdnow forbids (No savings against a run that never happened). To get a real figure, answer the same question both ways and compare the token counts your own session reports.
The engine is provisioned by cc-settings. The tool names below are the stable contract; only the engine behind them changes. Select with CC_CODE_INTEL_ENGINE.
Default: native-ts — a zero-dependency TypeScript-compiler codemap. TS/JS only. Implements structure, tree, extract, arch, imports, importers, calls, context, impact, change_impact. Everything else returns unsupported-by-native-engine, which means the analysis did not run — fall back to Grep, never report it as an empty finding.
Opt-in: CC_CODE_INTEL_ENGINE=llm-tldr — multi-language, plus semantic, dead, diagnostics, slice, cfg, dfg, search. Use it on Rust/Python/Go repos. Selecting it means re-running setup.sh with the variable set (see Prerequisites), not just exporting it. Two caveats, both measured 2026-07-27:
languagedoes NOT auto-detect — it defaults topython. On a TS repo, omitting it returns{"status":"ok"}with an EMPTY result rather than an error, so a wrong answer is indistinguishable from a true negative. Always passlanguageexplicitly (typescript,go,rust, … orall). The MCPimpactandsemantictools expose nolanguageparameter at all, so they cannot be fixed this way — cross-check withGrep.- Upstream is archived (
parcadei/llm-tldr, 2026-07-13). Neither caveat will be fixed upstream.
Quick Reference
| Task | Command |
| "How does X work?" | semantic† → context |
| "Who calls X?" | impact |
| "What would break?" | impact + change_impact |
| "Why is X null here?" | slice† (backward) |
| "What does X affect?" | slice† (forward) |
| "Project structure?" | arch + structure |
| "Find auth code" | semantic "authentication"† |
| "Data flow in function" | dfg† |
| "Control flow" | cfg† |
| "Find dead code" | dead† |
| "Type errors?" | diagnostics† |
| "File tree" | tree |
| "Regex search" | search† |
† Not implemented by the default native-ts engine — returns
unsupported-by-native-engine unless you opt into llm-tldr. Treat that as
"did not run", not "found nothing", and fall back to Grep.
Commands
Semantic Search (Natural Language)
Find code by meaning, not exact text. Uses 5-layer embeddings (AST + call graph + CFG + DFG + PDG):
mcp__tldr__semantic { "project": ".", "query": "user authentication flow" }
mcp__tldr__semantic { "project": ".", "query": "error handling" }Function Context
Get LLM-ready summary instead of reading entire file:
mcp__tldr__context { "project": ".", "entry": "handleLogin", "depth": 2 }Impact Analysis (Before Refactoring)
Find all callers - critical before changing any function:
mcp__tldr__impact { "project": ".", "function": "useAuth" }Architecture Overview
Understand project layers and dependencies:
mcp__tldr__arch { "project": "." }Program Slice (Debugging)
What affects a specific line (backward) or what it affects (forward):
mcp__tldr__slice {
"file": "src/auth.ts",
"function": "login",
"line": 42,
"direction": "backward",
"variable": "user"
}Call Graph
Cross-file function call relationships (pass language explicitly):
mcp__tldr__calls { "project": "." }Data Flow Graph
Variable references and def-use chains:
mcp__tldr__dfg { "file": "src/auth.ts", "function": "validateToken" }Control Flow Graph
Basic blocks and branching:
mcp__tldr__cfg { "file": "src/auth.ts", "function": "handleRequest" }Change Impact (Affected Tests)
Find tests affected by changed files (auto-detects from git diff):
mcp__tldr__change_impact { "project": "." }Dead Code Detection
Find unreachable code (pass language explicitly):
mcp__tldr__dead { "project": "." }Import Analysis
Parse imports or find importers:
mcp__tldr__imports { "file": "src/utils.ts" }
mcp__tldr__importers { "project": ".", "module": "auth" }Diagnostics (Type/Lint)
Type checking and linting:
mcp__tldr__diagnostics { "path": "src/" }File Tree
Quick project structure overview:
mcp__tldr__tree { "project": "." }
mcp__tldr__tree { "project": "src/", "extensions": [".ts", ".tsx"] }Regex Search
Search files by regex pattern:
mcp__tldr__search { "project": ".", "pattern": "TODO|FIXME|HACK" }Structure Overview
Functions, classes, methods per file (pass language explicitly):
mcp__tldr__structure { "project": ".", "max_results": 50 }Full File Extract
Complete code structure from a single file (imports, functions, classes, call graph):
mcp__tldr__extract { "file": "src/auth.ts" }Daemon Status
Check uptime and cache statistics:
mcp__tldr__status { "project": "." }Prerequisites
The engine behind tldr is provisioned automatically by cc-settings (setup.sh).
Default engine: native-ts — no Python, no daemon, nothing to install.
See src/lib/code-intel-engine.ts.
Opt into llm-tldr for non-TS/JS repos or the analysis tools native-ts lacks.
Exporting the variable alone is not enough — the tldr entry in
~/.claude.json is written at install time, so a shell-only export leaves the
hooks on llm-tldr while the MCP server stays on native-ts. Re-run the installer
with the variable set, then restart Claude Code:
CC_CODE_INTEL_ENGINE=llm-tldr bash setup.sh # rewrites the MCP entry
pipx install llm-tldr # only if provisioning manually
tldr daemon start # background service (~100ms queries)
tldr semantic index . --lang typescript # per-language; the default index is emptyRules
- On the opt-in llm-tldr engine, pass the
languageparam on every call: it defaults topythonand returns empty results for other languages without an error. The default native-ts engine detects the language itself. - Reach for
context/structure/callsBEFORE reading large files — with an explicit language. - Before refactoring, do NOT trust an empty
impact. On non-Python code it returns{"status":"ok","callers":[]}whether or not callers exist, and it has nolanguageparameter to fix that. Confirm withGrepormcp__tldr__calls(explicit language) before concluding nothing calls a symbol. semanticneeds an index built with the right language (tldr semantic index . --lang <lang>) and still ranks poorly on this repo — treat its hits as candidates to verify, not answers.- Use
grepfor exact string matching — and as the cross-check whenever a tldr result is empty.
Output
Return findings with:
- Relevant code: Key functions/files found
- Call chain: How things connect
- Recommendations: Next steps based on analysis
- Store as learning if discovering non-obvious patterns
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

