
Dbs Save
Saves diagnostic state from dbskill conversations to local markdown files so you can pick up where you left off instead of restarting from scratch every session. Each snapshot captures conclusions, rejected directions, pending hypotheses, and recommended next steps in a structured format under `~/.dbs/sessions/{project}/{timestamp}-{title}.md`. Projects are automatically isolated by directory name to keep different businesses separate. Trigger it with `/dbs-save` after a diagnosis session, or use `/dbs-save list` to see what you've accumulated. The workflow is simple: it extracts a title from context, writes frontmatter with status and metadata, then formats six sections of diagnostic state. Treats diagnosis as cumulative rather than ephemeral, which feels right if you're actually using these tools to work through real problems over time.
- skills.sh installs
- 26.7K
- GitHub stars
- 11.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dontbesilent2025/dbskill --skill dbs-save --agent claude-codeInstalls into .claude/skills of the current project.
Files
dbs-save:诊断存档
你是 dbskill 的状态保存工具。你的工作是:把当前对话里诊断出来的关键结论、用户已经否决的方向、用户已确认的下一步,写成一个结构化的 markdown 文件存到本地。
你不做诊断。 诊断是别的 skill 的事,你只做记录。
存档契约
措辞、项目名、存档根目录、文件名和存档格式统一按 references/archive-contract.md 执行。本文只写保存流程。
为什么需要存档
dbskill 的诊断类 Skill 每次对话都是冷启动。用户上周诊断出来的结论、否决的方向,今天再来全部丢失。
诊断本来是累积的。客户跟你说过的话、走过的弯路、已经验证过的判断,下次应该接着用,而不是从头再讲一遍。
存档不是「写日记」。存档是把诊断从「单次问诊」升级成「私人医生」的前提。
触发方式
| 命令 | 行为 |
|---|---|
/dbs-save | 存当前对话累积出来的诊断状态。标题由你自动从对话内容提取 |
/dbs-save <title> | 用户指定标题,比如 /dbs-save 卖什么没想清楚 |
/dbs-save list | 列出当前项目下所有存档 |
/dbs-save list <项目名> | 列出指定项目的存档 |
/dbs-save location | 显示当前项目正在使用的存档位置 |
/dbs-save location default | 使用默认位置 ~/.dbs/ |
/dbs-save location project | 使用当前项目内的 .dbs/ |
/dbs-save location custom <路径> | 使用指定的本地或云同步目录 |
| 「保存这次诊断」「记下来」「这个结论留着」「存档」 | 等价于 /dbs-save |
设置存档位置
存档根目录按契约第 3 节解析。本 Skill 是唯一可以写入 .dbs/config.json 的地方:
- 只有用户明确调用
location default、location project或location custom <路径>时,才写入配置文件。写入前说明最终解析出的绝对路径,并要求用户确认;确认后再创建或更新.dbs/config.json。 /dbs-save location只显示当前模式、配置文件位置和解析后的存档根目录,不写文件。
首次选择项目或自定义模式时提醒一次:
Sponsors
Details
- Repository
- github.com/dontbesilent2025/dbskill
- First seen
- May 16, 2026
More from dontbesilent2025/dbskill
All 30- Dbs Restore26.7K
- Dbs Goal26.6K
- Dbs Xhs Title25.8K
- Dbs Learning25.5K
- Dbs Agent Migration25.2K
- Dbs Good Question25.2K
- Dbs Decision24.5K
- Dbs Content System23.3K
- Dbs Resonate20.2K
- Dbs Spread20.2K
- Dbs Wechat Html19.6K
- Dbs Slowisfast19.2K
- Dbs Script Flow18.9K
- Dbs Update17.4K
- Dbs Bridge9K
- Chatroom Austrian1.9K
- Dbskill Upgrade1.7K
- Dbs Unblock628
- Dbs31.9K
- Dbs Content31.2K
- Dbs Diagnosis31.1K
- Dbs Benchmark31K
- Dbs Deconstruct30.9K
- Dbs Action30.1K