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-longformgit 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-longform)<a href="https://agentmods.dev/skills/larashero3-dotcom/lieflat-html-design/lieflat-xhs-longform"><img src="https://agentmods.dev/badge/skills/larashero3-dotcom/lieflat-html-design/lieflat-xhs-longform/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-longform"><img src="https://agentmods.dev/badge/skills/larashero3-dotcom/lieflat-html-design/lieflat-xhs-longform.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.00067 | $0.00774 |
| Opus 5 | $0.00034 | $0.00387 |
| Sonnet 5 | $0.00013 | $0.00155 |
| Haiku 4.5 | $0.00007 | $0.00077 |
Grade A, and why
lieflat-xhs-longform 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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lieflat XHS Longform
What This Skill Does
Create one vertical Xiaohongshu longform article card. The output is a readable 3:5 image, not a slide deck and not a cover.
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
- Output should read as a continuous article card: title, short subtitle if needed, section heading, body, and compact footer.
- Do not make it look like a PPT slide or a cover card.
- Default to Chinese visible copy unless the user explicitly requests another language.
- Treat
xhs-story-fieldas a low-frequency style. Do not choose it by default for ordinary AI notes, product reviews, technical explainers, listicles, or general article cards. Use it only when the user explicitly asks for Story Field / 故事集, or when the source genuinely needs an archival, cinematic, project-field-report narrative with story-led paragraphs. - Do not mechanically preserve decorative blocks from the demo. Keep only the structures that help the article read better.
- Preserve the chosen style's palette, type rhythm, ornaments, and atmosphere.
- Do not invent claims, numbers, product facts, or quotes.
- Do not mix template systems. If switching from one longform 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 × 1000px,3:5. - Default export:
1200px × 2000pxPNG withdeviceScaleFactor: 2. - Body text baseline: around
22-24px, line-height around1.7-1.85. - Section headings: around
26-30px. - Inner padding: around
50px, adjusted to the chosen style.
After creating the HTML, run:
node scripts/capture-xhs-card.mjs --html <path-to-html> --out <path-to-card.png>
For a multi-image carousel:
node scripts/capture-xhs-carousel.mjs --html <path-to-html> --out-dir <folder>
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-clean-review/zh.html 6.2 KB
- assets/templates/xhs-consulting-report/zh.html 6.7 KB
- assets/templates/xhs-dot-matrix-light/zh.html 10 KB
- assets/templates/xhs-editorial/zh.html 9.8 KB
- assets/templates/xhs-geek-report/zh.html 9.1 KB
- assets/templates/xhs-pixel-report/zh.html 6.9 KB
- assets/templates/xhs-rain-notes/zh.html 17 KB
- assets/templates/xhs-shiny-tiles/zh.html 6.0 KB
- assets/templates/xhs-story-field/zh.html 6.0 KB
- assets/templates/xhs-sunrise/zh.html 15 KB
- assets/templates/xhs-terminal/zh.html 11 KB
- references/agent-workflow.md 993 B
- references/qa-checklist.md 1.5 KB
- references/style-understanding.md 3.8 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 · 68 lines · 67 tokens per session scan A 70b82824c594
lieflat-xhs-longform is a skill published in the GitHub repository larashero3-dotcom/lieflat-html-design (86 stars, last pushed 3mo ago), licensed MIT. It adds 67 tokens to every session and 774 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
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…