lesson SKILL.md skillA
lesson from curtischoutw/claude-institution is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add curtischoutw/claude-institution/lesson@git:20260826.65d9991Pins git:20260826.65d9991 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- curtischoutw/claude-institution
- Path
institution/skills/lesson/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260826.65d9991, committed Aug 26, 2026
- First version recorded
- Jul 5, 2026
- Size
- 2,432 bytes
- Repository stars
- 5
- License
- MIT
被使用者糾正後,先分流(單純事實/偏好交給內建 auto memory,需要變成規則才進本流程),把規則寫成可長期沿用的條目記入 tasks/lessons.md。在使用者說「不對」「不是這樣」「我說過」或任何形式指出錯誤後立即使用;也用於定期把重複的 lesson 升級成 CLAUDE.md 規則、skill 或 hook。.
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
# lesson:把教訓寫成規則並升級 目的:讓每次糾正只發生一次。 ## 0. 先分流:這是事實/偏好,還是規則? - **單純事實/偏好/build 指令**(「這個專案用 pnpm」「使用者偏好簡短回報」) → 交給內建 auto memory(預設開啟、自動記錄,無人工步驟),不進本流程。 - **需要變成「以後都要遵守」的規則** → 走下面 A/B 節。 ## A. 記錄一條新 lesson 先查重:在 `tasks/lessons.md` 搜尋關鍵字,已有同類條目 → 不新增,改走「B. 升級」。 用固定格式追加(檔案不存在才建立): ```markdown ## [YYYY-MM-DD] <一行標題:動詞開頭> - 觸發情境:<具體到下一個 session 能比對,含檔名/指令/使用者原話> - 錯誤行為:<我實際做了什麼> - 正確行為:<應該做什麼,可執行的一步步> - 判準:<一句 if-then,讓弱模型能機械式套用> - 狀態:first-hit ``` 判準欄位不可空白:寫不出 if-then 表示還沒想清楚,再想。太抽象等於沒寫—— 壞例「要更小心測試」對照好例「改任何公開函式簽名前先 grep 所有呼叫端」,差別在 後者具體到下一個 session 能直接比對情境,不是換個說法重複同一句空話。 ## B. 升級(同一 lesson 第 2 次被觸發時) 1. 把該條目的 `狀態:first-hit` 改為 `狀態:promoted-to:<位置>`。 2. 依「制度分層」選升級目的地: - **規則可用程式判定**(如「禁止 commit 含 console.log」)→ 用 /update-config 做成 hook。最優先。 - **1–2 行寫得完、每次都適用** → 加進 CLAUDE.md 的「硬規則」,加一條前先看能否刪一條。 - **多步驟程序** → 寫成 skill,CLAUDE.md 留一行觸發指引。 3. lessons.md 的原條目保留(作為升級紀錄),不刪除。 ## 鐵則 - 糾正發生的**當下**就記,不要等任務結束(會忘)。 - 一條 lesson 只記一個模式;混多個就拆開。
Read the whole file at its exact version.
How to install
mdr add curtischoutw/claude-institution/lesson@sha256:2afde190f9c60263The line at the top of this page pins the label git:20260826.65d9991, 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_4bhmcbb5iwe6h2fz)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 5, 2026 and Aug 26, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260826.65d9991 latest | 2026-08-26 | 65d9991 | 2,432 B | A | view · diff |
| git:20260826.9a280e1 | 2026-08-26 | 9a280e1 | 2,423 B | A | view · diff |
| git:20260824.55dafdb | 2026-08-24 | 55dafdb | 2,520 B | A | view · diff |
| git:20260807.7def344 | 2026-08-07 | 7def344 | 2,724 B | A | view · diff |
| git:20260705.2c23737 | 2026-07-05 | 2c23737 | 2,824 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 (2432 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
curtischoutw/claude-institution · 5 stars · license MIT · pushed 2026-10-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4bhmcbb5iwe6h2fz GET https://markdownregistry.com/api/v1/resolve?ref=curtischoutw/claude-institution/lesson GET https://markdownregistry.com/api/v1/blob/2afde190f9c6026336ec7e08548dbbea9a79ae1cd84df81a04582a31704db807
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.