stock-analytics-skill: Skill for Claude Code

.agents/business/html-report/SKILL.md

html-report is a skill for Claude Code, Codex from belos-street/stock-analytics-skill. It costs 116 tokens per session (1,397 once invoked), scanned A, original, MIT.

A report-production template for making self-contained HTML reports with a fixed visual system, reusable cards, tables, callouts, and chart examples. The files can be opened offline without outside web resources.

In plain words
What is it for?
Use it to create investment research or portfolio diagnostic reports, including charts, tables, metrics, and other visual sections.
Why use it?
It separates the work of presenting analysis from the work of producing the analysis itself, so reports can follow a consistent layout.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is belos-street/stock-analytics-skill's own configuration. It tells Claude Code and Codex how to work on stock-analytics-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything stock-analytics-skill configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/belos-street/stock-analytics-skill/main/.agents/business/html-report/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/belos-street/stock-analytics-skill

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for html-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/belos-street/stock-analytics-skill/html-report/github.svg)](https://agentmods.dev/skills/belos-street/stock-analytics-skill/html-report)
Your own site
<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.

agentmods 80×15 button for html-report

Your own site · 80×15
<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>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 11d ago against content hash afbd97035e8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/new-report.sh, template/_shared/js/echarts.min.js, template/assets/charts.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/business/html-report/SKILL.md · 89 lines

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 个样板)

  1. 模板自带 4 类图:分组柱状图、横向条形图、折线/面积图、K 线+参考线——复制 chart 块、改数据和容器 id 即可
  2. 颜色只从 CSS 变量读(脚本顶部已写好 getComputedStyle 取值)
  3. 每个图表必须有 <figcaption> 标题
  4. animation: false,每个实例注册 window.resize
  5. 引用方式固定:
    <script src="./_shared/js/echarts.min.js"></script>
    <script src="assets/charts.js"></script>
    

Read the full file on GitHub · 89 lines

Changes

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.

  1. 11d ago First seen · 89 lines · 116 tokens per session scan A afbd97035e8e

Subscribe to this mod's changes

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.

Related

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.

nexu-io/open-design · 81 tokens

applying-brand-guidelines

This skill applies consistent corporate branding and styling to all generated documents including colors, fonts, layouts, and messaging.

anthropics/claude-cookbooks · 27 tokens

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.

nexu-io/open-design · 53 tokens

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…

MODSetter/SurfSense · 89 tokens

kami

A design and typesetting guide for creating professional documents and product landing pages, such as resumes, white papers, portfolios, and slide decks.

tw93/Kami · 68 tokens

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.

tw93/Waza · 61 tokens