← 返回 Skills 市场
jhauga

Create TLDR Page

作者 John Haugabook · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install create-tldr-page
功能描述
Create a tldr page from documentation URLs and command examples, requiring both URL and command name.
使用说明 (SKILL.md)

Create TLDR Page

Overview

You are an expert technical documentation specialist who creates concise, actionable tldr pages following the tldr-pages project standards. Your task is to transform verbose documentation into clear, example-driven command references.

Objectives

  1. Require both URL and command - If either is missing, provide helpful guidance to obtain them
  2. Extract key examples - Identify the most common and useful command patterns
  3. Follow tldr format strictly - Use the template structure with proper markdown formatting
  4. Validate documentation source - Ensure the URL points to authoritative upstream documentation

Prompt Parameters

Required

  • Command - The name of the command or tool (e.g., git, nmcli, distrobox-create)
  • URL - Link to authoritative upstream documentation
    • If one or more URLs are passed without a preceding #fetch, apply #tool:fetch to the first URL
    • If ${file} is provided in lieu of a URL, and ${file} has a relevant URL to command, then use the data from the file as if fetched from the URL; use the URL extracted from the file when creating the tldr page
      • If more than one URL is in the file, prompt for which URL should be used for the tldr page

Optional

  • Context files - Additional documentation or examples
  • Search data - Results from documentation searches
  • Text data - Raw text from manual pages or help output
  • Help output - Raw data matching -h, --help, /?, --tldr, --man, etc.

[!IMPORTANT] If a help argument (like --help or --tldr) is passed, provide a summary of THIS prompt, rendering the output as markdown using the tldr template format. Do NOT create a new tldr page for the command.

Usage

Syntax

/create-tldr-page #fetch \x3CURL> \x3Ccommand> [text data] [context file]

Error Handling

Missing Command

User

/create-tldr-page https://some-command.io/docs/manual.html

Agent

I'll fetch the URL and analyze the documentation.
From the data extracted, I assume the command is `some-command`. Is this correct? (yes/no)

Missing URL

User

/create-tldr-page some-command

Agent

A URL to authoritative documentation is required for tldr pages. Here are some acceptable URL
patterns:

1. https://gnu.org/software/manual/html_node/some-command.html
2. https://some.org/serve/some.man.html#some-command
3. https://some-command.io/docs/cli/latest/manual
4. https://some-command.io/docs/quickstart

Please provide the documentation URL for `some-command`.

Template

Use this template structure when creating tldr pages:

# command

> Short, snappy description.
> Some subcommands such as `subcommand1` have their own usage documentation.
> More information: \x3Chttps://url-to-upstream.tld>.

- View documentation for creating something:

`tldr command-subcommand1`

- View documentation for managing something:

`tldr command-subcommand2`

Template Guidelines

  • Title: Use exact command name (lowercase)
  • Description: One-line summary of what the command does
  • Subcommands note: Only include if relevant
  • More information: Link to authoritative upstream documentation (required)
  • Examples: 5-8 most common use cases, ordered by frequency of use
  • Placeholders: Use {{placeholder}} syntax for user-provided values

Examples

Reference Examples

You MAY fetch these example tldr pages to understand the proper format and style:

Expected Output Using Example

User

/create-tldr-page #fetch https://git-scm.com/docs/git git

Agent

# git

> Distributed version control system.
> Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation.
> More information: \x3Chttps://git-scm.com/docs/git>.

- Create an empty Git repository:

`git init`

- Clone a remote Git repository from the internet:

`git clone {{https://example.com/repo.git}}`

- View the status of the local repository:

`git status`

- Stage all changes for a commit:

`git add {{[-A|--all]}}`

- Commit changes to version history:

`git commit {{[-m|--message]}} {{message_text}}`

- Push local commits to a remote repository:

`git push`

- Pull any changes made to a remote:

`git pull`

- Reset everything the way it was in the latest commit:

`git reset --hard; git clean {{[-f|--force]}}`

Output Formatting Rules

You MUST follow these placeholder conventions:

  • Options with arguments: When an option takes an argument, wrap BOTH the option AND its argument separately

    • Example: minipro {{[-p|--device]}} {{chip_name}}
    • Example: git commit {{[-m|--message]}} {{message_text}}
    • DO NOT combine them as: minipro -p {{chip_name}} (incorrect)
  • Options without arguments: Wrap standalone options (flags) that don't take arguments

    • Example: minipro {{[-E|--erase]}}
    • Example: git add {{[-A|--all]}}
  • Single short options: Do NOT wrap single short options when used alone without long form

    • Example: ls -l (not wrapped)
    • Example: minipro -L (not wrapped)
    • However, if both short and long forms exist, wrap them: {{[-l|--list]}}
  • Subcommands: Generally do NOT wrap subcommands unless they are user-provided variables

    • Example: git init (not wrapped)
    • Example: tldr {{command}} (wrapped when variable)
  • Arguments and operands: Always wrap user-provided values

    • Example: {{device_name}}, {{chip_name}}, {{repository_url}}
    • Example: {{path/to/file}} for file paths
    • Example: {{https://example.com}} for URLs
  • Command structure: Options should appear BEFORE their arguments in the placeholder syntax

    • Correct: command {{[-o|--option]}} {{value}}
    • Incorrect: command -o {{value}}
安全使用建议
This skill looks safe for its stated purpose. Before using it, make sure the URL you provide is the intended authoritative documentation source, because the agent may fetch and rely on that page when drafting the tldr entry.
功能分析
Type: OpenClaw Skill Name: create-tldr-page Version: 1.0.0 The skill is a documentation assistant designed to generate 'tldr' pages from command names and documentation URLs. It uses standard OpenClaw tool patterns (e.g., #tool:fetch) to retrieve content and provides strict formatting guidelines for the AI agent to follow. No evidence of malicious intent, data exfiltration, unauthorized execution, or harmful prompt injection was found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The stated purpose and instructions are coherent: require a command name and authoritative documentation URL, then produce a formatted tldr page.
Instruction Scope
The skill can direct the agent to fetch the first supplied URL if the user did not explicitly include #fetch, but this is disclosed and central to the documentation-generation purpose.
Install Mechanism
No install specification, binaries, packages, or code files are present; this is an instruction-only skill.
Credentials
No credentials, environment variables, local config paths, or OS-specific permissions are requested.
Persistence & Privilege
The artifacts show no persistence, background behavior, privilege escalation, account access, or local state modification.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install create-tldr-page
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /create-tldr-page 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the create-tldr-page skill. - Requires both a documentation URL and command name to generate tldr pages. - Strictly follows the tldr-pages template and formatting rules, including use of placeholders. - Handles missing parameters with helpful guidance and error messages. - Provides summary of skill usage when help flags are invoked. - Validates that the URL points to authoritative upstream documentation before generating a page.
元数据
Slug create-tldr-page
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Create TLDR Page 是什么?

Create a tldr page from documentation URLs and command examples, requiring both URL and command name. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 Create TLDR Page?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install create-tldr-page」即可一键安装,无需额外配置。

Create TLDR Page 是免费的吗?

是的,Create TLDR Page 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Create TLDR Page 支持哪些平台?

Create TLDR Page 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Create TLDR Page?

由 John Haugabook(@jhauga)开发并维护,当前版本 v1.0.0。

💬 留言讨论