About xiaohongshu-tools
A support skill for running local data-processing scripts in the Xiaohongshu skill family. It handles defined collection keys and workflows for normalizing datasets, ranking accounts, posts and products, clustering comments, and building topic maps or merchant reports.
Key features
- 01Runs supported XHS collection keys
- 02Normalizes collected datasets
- 03Ranks accounts, posts, and products
- 04Clusters comments
- 05Builds topic maps and merchant reports
Use cases
- 01Process collected XHS account posts
- 02Analyze XHS search results
- 03Create ranked product or account outputs
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ postplusai/ postplus-skills --skill xiaohongshu-toolsAfter installing, type/xiaohongshu-toolsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs_postplus_shared/00-core/shared-collection/scripts/lib/hosted_collection_bridge.mjs_postplus_shared/00-core/shared-runtime/scripts/download_videos_from_manifest_with_ytdlp.mjs_postplus_shared/00-core/shared-runtime/scripts/lib/execution_approval.mjshosted_billing_summary.mjshosted_execution_protocol.mjshosted_media_generation_bridge.mjslocal_skill_cli.mjsnetwork_runtime.mjspostplus_cli_config.mjspostplus_cloud_client.mjsskill_runtime.mjsscripts/build_xhs_merchant_report.mjsbuild_xhs_topic_map.mjscluster_xhs_comments.mjsextract_xhs_vendor_page_products.mjsnormalize_xhs_dataset.mjsrank_xhs_accounts.mjsrank_xhs_posts.mjsrank_xhs_products.mjsrun_xhs_actor.mjsscripts/lib/xhs_common.mjsDetails
From the project READMEXiaohongshu Tools
Follow shared public skill rules in:
postplus-sharedpublic skill rules
Use this skill when implementing or running the local execution layer for the Xiaohongshu skill family.
Main scripts:
scripts/run_xhs_actor.mjsscripts/normalize_xhs_dataset.mjsscripts/extract_xhs_vendor_page_products.mjsscripts/rank_xhs_accounts.mjsscripts/rank_xhs_posts.mjsscripts/cluster_xhs_comments.mjsscripts/rank_xhs_products.mjsscripts/build_xhs_topic_map.mjsscripts/build_xhs_merchant_report.mjs
Shared helpers:
scripts/lib/xhs_common.mjs
Reference contracts:
../xiaohongshu-references/tool-contracts.md../xiaohongshu-references/normalized-schema.md
Execution Rule
Do not invent actor-specific downstream workflows unless the schema truly requires it.
Prefer:
scripts/run_xhs_actor.mjs${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs
This skill should stay focused on stable local contracts after raw data has been collected.
Supported Collection Keys
This support skill may run only these PostPlus public collection keys:
xhs-account-postsxhs-search
Minimal runner examples:
node ${CLAUDE_SKILL_DIR}/scripts/run_xhs_actor.mjs \
--collection-key xhs-account-posts \
--input <work-folder>/.postplus/xiaohongshu-tools/xhs-account-posts-input.json \
--output <work-folder>/.postplus/xiaohongshu-tools/xhs-account-posts-raw.json
node ${CLAUDE_SKILL_DIR}/scripts/run_xhs_actor.mjs \
--collection-key xhs-search \
--input <work-folder>/.postplus/xiaohongshu-tools/xhs-search-input.json \
--output <work-folder>/.postplus/xiaohongshu-tools/xhs-search-raw.json
Do not pass provider-specific collection names or unpublished keys.
Public Skill Execution Contract
- keep actor inputs, raw datasets, normalized datasets, ranking outputs,
clustered comments, product rankings, and topic maps under
<work-folder>/.postplus/xiaohongshu-tools/ - keep only final user-facing shortlists or reports outside
.postplus/ - start with a bounded first pass before broader collection
- if PostPlus Cloud service is unavailable, unauthorized, or returns a stable network error, stop immediately instead of switching to ad hoc shell glue