nook-xhspage SKILL.md skillA
nook-xhspage from captain-nook/nook_skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add captain-nook/nook_skills/nook-xhspage@v0.4Pins v0.4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- captain-nook/nook_skills
- Path
nook-xhspage/SKILL.md- Versions recorded
- 2
- Latest version
- v0.4, committed Oct 20, 2026
- First version recorded
- Oct 17, 2026
- Size
- 12,058 bytes
- Repository stars
- 16
- License
- MIT
把一份已定好内容的小红书图文方案,用 Python 脚本渲染成成套的 3:4 手账涂鸦风图片(封面加内页)。四套风格(薄荷、手账浅色、深色、船票风),自带通用 IP 人物「薄荷」,开箱即用,内置 161 个透明贴纸素材库,不依赖 ComfyUI;文字、版式、图示全部是代码画的,字准、可改。只负责"画",文案由 nook-xhswrite 等写作 skill 先定;用户要求出小红书封面、内页、成套图文图片、手账风图示页时使用。不用于写文案,不用于自动发布。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 1 nook-xhspage
小红书图文的渲染层:输入是一份"笔记方案"(几张图、每张用什么页型、各字段写什么),输出是一套 1242×1656 的 PNG。写作交给 `nook-xhswrite`,视觉策划可参考 `nook-xhsdesign`,本 skill 只负责把方案画出来。
状态:0.4。22 个页型、命令行入口、JSON 校验、161 个素材、本地界面已可用,薄荷(mint,通用款默认)、手账浅色(paper)、深色(dark)、船票风(ticket)四套主题。
## 1.1 三条原则
1. **内容先于呈现。** 没有定好的一句话核心和逐页内容,不画图。字不如表,表不如图,每张图一个意思,长文放在笔记正文里。
2. **只从素材库取贴纸,只用封闭词表。** 页型、主题、贴纸都按 id 引用,不在表里就报错并列出可选项,不临场发挥。没有 ComfyUI 的使用者照样能用。
3. **放不下就回去改文案**,不悄悄缩字;事实类图片(截图、数据、成果)只用用户提供的,不用生成图冒充。
## 1.2 目录
```
nook-xhspage/
SKILL.md 本文件
references/ schema.md(接口设计)、acceptance.md(验收标准)、publish-checklist.md(发布前检查)
scripts/
paths.py 全部路径从这里来,相对 skill 目录;环境变量见 1.4
xhs.py 命令行入口
spec.py 页型、字段、字数上限、校验(改词表只改这里)
render.py 22 个页型的渲染函数,读 fields,不含写死文案
pages_core.py pages_hand.py pages_diagram.py 共用的小工具、颜色映射和船票外框、手绘形状
lib_items.py 素材库条目清单与生成提示词(可选,仅需要追加素材时用)
assets/
fonts/ 思源黑体、霞鹜文楷(OFL,许可见 LICENSE-fonts.txt)
brand/mint/ 通用款品牌:IP 人物薄荷的 3 个姿态和头像 Logo(--default,可整体替换,见 1.3)
brand/default/ 船长款品牌(作者本人,--captain)
themes/mint/ 薄荷风格的封面底图和内页底图
…Read the whole file at its exact version.
How to install
mdr add captain-nook/nook_skills/nook-xhspage@sha256:376b9b0890720f3fThe line at the top of this page pins the label v0.4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_42k4lsrpivysb4uy)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Oct 17, 2026 and Oct 20, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.4 latest | 2026-10-20 | d52c2a7 | 12,058 B | A | view · diff |
| v0.3 | 2026-10-17 | 6d295bb | 11,251 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12058 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
captain-nook/nook_skills · 16 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_42k4lsrpivysb4uy GET https://markdownregistry.com/api/v1/resolve?ref=captain-nook/nook_skills/nook-xhspage GET https://markdownregistry.com/api/v1/blob/376b9b0890720f3f5a22ec8f8595d3627b54bd82b13f2dc4543f1f24a1e6daeb
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.