Xiaohongshu Tools
Follow shared release-shell rules in:
postplus-sharedrelease-shell 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.
Release-Shell 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 hosted capability is unavailable, unauthorized, or returns a stable network error, stop immediately instead of switching to ad hoc shell glue