lab2

lab2 is a skill for Claude Code from Bruce1986/vibe-to-prod-lab. It costs 45 tokens per session (431 once invoked), scanned A, original, MIT.

A Traditional Chinese teaching guide for a software lab on golden datasets and prompt regression. A golden dataset is a set of expected examples used to check whether changes still produce acceptable results.

In plain words
What is it for?
Use it while completing Lab 2, running golden evaluations in GitHub Actions, reading failures, or adding and maintaining test cases.
Why use it?
It helps learners see when changing an AI instruction causes tested outputs to get worse, and how to investigate and repair the change.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it while completing Lab 2, running golden evaluations in GitHub Actions, reading failures, or adding and maintaining test cases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bruce1986/vibe-to-prod-lab/lab2
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Bruce1986/vibe-to-prod-lab --skill lab2
Clone the repo
git clone --depth 1 https://github.com/Bruce1986/vibe-to-prod-lab

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lab2

README.md
[![agentmods](https://agentmods.dev/badge/skills/bruce1986/vibe-to-prod-lab/lab2/github.svg)](https://agentmods.dev/skills/bruce1986/vibe-to-prod-lab/lab2)
Your own site
<a href="https://agentmods.dev/skills/bruce1986/vibe-to-prod-lab/lab2"><img src="https://agentmods.dev/badge/skills/bruce1986/vibe-to-prod-lab/lab2/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lab2

Your own site · 80×15
<a href="https://agentmods.dev/skills/bruce1986/vibe-to-prod-lab/lab2"><img src="https://agentmods.dev/badge/skills/bruce1986/vibe-to-prod-lab/lab2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00431
Opus 5 $0.00023 $0.00216
Sonnet 5 $0.00009 $0.00086
Haiku 4.5 $0.00005 $0.00043

Measured 9d ago against content hash 2b6e0f5eaaf6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

lab2 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/lab2/SKILL.md · 24 lines

What it actually says

你是 Lab 2 的助教。教學守則:蘇格拉底式引導,全程正體中文(台灣用語)。

流程:

  1. 先讀 labs/lab2-golden-eval/README.md,按其步驟帶學員走: 看綠色基準線 → 情境劇(刪 prompt 約束行、push)→ 讀紅色報告 → 修復回綠 → 加一筆自己的 golden case。
  2. 情境劇階段:學員刪的是 app/prompts/order_prompt.txt 裡 「配料只能使用菜單配料:…」那一整行。push 後帶他們去 GitHub Actions 讀 golden-eval 的失敗表格,逐筆問「這筆是哪種錯?」
  3. 加 golden case 時,檢查三處一致:fixtures/llm_responses.json(good/sloppy 兩變體)、labs/lab2-golden-eval/tests.yaml(input 一字不差)、 建議同步 tests/golden_cases.json
  4. 學員問「為什麼 mock 知道 prompt 變差了」時,誠實說明教學模擬器機制 (mock_provider.js 以關鍵句判斷),並強調真實世界要用真模型評測—— 順勢介紹加分關 /live-eval
  5. 結尾思考題:golden dataset 該多大才夠?誰來維護它?(帶到「golden set 也要版控與 review」)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 24 lines · 45 tokens per session scan A 2b6e0f5eaaf6

Subscribe to this mod's changes

lab2 is a skill published in the GitHub repository Bruce1986/vibe-to-prod-lab (2 stars, last pushed 19d ago), licensed MIT. It adds 45 tokens to every session and 431 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

self-improve-with-tinyfish

Enables Hermes to create new reusable skills for itself by researching live web sources with TinyFish Search and Fetch, analyzing source coverage, writing SKILL.md files, and installing them into Hermes memory. Use when the user asks Hermes to learn, teach itself, upgrade itself, or save a reusable capability.

tinyfish-io/tinyfish-cookbook · 68 tokens

Vibe Coding Mastery

The complete operating system for building software with AI. From first prompt to production deployment — prompting frameworks, architecture patterns, testing strategies, debugging playbooks, and production graduation checklists. Works with Claude Code, Cursor, Windsurf, Copilot, and any AI coding tool.

LeoYeAI/openclaw-master-skills · 61 tokens

workshop-testing

Walk through the .NET AI Workshop as an attendee to validate that the READMEs, commands, and code snapshots still work. USE FOR: testing the workshop, testing a specific Part, dry-running the labs, verifying a README against its snapshot, reconciling or refreshing code snapshots, producing a workshop test report. DO…

dotnet-presentations/ai-workshop · 95 tokens

Automation Interview Prep

Prepare for SDET and automation interviews round by round, covering coding screens, framework design, API testing tasks, scenario questions, and STAR stories built from real testing work.

PramodDutta/qaskills · 38 tokens

paperlab_exam_alignment

Check whether a PaperLab course book prepares students for the associated exercises and exams. Use this when a book has source folders with exams, exercise PDFs, review chapters, learning objectives, or end-of-chapter questions.

equinor/neqsim · 0 tokens

ship-feature

End-to-end feature delivery — implement a feature, verify builds/tests pass, open a fully-filled draft PR, then automatically push every feedback round and review iteration to the same PR. Use when the user asks to implement or build a feature, fix-and-ship a change, or iterate on an existing feature PR.

classroomio/classroomio · 66 tokens