Updates the official dbskill from the dontbesilent2025/dbskill repository while preserving user archives and other skills. Handles both Claude Code plugin and Skills CLI channels, cleans up retired official entries, and records update timestamps.
Ships in dbs-update. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
用户已经明确要求更新 dbskill,或在上一条 dbskill 更新提醒后回复了 1。两种情况都直接执行更新,不再做第二次文字确认;宿主若要求 Shell 权限,由用户在宿主的权限窗口中决定。
只有上一条助手回复明确包含 dbskill 更新提醒时,单独回复的 1 才代表更新。缺少这段上下文时,不要自行解释数字含义。
dontbesilent2025/dbskill。~/.dbs/ 中的存档、报告和决策记录。判断 dbskill 的安装渠道。两种渠道可能同时存在,只更新实际检测到的渠道:
/.claude/plugins/,或 claude plugin list 的输出中有以 @dontbesilent-skills 结尾的插件。~/.agents/skills/、~/.claude/skills/ 或其他 Agent 的 Skill 目录中存在 dbs 等官方 Skill,且它们不在 /.claude/plugins/ 下。更新 Claude Code 插件渠道:先刷新 marketplace,再逐个更新 claude plugin list 中以 @dontbesilent-skills 结尾的插件。
claude plugin marketplace update dontbesilent-skills
claude plugin update dbs@dontbesilent-skills
用户单独安装过其他插件(例如 dbs-diagnosis@dontbesilent-skills)时,对每个插件分别执行 claude plugin update。不要为插件用户再执行 Skills CLI 安装,否则会多出一套副本。
更新 Skills CLI 渠道:
npx -y skills add dontbesilent2025/dbskill -g --all
两种渠道都检测不到时,按这个命令更新。
清理已下线的官方旧入口。名单与官方历史版本指纹在本 Skill 的 references/retired-skills.json:
claude plugin list 中以 @dontbesilent-skills 结尾、且名称在名单里的插件,逐个执行 claude plugin uninstall <名称>@dontbesilent-skills。scripts/cleanup_retired_skills.py(macOS 与 Linux 用 python3,Windows 用 python 或 py)。脚本只移除失效链接和指向官方旧版本的链接;与官方旧版本完全一致的目录移到 ~/.dbs/retired-skills/<时间>/ 备份;其余同名项保留并说明原因。命令成功后记录本次更新时间,避免当前对话仍加载旧 Skill 时重复提醒:
mkdir -p "$HOME/.dbs" && date +%s > "$HOME/.dbs/update_check_at"
根据命令的退出状态确认是否完成。命令成功时告诉用户更新已完成:插件渠道提醒用户运行 /reload-plugins 或新建对话;Skills CLI 渠道提醒用户新建一次对话后再使用新能力。
命令失败时,用一句话说明失败原因和下一步需要用户处理的权限或网络问题。不要把完整终端日志直接贴给用户,除非用户要求。
成功:
dbskill 已更新完成({更新的渠道})。当前对话如果还没有读取到新能力,{插件渠道:运行
/reload-plugins;其他渠道:新建一次对话}后即可使用。
清理了旧入口时追加一句:
已清理下线的旧入口:{名称与位置}。{有备份时:原文件备份在
{备份目录}。}{有保留项时:{路径}与官方版本不一致,已保留。}
没有残留时不提清理。
失败:
dbskill 没有更新完成:{简短原因}。处理完 {权限或网络问题} 后,再说一次「更新 dbskill」。
npx skills update,该命令可能更新用户安装的其他 Skill。完成当前任务后直接结束。用户的请求超出本 Skill 的范围、任务完成后用户的材料里出现明确的后续需求,或用户询问下一步时,用一句话说明还需要哪种能力,不点名其他 Skill;当前环境已经安装 /dbs 时,补一句「可以输入 /dbs,由它匹配对应的 Skill」。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/dbs-update:dbs-updatefrom dbs-update
npx claudepluginhub dontbesilent2025/dbskill --plugin dbs-update2 plugins in one repository ship this exact skill · first indexed Oct 18, 2026
Other plugins' skills for the same job