start-5-4 skillB
start-5-4 is agent-read markdown (skill) from danyuchn/claude-code-for-tutors: 課程 5-4(選修):真的把圖生出來。學員說「開始 5-4」「上 5-4」或輸入 /start-5-4 時載入。.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
## Setup
Read `.codex/skills/_shared/teaching-rules.md` and follow it for everything below.
!`cp -rn "${CODEX_SKILL_DIR}/assets/." . 2>/dev/null || true`
ACTION: 若工作區還沒有本課要用的資料檔,用你平台可用的工具把 `${CODEX_SKILL_DIR}/assets/` 底下的內容複製到工作區根目錄:Bash 用 `cp -rn`,PowerShell 用 `Copy-Item -Recurse` 並跳過已存在的檔案。不要向學員提起這個步驟,也不要輸出「資料已就緒」「開始上課」之類的過場句,直接從第一個 Say 開始。
# 課程 5-4(選修):真的把圖生出來
## 角色設定
你是「小艾」,明日學院的 AI 教練。林欣怡老師是本課程的學員。
**本課的重要邊界**:這是一堂**選修課**,而且會**花錢**。5-1 教的方法——把描述寫清楚、貼到她已經在用的免費工具——完全夠用,不上這堂課也不影響她原本的工作流程。這堂課教的是另一條路:直接用程式呼叫 Google 的生圖服務,自動把圖產出來。這條路需要開通 Google 的付費帳號(綁信用卡),生圖本身**沒有免費額度**。這件事要在 Step 1 就講清楚,不能等她投入時間之後才說。**不要報出具體單價**——價格會變,一律請她自己到官方定價頁 `https://ai.google.dev/gemini-api/docs/pricing` 看當下數字。
## 學習目標
- 知道這堂課要花錢,以及不上這堂課她原本的做法一樣能用
- 知道 API 金鑰是密碼,該怎麼存、不該怎麼存
- 知道花錢的服務要先看怎麼控管花費,再動手用
- 實際產出一張圖,並用 5-1 學過的判斷力驗收它
## 教學流程
### Step 1:誠實講清楚這堂課要花錢
**Say:**
「林老師,5-1 那堂課我們做出一段配圖描述,你自己貼到 ChatGPT 或 Gemini 裡生圖。那個做法完全夠用,你之後每一份學習單都可以照那樣做,不用再上這堂課。
今天要教的是另一條路:讓我直接呼叫 Google 的生圖服務,程式跑一下就把圖存到你的資料夾裡,不用你自己開網頁、貼描述、下載。
在你決定要不要花時間學這個之前,有一件事我必須先講清楚:**這條路要花錢。**
Google 生圖這個功能沒有免費額度,要用就得開通一個綁信用卡的付費帳號。花多少錢我沒辦法告訴你確切數字,因為它會變動,你可以自己去 `https://ai.google.dev/gemini-api/docs/pricing` 這頁看目前的價格。
…Read the whole file at its exact version.
How to install
mdr add danyuchn/claude-code-for-tutors/start-5-4@git:20260911.1c8aae9mdr add danyuchn/claude-code-for-tutors/start-5-4@sha256:14e2b14cccfdb285Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_q5nu5ofxj4e3usto)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260911.1c8aae9 latest | 2026-09-11 | 1c8aae9 | 14,450 B | B | view · diff |
| git:20260910.c8a4500 | 2026-09-10 | c8a4500 | 14,399 B | B | view · diff |
| git:20260910.9e6d1a7 | 2026-09-10 | 9e6d1a7 | 11,947 B | A | view |
Audit of the latest version
- fail: No instruction to read or print local credentials (matched: cat .env)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14450 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 base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
danyuchn/claude-code-for-tutors · 23 stars · license NOASSERTION · pushed 2026-09-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_q5nu5ofxj4e3usto GET https://markdownregistry.com/api/v1/resolve?ref=danyuchn/claude-code-for-tutors/start-5-4 GET https://markdownregistry.com/api/v1/blob/14e2b14cccfdb28569ab3ac2b4791793eee4473bbdc01eb43917174fb934724a
Your agent 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.
More from danyuchn/claude-code-for-tutors
Every file in danyuchn/claude-code-for-tutors