
Dbs Restore
Resume a past diagnosis from a saved state by loading the latest or numbered dbs-save archive.
- skills.sh installs
- 27.3K
- GitHub stars
- 11.5K
- last updated
- Aug 21, 2026
What it does
- Covers loading the most recent or a numbered archive, summarizing the complaint, conclusions, rejected directions, open hypotheses, and the next step saved last
- Lists the three most recently active projects when the current project has no archive, or shows the archive root and setup steps when none exist
- Enforces a stop after the status summary so the user picks the next step, and never runs diagnosis or changes the archive location setting
- Designed for picking up an interrupted investigation in a Chinese-language diagnostic workflow, routing to the saved next skill only on user confirmation
Install
$ npx -y skills add dontbesilent2025/dbskill --skill dbs-restore -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
dbs-restore:接续诊断
你是 dbskill 的状态恢复工具。你的工作是:从本地拉出最近一次保存的诊断存档,把状态呈现给用户,让他可以接着上次继续。
你不做诊断,不主动跳到别的 skill。 你只负责把记忆拿回来。
触发方式
| 命令 | 行为 |
|---|---|
/dbs-restore | 拉当前项目下最新的存档 |
/dbs-restore <序号> | 拉指定的存档(list 中的编号) |
/dbs-restore list | 等价于 /dbs-save list |
/dbs-restore --slug <项目名> | 切到别的项目,拉那个项目的最新存档 |
| 「接着上次」「之前的结论」「上次诊断到哪了」「续上」 | 等价于 /dbs-restore |
存档契约
措辞、项目名、存档根目录、文件名和存档格式统一按 references/archive-contract.md 执行。这份存档契约与保存、恢复、报告三个存档能力共用,内容一致。
本 Skill 只读取配置,不修改配置。配置有问题时停止恢复并说明原因;用户要查看或调整位置时,引导使用 /dbs-save location。
后文中的 {存档根目录} 都指按契约第 3 节解析出的绝对路径。
工作流程
Step 1:定位存档文件
按以下顺序找:
- 用户传了
<序号>→ 列出当前项目下所有存档按文件名排序,取第 N 条 - 用户传了
--slug X→ 用 X 作为项目名,找该目录下最新的 - 都没传 → 用默认项目名,找该目录下最新的
「最新」按契约第 4 节判断:看文件名前缀的时间,不看文件修改时间。
Step 2:处理找不到的情况
情况 A:当前项目目录不存在或为空
先看 {存档根目录}/sessions/ 下有没有别的项目。
- 如果有别的项目 → 列出最近活跃过的 3 个(按各项目下最新存档的时间戳排序),让用户选:
当前位置 `{项目名}` 没有诊断记录。最近你在以下项目里做过诊断:
1. dontbesilent-shangye(最近 2026-04-22)
2. xiaohongshu-test(最近 2026-04-15)
3. paid-course(最近 2026-03-30)
输入 `/dbs-restore --slug <名字>` 拉对应项目的记录。
- 如果连
{存档根目录}/sessions/本身都不存在 → 直接说:
Details
- Repository
- github.com/dontbesilent2025/dbskill
- Categories
- Agent Workflow & Planning, Memory & Context
- First seen
- May 16, 2026
More from dontbesilent2025/dbskill
All 30- Dbs Save27.3K
- Dbs Hook27.3K
- Dbs Goal27.2K
- Dbs Learning26.1K
- Dbs Good Question25.8K
- Dbs Xhs Title25.8K
- Dbs Agent Migration25.2K
- Dbs Decision25.1K
- Dbs Content System23.9K
- Dbs Resonate20.8K
- Dbs Spread20.8K
- Dbs Wechat Html20.3K
- Dbs Script Flow19.6K
- Dbs Slowisfast19.2K
- Dbs Update18.1K
- Dbs Bridge9K
- Chatroom Austrian1.9K
- Dbskill Upgrade1.7K
- Dbs Unblock628
- Dbs32.6K
- Dbs Content31.9K
- Dbs Diagnosis31.7K
- Dbs Benchmark31.7K
- Dbs Deconstruct31.5K
Similar to Dbs Restore
More Agent Workflow & Planning
dbs-saveSkilldontbesilent2025/dbskill27.3K installsSave the current diagnosis state locally, and view or set where archives are stored.
dbs-reportSkilldontbesilent2025/dbskill27.4K installsConsolidates multiple dbs-save archives into one dated Markdown diagnosis report with a source index.
resumeSkillalirezarezvani/claude-skills1.5K installsResume paused autoresearch experiments by restoring branch, history, and iteration context.
money-restorePluginiamzifei/show-me-the-money1.1K starsResume from a prior saved state — pick up exactly where the last session left off.
recallSkillcursor/plugins4.4K installsReconstructs recent working context from chat history and the shared record into a current-state brief.
Deja VuMCP servervshulcz1.6K starsSearchable history, handoff, and code recovery across coding agents from a local index, with no LLM calls.