mission-log SKILL.md skillA
mission-log 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/mission-log@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/mission-log/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261003.0d1d9ee, committed Oct 3, 2026
- First version recorded
- Aug 7, 2026
- Size
- 3,024 bytes
- Repository stars
- 18
- License
- a license file GitHub does not identify
零 token 的 session 活動收割器。從 Claude Code 本來就在寫的 transcript(~/.claude/projects)抽出指定日期的活動骨架:哪些專案、幾點到幾點、說過什麼、用了哪些工具、花多少 token。當使用者說「今天做了什麼」「昨天的 session 記錄」「收割某天的活動」「mission log」時觸發。⚠️ 只讀不寫、不呼叫模型;日報/週報請用 /daily-debrief、/weekly-debrief(兩者以本 skill 為底層)。 English triggers: "what did I work on today", "harvest my sessions", "mission log", "show session activity".
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
# /mission-log — session 活動收割 把「這一天所有 Claude session 做了什麼」的骨架抽出來 —— 不靠任何背景程序,因為 **Claude Code 本來就在全程記錄**(transcript 落在 `~/.claude/projects/`),本 skill 只是收割器。 > 🤖 R2-D2 時刻:astromech 的飛行記錄器從不休息 —— X-wing 落地後,技師才把記錄拉出來看。 > 記錄一直都在,你需要的是讀取器。 ## 用法 `/mission-log [日期]` —— 不帶參數=今天;`yesterday`=昨天;`YYYY-MM-DD`=指定日。 ## 動作 1. **跑收割器**(本 skill 附帶的腳本,純標準庫、零 token): ```bash python3 <本skill目錄>/scripts/harvest.py --date <日期> ``` 輸出每個活躍 session 的:時間段、專案@分支、turns、token 消耗、模型、工具直方圖、使用者原話(前 5 句)。機器可讀版加 `--format jsonl`。 口徑:turns=API 回應數、token=新增 in+out+cache_creation(不含 cache 讀取)。🔴 **一則回應只算一次**:transcript 把同一則回應拆成多行(每個 content block 一行)、每行都帶同一份 usage,收割器按 `message.id` 併成一則、四欄取最大——逐行相加會把 turns 與 tokens 灌水約 2 倍,別自己另寫一份逐行加。 2. **呈現**:把骨架整理給使用者看;若使用者追問某個 session 細節,再視需要深讀該 transcript(骨架裡有 session id 前綴可定位),**深讀前先告知會消耗較多 context**。 ## 鐵律 - 🚫 **只讀不寫**:本 skill 不落任何檔、不改任何狀態;落檔是 /daily-debrief 的事。 - ✅ **骨架說什麼就是什麼**:不腦補骨架裡沒有的活動;抽不到資料就回報「該日無記錄」。 - ⚠️ **用量矛盾不硬加**:同一則回應出現兩組不同用量、或對到兩個 requestId 時,該則 turns 照算、tokens 不計,列上標 `usage_conflict`、stderr 警告。看到就去查 transcript,別手動補數字。 - ⚠️ **回溯上限=transcript 保留期**:Claude Code 預設 30 天後刪 transcript(`cleanupPeriodDays` 可調大);超過保留期的日期無料可收,直說。 ## 進階:跨機器收割 …
Read the whole file at its exact version.
How to install
mdr add tingyulu/myr2d2/mission-log@sha256:ff1518e16b1bba68The 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_mivc7zepxfn4ngxx)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 7, 2026 and Oct 3, 2026, about one every 57 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261003.0d1d9ee latest | 2026-10-03 | 0d1d9ee | 3,024 B | A | view · diff |
| git:20260807.2b7da7f | 2026-08-07 | 2b7da7f | 2,410 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 (3024 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_mivc7zepxfn4ngxx GET https://markdownregistry.com/api/v1/resolve?ref=tingyulu/myr2d2/mission-log GET https://markdownregistry.com/api/v1/blob/ff1518e16b1bba682e351f249fb76b42649a9f7011ddb24d6efc83909b7af3bf
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.