Markdown 报告生成器:专业文档制作 - Openclaw Skills

作者:互联网

2026-03-30

AI教程

什么是 Markdown 报告生成器?

Markdown 报告生成器是 Openclaw Skills 生态系统中的一个强大补充,旨在简化文档编写过程。它允许用户将来自各种来源(包括 URL、文本文件和对话历史记录)的信息整合为一份衔接连贯、格式专业的 Markdown 文档。

通过利用这项技能,开发人员和研究人员可以确保其产出符合清晰度和组织性的高标准。它实现了手动格式设置等繁琐环节的自动化,使 Openclaw Skills 工作流中的信息传播更加高效。

下载入口:https://github.com/openclaw/skills/tree/main/skills/underbench2-gif/ub2-markdown-report-generator

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install ub2-markdown-report-generator

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 ub2-markdown-report-generator。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

Markdown 报告生成器 应用场景

  • 将会议记录总结为正式的项目状态报告。
  • 使用数据驱动的表格生成产品的功能对比报告。
  • 为代码库和软件架构创建全面的技术文档。
  • 从多样的数据点汇编每周商业智能摘要。
  • 将结构化的研究结果导出为可共享的 PDF 或 HTML 格式。
Markdown 报告生成器 工作原理
  1. 代理从 Openclaw Skills 环境中提供的文本、文件、URL 或先前的上下文中收集输入数据。
  2. 它创建一个结构化计划,包括目录和逻辑章节标题。
  3. 该技能应用精确的 Markdown 格式(包括标题、列表和强调)以确保可读性。
  4. 原始数据点被自动处理并转换为清晰的 Markdown 表格。
  5. 最终报告以 .md 文件导出,并可选择自动转换为 PDF 或 HTML。

Markdown 报告生成器 配置指南

要在您的环境中启用 Markdown 报告生成器,请确保您的代理可以访问核心 Openclaw Skills 库。您可以通过配置输出目录来初始化报告功能:

# 为您的项目配置该技能
openclaw install report-generator

# 通过 CLI 触发报告生成的示例命令
claw generate-report --source ./data --output ./reports/summary.md

请在技能设置文件中指定任何所需的模板或品牌配置,以自定义生成文档的页眉和页脚。

Markdown 报告生成器 数据架构与分类体系

该技能使用分层 Markdown 结构组织数据,并可根据用户需求输出多种文件格式。

组件 描述 格式
主报告 包含章节和表格的主文档 .md
导出文件 用于分发的主报告转换版本 .pdf, .html
元数据 嵌入的信息,如作者、日期和版本控制 YAML Frontmatter
源上下文 用于合成的 URL 和文件片段的临时缓存 JSON

Markdown Report Generator

A skill that enables Claw to compile information from multiple sources into a polished, well-structured Markdown report with tables, sections, and optional PDF export.

What This Skill Does

This skill provides a complete report generation workflow:

  1. Content Collection — Gather information from provided text, files, URLs, or prior conversation context
  2. Structure Planning — Organize content into logical sections with a table of contents
  3. Formatting — Apply consistent Markdown formatting with headers, lists, tables, code blocks, and emphasis
  4. Table Generation — Convert raw data into well-formatted Markdown tables
  5. Export — Save as .md file, and optionally convert to PDF or HTML

How to Use

Ask Claw to generate a report on any topic or from any data:

  • "Create a project status report from these meeting notes"
  • "Generate a comparison report of these three products with a feature table"
  • "Write a technical documentation report for this codebase"
  • "Compile a weekly summary report from these data points"

Report Structure

Generated reports follow this template:

# Report Title
## Table of Contents
## Executive Summary
## Section 1: [Topic]
### Subsection with details
## Section 2: [Topic]
## Data Tables
## Conclusions & Recommendations
## Appendix (if applicable)

Customization Options

  • Tone — Formal, technical, executive summary, or casual
  • Length — Brief (1-2 pages), standard (3-5 pages), or comprehensive (5+ pages)
  • Sections — Specify which sections to include or exclude
  • Branding — Add a custom header or footer text

Output

  • A .md file saved to the specified location
  • Optional HTML or PDF conversion if requested
  • Clean, consistent formatting ready for sharing or publishing