Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add agentscope-ai/QwenPaw-Data --skill bi-report-generationgit clone --depth 1 https://github.com/agentscope-ai/QwenPaw-DataWrote 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/agentscope-ai/qwenpaw-data/bi-report-generation)<a href="https://agentmods.dev/skills/agentscope-ai/qwenpaw-data/bi-report-generation"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw-data/bi-report-generation/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/agentscope-ai/qwenpaw-data/bi-report-generation"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw-data/bi-report-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00028 | $0.07585 |
| Opus 5.5 | $0.00011 | $0.03034 |
| Sonnet 5.5 | $0.00006 | $0.01517 |
| Haiku 4.5 | $0.00003 | $0.00758 |
Grade A, and why
bi-report-generation 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 9d 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 — 368 lines — stays where its author put it; the contents beside it link to each section on GitHub.
bi-report-generation
将分析结论和数据文件转化为读者友好的 HTML 报告。支持单主题和多主题场景。
报告的读者是数据从业者,他们只关心关键数字、表格和关键结论。报告生成遵循四个核心原则:
- 准确:报告中的所有数字和结论必须来自分析产出的数据文件,不得编造或推测数据
- 干净:只写读者做判断需要的内容,过程、版本、校验类信息一律不进报告(见下节)
- 紧凑:充分利用页面空间,优先将数据块并排布局,减少纵向滚动
- 高密度:每张卡片尽量承载多个相关结论,避免一个指标独占一张卡片(单个指标放进 KPI 带)
报告写什么、不写什么
写:
- 核心指标:数值 + 相对基期的变化
- 支撑结论的图表和表格
- 关键结论、归因和(有依据时的)建议,结论先行、带具体数字
- 口径:仅当不说明就会误读数字时,在对应指标旁写一行小字(≤30 字),例如 「活跃 = 当周净 GAAP > 0 的 uid」
不写(这些内容需要交代时,放进聊天回复,不进报告):
| 类别 | 例子 |
|---|---|
| 版本与修订历史 | v1→v2 改了什么、「本版新增 / 修正」、较上一版变化、修订记录、更新日志 |
| 计算与取数过程 | SQL、表名与字段链路、处理步骤、公式推导、脚本 / 文件路径、运行参数、分区探测 |
| 引用文件 | 数据来源、参考文献、引用清单、来源附件或来源链接 |
| 校验与自检 | QC / PASS / FAIL、对账结果、逐行复算、md5、外链数、图表渲染验证、「已通过自检」 |
| 工具与环境 | ECharts 版本与内联方式、离线可用性、渲染保真度、生成方式 |
| 展示规则说明 | 小数位、负零处理、颜色含义等的长篇解释 |
| 套话与重复 | 方法论科普、免责声明、「以下为…」类过渡语、复述卡片内容的总结 |
- 不设「口径说明」「方法说明」「附录」「数据说明」之类的独立章节;数据缺失或口径差异 只在影响结论时,用一句话标在对应结论旁。
- 用户明确要求某类说明时按用户要求写,但仍集中放在报告末尾、尽量简短。
- 报告复现模式以原报告为准:原报告有的说明照样复现,原报告没有的不新增。
前置检查
开始前确认以下事项已就绪,任一缺失应先完成前置分析流程:
- 分析主题明确(可能包含多个子主题)
- 各主题的分析步骤已执行完毕,结论已产出
- 支撑结论的数据文件已生成且可访问
报告复现模式
如果当前任务来自 report-reproduction:
- 必须先读取任务根目录的
report_manifest.json和format_spec.json; format_spec.json必须由report-format-extractor基于原报告生成,缺失或字段不完整时 停止并先执行该 Skill;- 基线报告只读取各 Section 的
baseline/draft.md和对应数据; - 新周期只读取各 Section 的
runs/{period}/draft.md和对应data/,禁止回退到基线; - 按 manifest 中的 Section 顺序生成页面,并以
format_spec.json为最高优先级复现 页面层级、色板、字体、导航、卡片、表格、图表与交互; - 类名只能取自
format_spec.json的source_css/dom_contract,不得自创。原报告 的 CSS 会被原文透传进页面,自创的类名在source_css里没有对应规则,样式一条也 命中不了;同时也不得用 Tailwind 工具类去替代原报告已经定义的类(例如原报告用.grid2做双栅,就不要改成lg:grid-cols-2); - 结构要带对标签名。
dom_contract里写h2.sec、details.panel、tr.drill-uid-row这类标签限定选择器时,类名挂错标签就完全失配; - 交互必须有出路。写
onclick/data-*驱动的行为时,对应的目标元素和切换的 状态类(如dom_contract里state: true的项)必须同时存在于本片段里;做不到 就不写这个交互,改成静态展开。禁止产出点了没反应的按钮; - 通用
layout-spec.md只用于format_spec.json未定义的部分;两者冲突时一律以format_spec.json为准,不得用默认主题(resources/theme.css)覆盖原风格; - 最终 HTML 只写基线
report.html或新周期runs/{period}/report.html; 交付由rr finish-run完成,不得自行拷贝到 Session 产物根目录或另存report_{period}.html。 - 必须经
scripts/report_builder.py生成,禁止用一次性脚本 / heredoc 手写report.html。手搓 HTML 会绕过样式透传和体量对账,是“外壳像、里面空”的根因; report_builder 会在</head>前盖qwenpaw-data-report-builder生成章,缺失即未走正道。 html_fragment必须把已验收草稿的完整数据 materialize 出来——所有实体行、下钻 明细行、涨跌色单元格都要落成真实 DOM,不得用几行占位样本代替。report_builder 会拿format_spec.json的dom_contract.count对账生成结果:数据密集结构(实体行、下钻行、td.pos/td.neg、栅格、KPI、tab)实测数量低于原报告约 1/3 即判塌陷、以退出码 2 失败。 塌陷时回去补全sections_*.json的数据,而不是加--allow-dom-mismatch绕过(该开关 只留给新周期数据量确实合理缩水的场景)。- 每个图表容器都必须有渲染出路,禁止只写空
<div id="chart_*">。要么在片段里配套一段 初始化脚本(echarts.init(document.getElementById('chart_x')).setOption({...}))按 id 初始化,要么直接内联同一份数据渲染的<svg>/表格。report_builder 会审计所有图表容器: 空div既无<svg>/<canvas>、又没有任何脚本按 id 初始化,即判图表空转、以退出码 2 失败——绝不允许在正文里用文字声称已完成 SSR 渲染、已通过自检来代替真实的图表产物。
What ships with it
18 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.
- references/layout-spec.md 17 KB
- resources/.gitattributes 227 B
- resources/bi_helpers.html 3.2 KB
- resources/blocks.html 3.2 KB
- resources/chart_fallback.html 13 KB
- resources/echarts.min.js 1010 KB runs code
- resources/icons.css 265 KB
- resources/licenses/bootstrap-icons-LICENSE.txt 1.1 KB
- resources/licenses/echarts-LICENSE.txt 12 KB
- resources/licenses/echarts-NOTICE.txt 169 B
- resources/licenses/README.txt 860 B
- resources/report.css 2.5 KB
- resources/skeleton_template.html 2.2 KB
- resources/theme.css 13 KB
- resources/vendor-assets.json 1.2 KB
- scripts/build_report_css.py 14 KB runs code
- scripts/report_blocks.py 56 KB runs code
- scripts/report_builder.py 43 KB runs code
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.
- 9d ago Changed · +204 lines 5a037b2db93b
- 2mo ago Changed · +5 lines 4d66d8d4f234
- 3mo ago First seen · 159 lines · 28 tokens per session scan A 3e8ed4566417
bi-report-generation is a skill published in the GitHub repository agentscope-ai/QwenPaw-Data (208 stars, last pushed 5d ago), licensed Apache-2.0. It adds 28 tokens to every session and 7,585 once invoked, about $0.0001 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-08-30.
bi-report-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bi-report-generationagentscope-ai/QwenPaw-Data | Skill | 208 | 5d ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 146 | Claude Code, Codex |
| pausemem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 30 | Claude Code |
| mem0-test-integrationmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 207 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| horizonThysrael/Horizon | Skill | 15k | yesterday | MIT | A | 95 | Claude Code, Codex |
| migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-ai | Skill | 21k | today | MIT | A | 87 | Codex |