Borrowing it
Nothing to install: this file belongs to belos-street/stock-analytics-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/belos-street/stock-analytics-skill/main/.agents/business/html-report/SKILL.mdgit clone --depth 1 https://github.com/belos-street/stock-analytics-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/belos-street/stock-analytics-skill/html-report)<a href="https://agentmods.dev/skills/belos-street/stock-analytics-skill/html-report"><img src="https://agentmods.dev/badge/skills/belos-street/stock-analytics-skill/html-report/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/belos-street/stock-analytics-skill/html-report"><img src="https://agentmods.dev/badge/skills/belos-street/stock-analytics-skill/html-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00116 | $0.01397 |
| Opus 5.5 | $0.00046 | $0.00559 |
| Sonnet 5.5 | $0.00023 | $0.00279 |
| Haiku 4.5 | $0.00012 | $0.00140 |
Grade A, and why
html-report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HTML 报告生成 Skill(业务技能)
定位
.agents/business/ 存放业务/交付类技能——与 .agents/skills/ 的区别:
| 目录 | 内容 | 例子 |
|---|---|---|
.agents/skills/ |
股票分析内容方法论 | stock-deep-analysis、fund-comparison |
.agents/business/ |
交付/生产能力封装 | html-report(本技能) |
分析 skill 负责"说什么",业务 skill 负责"怎么交付"。生成报告时两者配合:先调用分析 skill 得到内容,再用本技能渲染成交付物。
目录结构
html-report/
├── SKILL.md ← 本文件
├── template/ ← 可直接复制的报告骨架
│ ├── index.html ← 设计系统 CSS + 组件库 + 页面骨架
│ ├── assets/charts.js ← 4 类常用图表的 ECharts 样板
│ └── _shared/
│ ├── fonts/ ← 5 个 ttf(PlexSerif/InsSans/PlexMono)
│ └── js/echarts.min.js
└── scripts/new-report.sh ← 一键脚手架
快速开始
bash .agents/business/html-report/scripts/new-report.sh <report-slug> reports
生成 reports/<report-slug>/,其中 <slug>.html 即主文件。单文件夹整体发给接收者即可离线打开(全部相对路径、无外网依赖)。
设计系统(template/index.html 内已配好)
- 配色令牌(唯一来源,图表 JS 从 CSS 变量读取,禁止硬编码色值):
--bg #faf8f5/--bg2 #f1ece4/--ink #1b2534/--muted #64707f/--rule #ddd4c6/--accent #1f4e79(蓝)/--accent2 #b4552d(赭红=警示/亏损) - 字体:标题 PlexSerif(衬线)+ 正文 InsSans + 数据 PlexMono(数字/代码一律用它)
- 版式:980px 居中单栏、封面 + 章节流、印刷/移动端已适配
组件库(直接复制 HTML 块即可用)
| 组件 | 类名 | 用途 |
|---|---|---|
| 封面 | .cover |
kicker 小标签 + 标题 + 副标题 + 元信息行 |
| 指标卡组 | .diag-card > .metrics > .metric |
4 列关键数字,.num.bad/.good 红蓝语义 |
| 表格 | .table-wrap > table |
自动滚动容器,斑马纹,.num/.neg/.pos |
| Callout | .callout(.blue) |
结论/警示框,默认赭红、blue 为信息 |
| 图表 | .chart-figure > figcaption + .chart-box |
ECharts 容器,必须带标题 |
| 情景卡 | .scenario > .sc.hold/.add/.trim |
三情景决策卡,头色区分 |
| 价位地图 | .price-map > .pm-row.cost/.press/.sup |
成本/压力/支撑分层 |
| 强调 | <mark class="key"> / <strong> |
重点句高亮(全文统一用一种) |
| 来源引用 | sup a → footer .sources ol |
上标锚点跳转到页脚编号 |
图表规则(assets/charts.js 已内置 4 个样板)
- 模板自带 4 类图:分组柱状图、横向条形图、折线/面积图、K 线+参考线——复制 chart 块、改数据和容器 id 即可
- 颜色只从 CSS 变量读(脚本顶部已写好
getComputedStyle取值) - 每个图表必须有
<figcaption>标题 animation: false,每个实例注册window.resize- 引用方式固定:
<script src="./_shared/js/echarts.min.js"></script> <script src="assets/charts.js"></script>
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/new-report.sh 784 B runs code
- template/_shared/fonts/IBMPlexMono-Regular.ttf 131 KB
- template/_shared/fonts/IBMPlexSerif-Bold.ttf 157 KB
- template/_shared/fonts/IBMPlexSerif-Regular.ttf 157 KB
- template/_shared/fonts/InstrumentSans-Bold.ttf 66 KB
- template/_shared/fonts/InstrumentSans-Regular.ttf 66 KB
- template/_shared/js/echarts.min.js 1007 KB runs code
- template/assets/charts.js 6.6 KB runs code
- template/index.html 16 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 89 lines · 116 tokens per session scan A afbd97035e8e
html-report is a skill published in the GitHub repository belos-street/stock-analytics-skill (56 stars, last pushed 6d ago), licensed MIT. It adds 116 tokens to every session and 1,397 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.
Other skills, from other repositories
kami-landing
Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.
applying-brand-guidelines
This skill applies consistent corporate branding and styling to all generated documents including colors, fonts, layouts, and messaging.
html-ppt-obsidian-claude-gradient
OpenDesign's enterprise AI-adoption brief: local-first agents at work, the risk controls, the ROI, and the rollout plan. Built as a decision-grade AI literacy deck for leadership, IT, security.
surfsense-html
Make or change a web page from the user's sources - a report, a briefing, a dashboard, a comparison, a timeline, an explainer, an interactive calculator or a figure that shows how something works - by writing an HTML file and keeping it with surfsensesavepage. Load it whenever the user asks for a web page, an HTML…
kami
A design and typesetting guide for creating professional documents and product landing pages, such as resumes, white papers, portfolios, and slide decks.
read
Fetches URLs and PDFs, then summarizes or returns clean Markdown; can also search the web through DeepSeek when built-in search is thin. Use when asked to read, fetch, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.