redbook-creator-publish

redbook-creator-publish is a skill for Claude Code, Codex from happycapy-ai/Happycapy-skills. It costs 114 tokens per session (8,223 once invoked), scanned C, original, MIT.

A skill for creating Xiaohongshu posts, a Chinese social-media format often called Little Red Book, with a title, body text, tags, and images.

In plain words
What is it for?
Use it to create Xiaohongshu notes, generate related images, prepare local HTML or Markdown previews, and upload posts through the creator platform.
Why use it?
It brings post writing, image creation, previewing, and uploading guidance into one workflow, including fallback instructions when automatic uploading fails.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/a58/.claude/skills/redbook-creator-publish/scripts/html_to_image.py.

Good fit Use it to create Xiaohongshu notes, generate related images, prepare local HTML or Markdown previews, and upload posts through the creator platform.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, 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 redbook-creator-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/redbook-creator-publish/github.svg)](https://agentmods.dev/skills/happycapy-ai/happycapy-skills/redbook-creator-publish)
Your own site
<a href="https://agentmods.dev/skills/happycapy-ai/happycapy-skills/redbook-creator-publish"><img src="https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/redbook-creator-publish/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 redbook-creator-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/happycapy-ai/happycapy-skills/redbook-creator-publish"><img src="https://agentmods.dev/badge/skills/happycapy-ai/happycapy-skills/redbook-creator-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00114 $0.08223
Opus 5 $0.00057 $0.04111
Sonnet 5 $0.00023 $0.01645
Haiku 4.5 $0.00011 $0.00822

Measured 12d ago against content hash 1e2c8c7e5bb1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

redbook-creator-publish scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf ./redbook-article/[主题]-[日期]/temp/
skills/redbook-creator-publish/SKILL.md · 1,033 lines

How it starts

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

小红书帖子创作与发布技能

概述

本技能帮助用户创作小红书风格的优质内容,包括标题、正文、标签、配图,并默认自动上传到小红书创作者平台。

重要更新(v3.0)

  • 🐍 Python 实现:使用 Playwright for Python 实现浏览器自动化(新增)
  • 🚀 默认自动上传:无需询问用户,直接执行自动上传
  • 🔧 智能降级:自动上传失败时自动提供详细手动上传指引
  • ✅ 配图改为 PNG/JPG 格式(不再使用 HTML)
  • ✅ 预览 HTML 和 MD 文档支持显示图片
  • ✅ 使用 Playwright 浏览器自动化(比 Selenium 更快更稳定)
  • ✅ DOM 选择器配置化
  • ✅ 话题深度搜索功能

前置检查

在开始工作流程前,必须检查并准备以下环境:

1. 检查 Python 环境(必需)

python3 --version

要求:Python 3.0 或更高版本

如果未安装或版本过低

  • 输出错误信息:❌ 未检测到 Python 3+ 环境
  • 提示用户:
    本技能需要 Python 3.0+ 支持。
    
    安装方法:
    - macOS: brew install python3
    - Windows: 访问 https://www.python.org/ 下载安装
    
    安装完成后请重新运行此技能。
    
  • 停止执行,等待用户安装 Python

2. 检查 Playwright 是否安装(首次自动安装)

python3 -c "import playwright" 2>/dev/null && echo "Playwright installed" || echo "Playwright not found"

如果未安装

  • 输出信息:🔍 检测到 Playwright 未安装,正在自动安装...
  • 自动执行安装:
    pip3 install playwright
    playwright install chromium
    
  • 显示安装进度和结果
  • 安装完成后输出:✅ Playwright 安装完成

如果已安装

  • 输出:✅ Playwright 已安装

3. 检查 Chrome 浏览器(用于 HTML 转图片)

# macOS
test -d "/Applications/Google Chrome.app" && echo "Chrome installed" || echo "Chrome not found"

如果未安装

  • 输出警告信息:⚠️ 未检测到 Chrome 浏览器
  • 提示用户:
    配图转换需要 Chrome(HTML 转 PNG 功能)。
    
    下载地址: https://www.google.com/chrome/
    
    注意:Playwright 会使用 Chromium 进行自动化上传,不依赖系统 Chrome
    
  • 可以继续执行(配图可稍后手动生成)

工作流程

第一步:确定创作主题并深度搜索

重要:无论用户是否提供话题,都必须先进行深度搜索,确保内容的准确性和时效性。

1.1 话题确定
  • 用户提供话题:使用用户提供的话题
  • 用户未提供话题:搜索当日最新的 AI 资讯或热门话题作为创作素材
1.2 深度搜索(必须执行)

使用 WebSearch 工具对话题进行深度搜索:

搜索要求

  • 搜索至少 2-3 个相关关键词
  • 获取最新的数据、案例、用户反馈(确保信息来自最新年份(如2026年)
  • 了解话题的热度和讨论方向
  • 确保内容符合主题并有深度

示例搜索关键词

  • 话题"AI工具":
    • "2026最新AI工具推荐"
    • "AI工具使用教程案例"
    • "AI工具效率提升数据"
  • 话题"工作效率":
    • "提高工作效率方法2026"
    • "效率工具推荐使用体验"
    • "时间管理技巧实战"

搜索输出

🔍 正在深度搜索话题: [话题名称]

搜索关键词 1: [关键词]
- 找到 X 个相关结果
- 关键信息: [摘要]

搜索关键词 2: [关键词]
- 找到 X 个相关结果
- 关键信息: [摘要]

✅ 搜索完成,已获取充足素材

第二步:生成帖子内容

参考 references/style-guide.md 了解小红书内容风格规范。

Read the full file on GitHub · 1,033 lines

Files

What ships with it

9 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.

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. 12d ago First seen · 1,033 lines · 114 tokens per session scan C 1e2c8c7e5bb1

Subscribe to this mod's changes

redbook-creator-publish is a skill published in the GitHub repository happycapy-ai/Happycapy-skills (139 stars, last pushed 9d ago), licensed MIT. It adds 114 tokens to every session and 8,223 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

vercel/next.js · 95 tokens

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.

microsoft/vscode · 53 tokens

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…

microsoft/vscode · 71 tokens

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…

vercel/next.js · 83 tokens