Tianshu XHS Note

v1.0.0

把素材整理成小红书笔记结构:标题建议、正文分段、字数统计、话题标签草稿、合规小提示。 Use when: 用户要写小红书、排版笔记、加话题标签、控制字数;用户说「小红书文案」「笔记结构」「XHS」。 NOT for: 自动生成需深度创意的全文代写(可配合模型润色后再用本 skill 结构化)。

0· 202·1 current·1 all-time
bytianshu@wangshengli0421

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for wangshengli0421/tianshu-xhs-note.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Tianshu XHS Note" (wangshengli0421/tianshu-xhs-note) from ClawHub.
Skill page: https://clawhub.ai/wangshengli0421/tianshu-xhs-note
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install tianshu-xhs-note

ClawHub CLI

Package manager switcher

npx clawhub@latest install tianshu-xhs-note
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included script and README: the script generates title suggestions, paragraphing, hashtag candidates and a pre-publish checklist. Nothing requested by the skill (no env vars, no external services) is disproportionate to that purpose.
Instruction Scope
SKILL.md instructs running the local Node script on a draft file or passing text via --text. That stays within the stated purpose. One caution: passing full post text on the command line (--text) can expose content in process lists or shell history — reading from a file is safer. The README references other image/upload skills for follow-up, which is expected but outside this skill's scope.
Install Mechanism
There is no install spec (instruction-only with an included local script). The code is shipped in the skill bundle and there are no network downloads or external packages. This is low risk.
Credentials
No environment variables, credentials, or config paths are requested or used. The script only reads a user-supplied file or text argument and uses standard Node fs/path modules.
Persistence & Privilege
The skill does not request permanent presence (always: false) and does not modify other skills or global agent settings. It runs locally and only reads a provided file or argument.
Assessment
This skill appears safe and does what it claims: it runs a local Node.js script to structure Xiaohongshu posts and does not contact external services or ask for secrets. Before installing/running: 1) ensure you have Node.js available (the SKILL.md uses 'node' but the skill does not list 'node' as a required binary); 2) prefer passing input via a file rather than --text to avoid exposing post content in shell history or process listings; 3) review the included scripts if you have sensitive content—the script reads only the file/text you provide and writes output to stdout; 4) be aware the skill references other image/upload skills for further steps (those are separate and should be reviewed individually).

Like a lobster shell, security has layers — review code before you run it.

latestvk97btzpk09myqm0ef81641df9s8393hr
202downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

小红书笔记结构化 (tianshu-xhs-note)

将已有文案或要点整理成符合小红书发布习惯的格式:标题备选、正文分段、话题标签建议、基础字数与格式检查(本地规则,不联网)。

When to Run

  • 用户说「小红书笔记」「XHS」「帮我排一下笔记结构」「加话题标签」
  • 已有草稿或长段文字,需要按小红书习惯分段、控制长度、输出 #话题 草稿

Workflow

  1. 确认用户有可用的正文(或让模型先生成初稿)
  2. 将正文写入临时文件,或直接用 --text(注意 shell 转义)
  3. 执行:
    node ~/.openclaw/skills/tianshu-xhs-note/scripts/pack_note.js --file /path/to/draft.txt
    
    或:
    node scripts/pack_note.js --text "你的正文……"
    
  4. 把脚本输出的 Markdown 交给用户;需要配图时继续调用 tianshu-image / tianshu-qiniu-upload

参数说明

参数说明
--file / -f正文文件路径(UTF-8)
--text / -t直接传入正文(较短时用)
--max-body正文建议最大字数,默认 900(预留标题与标签空间)

Output

脚本向 stdout 打印一整段 Markdown:标题备选正文话题标签建议发布前自检清单

Comments

Loading comments...