MCPInstall

dbs-update

更新官方 dbskill,并保留其他 Skill 与用户存档。用户要求更新、升级、检查 dbskill 版本,或在更新提醒后回复 1 时使用。

Installs
16K
Last 24h
+119
Trending rank
#1794
Security
Warn

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/dontbesilent2025/dbskill --skill dbs-update
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads dbs-update automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

Security audits

Independent scans of the skill's instructions and bundled files.

Gen Agent Trust Hub WarnMEDIUM ·This skill updates components from the author's repository using shell commands and npx. It also includes a Python script that scans multiple agent directories in the user's home folder to clean up legacy files.
Socket PassNo alerts
Snyk PassLOW ·Risk: LOW · No issues

SKILL.md

The instructions your agent reads when the skill is triggered.

dbs-update:更新 dbskill

用户已经明确要求更新 dbskill,或在上一条 dbskill 更新提醒后回复了 1。两种情况都直接执行更新,不再做第二次文字确认;宿主若要求 Shell 权限,由用户在宿主的权限窗口中决定。

只有上一条助手回复明确包含 dbskill 更新提醒时,单独回复的 1 才代表更新。缺少这段上下文时,不要自行解释数字含义。

更新范围

  • 只更新官方仓库 dontbesilent2025/dbskill。
  • 保留用户在 ~/.dbs/ 中的存档、报告和决策记录。
  • 不更新用户安装的其他 Skill。
  • 清理已下线的官方旧入口时,只处理能确认来自官方的副本;用户改过的或同名的自有 Skill 一律保留。
  • 不创建后台任务、定时任务或 Agent Hook。

执行步骤

  1. 判断 dbskill 的安装渠道。两种渠道可能同时存在,只更新实际检测到的渠道:

    • Claude Code 插件:本 Skill 所在路径包含 /.claude/plugins/,或 claude plugin list 的输出中有以 @dontbesilent-skills 结尾的插件。
    • Skills CLI:~/.agents/skills/、~/.claude/skills/ 或其他 Agent 的 Skill 目录中存在 dbs 等官方 Skill,且它们不在 /.claude/plugins/ 下。
  2. 更新 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 安装,否则会多出一套副本。

  3. 更新 Skills CLI 渠道:

    npx -y skills add dontbesilent2025/dbskill -g --all
    

    两种渠道都检测不到时,按这个命令更新。

  4. 清理已下线的官方旧入口。名单与官方历史版本指纹在本 Skill 的 references/retired-skills.json:

    • Claude Code 插件渠道:claude plugin list 中以 @dontbesilent-skills 结尾、且名称在名单里的插件,逐个执行 claude plugin uninstall <名称>@dontbesilent-skills。
    • 本地 Skill 目录:解析本 Skill 所在目录的绝对路径,运行其中的 scripts/cleanup_retired_skills.py(macOS 与 Linux 用 python3,Windows 用 python 或 py)。脚本只移除失效链接和指向官方旧版本的链接;与官方旧版本完全一致的目录移到 ~/.dbs/retired-skills/<时间>/ 备份;其余同名项保留并说明原因。
    • 当前环境没有 Python 时跳过脚本,在回复中列出名单里的名称,请用户自行检查各 Agent 的 Skill 目录。
  5. 命令成功后记录本次更新时间,避免当前对话仍加载旧 Skill 时重复提醒:

    mkdir -p "$HOME/.dbs" && date +%s > "$HOME/.dbs/update_check_at"
    
  6. 根据命令的退出状态确认是否完成。命令成功时告诉用户更新已完成:插件渠道提醒用户运行 /reload-plugins 或新建对话;Skills CLI 渠道提醒用户新建一次对话后再使用新能力。

  7. 命令失败时,用一句话说明失败原因和下一步需要用户处理的权限或网络问题。不要把完整终端日志直接贴给用户,除非用户要求。

回复格式

成功:

dbskill 已更新完成({更新的渠道})。当前对话如果还没有读取到新能力,{插件渠道:运行 /reload-plugins;其他渠道:新建一次对话}后即可使用。

清理了旧入口时追加一句:

已清理下线的旧入口:{名称与位置}。{有备份时:原文件备份在 {备份目录}。}{有保留项时:{路径} 与官方版本不一致,已保留。}

没有残留时不提清理。

失败:

dbskill 没有更新完成:{简短原因}。处理完 {权限或网络问题} 后,再说一次「更新 dbskill」。

边界

  • 用户只问版本、更新内容或是否需要更新时,先回答问题,不执行命令。
  • 用户明确要求检查更新且希望实际同步时,按本 Skill 更新。
  • 不使用 npx skills update,该命令可能更新用户安装的其他 Skill。

完成当前任务后直接结束。用户的请求超出本 Skill 的范围、任务完成后用户的材料里出现明确的后续需求,或用户询问下一步时,用一句话说明还需要哪种能力,不点名其他 Skill;当前环境已经安装 /dbs 时,补一句「可以输入 /dbs,由它匹配对应的 Skill」。

FAQ

What does the dbs-update skill do?

更新官方 dbskill,并保留其他 Skill 与用户存档。用户要求更新、升级、检查 dbskill 版本,或在更新提醒后回复 1 时使用。

How do I install dbs-update?

Run npx skills add https://github.com/dontbesilent2025/dbskill --skill dbs-update in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/dbs-update/ (personal) or .claude/skills/dbs-update/ (project).

Which AI agents can use dbs-update?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is dbs-update safe to install?

Security partners have reviewed it: Gen Agent Trust Hub flagged items to review; Socket passed; Snyk passed. As with any skill, read the SKILL.md and bundled scripts before installing.

Who maintains dbs-update?

It is published by dontbesilent2025 in dontbesilent2025/dbskill. It has 16,011 recorded installs.

More from dontbesilent2025/dbskill

View all →

dbs

dontbesilent2025/dbskill

dontbesilent 商业工具箱的技能调度台,根据当前问题和反馈选择下一步,在对话中直接执行、澄清、组合或对照尝试 Skill。用户不知道从哪里开始、需要调整处理方法、第一次使用 dbskill、输入三位编号或查询隐藏款目录时使用;仅需推荐或可复制提示词时按请求交付。

30.5K installs

dbs-content

dontbesilent2025/dbskill

围绕已经确定的选题诊断内容怎么组织、论证和表达,形成创作方案。用户要把选题做成内容时使用;不负责已有稿件的逐句删改和标题开头成稿。

29.8K installs

dbs-diagnosis

dontbesilent2025/dbskill

自动识别用户是在解决具体商业问题,还是希望全面检查商业模式,并进入对应诊断流程。用户希望拆解业务、检查商业模式或消解具体商业困境时使用。

29.6K installs

dbs-benchmark

dontbesilent2025/dbskill

用五重过滤法寻找值得模仿的对标,并排除主体差异造成的噪音。用户要求找对标、选择模仿对象或分析竞争参照时使用。

29.6K installs

dbs-deconstruct

dontbesilent2025/dbskill

用维特根斯坦与奥派经济学方法拆解模糊的商业概念。用户要求解释一个词、澄清概念边界或识别概念混用时使用。

29.5K installs

dbs-action

dontbesilent2025/dbskill

用阿德勒心理学框架诊断执行阻滞。用户知道该做什么却迟迟不做、反复拖延或行动中断时使用。

28.7K installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs