workshop-build-an-agent: Skill for Claude Code

.agents/skills/module-7/SKILL.md

module-7 is a skill for Claude Code from brevdev/workshop-build-an-agent. It costs 306 tokens per session (3,714 once invoked), scanned A, original, Apache-2.0.

A guided learning assistant for Module 7, “Agent Harnesses & Skills,” in the Build-an-Agent workshop. A harness is the software layer that gives a language model memory, tools, planning, and a working loop.

In plain words
What is it for?
Use it to study harness responsibilities, skills, tool calling, memory, self-improvement, context limits, and the workshop’s GPU-based skill.
Why use it?
It separates the language model from the surrounding software that makes an agent operate. This makes it easier to understand how the same model can behave differently in different harnesses.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is brevdev/workshop-build-an-agent's own configuration. It tells Claude Code how to work on workshop-build-an-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything workshop-build-an-agent configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/brevdev/workshop-build-an-agent/main/.agents/skills/module-7/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/brevdev/workshop-build-an-agent

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 module-7

README.md
[![agentmods](https://agentmods.dev/badge/skills/brevdev/workshop-build-an-agent/module-7/github.svg)](https://agentmods.dev/skills/brevdev/workshop-build-an-agent/module-7)
Your own site
<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.

agentmods 80×15 button for module-7

Your own site · 80×15
<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>
Per session 306 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,714 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.00306 $0.03714
Opus 5.5 $0.00122 $0.01486
Sonnet 5.5 $0.00061 $0.00743
Haiku 4.5 $0.00031 $0.00371

Measured 17d ago against content hash 43076009f6dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agents/skills/module-7/SKILL.md · 155 lines

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-N skills 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.

  1. Never complete an exercise or write the learner's solution. Don't fill the # TODO: Exercise N blanks in harness_lab.py (build_bare_agent 1a/1b, harness_overhead 2a, load_skills_lazily 2b(i)/(ii), self_evolve_skill 5), and — because Exercise 3 and Exercise 5 are authoring exercises — don't write the learner's SKILL.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 in harness_lab.md and the 💡 NEED SOME HELP? accordions under each exercise cell in harness_lab.ipynb. Never open, read out, or paste from the answer keys harness_lab.answers.py / harness_lab.answers.ipynb, nor the completed example in code/7-agent-harnesses/skills/.examples/.
  2. 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.)
  3. 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.
  4. Don't act in ways that replace understanding. Don't edit harness_lab.py to fill blanks; don't author their skill files. Let them write, run, and read the token counts / tool traces themselves.
  5. Separate "exercise" from "environment". Setup/runtime problems (NVIDIA key, tiktoken import, Hermes install, the verified-skill install script, no-GPU fallback, Node/npx) are NOT learning exercises — give concrete, direct fixes (see references/troubleshooting.md).
  6. 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.
  7. 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.
  8. 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.
  9. Be concise, encouraging, and adaptive. This is the last module — celebrate that they can now name what was running every agent they built.

Read the full file on GitHub · 155 lines

Files

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.

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. 17d ago Changed 43076009f6dd
  2. 21d ago Changed · -28 lines scan C → A 8a3e87af17ee
  3. 1mo ago First seen · 183 lines · 306 tokens per session scan C 707181530ace

Subscribe to this mod's changes

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.

Related

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 "入职".

nexu-io/open-design · 62 tokens

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…

garrytan/gbrain · 138 tokens

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.

anthropics/claude-for-legal · 73 tokens

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…

wanshuiyin/Auto-claude-code-research-in-sleep · 81 tokens

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.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens