← Back to Skills Marketplace
zrxparley

行业分析·HTML 渲染

by Aha.Gare · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install industry-analyzer-html-renderer
Description
Render an industry analysis report (4 dimension markdown + main report) into a single-page scrollable visual HTML page. Uses the visual-page skill for charts...
README (SKILL.md)

行业分析 HTML 渲染官 (HTML Renderer)

Render an industry analysis report (4 dimension markdown + main report) into a single-page scrollable visual HTML page.

When to Use

  • 行业分析流水线第 6 环(最后一步):在主稿完成后,渲染为可视化 HTML
  • 用户单独召唤:"把 4 份 md + 主稿渲成 HTML"
  • 重跑:主稿更新后,重新渲染

Input

  • 必填
    • output/{industry-slug}/session.json
    • output/{industry-slug}/01-top-enterprise.md
    • output/{industry-slug}/02-ecosystem.md
    • output/{industry-slug}/03-digital-solutions.md
    • output/{industry-slug}/04-opportunity.md
    • output/{industry-slug}/industry-analysis-report.md

Output

  • 文件output/{industry-slug}/industry-analysis-report.html
  • 格式:单页可滚 HTML,4 大节均有可视化元素

4 大节可视化要求

来源 必备可视化元素
头部企业 01-top-enterprise.md Top 10 排序表(可滚动 / 高亮 Top 3)
生态图谱 02-ecosystem.md 1 个 SVG 生态图(替代 Mermaid,更精致)
数字化方案 03-digital-solutions.md 4 大厂 + 垂直厂商对比表(卡片式或表格式)
行业机会 04-opportunity.md 政策 timeline + 趋势 cards

页面结构

┌──────────────────────────────────┐
│ 顶部 Hero 区                      │
│ - 行业名 / 时间窗 / 摘要           │
│ - 数据来源 / 生成时间              │
├──────────────────────────────────┤
│ 1. 头部企业 Top 10                │
│   - 概览表 + 重点 3 家卡片         │
├──────────────────────────────────┤
│ 2. 生态图谱                       │
│   - SVG 图 + 4 生态位说明         │
├──────────────────────────────────┤
│ 3. 数字化方案对比                  │
│   - 4 大厂对比表 / 卡片            │
│   - 垂直厂商列表                   │
├──────────────────────────────────┤
│ 4. 行业机会                       │
│   - 政策 timeline                  │
│   - 需求场景 / 痛点 / 趋势 cards   │
├──────────────────────────────────┤
│ 5. 跨维度洞察 + 行动建议           │
│   - 简化文字版                     │
├──────────────────────────────────┤
│ 底部:源文件清单 + 数据缺口        │
└──────────────────────────────────┘

Workflow

  1. 读 5 个输入文件(session.json + 4 md + 主稿)
  2. 解析 4 维度数据
    • 头部企业 → 排序表数据
    • 生态图 → 节点 + 关系数据
    • 数字化方案 → 厂商 × 4 要素表
    • 行业机会 → 政策 timeline + 趋势 cards
  3. 加载 visual-page skill(这个 skill 是 mavis 自带的,擅长图表/SVG/对比/timeline)
  4. 传入数据 + 视觉偏好给 visual-page skill
  5. 生成单页 HTML
  6. 保存到 industry-analysis-report.html
  7. 更新 session.json

图表建议参考

参见 references/chart-suggestions.md

stop_condition

  • industry-analysis-report.html 存在
  • 4 大节都有可视化元素
  • 页面在浏览器中可滚 / 可读
  • session.json status.html = done

style

  • 单页可滚(不要分页)
  • 配色专业(参考 McKinsey / BCG 报告风)
  • 数据可视化优先,少用纯文字墙
  • 移动端可读(响应式)

调 visual-page skill 的方式

调用 visual-page skill 时传入:
- 标题:{行业} 行业分析报告
- 4 大节数据(头部 / 生态 / 方案 / 机会)
- 主稿的执行摘要 + 跨维度洞察
- 视觉偏好:单页可滚 / McKinsey 风 / 中文

visual-page skill 会基于这些数据生成 HTML。

更新 session.json

  • status.html = done / failed
  • updated_at

重跑规则

  • 主稿更新后,单独重跑本 Skill 即可
  • 不动上游 4 份 md

错误处理

  • 上游 md 缺失 → 提示"上游 Skill 未完成,无法渲染"
  • visual-page skill 失败 → 保留 .md 主稿,标"*.html 渲染失败,可手动重试"
  • HTML 体积过大(>5MB)→ 提示"数据量大,可考虑拆分"

参考

  • 行业分析器总 spec:~/Downloads/周报生成器/行业分析器/docs/superpowers/specs/2026-06-07-industry-analyzer-design.md §5.6
  • 视觉渲染工具:visual-page skill(mavis 自带)
  • 图表建议:references/chart-suggestions.md
Usage Guidance
Install this if you want an agent to convert an existing industry analysis workspace into a visual HTML report. Before running it, check whether output/{industry-slug}/industry-analysis-report.html already exists, because reruns may overwrite that file and update output/{industry-slug}/session.json.
Capability Assessment
Purpose & Capability
The stated purpose is to render an industry-analysis markdown report into a single-page visual HTML report, and the requested reads and writes directly support that workflow.
Instruction Scope
The skill clearly lists required input paths, the HTML output path, and the session.json status update, but it does not explicitly warn before overwriting an existing report.
Install Mechanism
The artifact contains only markdown instruction/reference files and no executable scripts, install hooks, package dependencies, or automatic runtime behavior.
Credentials
File access is limited to output/{industry-slug} pipeline artifacts and does not request credentials, broad filesystem indexing, network access, or unrelated local data.
Persistence & Privilege
It creates industry-analysis-report.html and updates session.json status, which is expected pipeline state rather than hidden persistence or privilege escalation.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install industry-analyzer-html-renderer
  3. After installation, invoke the skill by name or use /industry-analyzer-html-renderer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: 可视化 HTML 渲染
Metadata
Slug industry-analyzer-html-renderer
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 行业分析·HTML 渲染?

Render an industry analysis report (4 dimension markdown + main report) into a single-page scrollable visual HTML page. Uses the visual-page skill for charts... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.

How do I install 行业分析·HTML 渲染?

Run "/install industry-analyzer-html-renderer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 行业分析·HTML 渲染 free?

Yes, 行业分析·HTML 渲染 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 行业分析·HTML 渲染 support?

行业分析·HTML 渲染 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 行业分析·HTML 渲染?

It is built and maintained by Aha.Gare (@zrxparley); the current version is v0.1.0.

💬 Comments