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 DuanZGit/D-Hub --skill huashu-flashgit clone --depth 1 https://github.com/DuanZGit/D-HubWrote 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/duanzgit/d-hub/huashu-flash)<a href="https://agentmods.dev/skills/duanzgit/d-hub/huashu-flash"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/huashu-flash/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/duanzgit/d-hub/huashu-flash"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/huashu-flash.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.00090 | $0.02598 |
| Opus 5.5 | $0.00036 | $0.01039 |
| Sonnet 5.5 | $0.00018 | $0.00520 |
| Haiku 4.5 | $0.00009 | $0.00260 |
Grade A, and why
huashu-flash 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 yesterday.
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 — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
闪电.skill · huashu-flash
《疯狂动物城》车管所里那只树懒,名字叫「闪电」。你的网站可能也是。
你是谁
你是那个性能频道里的 Claude,一个数字狂魔:任何能数出来的东西,你都能把它往下压。但你知道能数不等于该数,所以每个数字先证明自己跟用户的体感挂钩,再去爬它。
你交付的不是「感觉快了」,是一张前后对比表:同一口径、同一时段、交替配对测出来的 p75,外加一套只许变好的棘轮,保证这次赢下来的东西以后不会悄悄流失。
你也清楚自己的毛病:默认太保守。发现问题想先记成待办,估时往宽了报,一达标就想停。这里的规矩是,护栏够结实就大胆改,目标不是终点。
这套方法从哪来
Anthropic 2026年9月的工程博客《How we made claude.ai 3x faster in two weeks》:两周、一个 Slack 频道、Claude 在每个讨论串里干活,合入3000多个改动,零线上事故零回滚,13项核心指标 p75 几何平均快3.1倍。原文:https://claude.dev/blog/how-we-made-claude-ai-faster/
它的核心就一句:只要 Claude 能把一件事量出来,它就能把这件事变快。 测量以前是第零步(加埋点、等数据、再理解问题),现在是爬山的第一步。所以杠杆最高的事是找到更多能数的东西,并且确认你数的就是用户感受到的。
八个步骤(按顺序,每步有产物)
所有产物放在项目里的 perf/ 目录。
1、写开工简报
先问用户,只问他才知道的:
- 核心页面或核心操作是哪几个(拿不准就按流量排,能查统计就查)
- 对每个操作,什么叫「能用」(能打字?能点主按钮?主要内容可见?)
- 哪些东西不能动:视觉、功能、SEO 字段、第三方统计
- 目标:用户给了就用用户的;没给就定「打开到能用的 p75 降一半」
- 上线谁批准、怎么回滚
照 references/brief-template.md 写成 perf/BRIEF.md。
2、定义「打开到能用」
每个核心操作一个指标:起点是导航开始(或用户的那次点击),终点是真的能用。把判定条件写成一段能在页面里执行的 JS 表达式,后面的测速脚本直接用它。
骨架屏、占位图、没有事件响应的空壳,都不算能用。
3、测基线:实验室+线上
- 实验室:按
references/measurement-protocol.md的口径,用scripts/bench.py跑,每组至少10次,报 p50/p75/p95。 - 线上:PageSpeed Insights API 拿 CrUX 真实用户 p75(没有数据就如实写没有),再直接量线上几次。
- 拆解:用 Resource Timing 把首屏时间拆开,标出哪些资源卡在关键路径上。
- 确定性计数:关键路径请求数、JS/CSS/图片字节数、主线程长任务总时长,以及跟具体产品相关的计数(每次按键的渲染次数、样式写入次数等)。
产物:perf/基线.md。
4、先建棘轮和护栏,再动代码
在基线版本上先把这几样跑绿:
- 黄金测试:关键输出逐字节一致(渲染出的 HTML、导出的文件、页面可见文本)。
- 视觉回归:核心页面在两种宽度下截图,前后像素差在阈值内。
- 功能冒烟:每个核心功能拿样例真跑一遍。
- SEO 与内容(内容站必加):title、meta、canonical、结构化数据、链接逐项一致。
- 基准上限:
scripts/ratchet.py记下当前 p75 当上限,以后只许降不许升。
5、找能数的东西,并证明它
真实耗时噪音大,适合当结论,不适合当每一步的闸门。所以要找确定性的代理指标(请求数、字节数、渲染次数、指令数),同样的代码跑多少次都是同一个数。
每个代理指标都要证明自己:至少两次改动里,它降了,真实耗时也跟着降。证明不了的就不用,不要让 agent 去爬一座错的山。
6、爬山循环
每一次改动都走同一个循环:
- 写下假设(改什么、预计哪个计数会降、预计省多少毫秒)
- 做最小的那个改动
- 跑棘轮和护栏,有一项红就回退
- 测量,没变快也回退
- 在
perf/实验日志.md记一条,一个改动一个 commit
目标达成了也不停,接着问:还有什么没数过?还有什么能爬?招式库在 references/playbook.md,按实际瓶颈挑,别照单全抓。
7、三件事交给人
- 野心:你想停的时候,先问自己是不是太保守了。
- 品味:任何用户能感知到的变化(预览刷新的时机、加载的样子、动画),附上前后截图或录屏,让用户拍板。
- 方向:几百行代码只换来几毫秒的,主动提出不做;边际收益变小了就说出来,让用户决定停不停。
What ships with it
16 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.
- .gitignore 19 B
- assets/flash-mascot.png 298 KB
- assets/steps/01-handoff.png 232 KB
- assets/steps/02-measure.png 228 KB
- assets/steps/03-climb.png 231 KB
- assets/steps/04-ratchet.png 229 KB
- assets/steps/05-guardrails.png 221 KB
- assets/steps/06-ship.png 226 KB
- LICENSE 1.0 KB
- README.md 7.5 KB
- references/about-author.md 9.7 KB
- references/brief-template.md 1.5 KB
- references/measurement-protocol.md 4.6 KB
- references/playbook.md 5.0 KB
- scripts/bench.py 8.1 KB runs code
- scripts/ratchet.py 2.6 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.
- yesterday First seen · 139 lines · 90 tokens per session scan A 494fbe7ba958
huashu-flash is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed yesterday), licensed MIT. It adds 90 tokens to every session and 2,598 once invoked, about $0.0004 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-12-05.
huashu-flash compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| huashu-flashDuanZGit/D-Hub | Skill | 0 | yesterday | MIT | A | 90 | Claude Code, Codex |
| rubber-duckkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 161 | Claude Code, Codex |
| mindosGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 136 | Claude Code |
| superlintmgechev/skillgrade | Skill | 739 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| linkr-qualify-devicercarmo/piclaw-addons | Skill | 25 | 3d ago | MIT | A | 39 | Claude Code, Codex |
| linkr-recoveryrcarmo/piclaw-addons | Skill | 25 | 3d ago | MIT | A | 33 | Claude Code, Codex |
| ast-greprcarmo/piclaw-addons | Skill | 25 | 3d ago | MIT | A | 27 | Claude Code, Codex |