x-tools

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

X Tools

X Tools

Follow shared release-shell rules in:
  • postplus-shared
    release-shell rules
Use this skill when implementing or running the local execution layer for the X skill family.
Main scripts:
  • scripts/run_x_actor.mjs
  • scripts/normalize_x_dataset.mjs
  • scripts/rank_x_accounts.mjs
  • scripts/rank_x_posts.mjs
  • scripts/build_x_audience_graph.mjs
  • scripts/cluster_x_bios_and_posts.mjs
Shared helpers:
  • scripts/lib/x_common.mjs
Reference contracts:
  • ../x-references/tool-contracts.md
  • ../x-references/normalized-schema.md
请遵循
postplus-shared
中的共享release-shell规则:
  • postplus-shared
    的release-shell规则
当实现或运行X技能家族的本地执行层时,请使用本技能。
主要脚本:
  • scripts/run_x_actor.mjs
  • scripts/normalize_x_dataset.mjs
  • scripts/rank_x_accounts.mjs
  • scripts/rank_x_posts.mjs
  • scripts/build_x_audience_graph.mjs
  • scripts/cluster_x_bios_and_posts.mjs
共享辅助工具:
  • scripts/lib/x_common.mjs
参考契约:
  • ../x-references/tool-contracts.md
  • ../x-references/normalized-schema.md

Execution Rule

执行规则

Do not invent a separate actor runner unless the shared collection runner is not enough.
Prefer:
  • ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs
This skill should stay focused on local contracts after raw data has been collected.
除非共享采集运行器不足以满足需求,否则请勿自行开发独立的actor运行器。
优先使用:
  • ${CLAUDE_SKILL_DIR}/_postplus_shared/00-core/shared-collection/scripts/collection_actor_run.mjs
本技能应专注于原始数据采集完成后的本地契约。

Release-Shell Execution Contract

Release-Shell执行契约

  • keep actor inputs, raw datasets, normalized outputs, ranking files, and graph caches under
    <work-folder>/.postplus/x-tools/
  • keep only final user-facing summaries or shortlist exports outside
    .postplus/
  • start with a bounded first pass before broadening the crawl
  • use PostPlus-supported scripts plus the shared collection runner only; do not switch to ad hoc shell glue
  • if hosted capability is unavailable, unauthorized, or returns a stable network error, stop immediately instead of switching to ad hoc shell glue
  • 将actor输入、原始数据集、标准化输出、排名文件以及图谱缓存存储在
    <work-folder>/.postplus/x-tools/
    目录下
  • 仅将最终面向用户的摘要或候选列表导出文件存放在
    .postplus/
    目录之外
  • 在扩大爬取范围之前,先进行有限的首轮处理
  • 仅使用PostPlus支持的脚本和共享采集运行器;请勿改用临时shell脚本
  • 如果托管功能不可用、未获授权或返回稳定网络错误,请立即停止操作,切勿改用临时shell脚本