Use an automation script to batch refresh all skills.
Quick Start
Directly execute the script in the skill-refresh directory:
node skill-refresh/refresh-all-skills.js
Script Features
- Automatically scan all skills in multiple skill source directories
- Batch install all skills
- Display the processing progress of each directory and the total statistical results
- After installation is complete, display the list of failed skills (including absolute paths)
- Automatically skip directories that do not exist
Output Example
=== 所有目录处理完成 ===
总计: 20 个技能
成功: 15 个
失败: 5 个
=== 安装失败的技能 ===
1. douyin-video
路径: D:/script/work-sop/49-1-我使用的skills/skills/douyin-video
2. excalidraw-diagram-generator
路径: D:/script/work-sop/49-1-我使用的skills/skills/excalidraw-diagram-generator
...
Configuration Instructions
The script has built-in default skill source directory configurations. If you need to modify them, please edit the refresh-all-skills.js file's skillSourceDirs array:
// 配置:技能源目录列表
const skillSourceDirs = [
"D:/software/skills/skills",
"D:/script/work-sop/49-1-我使用的skills/skills"
];
Add, delete, or modify paths as needed.