教程类H5-小红书小工具

教程类H5-小红书小工具 is a skill for Claude Code, Codex from huangrichao2020/pretty-skills. It costs 110 tokens per session (5,620 once invoked), scanned A, original, MIT.

A method for building offline, single-page course experiences for Xiaohongshu’s Mini Tools, which are interactive pages published inside the platform. It combines written lessons, generated illustrations, and JavaScript page switching in a constrained container.

In plain words
What is it for?
It helps plan and create five to seven lesson H5 pages, with outlines, lesson text, images, navigation, and previous/next controls for topics such as a process, framework, or large concept.
Why use it?
It provides a structure for teaching one substantial topic instead of making a short-lived quiz or rating tool. The offline design fits the platform’s restrictions on networking, scripts, and multiple pages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps plan and create five to seven lesson H5 pages, with outlines, lesson text, images, navigation, and previous/next controls for topics such as a process, framework, or large concept.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huangrichao2020/pretty-skills/h5
Install

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.

Any agent
npx skills add huangrichao2020/pretty-skills --skill h5
Clone the repo
git clone --depth 1 https://github.com/huangrichao2020/pretty-skills

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 教程类H5-小红书小工具

README.md
[![agentmods](https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/h5/github.svg)](https://agentmods.dev/skills/huangrichao2020/pretty-skills/h5)
Your own site
<a href="https://agentmods.dev/skills/huangrichao2020/pretty-skills/h5"><img src="https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/h5/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 教程类H5-小红书小工具

Your own site · 80×15
<a href="https://agentmods.dev/skills/huangrichao2020/pretty-skills/h5"><img src="https://agentmods.dev/badge/skills/huangrichao2020/pretty-skills/h5.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,620 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 373
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 373
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00110 $0.05620
Opus 5 $0.00055 $0.02810
Sonnet 5 $0.00022 $0.01124
Haiku 4.5 $0.00011 $0.00562

Measured 13d ago against content hash 360282b4a5ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

教程类H5-小红书小工具 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 13d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/ai-knowledge-stack/data.js, examples/ai-knowledge-stack/main.js, templates/data.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.

教育学习/教程类H5-小红书小工具/SKILL.md · 539 lines

How it starts

The opening of the file, as written. The whole thing — 539 lines — stays where its author put it; the contents beside it link to each section on GitHub.

教程类 H5 · 小红书小工具

核心理念

教程类 H5 = 离线 SPA 课程页 + AI 生图配图 + 杂志海报风视觉 + 强容器约束

维度 跟普通 H5 的差异
运行环境 小红书"小工具"容器(不是普通浏览器)—— 受限 CSP、纯离线、强容器约束
AI 能力 完全用不到 LLM / 联网 / 定位 —— H5 是"纯静态规则引擎"
用户行为 读 5-10 分钟、收藏 / 转发 / 反复看,不是"用完即弃"的工具
复用价值 强(沉淀 1 次用 3 年)vs 互动小工具(弱,用 1 次就死)
核心能力 文字 + 图 + 课程结构(SPA 多页)

核心主张:教程类 H5 不是"评分小工具"——评分是用完即弃的伪需求;教程是沉淀资产

案例:用户原始需求是"做评分小工具",agent 推荐了 6 个候选 + 1 个推荐,被用户反馈"评分小工具很鸡肋",最终改成"长篇讲解 + 多课程 SPA"——结构升级后价值翻 10 倍

何时使用

  • 用户要"做教程类 H5" / "小红书小工具" / "H5 课程"
  • 主题是讲清楚 1 个大知识点(4 层栈 / 5 步流程 / 7 节课程 / 1 套范式)
  • 想在小红书创作者中心 → 小工具发布
  • 需要支持点击看详情 + 返回 + 上一节 / 下一节

不适用

  • ❌ 需要 LLM / AI 推理的"智能工具"(H5 用不到 AI)
  • ❌ 实时行情 / 联网 / 调 API 的"动态工具"
  • ❌ 评分 / 测试 / 测评(用户反馈"很鸡肋"——沉淀价值低)
  • ❌ 多 HTML 页面站点(容器只允许单页 + JS 视图切换)

5 步工作流

Step 1 · 主题规划(10 分钟)

目的:把"想讲什么"变成可执行的内容大纲。

关键决策

决策 推荐 理由
课程数 5-7 节 < 5 节太单薄;> 7 节读者疲劳
每节长度 600-1200 字 5 分钟读完
每节结构 钩子 + 4 段正文 + 金句 + 行动 4 段 = 4 个子主题;金句 = 记忆点;行动 = 转化
课程目录 顶栏 logo + 课程列表 + 鸡汤句 0.5 秒 get 项目定位

输出:1 份 outline.md(每节 1 行标题 + 1 段简介)

Step 2 · 内容准备(30-60 分钟)

目的:把大纲写成 5-7 节完整长文。

每节模板

# 课 X · {title}

## 钩子(1 句话)
{反常识 / 痛点 / 翻转,让读者想继续看}

## 段 1 · {heading}
{150-200 字,1 个具体概念 / 数据 / 案例}

## 段 2 · {heading}
{150-200 字,承接段 1,1 个新角度}

## 段 3 · {heading}
{150-200 字,对比 / 反例 / 易混概念}

## 段 4 · {heading}
{150-200 字,落地建议 / 操作步骤 / 怎么用}

## 金句(1 句)
{短句,能复述,能截图,能传播}

## 行动(1 段)
{今天就能做的 1 件事}

关键决策

决策 推荐 反例
中文写作 0.5 秒 get 到的动词优先 "实现价值创造" / "赋能业务"
段落长度 150-200 字 / 段 < 100 字太空,> 300 字读者跳读
金句 "X 不是 Y,是 Z" 句式 抽象感叹("加油" / "努力")
行动 具体到"今天做 1 件事" "持续精进" / "深度思考"

输出:5-7 节完整长文(共 4000-8000 字)

Step 3 · 视觉准备(30 分钟)

目的:用 AI 生 4 张 16:9 配图 + 1 张 1:1 logo。

资源清单

资产 比例 数量 用途
课程封面 16:9 1 张 首页 hero
配图 16:9 3 张 课 1/2/3 配图(其他课程用 CSS 渐变占位)
logo 1:1 1 张 小红书"图标"框

Read the full file on GitHub · 539 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. 13d ago First seen · 539 lines · 110 tokens per session scan A 360282b4a5ba

Subscribe to this mod's changes

教程类H5-小红书小工具 is a skill published in the GitHub repository huangrichao2020/pretty-skills (54 stars, last pushed yesterday), licensed MIT. It adds 110 tokens to every session and 5,620 once invoked, about $0.0006 per session on Opus 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.