Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ricequant avatar

Rq Report Renderer

  • 1 installs
  • 43 repo stars
  • Updated June 23, 2026
  • ricequant/ricequant-skills

rq-report-renderer is an agent skill that applies a RiceQuant-style HTML/CSS report shell to quant and finance outputs.

About

rq-report-renderer is an agent skill for quant developers who need consistent, professional HTML report shells instead of ad-hoc notebooks or raw tables. It encodes a RiceQuant-inspired visual system—warm paper tones, serif body type, sticky outline sidebar, and structured surfaces for tables and code—so agents can wrap backtest summaries, factor research, or portfolio analytics in a single reusable template. Use it after you have numbers or narrative copy but before you email investors, post research notes, or archive a strategy review. It is not a data pipeline or charting library; it focuses on presentation layer markup and styling conventions that make quant output readable and citable. Intermediate developers familiar with HTML/CSS and quant workflows get the most value when pairing this with their own content generation or export steps.

  • CSS design tokens for paper, accent, and table-head styling suited to financial write-ups
  • Two-column layout with sticky sidebar for section navigation in long reports
  • Noto Serif SC / sans pairing tuned for bilingual quant narratives
  • Radial and linear page backgrounds for a distinct branded report shell
  • Scroll-smooth anchors for in-document section jumps

Rq Report Renderer by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #909 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ricequant/ricequant-skills --skill rq-report-renderer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars43
Security audit3 / 3 scanners passed
Last updatedJune 23, 2026
Repositoryricequant/ricequant-skills

What it does

Turn quant research or backtest output into polished, print-ready HTML reports with RiceQuant-style typography and layout.

Who is it for?

quant developers and small funds who publish recurring strategy or performance write-ups in HTML.

Skip if: Skip if you only need Jupyter PDF export or and want interactive charting libraries without a fixed document template.

When should I use this skill?

You need a styled HTML report shell for quant or finance content after data and copy exist.

What you get

You get a styled, navigable HTML report page ready to fill with sections, metrics, and commentary.

  • Styled HTML report page structure with sidebar and typography tokens

Files

SKILL.mdMarkdownGitHub ↗

RQ 股票研究 - HTML 报告渲染器

核心原则

  • 输入必须是显式的 Markdown 文件路径,不能依赖固定目录
  • skill 必须自包含,渲染逻辑、样式和输入契约都放在 report-renderer/
  • 不依赖仓库级 utils
  • 不要求外部 Markdown 库;脚本内置最小可用解析器,覆盖当前各 skill 的真实输出结构
  • 输出必须保留标题、章节、表格、列表、代码样式与数据来源标注
  • 若本机支持打开浏览器,应作为可选行为,而不是强制副作用

目标产出

  • 单文件 HTML 报告
  • 默认与输入 Markdown 同目录同名输出
  • 适合桌面阅读与打印

目录结构

report-renderer/
├── SKILL.md
├── scripts/
│   └── render_report.py
├── assets/
│   └── report.css
└── references/
    └── input_contract.md

输入契约

  • 主输入:一个 Markdown 文件
  • 可选参数:
  • 输出 HTML 路径
  • 覆盖标题
  • --open:渲染后尝试在默认浏览器打开

完整输入格式与支持的 Markdown 子集见 references/input_contract.md

工作流

步骤 1:准备输入文件

确认已有 Markdown 报告,例如:

INPUT_MD="skill-test-results/sector-overview/baijiu/output/sector_overview_baijiu_2026-04-03.md"
OUTPUT_HTML="${INPUT_MD%.md}.html"

步骤 2:执行渲染

主入口:

python3 report-renderer/scripts/render_report.py "$INPUT_MD" "$OUTPUT_HTML"

若希望渲染后尝试打开浏览器:

python3 report-renderer/scripts/render_report.py "$INPUT_MD" "$OUTPUT_HTML" --open

步骤 3:验证输出

  • HTML 文件存在
  • HTML 中包含 <!DOCTYPE html>
  • 主标题、主要章节和表格都已渲染
  • 不应残留原始 Markdown 表格分隔行(如 | --- | --- |
  • 数据来源:RQData,置信度5 等来源标注仍保留

参数说明

  • 第一个位置参数:输入 Markdown 文件
  • 第二个位置参数:输出 HTML 文件,可省略
  • --title:覆盖封面标题
  • --open:渲染完成后尝试打开浏览器

报告质量要求

  • 输出必须是完整 HTML,而不是片段
  • 章节层级必须可导航,至少生成二级目录
  • 表格必须渲染成 <table>
  • 列表必须渲染成 <ul> / <ol>
  • 粗体、斜体、行内代码与 <br> 必须保留
  • 样式必须独立内联或由 skill 自带资源注入,不能依赖外部 CDN

常见错误

  • 把完整渲染脚本直接塞回 SKILL.md,没有落地成可执行文件
  • 只渲染段落,不支持 Markdown 表格
  • 把列表项直接变成裸 <li>,没有外层 <ul> / <ol>
  • 强依赖外部 Markdown 库,导致在最小环境里不可执行
  • 依赖 repo 里的 utils/html_renderer.py

Related skills

How it compares

Use as a presentation template skill rather than bolting charts into a generic docs generator or Markdown-to-PDF alone.

FAQ

Who is rq-report-renderer for?

Developers in quantitative finance who want agent-assisted HTML reports with a consistent RiceQuant-like visual identity.

When should I use rq-report-renderer?

After analytics or backtests in grow/analytics, when documenting strategies in build/docs, or when iterating operational reviews in operate/iterate—whenever you need a polished report frame.

Is rq-report-renderer safe to install?

Review the Security Audits panel on this Prism page and inspect the skill source in your repo before granting filesystem or network access to your agent.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.