tealdeer
$ tldr Community Low Risktealdeer (tldr) fetches and caches community-maintained tldr command cheatsheets locally in a compact SQLite/directory cache. It runs non-interactively with --raw Markdown output and --color never, letting agents look up concise usage examples offline without hitting web search.
brew install tealdeer Looking up cached tldr --raw <cmd> examples locally is faster and vastly cheaper than fetching docs via web or MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Instant non-interactive execution with --raw, --color never, --list, and --platform, though there is no --json output.
- Supports
--rawclean Markdown output and--color never - Clear exit code when page or cache is missing
Strictly read-only page lookups; only --update writes to the user cache directory.
- Read-only lookups against local cache
Single Rust binary available via Homebrew, cargo, apt, dnf, winget, Scoop, and GitHub releases on macOS, Linux, and Windows.
- Cross-platform binary with zero runtime dependencies
Sub-10ms local lookup of practical CLI examples saves agents from parsing sprawling man pages or running web searches.
- Compact, example-first command summaries offline
Well-maintained MIT/Apache-2.0 Rust project (tealdeer-rs/tealdeer).
- Active upstream repository and regular updates
Clean official documentation at docs.tealdeer.org and concise --help.
- Official docs covering caching, platforms, and config
Security, Auth & Guardrails
None required; caches public tldr pages locally in the user cache directory.
100% free, offline-capable, and open-source (MIT / Apache-2.0).
# tealdeer (tldr) Agent Rules - Always pass `--raw --color never` when reading `tldr` pages so output is clean Markdown. - Run `tldr --update` once if the local cache is empty; use `-p <linux|macos|windows>` when checking OS-specific flags.
Agent-Ready Command Recipes
Safe Read-Only Queries
tldr --raw --color never tar
Emits the clean Markdown source of the tar cheatsheet via --raw and --color never.
tldr --list
Outputs every cached command name in the local offline index.
Controlled Writes & Previews
tldr --update
Downloads the latest tldr-pages archive into the local cache directory.
Strengths for Agents
- +
tldr --raw --color never <cmd>gives agents instant, token-lean Markdown examples offline. - + Cross-platform Rust binary with explicit
--platformfiltering.
Caveats & Pitfalls
- ! Initial use requires
tldr --update(network access) to populate the local cache. - ! No
--jsonoutput and communitytldrpages cover common flags rather than exhaustive flag specs.