tldr for Openclaw

Rapidly access concise, community-driven command-line manuals to streamline your development workflow.

gumadeiras
v1.0.1
Jan 22, 2026
1
3.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tldr

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tldr using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is tldr?

The tldr skill integrates the popular tldr-pages project into your environment, offering a simplified alternative to traditional man pages. Instead of dense, technical documentation, this skill provides practical, example-based guides for thousands of CLI tools. This integration is particularly valuable for Openclaw Skills users who want to minimize token consumption while maintaining high developer productivity.

By focusing on the most common use cases and providing clear examples, it allows agents and developers to quickly grasp command syntax without wading through exhaustive documentation. It serves as a high-performance documentation layer that prioritizes speed and clarity over exhaustive detail.

tldr Use Cases

  • Quickly learning the syntax for unfamiliar CLI commands.
  • Reducing token usage by avoiding lengthy manual pages during AI agent interactions.
  • Finding practical command examples for common tasks like file compression or networking.
  • Refreshing memory on specific flags for tools like tar, git, or ffmpeg.

How tldr Works

  1. The agent identifies a need for information regarding a specific CLI command to fulfill a task.
  2. The skill executes the tldr command to fetch the simplified manual page from the local cache.
  3. The skill returns the concise markdown output, focusing on practical usage examples.
  4. If the command is not found in the local database, the skill can trigger a cache update or fallback to standard system manuals.

tldr Setup

To use this skill within Openclaw Skills, ensure the tldr binary is installed on your system:

# Install tldr via npm
npm install -g tldr

# Or via Homebrew on macOS
brew install tldr

# Initialize and update the local cache
tldr --update

tldr Data Schema & Taxonomy

The skill relies on the tldr-pages specification, retrieving data formatted as simplified Markdown for easy parsing.

Property Description
command The name of the CLI tool being queried
description A brief summary of what the command does
examples A list of common use cases with exact command syntax
platform Platform-specific manual versions (e.g., linux, osx, windows)

tldr Advanced Features

  • Local cache management via the update flag for high-speed offline access.
  • Token-efficient documentation retrieval optimized for LLM contexts.
  • Platform-specific page filtering to ensure commands match the current operating system.
  • Capability to list all available pages to discover supported CLI tools.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*