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 ztaihang/agent-skills --skill xhs-static-cardsgit clone --depth 1 https://github.com/ztaihang/agent-skillsWrote 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/ztaihang/agent-skills/xhs-static-cards)<a href="https://agentmods.dev/skills/ztaihang/agent-skills/xhs-static-cards"><img src="https://agentmods.dev/badge/skills/ztaihang/agent-skills/xhs-static-cards/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/ztaihang/agent-skills/xhs-static-cards"><img src="https://agentmods.dev/badge/skills/ztaihang/agent-skills/xhs-static-cards.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.00161 | $0.02695 |
| Opus 5 | $0.00081 | $0.01347 |
| Sonnet 5 | $0.00032 | $0.00539 |
| Haiku 4.5 | $0.00016 | $0.00269 |
Grade A, and why
xhs-static-cards 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 11d 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 — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
xhs-static-cards · 小红书静态图文卡片
本 Skill 用于在用户指定的项目路径下构建「文案 → HTML 预览 → 导出 PNG」工程。
- Skill 源码仓库(本机):
F:\myvideos\agent-skills\skills\xhs-static-cards\(或 GitHubztaihang/agent-skills) - 本地安装路径(Agent 读取):
~/.agents/skills/xhs-static-cards/或~/.cursor/skills/xhs-static-cards/ - 卡片工程路径:用户每次指定,与 skill 安装目录无关
修改某次卡片内容 → 改用户项目目录;修改 skill 规范 → 改本 skill 目录。
与 hyperframes-shorts 的区别
| hyperframes-shorts | xhs-static-cards | |
|---|---|---|
| 产出 | 视频 MP4 | 静态 PNG |
| 画布 | 1920×1080 等 | 1080×1440(3:4) |
| 动效 | GSAP 必须 | 禁止 |
| 预览 | Studio 播放 | 浏览器静态页 |
| 发布 | 不涉及 | 不涉及(用户手动发小红书) |
Step 0:环境预检(第一步,缺则停止并提示)
未通过预检禁止进入生成流程。 向用户明确列出缺失项与安装命令,等用户确认已安装或授权 Agent 代装后再继续。
0.1 检查本 skill 是否可用
在以下路径探测 SKILL.md 是否存在:
| 路径 | 说明 |
|---|---|
~/.agents/skills/xhs-static-cards/SKILL.md |
推荐(与 hyperframes 等同级) |
~/.cursor/skills/xhs-static-cards/SKILL.md |
Cursor 用户 |
仓库 F:\myvideos\agent-skills\skills\xhs-static-cards\SKILL.md |
本机开发副本 |
若均不存在,停止并提示:
Copy-Item -Recurse "F:\myvideos\agent-skills\skills\xhs-static-cards" "$env:USERPROFILE\.agents\skills\xhs-static-cards"
# 或
npx skills add ztaihang/agent-skills@xhs-static-cards -g -y
0.2 检查配套 skill(生成 HTML 前必读)
| 用途 | 必选其一 | 安装命令 |
|---|---|---|
| 审美 / 反 slop | design-taste-frontend 或 taste-skill |
已有前者则不必装后者 |
| 中文排版 | web-typography |
npx skills add wondelai/skills@web-typography -g -y |
| 布局结构 | frontend-design |
npx skills add nexu-io/open-design@frontend-design -g -y |
| 导出方法参考 | exporting-to-png |
npx skills add spencerpauly/awesome-cursor-skills@exporting-to-png -g -y |
探测目录:~/.agents/skills/<name>/、~/.cursor/skills/<name>/(design-taste-frontend 可替代 taste-skill)。
若缺 web-typography 或 frontend-design 或 exporting-to-png,停止并一次性给出上表安装命令,不要 silently 跳过。
若缺 taste 类 skill(两者皆无),停止并提示安装其一:
npx skills add nexu-io/open-design@taste-skill -g -y
# 或确保已有 design-taste-frontend
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.
- examples/prompt-template.md 1.7 KB
- README.md 2.2 KB
- references/content-schema.md 3.0 KB
- references/theme-variants.md 881 B
- templates/examples/codex-skills.json 2.6 KB
- templates/families/skill-list/base.css 2.8 KB
- templates/families/skill-list/themes/clean-white.css 647 B
- templates/families/skill-list/themes/dark-neon.css 1.3 KB
- templates/families/skill-list/themes/soft-pink.css 845 B
- templates/families/skill-list/themes/tool-slate.css 767 B
- templates/families/skill-list/themes/xhs-warm.css 2.3 KB
- templates/families/vibecoding/README.md 182 B
- templates/package.json 281 B
- templates/README.md 547 B
- templates/scripts/build.mjs 11 KB runs code
- templates/scripts/export.mjs 2.0 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.
- 11d ago First seen · 249 lines · 161 tokens per session scan A 186e7cdf0569
xhs-static-cards is a skill published in the GitHub repository ztaihang/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 161 tokens to every session and 2,695 once invoked, about $0.0008 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-31.
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.
general-video
Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…
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).
chengfeng-check-updates
An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.