setup-all

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

一键安装所有 Skill

One-Click Installation of All Skills

跨平台(Windows / macOS / Linux)批量安装脚本,一次运行完成环境诊断 + skill 下载安装 + 自动运行配置脚本。
Cross-platform (Windows / macOS / Linux) batch installation script, completes environment diagnosis + skill download and installation + automatic configuration script execution in one run.

使用方法

Usage

运行内置的 Python 脚本:
bash
python <skill-path>/scripts/setup_all.py [模式]
可选模式:
  • all
    (默认)— 完整流程:诊断 → 安装自研 skill → 安装公开 skill → 运行自研脚本
  • diagnose
    — 仅运行环境诊断
  • custom
    — 仅安装/更新自研 skill 并运行脚本
  • public
    — 仅安装公开官方 skill
  • update
    — 仅更新版本有变化的自研 skill 并运行脚本
  • run
    — 仅运行已安装自研 skill 的脚本(不安装)
Run the built-in Python script:
bash
python <skill-path>/scripts/setup_all.py [mode]
Optional modes:
  • all
    (default) — Full process: Diagnosis → Install self-developed skills → Install public skills → Run self-developed scripts
  • diagnose
    — Only run environment diagnosis
  • custom
    — Only install/update self-developed skills and run scripts
  • public
    — Only install official public skills
  • update
    — Only update self-developed skills with version changes and run scripts
  • run
    — Only run scripts of already installed self-developed skills (no installation)

参数对照表

Parameter Mapping Table

用户说的运行模式
/setup-all
或 "一键安装"
all
/setup-all diagnose
或 "诊断环境"
diagnose
/setup-all custom
或 "安装自研skill"
custom
/setup-all public
或 "安装官方skill"
public
/setup-all update
或 "更新skill"
update
/setup-all run
或 "运行skill脚本"
run
User inputRunning mode
/setup-all
or "one-click installation"
all
/setup-all diagnose
or "diagnose environment"
diagnose
/setup-all custom
or "install self-developed skills"
custom
/setup-all public
or "install official skills"
public
/setup-all update
or "update skills"
update
/setup-all run
or "run skill scripts"
run

安装内容

Installation Contents

自研 Skill(从 GitHub 仓库下载)

Self-developed Skills (downloaded from GitHub repository)

Skill说明来源
env-diagnose
环境诊断(网络/权限/开发工具)horizon-continental/hct-skills
lark-cli-setup
飞书 CLI 自动化部署horizon-continental/hct-skills
vscode-cc-login-free
VS Code Claude Code 免登录配置horizon-continental/hct-skills
model-config
配置模型映射(haiku/sonnet/opus)horizon-continental/hct-skills
web-search-mcp
一键配置联网搜索 MCPhorizon-continental/hct-skills
remove-feishu-mcp
检测并移除旧版 feishu-mcphorizon-continental/hct-skills
SkillDescriptionSource
env-diagnose
Environment diagnosis (network/permission/development tools)horizon-continental/hct-skills
lark-cli-setup
Lark CLI automated deploymenthorizon-continental/hct-skills
vscode-cc-login-free
VS Code Claude Code login-free configurationhorizon-continental/hct-skills
model-config
Configure model mapping (haiku/sonnet/opus)horizon-continental/hct-skills
web-search-mcp
One-click configuration of web search MCPhorizon-continental/hct-skills
remove-feishu-mcp
Detect and remove old version of feishu-mcphorizon-continental/hct-skills

公开官方 Skill(通过 npx skills add 安装)

Official Public Skills (installed via npx skills add)

Skill说明
pdf
PDF 读取、生成、转换
pptx
PowerPoint 演示文稿处理
docx
Word 文档处理
xlsx
Excel 电子表格处理
doc-coauthoring
协作文档编写辅助
find-skills
搜索发现 skills.sh 上的 skill
SkillDescription
pdf
PDF reading, generation, conversion
pptx
PowerPoint presentation processing
docx
Word document processing
xlsx
Excel spreadsheet processing
doc-coauthoring
Collaborative document writing assistance
find-skills
Search and discover skills on skills.sh

版本管理

Version Management

自研 skill 的版本由
manifest.json
统一管理。每个已安装的自研 skill 目录下会生成
version.json
,记录当前安装的版本号。脚本通过对比两者决定是否需要更新。
Versions of self-developed skills are uniformly managed by
manifest.json
. A
version.json
file will be generated under each installed self-developed skill directory, recording the currently installed version number. The script compares the two files to decide whether an update is required.

运行后

After Execution

脚本输出结构化的安装报告(包含安装结果和脚本执行结果),直接展示给用户即可。如果有安装失败的项目,根据错误信息帮用户排查。
The script outputs a structured installation report (including installation results and script execution results), which can be directly displayed to users. If any items fail to install, help users troubleshoot based on the error messages.

自动运行机制

Automatic Execution Mechanism

安装完成后,脚本通过
claude -p "/<skill-name>"
自动触发
manifest.json
run_after_install: true
的自研 skill,等同于用户在 Claude Code 对话中手动输入
/skill-name
。Claude 会读取 SKILL.md 并完整执行该 skill 的逻辑。
After installation is completed, the script automatically triggers self-developed skills with
run_after_install: true
in
manifest.json
via
claude -p "/<skill-name>"
, which is equivalent to the user manually entering
/skill-name
in the Claude Code conversation. Claude will read SKILL.md and fully execute the logic of this skill.

重要约束

Important Constraints

  • 诊断阶段只读:诊断不安装任何东西。
  • 不编排子 agent:直接运行脚本,不要为单项安装启动子 agent。
  • 网络依赖:GitHub 下载和 npx 安装需要网络。如果网络诊断发现问题,脚本会提前警告。
  • Read-only in diagnosis phase: No content will be installed during diagnosis.
  • No sub-agent orchestration: Run scripts directly, do not start sub-agents for individual installation tasks.
  • Network dependency: GitHub downloads and npx installation require network access. If network diagnosis detects problems, the script will issue a warning in advance.