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 larashero3-dotcom/lieflat-html-design --skill lieflat-xhs-covergit clone --depth 1 https://github.com/larashero3-dotcom/lieflat-html-designWrote 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/larashero3-dotcom/lieflat-html-design/lieflat-xhs-cover)<a href="https://agentmods.dev/skills/larashero3-dotcom/lieflat-html-design/lieflat-xhs-cover"><img src="https://agentmods.dev/badge/skills/larashero3-dotcom/lieflat-html-design/lieflat-xhs-cover/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/larashero3-dotcom/lieflat-html-design/lieflat-xhs-cover"><img src="https://agentmods.dev/badge/skills/larashero3-dotcom/lieflat-html-design/lieflat-xhs-cover.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.00064 | $0.00701 |
| Opus 5 | $0.00032 | $0.00351 |
| Sonnet 5 | $0.00013 | $0.00140 |
| Haiku 4.5 | $0.00006 | $0.00070 |
Grade A, and why
lieflat-xhs-cover 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 12d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lieflat XHS Cover
What This Skill Does
Create one Xiaohongshu cover / first image. The output is a title-first 3:4 image designed for quick recognition, not a longform article and not a slide deck.
Before choosing a style, read:
assets/catalog.jsonreferences/style-understanding.md
Use assets/templates/<template-id>/zh.html as a starter. Copy it into the user's workspace before editing.
Core Rules
- The title is the product. Make it legible at thumbnail size.
- Use a short subtitle, verdict, or hook only when it sharpens the title.
- One visual anchor is enough. Do not fill the cover with body paragraphs.
- Default to Chinese visible copy unless the user explicitly requests another language.
- Do not write
小红书封面as visible copy unless the user explicitly asks for that label. - Treat
xhs-cover-story-fieldas a low-frequency style. Do not choose it by default for ordinary AI/product/brand covers, hot takes, tutorials, or generic post openers. Use it only when the user explicitly asks for Story Field / 故事集, or when the cover needs an archival, cinematic, route-map, place/person, or project-field-report mood. - Preserve the chosen style's atmosphere while keeping the cover simple.
- Do not mix template systems. If switching from one cover style to another, start again from the new style's starter HTML instead of carrying over the previous template's DOM, class names, layout modules, CSS variables, or decorative blocks.
Canvas And Export
- CSS canvas:
600px × 800px,3:4. - Default export:
1200px × 1600pxPNG withdeviceScaleFactor: 2. - Title baseline: around
44-72px, Chinese line-height around1.05-1.2. - Subtitle baseline: around
19-24px. - Metadata baseline: around
10-16px.
After creating the HTML, run:
node scripts/capture-xhs-card.mjs --html <path-to-html> --out <path-to-cover.png>
Workflow
- Read
assets/catalog.jsonandreferences/style-understanding.md. - Select one cover style.
- Copy the chosen starter into the project. For each alternate style or revision that changes style family, copy a fresh starter for that target style.
- Rewrite the user's topic into a compact cover title and optional subtitle.
- Replace title, metadata, footer, labels, and visual hook.
- Remove article paragraphs or demo-only blocks.
- Export PNG and inspect thumbnail readability.
What ships with it
23 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.
- assets/catalog.json 13 KB
- assets/templates/xhs-cover-clean-review/zh.html 4.9 KB
- assets/templates/xhs-cover-consulting-report/zh.html 3.7 KB
- assets/templates/xhs-cover-dot-matrix/zh.html 11 KB
- assets/templates/xhs-cover-editorial/zh.html 5.0 KB
- assets/templates/xhs-cover-geek-report/zh.html 7.2 KB
- assets/templates/xhs-cover-pixel-report/zh.html 6.7 KB
- assets/templates/xhs-cover-rain-notes/zh.html 8.1 KB
- assets/templates/xhs-cover-shiny-tiles/zh.html 5.7 KB
- assets/templates/xhs-cover-story-field/zh.html 4.3 KB
- assets/templates/xhs-cover-sunrise/zh.html 9.8 KB
- assets/templates/xhs-cover-terminal/zh.html 6.2 KB
- references/agent-workflow.md 1001 B
- references/qa-checklist.md 1.5 KB
- references/style-understanding.md 5.6 KB
- scripts/audit-assets.mjs 1.9 KB runs code
- scripts/audit-languages.mjs 2.6 KB runs code
- scripts/capture-screenshots.mjs 1.4 KB runs code
- scripts/capture-template-previews.mjs 6.7 KB runs code
- scripts/capture-xhs-card.mjs 2.8 KB runs code
- scripts/capture-xhs-carousel.mjs 4.2 KB runs code
- scripts/create-design.mjs 2.3 KB runs code
- scripts/list-templates.mjs 1.1 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.
- 12d ago First seen · 61 lines · 64 tokens per session scan A 794383c8eac0
lieflat-xhs-cover is a skill published in the GitHub repository larashero3-dotcom/lieflat-html-design (86 stars, last pushed 3mo ago), licensed MIT. It adds 64 tokens to every session and 701 once invoked, about $0.0003 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.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
accessibility
Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.
make-resume
A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.