← 返回 Skills 市场
xdnaimino

Skill

作者 Xuan Duc Nguyen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install fast-html-mcp
功能描述
Generate, patch, read, and compress HTML pages for reports, dashboards, and docs with fast AI-agent speed and precise CSS selector updates.
使用说明 (SKILL.md)

Fast HTML MCP Server

Five-tier MCP server for lightning-fast HTML generation from AI agents. 15 tools, 22 components, 25 templates — purpose-built for AI-driven page creation with sub-second patch times and AI-grade token compression.

When to Use

  • Generating complex HTML pages (reports, dashboards, landing pages, docs) from structured component specs
  • Patching existing HTML by element id or CSS selector without re-rendering the entire page
  • Compressing HTML to fit within token limits while preserving semantic content
  • Maintaining cross-section consistency across large multi-section documents
  • Building equity research, financial summaries, or data-heavy pages with charts and tables
  • Creating email newsletters, pitch decks, changelogs, or API documentation

Quick Start

npx -y @aimino.xdn/fast-html-mcp-server

Add to MCP client config:

Claude Desktop / Cursor / VS Code Copilot

{
  "mcpServers": {
    "fast-html-mcp": {
      "command": "npx",
      "args": ["-y", "@aimino.xdn/fast-html-mcp-server"]
    }
  }
}

Claude Code

claude mcp add fast-html-mcp -e npx -a "-y" -a "@aimino.xdn/fast-html-mcp-server"

Workflow

1. Discover what's available

list_templates
list_components
get_template_schema(template: "report")
get_component_schema(component: "hero")

2. Build a page

render_page(
  template: "report",
  sections: [
    {component: "hero", props: {title: "Q3 Report", badge: "Draft"}},
    {component: "data-table", props: {headers: ["Metric","Value"], rows: [["Revenue","$1.2M"]]}}
  ],
  output_path: "/tmp/report.html",
  options: {title: "Q3 Report"}
)

3. Inspect the output

read_html(path: "/tmp/report.html", mode: "compressed")

Read modes (by token efficiency):

  • structure — tree overview (70% savings)
  • content — typed blocks (74% savings)
  • compressed — summary + stats (87% savings)
  • text — plain text only (97% savings, best for token budgets)

4. Refine with surgical patches

patch_html(file_path: "/tmp/report.html", selector: "#content", html: "\x3Cp>Updated content\x3C/p>")
set_attribute(file_path: "/tmp/report.html", selector: "#main-title", attr: "class", value: "highlight")

5. Compress for token efficiency

read_html(path: "/tmp/report.html", mode: "compressed", offset: 0, limit: 1000)

6. Maintain consistency (multi-section documents)

check_consistency(path: "/tmp/report.html")
propagate_edit(path: "/tmp/report.html", entity: "Revenue", value: "$1.5M", sections: ["summary", "details"])

Resources

  • references/ — detailed examples and advanced use cases
  • scripts/ — automation scripts
  • assets/ — templates and resources
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install fast-html-mcp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /fast-html-mcp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of fast-html-mcp (version 1.0.0) - Enables rapid HTML generation, patching, compression, and consistency checking for AI-driven workflows - Provides 15 tools, 22 components, and 25 templates optimized for sub-second operations - Supports flexible workflows: full page rendering, targeted element updates by CSS selector, multi-mode HTML reading (including compressed/text for token budgets) - Designed for integration with Claude Desktop, VS Code Copilot, and similar AI dev tools
元数据
Slug fast-html-mcp
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Skill 是什么?

Generate, patch, read, and compress HTML pages for reports, dashboards, and docs with fast AI-agent speed and precise CSS selector updates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Skill?

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

Skill 是免费的吗?

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

Skill 支持哪些平台?

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

谁开发了 Skill?

由 Xuan Duc Nguyen(@xdnaimino)开发并维护,当前版本 v1.0.0。

💬 留言讨论