whatisgithub

What is build-xhs-content-pack?

kimberlying/build-xhs-content-pack — explained in plain English

Analysis updated 2026-05-18

39PythonAudience · writerComplexity · 2/5Setup · easy

In one sentence

A Codex Skill that turns long articles, book notes, or PDFs into a ready to publish Xiaohongshu content pack with matching WeChat article and images.

Mindmap

mindmap
  root((xhs-content-pack))
    What it does
      Codex skill
      Converts long content
      Publish ready packs
    Tech stack
      Python
      Pillow
      Codex
    Outputs
      Xiaohongshu cards
      WeChat article
      Cover images
      Checklist
    Visual styles
      Knowledge magazine
      Reading card
      Tech tutorial
      Business analysis
    Use cases
      Repurpose articles
      Book notes to cards
      Multi platform posts
    Audience
      Content writers
      Creators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn a long X post or article into a set of Xiaohongshu image cards ready to post.

USE CASE 2

Convert book notes or reading summaries into a shareable knowledge card series.

USE CASE 3

Generate a matching WeChat public account article alongside a social media post.

USE CASE 4

Preview four different visual styles for a post before committing to one.

What is it built with?

PythonPillowCodex

How does it compare?

kimberlying/build-xhs-content-packaa2448208027-code/localaihotswapamapvoice/pilottts
Stars393939
LanguagePythonPythonPython
Setup difficultyeasymoderatehard
Complexity2/53/54/5
Audiencewriterdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires the Codex assistant with the skill copied into its skills directory, plus the Pillow Python package for image rendering.

The project does not state a license, so its reuse terms are unclear.

So what is it?

Build-xhs-content-pack is a Codex Skill, meaning it is a packaged workflow that plugs into the Codex AI coding assistant rather than a standalone app you run on its own. Its job is to take long form source material, things like an X post, a book's notes, a PDF, a video transcript, or just scattered personal notes, and turn it into a ready to publish content package for Xiaohongshu, the Chinese social platform also known as Little Red Book, along with a matching WeChat public account article and its own set of images. Feed it a topic and some source material, and it produces a content brief, a summary of sources used, eight to twelve image cards sized for Xiaohongshu posts, a full size preview image, a title and caption with tags, a longer WeChat article, a horizontal WeChat banner image, a pre-publish checklist, and a template for reviewing performance after the post goes live. The author built it after repeatedly doing this process by hand with Codex and eventually packaging the steps into a reusable skill. A distinguishing feature is that it offers four different visual styles for the generated cards, ranging from a magazine style knowledge layout to a book notes style, a clean tech tutorial look, and a business analysis look with a financial terminal feel. If you do not pick a style up front, it will generate four cover options in each style so you can choose visually instead of describing fonts or colors yourself. There are three modes: a standard mode that shows you all the card text first so you can approve it before any images are generated, a full mode that produces everything in one pass, and a text only mode that skips image generation entirely. Installation means copying the skill folder into your Codex skills directory and installing a small Python dependency, Pillow, used for rendering the images. The author is explicit that this is an experimental workflow still under active testing, and that the tool does not fabricate data, testimonials, or guarantees, and requires a human to confirm final facts, wording, and anything published, especially around sensitive topics like investing or health. The full README does not mention a license.

Copy-paste prompts

Prompt 1
Help me install the build-xhs-content-pack skill into my Codex skills directory.
Prompt 2
Use build-xhs-content-pack in standard mode to turn this article into Xiaohongshu cards, showing me the text first.
Prompt 3
Generate a text only content pack from these book notes without creating any images yet.
Prompt 4
Show me the four cover style options for this topic before I pick a visual theme.

Frequently asked questions

What is build-xhs-content-pack?

A Codex Skill that turns long articles, book notes, or PDFs into a ready to publish Xiaohongshu content pack with matching WeChat article and images.

What language is build-xhs-content-pack written in?

Mainly Python. The stack also includes Python, Pillow, Codex.

What license does build-xhs-content-pack use?

The project does not state a license, so its reuse terms are unclear.

How hard is build-xhs-content-pack to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is build-xhs-content-pack for?

Mainly writer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.