ecc-skill-defer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/ecc-skill-defer — ECC Skill 漸進式載入管理

/ecc-skill-defer — ECC Skill 渐进式加载管理

管理 ECC skills 的 defer/restore 狀態,減少 init token 消耗。
管理 ECC skills 的延迟/恢复状态,减少初始化token消耗。

Instructions

使用说明

Run the script at this skill's directory:
ecc-skill-defer/ecc-skill-defer.sh
(relative to the skills repo root), or the installed copy at
~/.claude/scripts/ecc-skill-defer.sh
.
在该skill的目录下运行脚本:
ecc-skill-defer/ecc-skill-defer.sh
(相对于skill仓库根目录的路径),或者运行安装在
~/.claude/scripts/ecc-skill-defer.sh
的副本。

Available commands

可用命令

CommandDescription
status
Show active/deferred counts
list
Show all skills with their status
apply
Defer skills listed in config (use after ECC update)
restore <name>
Activate a single deferred skill
restore --all
Restore all deferred skills
命令说明
status
显示已激活/已延迟加载的skill数量
list
展示所有skill及其状态
apply
延迟加载配置中列出的skill(ECC更新后使用)
restore <name>
激活单个已延迟加载的skill
restore --all
恢复所有已延迟加载的skill

Default behavior

默认行为

If no argument is provided by the user, run
status
then
list
.
如果用户没有提供任何参数,先运行
status
再运行
list

Config

配置

The defer list is at
ecc-skill-defer.conf
(same directory as the script). To add/remove skills from the defer list, edit this file then run
apply
.
延迟加载列表位于
ecc-skill-defer.conf
(和脚本同目录)。要在延迟列表中添加/移除skill,编辑该文件后运行
apply
即可。

After restoring a skill

恢复skill之后

Tell the user: "Skill restored. It will be available in the next session (or after context reload)."
告知用户:"Skill restored. It will be available in the next session (or after context reload)."