siyu-restore SKILL.md skillA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
siyu-restore from maojiebc/majia-siyu-team is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add maojiebc/majia-siyu-team/siyu-restore@v2.1.1Pins v2.1.1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- maojiebc/majia-siyu-team
- Path
plugins/siyu-core/skills/siyu-restore/SKILL.md- Versions recorded
- 5
- Latest version
- v2.1.1, committed Oct 28, 2026
- First version recorded
- Oct 20, 2026
- Size
- 3,398 bytes
- Repository stars
- 3
- License
- MIT
从本地客户档案拉出最近一次私域咨询状态并接续工作,配合 siyu-save 使用。 触发方式:/siyu-restore、/续上、「上次」「接着」「之前聊到哪了」;支持序号、list 和 --client。.
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
# siyu-restore:接续客户档案
从 `~/.siyu/clients/` 读取存档,恢复跨对话状态。
## 用户措辞
对用户只说「客户档案」「存档」「对话」,不说 slug、snapshot、session。读取为主,不改写原档案。
## 触发方式
| 命令 | 行为 |
|---|---|
| `/siyu-restore` | 拉当前客户最近一份进行中档案;没有时再取最近一份 |
| `/siyu-restore <序号>` | 拉列表中的指定档案 |
| `/siyu-restore list` | 复用 `/siyu-save list` 的格式 |
| `/siyu-restore --client <客户>` | 拉指定客户的档案 |
## 工作流程
### 1. 定位档案
1. 解析 `--client`;没有时按 `siyu-save` 的规则取当前目录名,没有明确客户则用 `default`。
2. 用户给序号时按文件名排序后取对应项。
3. 默认优先取时间最新的 `status: in-progress`;没有进行中档案再取最新一份。
4. 「最新」只按文件名中的 `YYYYMMDD-HHMMSS` 判断,不依赖 mtime。
5. 解析后的路径必须仍位于 `~/.siyu/clients/`,拒绝路径穿越。
### 2. 处理多客户和空档案
默认客户没有档案时,检查其他客户目录:
- 有多个客户:按各自最近档案时间列出最近 3 个,先问用户要接哪个客户,不擅自混档。
- 完全没有档案:说明先完成一次任务,再用 `/siyu-save` 留下结论。
- 序号越界:说明当前只有几份,请用户重新选择。
### 3. 容错读取
读取完整 markdown 与 frontmatter。字段被手动改坏时尽量呈现可用内容,并标明缺失字段;不要因为一个字段缺失就拒绝恢复,也不要猜造缺失结论。
### 4. 用几句话恢复上下文
紧凑呈现:
> 上次到这里:{客户主诉与已得出的核心结论}
> 经营画像:{行业、直营/加盟/混合、门店数、有无区域层、私域主载体;缺的写未记录}
> 已经否决:{方向与理由;没有则写暂无}
> 推荐下一步:{推荐动作与 next_skill;为空则说明尚未确定}
随后补充时间、来源和中文状态。不要全文复述,不寒暄。
### 5. 接续
- `next_skill` 有值且用户说「按上次走」:直接调用该 skill,把档案核心内容和经营画像作为上下文,不让用户重讲。
- 用户提出新情况:把新情况与旧档案并列,交 `/siyu` 重新判断当前一步。
- 用户提出具体新任务:按 `/siyu` 路由表处理。
- `next_skill` 为空:只问一个能决定下一步的关键问题。
…Read the whole file at its exact version.
How to install
mdr add maojiebc/majia-siyu-team/siyu-restore@sha256:3ecf533f5e1d2868The line at the top of this page pins the label v2.1.1, 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_rj6visfnmlr43ckx)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 20, 2026 and Oct 28, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.1 latest | 2026-10-28 | db05cd5 | 3,398 B | A | view · diff |
| v2.1.0 | 2026-10-22 | 05b93b3 | 3,398 B | A | view · diff |
| v2.0.0 | 2026-10-22 | a0b9c9b | 3,398 B | A | view · diff |
| v1.8.1 | 2026-10-22 | 63e6e3b | 3,398 B | A | view · diff |
| v1.8.1 | 2026-10-20 | 1c53ba6 | 3,458 B | A | view |
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 (3398 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
maojiebc/majia-siyu-team · 3 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rj6visfnmlr43ckx GET https://markdownregistry.com/api/v1/resolve?ref=maojiebc/majia-siyu-team/siyu-restore GET https://markdownregistry.com/api/v1/blob/3ecf533f5e1d286874c0e898e7e871fc6c60fe24cc448b687dde5f93fb7cd89a
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.
More from maojiebc/majia-siyu-team
Every file in maojiebc/majia-siyu-team