save-all SKILL.md skillA
save-all from tingyulu/myr2d2 is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tingyulu/myr2d2/save-all@git:20261003.0d1d9eePins git:20261003.0d1d9ee in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tingyulu/myr2d2
- Path
skills/save-all/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261003.0d1d9ee, committed Oct 3, 2026
- First version recorded
- Jul 27, 2026
- Size
- 11,013 bytes
- Repository stars
- 18
- License
- a license file GitHub does not identify
重開機/關機/收工前的「落地同步」收尾檢查。在每個還開著的對話 session 裡各跑一次,把只活在這個對話裡、還沒寫進磁碟的東西全部外部化並驗證真的落地,然後回報「安全可重開 / 還有 X 沒同步」。當使用者說「要重開機了」「save-all」「/save-all」「準備重開」「關機前收尾」「reboot 前」「今天收工」時觸發。⚠️ 本 skill 只做落地+回報,不重開機器。 English triggers: "save-all", "about to reboot", "shutting down", "wrapping up for today", "before restart".
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
# /save-all — 收工前的落地收尾
重開機(或單純收工)前,在**每個還開著的對話 session** 裡各跑一次。
## 為什麼需要
- Session 一關,**對話 context 就沒了**。「只活在這個對話裡、還沒寫進檔案的東西」—— 學到的教訓、剛冒出來的待辦、做到一半的工作狀態 —— 全部蒸發。
- 落地 = 把它們外部化成磁碟上的檔案。
- 而且**寫入可能靜默失敗**(工具回「成功」但檔案沒變的情況真實存在)→ **落地後一定要驗證真的寫進磁碟**。這是本 skill 的鐵則,不是可選步驟。
> 🤖 R2-D2 時刻:Death Star 圖紙如果只存在 Leia 的腦子裡,Tantive IV 被攔截時就全劇終了。
> 存進 R2、彈射逃生艙 —— 資料落地,故事才能繼續。
## 動作(依序做完、逐項回報)
### 0. 校時,並把時間報成回覆第一行
**⏰ 回覆的第一行固定是** `⏰ <YYYY-MM-DD(週幾)HH:MM> <IANA 時區>` —— 例 `⏰ 2026-03-09(一)10:12 Europe/Berlin`。落地紀錄的時間別憑印象寫;時區也不可省,人與機器不在同一時區時,沒有時區的時間讀不出是哪裡的幾點。
零依賴取法(macOS/Linux 通用,不需 python),順手把**起點**落成檔案 —— 第 5 步要讀它算耗時:
```bash
set -- $(date '+%Y-%m-%d %u %H:%M')
case $2 in 1) w=一;; 2) w=二;; 3) w=三;; 4) w=四;; 5) w=五;; 6) w=六;; 7) w=日;; *) w=;; esac
tz=${TZ:-$(readlink -f /etc/localtime 2>/dev/null || readlink /etc/localtime 2>/dev/null)}
tz=${tz#:}; tz=${tz##*/zoneinfo/}
[ -f "/usr/share/zoneinfo/$tz" ] || [ -f "/var/db/timezone/zoneinfo/$tz" ] || tz="$(date +%Z)(非 IANA 名稱)"
[ -n "$1" ] && [ -n "$w" ] && printf '⏰ %s(%s)%s %s\n' "$1" "$w" "$3" "$tz" || echo '時間取不到完整值'
M=$(mktemp "${TMPDIR:-/tmp}/save-all-XXXXXX") && date +%s > "$M" && echo "起點檔=$M" || echo '起點檔沒建成——第 5 步的耗時寫「未知」'
```
…Read the whole file at its exact version.
How to install
mdr add tingyulu/myr2d2/save-all@sha256:8aef262895ba436dThe line at the top of this page pins the label git:20261003.0d1d9ee, 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_boa5qlpjbrohowrd)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 27, 2026 and Oct 3, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261003.0d1d9ee latest | 2026-10-03 | 0d1d9ee | 11,013 B | A | view · diff |
| git:20260901.e3c24bc | 2026-09-01 | e3c24bc | 8,965 B | A | view · diff |
| git:20260901.75bed90 | 2026-09-01 | 75bed90 | 8,330 B | A | view · diff |
| git:20260730.443389f | 2026-07-30 | 443389f | 4,717 B | A | view · diff |
| git:20260730.864bb3f | 2026-07-30 | 864bb3f | 4,715 B | A | view · diff |
| git:20260727.df8231a | 2026-07-27 | df8231a | 4,715 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 (11013 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
tingyulu/myr2d2 · 18 stars · license a license file GitHub does not identify · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_boa5qlpjbrohowrd GET https://markdownregistry.com/api/v1/resolve?ref=tingyulu/myr2d2/save-all GET https://markdownregistry.com/api/v1/blob/8aef262895ba436db0de6708bcb8b27c8cbf8e25a4712b0e5958fc810de8fc15
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.