xhs-render-cards

xhs-render-cards is a skill for Codex from tsingyuai/growth-lab. It costs 89 tokens per session (918 once invoked), scanned A, original, Apache-2.0.

A production guide for turning approved Xiaohongshu drafts into reviewable image cards. Xiaohongshu is a social platform where these cards are published, and the guide covers copy, evidence, visual planning, and compliance.

In plain words
What is it for?
Use it to plan and render a card set from approved text, verified product screenshots or brand assets, and an optional visual reference.
Why use it?
It prevents unsupported claims, inaccurate product screens, copied designs, and missing checks before cards are rendered.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to plan and render a card set from approved text, verified product screenshots or brand assets, and an optional visual reference.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tsingyuai/growth-lab/xhs-render-cards
About the project

Growth Lab is an open-source growth system that uses coding agents to understand a product, research markets, execute growth activities, and learn from the results. It is designed for teams that want to manage growth work across channels such as SEO and Xiaohongshu through natural-language collaboration, persistent product context, and recorded outcomes. Catalogue add-ons define parts of its product models, research methods, execution workflows, and agent operation.

tsingyuai/growth-lab · 1,984 stars · on GitHub · growthlab.tsingyuai.com

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 tsingyuai/growth-lab --skill xhs-render-cards
Clone the repo
git clone --depth 1 https://github.com/tsingyuai/growth-lab

Made for: 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 xhs-render-cards

README.md
[![agentmods](https://agentmods.dev/badge/skills/tsingyuai/growth-lab/xhs-render-cards/github.svg)](https://agentmods.dev/skills/tsingyuai/growth-lab/xhs-render-cards)
Your own site
<a href="https://agentmods.dev/skills/tsingyuai/growth-lab/xhs-render-cards"><img src="https://agentmods.dev/badge/skills/tsingyuai/growth-lab/xhs-render-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.

agentmods 80×15 button for xhs-render-cards

Your own site · 80×15
<a href="https://agentmods.dev/skills/tsingyuai/growth-lab/xhs-render-cards"><img src="https://agentmods.dev/badge/skills/tsingyuai/growth-lab/xhs-render-cards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 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 pass 7 Sept 2026
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.00089 $0.00918
Opus 5.5 $0.00036 $0.00367
Sonnet 5.5 $0.00018 $0.00184
Haiku 4.5 $0.00009 $0.00092

Measured 3mo ago against content hash 87160b65d744, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xhs-render-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 3mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/check-banned-phrases.py, scripts/check-compliance.py, scripts/test_validate_social_card_pack.py, …), 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.

executors/xhs-render-cards/SKILL.md · 65 lines

How it starts

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

Xiaohongshu card production

Read visual-production-contract.md, rendering.md, and visual-review-rubric.md. Keep DAI and compliance rules from deai.md and quality-gates.md.

Required inputs

Require before rendering:

  • approved draft, exact card copy, account role, reader, and one-sentence user value;
  • verified Product facts and Product-owned screenshots or brand assets;
  • one validated visual-reference-selection.json when external visual research is used;
  • output directory in the calling memory/xhs-replicate/ run;
  • target canvas, card count, rights/privacy boundaries, and whether paid image generation is approved.

The selected public reference is analysis-only. Learn hierarchy, proof-zone proportion, density, and reading rhythm; never copy its wording, logo, proprietary UI, exact composition, distinctive decoration, or full sequence. Rejected candidates contribute no visual rules.

1. Lock copy and evidence

Run DAI on title, caption, card copy, CTA, and tags. Every Product claim needs a current evidence source. Delete unsupported claims instead of weakening them with defensive filler.

Write image-plan.md using image-plan.md. Lock every visible string before rendering. Do not add cards merely to match the reference.

2. Capture real Product evidence

Use screenshot-assets for real Product UI, website, code, or data. Keep the original screenshot as evidence. Do not ask an image model to recreate Product UI, logos, citations, statistics, or source text and present it as real.

3. Choose one production mode

  • deterministic: HTML/CSS, Canvas, SVG, or Pillow owns layout and exact text. Preferred for Chinese copy, dense diagrams, real screenshots, and repeatable series.
  • separable-layer: the image model creates only a background, texture, or illustration without text/UI; deterministic rendering places approved copy and Product evidence.
  • complete-effect: the image model proposes a whole visual direction. Generated text, UI, logos, evidence, and sensitive claims must be replaced or the candidate rejected.

Read the full file on GitHub · 65 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. 3mo ago First seen · 65 lines · 89 tokens per session scan A 87160b65d744

Subscribe to this mod's changes

xhs-render-cards is a skill published in the GitHub repository tsingyuai/growth-lab (1,984 stars, last pushed 20d ago), licensed Apache-2.0. It adds 89 tokens to every session and 918 once invoked, about $0.0004 per session on Opus 5.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.

Related

xhs-render-cards compared with skills from other repositories

xhs-render-cards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xhs-render-cardstsingyuai/growth-labSkill2.0k20d agoApache-2.0A89Codex
viral-marketing-playbookGingiris-1031/gingiris-skillsSkill9316d agoMITA50Claude Code, Codex
synthesis-exploreacogood/diffmode_freeSkill1713mo agoApache-2.0A178Claude Code
diagnostics-intakeacogood/diffmode_freeSkill1713mo agoApache-2.0A125Claude Code
growth-factors-miningacogood/diffmode_freeSkill1713mo agoApache-2.0A129Claude Code
lite-constraintsacogood/diffmode_freeSkill1713mo agoApache-2.0A100Claude Code
communityericrisco/rsc-harnessSkill701todayMITA77Claude Code, Codex