Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

tealdeer

$ tldr Community Low Risk
tealdeer-rs · Files & Search · MIT OR Apache-2.0 · macos / linux / windows

tealdeer (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.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install tealdeer
CLI vs MCP Decision CLI Preferred vs MCP

Looking up cached tldr --raw <cmd> examples locally is faster and vastly cheaper than fetching docs via web or MCP.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Instant non-interactive execution with --raw, --color never, --list, and --platform, though there is no --json output.

  • Supports --raw clean Markdown output and --color never
  • Clear exit code when page or cache is missing
Trust & Safety 24 / 25

Strictly read-only page lookups; only --update writes to the user cache directory.

  • Read-only lookups against local cache
Setup & Portability 15 / 15

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
Utility & Efficiency 13 / 15

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
Maintenance & Lineage 9 / 10

Well-maintained MIT/Apache-2.0 Rust project (tealdeer-rs/tealdeer).

  • Active upstream repository and regular updates
Docs & Verifiability 8 / 10

Clean official documentation at docs.tealdeer.org and concise --help.

  • Official docs covering caching, platforms, and config

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; caches public tldr pages locally in the user cache directory.

Side Effects
Read-Only Local Write
Cost & Quotas

100% free, offline-capable, and open-source (MIT / Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Print unrendered Markdown tldr page without ANSI colors
tldr --raw --color never tar

Emits the clean Markdown source of the tar cheatsheet via --raw and --color never.

List all locally cached tldr command pages
tldr --list

Outputs every cached command name in the local offline index.

Controlled Writes & Previews

Refresh the local tldr page cache
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 --platform filtering.

Caveats & Pitfalls

  • ! Initial use requires tldr --update (network access) to populate the local cache.
  • ! No --json output and community tldr pages cover common flags rather than exhaustive flag specs.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI