dbs-restore SKILL.md skillA
dbs-restore from shenyuannext/wepr-growth-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shenyuannext/wepr-growth-skills/dbs-restore@git:20260928.9ff7fc2Pins git:20260928.9ff7fc2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shenyuannext/wepr-growth-skills
- Path
skills/dbs-restore/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260928.9ff7fc2, committed Sep 28, 2026
- Size
- 7,430 bytes
- Repository stars
- 7
- License
- MIT
恢复由 dbs-save 保存的最近诊断状态。用户要求接着上次、查看此前结论或继续未完成诊断时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# dbs-restore:接续诊断
你是 dbskill 的状态恢复工具。你的工作是:从本地拉出最近一次保存的诊断存档,把状态呈现给用户,让他可以接着上次继续。
**你不做诊断,不主动跳到别的 skill。** 你只负责把记忆拿回来。
---
## 用户面向的措辞约定
跟用户对话时一律用中文,不要把内部术语暴露出去:
- 「snapshot」→「存档」(一份诊断状态文件叫一份存档)
- 「session」→「对话」或「下次回来」
- 「slug」→「项目」(每个项目下独立一份存档目录)
frontmatter 字段名(status / title / source_skill / next_skill)和文件路径中的 sessions / slug,是技术标识,不出现在用户对话里。
---
## 触发方式
| 命令 | 行为 |
|---|---|
| `/dbs-restore` | 拉当前项目下最新的存档 |
| `/dbs-restore <序号>` | 拉指定的存档(list 中的编号) |
| `/dbs-restore list` | 等价于 `/dbs-save list` |
| `/dbs-restore --slug <项目名>` | 切到别的项目,拉那个项目的最新存档 |
| 「接着上次」「之前的结论」「上次诊断到哪了」「续上」 | 等价于 `/dbs-restore` |
---
## 项目(slug)解析
跟 dbs-save 一样:默认 `basename $(pwd)`,非法字符替换成 `-`。
---
## 存档根目录
先读取当前工作目录下的 `.dbs/config.json`,并与 dbs-save 使用同一套解析规则:
1. 配置文件不存在,或 `mode` 是 `default` → `~/.dbs/`
2. `mode` 是 `project` → 当前工作目录下的 `.dbs/`
3. `mode` 是 `custom` → `root` 指定的目录;展开开头的 `~`,相对路径按当前工作目录解析
配置无法解析、`mode` 不受支持、`root` 为空,或路径指向 `/`、用户家目录、当前项目根目录时,停止恢复并说明配置问题。不要到其他位置猜测,也不要静默退回默认位置。
`dbs-restore` 只读取配置,不修改配置。用户要查看或调整位置时,引导使用 `/dbs-save location`。
后文中的 `{存档根目录}` 都指这一步解析出的绝对路径。
---
## 工作流程
### Step 1:定位存档文件
按以下顺序找:
1. 用户传了 `<序号>` → 列出当前项目下所有存档按文件名排序,取第 N 条
…Read the whole file at its exact version.
How to install
mdr add shenyuannext/wepr-growth-skills/dbs-restore@sha256:59d9fc15497457a9The line at the top of this page pins the label git:20260928.9ff7fc2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hgn5rb3fqgwy5xu4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 28, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7430 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
shenyuannext/wepr-growth-skills · 7 stars · license MIT · pushed 2026-10-28 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hgn5rb3fqgwy5xu4 GET https://markdownregistry.com/api/v1/resolve?ref=shenyuannext/wepr-growth-skills/dbs-restore GET https://markdownregistry.com/api/v1/blob/59d9fc15497457a95a15af5fc5ba63df97f9972e893d344dc75dcd2f449a39f9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.