melech-sync-skills
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSync Melech Skills — global library sync
同步Melech技能 —— 全局库同步
You are the meta-skill for
.
AdirD/agent-shell-hamelechCanonical source (double in ):
lshelltext
AdirD/agent-shell-hamelechManaged with Vercel's Skills CLI
(). This skill
ships no scripts — the CLI does the work, you just run it correctly.
vercel-labs/skillsThe old skill names were and . This skill is
. If the global lock still has either old name, remove it
after this one is installed: and/or
.
melechsync-melech-skillsmelech-sync-skillsnpx skills remove melech -g -ynpx skills remove sync-melech-skills -g -y你是的元技能。
AdirD/agent-shell-hamelech标准源(注意里有两个):
shellltext
AdirD/agent-shell-hamelech由Vercel的Skills CLI()管理。此技能不包含脚本——所有工作由CLI完成,你只需正确运行它即可。
vercel-labs/skills旧技能名称为和,当前技能名称为。如果全局锁中仍存在任一旧名称,请在安装此技能后移除它们: 和/或 。
melechsync-melech-skillsmelech-sync-skillsnpx skills remove melech -g -ynpx skills remove sync-melech-skills -g -yHow the user invokes this
用户调用方式
| They say | You do |
|---|---|
| Apply. Run the sync command below. |
| Dry catalog only. Do not install. |
| 用户指令 | 执行操作 |
|---|---|
| 执行同步。运行下方的同步命令。 |
| 仅查看目录预览。请勿执行安装操作。 |
Apply
执行同步
One command. Run it from the user's home so the CLI cannot flip to project
scope:
bash
cd ~ && npx skills add AdirD/agent-shell-hamelech --all -g--all--skill '*' --agent '*' -yTakes roughly 30 seconds — it refreshes every skill, not just stale ones.
There is no cheaper "only what changed" mode worth maintaining.
If is missing, stop and tell the user to install Node.js.
npm只需一条命令。请在用户的主目录下运行,避免CLI自动切换到项目范围:
bash
cd ~ && npx skills add AdirD/agent-shell-hamelech --all -g--all--skill '*' --agent '*' -y整个过程约需30秒——它会刷新所有技能,而非仅更新过期技能。目前没有值得维护的“仅变更内容”轻量化模式。
如果系统缺少,请停止操作并告知用户安装Node.js。
npmReading the output
输出解读
Two things look like failures and are not:
- and
✗ <skill> → Eveon every skill. Those two agents do not support global installs at all. The command still exits 0 and prints✗ <skill> → PromptScript. Never report these as a failed sync.Done! - No or
~/.cursor/skillsentries appear. Cursor, Codex, Amp, Zed, Warp, OpenCode, and friends are universal agents in the CLI registry: they read~/.codex/skillsdirectly, so a global install writes the canonical dir and skips the per-agent symlink. Agents with their own dir (Claude Code, Droid, Continue, Goose, Roo, ~40 more) get real symlinks.~/.agents/skills
A newly installed skill will not show up in an already-open Cursor session —
the skill list is snapshotted at session start. Tell the user to open a new
session, do not re-run the sync.
Nothing is ever uninstalled. A skill deleted from remote stays installed and
keeps its lock entry until it is removed by name:
.
npx skills remove <name> -g -y以下两种情况看似失败,但实际并非如此:
- 每个技能都会显示和
✗ <skill> → Eve。这两个Agent完全不支持全局安装。命令仍会以0状态码退出并打印✗ <skill> → PromptScript。切勿将这些情况报告为同步失败。Done! - 未出现或
~/.cursor/skills条目。Cursor、Codex、Amp、Zed、Warp、OpenCode等属于CLI注册表中的通用Agent:它们直接读取~/.codex/skills目录,因此全局安装会写入标准目录,跳过每个Agent的符号链接。而拥有独立目录的Agent(如Claude Code、Droid、Continue、Goose、Roo等约40个)会生成真实的符号链接。~/.agents/skills
新安装的技能不会在已打开的Cursor会话中显示——技能列表在会话启动时已快照保存。请告知用户开启新会话,无需重新运行同步。
本操作不会卸载任何技能。从远程仓库删除的技能仍会保留在本地,且其锁条目会一直存在,直到通过名称手动移除:。
npx skills remove <name> -g -yDry catalog (melech-sync-skills list
)
melech-sync-skills list目录预览(melech-sync-skills list
)
melech-sync-skills listWhat is on remote, with descriptions:
bash
cd ~ && npx skills add AdirD/agent-shell-hamelech -lWhat is installed globally ( for machine-readable):
--jsonbash
cd ~ && npx skills list -gDiff the two by name to answer "what am I missing". There is no
remote-versus-lock version comparison — the lock stores skill-folder git tree
SHAs, not semver, and re-running apply is cheaper than computing the diff.
查看远程仓库中的技能及其描述:
bash
cd ~ && npx skills add AdirD/agent-shell-hamelech -l查看已全局安装的技能(添加可获取机器可读格式):
--jsonbash
cd ~ && npx skills list -g通过名称对比两者,即可得知“我缺少哪些技能”。目前不支持远程版本与锁版本的对比——锁存储的是技能文件夹的git树SHA值,而非语义化版本,重新执行同步操作比计算差异更高效。
Hard rules
硬性规则
- Global only. Every call passes . Without it the CLI auto-detects and picks project scope whenever the cwd is a project, writing a repo lock.
-g - Home cwd. Run from , never from a repo checkout.
~ - Name the repo. Never run bare or
npx skills update -g— both mutate unrelated global skills from other sources. Naming the repo innpx skills checkis what keeps this melech-only.add --all - Never without
npx skills listfrom inside a repo. One registry agent (OpenClaw) declares a bare-gdirectory, so a project-scope list reports this repo's own authoring folders as installs. It looks like the sync went into the repo. It did not.skills - Every agent. covers this. Do not narrow to one agent unless the user names one.
--all
- 仅限全局范围。每次调用必须添加参数。如果没有该参数,当当前工作目录为项目目录时,CLI会自动检测并切换到项目范围,写入仓库锁文件。
-g - 主目录执行。必须在目录下运行,切勿在仓库检出目录中执行。
~ - 指定仓库名称。切勿运行无参数的或
npx skills update -g——这两个命令会修改来自其他源的无关全局技能。在npx skills check中指定仓库名称,才能确保仅同步Melech相关技能。add --all - 仓库内执行必须加
npx skills list。有一个注册表Agent(OpenClaw)会声明一个空的-g目录,因此项目范围的列表会将本仓库的作者目录显示为已安装技能,看起来像是同步到了仓库中,但实际并非如此。skills - 覆盖所有Agent。参数已涵盖所有Agent。除非用户指定某个Agent,否则请勿缩小范围到单个Agent。
--all
Voice
表述风格
Sharp and short. Verdict first (installed / refreshed / genuinely failed),
then names. Do not dump the catalog after a clean sync unless they asked for
. Do not recite the Eve and PromptScript noise.
list简洁直接。先给出结论(已安装/已刷新/真正失败),再列出名称。同步完成后,除非用户要求,否则不要输出完整目录。无需提及Eve和PromptScript的无关信息。
list