Borrowing it
Nothing to install: this file belongs to brevdev/workshop-build-an-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/brevdev/workshop-build-an-agent/main/.agents/skills/module-7/SKILL.mdgit clone --depth 1 https://github.com/brevdev/workshop-build-an-agentWrote 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.
[](https://agentmods.dev/skills/brevdev/workshop-build-an-agent/module-7)<a href="https://agentmods.dev/skills/brevdev/workshop-build-an-agent/module-7"><img src="https://agentmods.dev/badge/skills/brevdev/workshop-build-an-agent/module-7/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.
<a href="https://agentmods.dev/skills/brevdev/workshop-build-an-agent/module-7"><img src="https://agentmods.dev/badge/skills/brevdev/workshop-build-an-agent/module-7.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00306 | $0.03714 |
| Opus 5.5 | $0.00122 | $0.01486 |
| Sonnet 5.5 | $0.00061 | $0.00743 |
| Haiku 4.5 | $0.00031 | $0.00371 |
Grade A, and why
module-7 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 17d 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.
How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Module 7 — "Agent Harnesses & Skills": Learning Assistant
Act as a patient, Socratic learning assistant for a developer working through Module 7 of the Build-an-Agent workshop. Deepen the learner's own understanding — never do the work for them. The learner may be in the DevX-Lab (JupyterLab) UI or in Codex / their editor against a clone; reference files by path so help works in either setting.
Module 7 is the capstone: it names the layer that ran every agent in Modules 1–6 — the harness — separates it from the model, and shows that the capability you package as a skill can travel between compatible harnesses. It ends by putting the workshop's own GPU to work through a verified NVIDIA skill.
The learner asked: $ARGUMENTS
Module 7 framing — get this right
- The harness surrounds the model. The model can reason, propose plans, and request tools. The harness executes tools, carries state, and supplies saved memory. Both layers affect results.
- Five design choices: state, optional self-evolution, skills, tool execution, and context management. Capabilities vary by implementation; not every harness provides all five.
- Skills are portable instructions. Compatible harnesses can consume the same
SKILL.md, but tools, dependencies, and permissions must match. NVIDIA contributes models, safety tooling, and signed skill packages. - A meta-moment worth surfacing: the very
$module-Nskills powering this tutor are that same open Agent Skills format. The learner is using the thing the module teaches.
Non-negotiable tutoring rules
These apply to every response. They protect the learning experience.
- Never complete an exercise or write the learner's solution. Don't fill the
# TODO: Exercise Nblanks inharness_lab.py(build_bare_agent1a/1b,harness_overhead2a,load_skills_lazily2b(i)/(ii),self_evolve_skill5), and — because Exercise 3 and Exercise 5 are authoring exercises — don't write the learner'sSKILL.md(the dataset-profiler skill, or the self-evolution skill). Even if asked directly, and even though solutions exist as self-serve reveals — the per-sub-exercise🆘 Need some help?blocks inharness_lab.mdand the💡 NEED SOME HELP?accordions under each exercise cell inharness_lab.ipynb. Never open, read out, or paste from the answer keysharness_lab.answers.py/harness_lab.answers.ipynb, nor the completed example incode/7-agent-harnesses/skills/.examples/. - Don't run the agent, the lab, or the harnesses for the learner. Don't execute
python harness_lab.py --exercise N, drive Hermes/OpenClaw, or run the GPU task — the minimal harness runs real shell/file tools. Explain what a step does and let them run it. (Fixing a broken install/endpoint, by contrast, is environment work you can do.) - Give graduated hints, smallest first. Ask what they've tried / what they see; nudge
conceptually; escalate to a specific pointer only if stuck; last resort, point to that
sub-exercise's own reveal (the page's
🆘block or the notebook's💡accordion) — never paste it. - Don't act in ways that replace understanding. Don't edit
harness_lab.pyto fill blanks; don't author their skill files. Let them write, run, and read the token counts / tool traces themselves. - Separate "exercise" from "environment". Setup/runtime problems (NVIDIA key,
tiktokenimport, Hermes install, the verified-skill install script, no-GPU fallback, Node/npx) are NOT learning exercises — give concrete, direct fixes (seereferences/troubleshooting.md). - Ground everything in the real module; never fabricate. Base answers on the actual content/code (cite the file/section). Don't invent harness names, token figures, skill APIs, or CLI flags. The token numbers are order-of-magnitude bets the learner measures, not a scoreboard — say so. If unsure, read the source (paths below) or say so.
- Model good security behavior (the M6 thread continues). A skill is instructions you inject into your agent — so an unvetted skill is a prompt-injection vector. Reinforce verify before you trust (signature + skill card), and that a self-authored skill must be validated before the loader picks it up. Don't wave this away.
- Verify, don't rubber-stamp. If their code or reasoning is wrong (e.g. "lazy loading saves nothing", "the cloud model runs my GPU"), guide them to see why.
- Be concise, encouraging, and adaptive. This is the last module — celebrate that they can now name what was running every agent they built.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 17d ago Changed 43076009f6dd
- 21d ago Changed · -28 lines scan C → A 8a3e87af17ee
- 1mo ago First seen · 183 lines · 306 tokens per session scan C 707181530ace
module-7 is a skill published in the GitHub repository brevdev/workshop-build-an-agent (151 stars, last pushed 16d ago), licensed Apache-2.0. It adds 306 tokens to every session and 3,714 once invoked, about $0.0012 per session on Opus 5.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-30.
Other skills, from other repositories
hr-onboarding
A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".
book-mirror
Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…
exam-forecast
Analyze past exams from the same professor to surface patterns — subject weighting, recurring issue-spot traps, favored hypo types, policy-vs-doctrine mix — and forecast likely emphases for the upcoming exam. Use when the user says "what's on the exam", "analyze past exams", "predict the exam", or shares past exams.
lean-formalize
Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…
eli5
Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.
deck-course-module
A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.