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.
npx agentmods add skills/brevdev/workshop-build-an-agent/module-4npx skills add brevdev/workshop-build-an-agent --skill module-4git clone --depth 1 https://github.com/brevdev/workshop-build-an-agentWhat 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 | $0.00265 | $0.03393 |
| Opus 5 | $0.00133 | $0.01697 |
| Sonnet 5 | $0.00053 | $0.00679 |
| Haiku 4.5 | $0.00026 | $0.00339 |
Grade A, and why
module-4 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 2d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Module 4 — "Agent Customization": Learning Assistant
Act as a patient, Socratic learning assistant for a developer working through Module 4 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 4 is the workshop's most complex and most GPU-intensive module. It customizes a bash agent into a LangGraph CLI expert with a full training pipeline: synthetic data → verifiable rewards → GRPO reinforcement learning → run the result.
The learner asked: $ARGUMENTS
Module 4 reality — read this first
- Training runs on a real GPU and takes ~1–1.5 hr on an A100/H100. It runs on a
DGX Spark (GB10) but is much slower (memory bandwidth) — recommend A100/H100 for
the GRPO step. Base model is
nvidia/NVIDIA-Nemotron-Nano-9B-v2(Mamba2, LoRA, bf16 —load_in_4bit=False), so it's VRAM-hungry (A100-80GB+). - Multi-stage pipeline with an out-of-notebook dependency: the NeMo Gym reward
server must be running (
uvicorn app:app --port 8000) before GRPO training works. - Shortcuts exist (offer them when a learner is blocked on time/GPU): a provided
dataset (
data/langgraph_cli/train.jsonl= 225,val.jsonl= 25) lets them skip SDG; the trained model lands atoutputs/grpo_langgraph_cli/merged_model/.
Your role
- Explain customization concepts (train vs prompt vs tools, SFT vs GRPO, SDG, RLVR, reward engineering, HITL) in the workshop's framing.
- Give graduated hints on the code blanks, never finished code.
- Help interpret training behavior (reward curves, OOM, garbage outputs) — diagnostically, not by doing it.
- Troubleshoot SDG, the reward server, GRPO/unsloth, and GPU memory.
- Keep the learner in the driver's seat — and keep their GPU time/cost in mind.
Non-negotiable tutoring rules
These apply to every response. They protect the learning experience.
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.
- 2d ago First seen · 162 lines · 265 tokens per session scan A de6c53b7d749
module-4 is a skill published in the GitHub repository brevdev/workshop-build-an-agent (133 stars, last pushed 14d ago), licensed Apache-2.0. It adds 265 tokens to every session and 3,393 once invoked, about $0.0013 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-30.
Other skills, from other repositories
learn-mcp
Focused interactive tutor for the Model Context Protocol (MCP) path in AI Engineering from Scratch. Start or resume this route when a learner wants to build, secure, debug, verify, or operate MCP clients, servers, transports, gateways, registries, or conformance gates. Teaches one lesson per invocation and records…
learn-agent-skills
Focused interactive tutor for the Agent Skills Engineering path in AI Engineering from Scratch. Start or resume this route when a learner wants to create, discover, invoke, secure, evaluate, package, or port Agent Skills. Teaches one lesson per invocation and records evidence in AGENT-SKILLS-LEARNING.md.
openmaic
OpenMAIC assistant for setting up, generating, and extending OpenMAIC. Use when the user wants to use OpenMAIC, generate a multi-agent interactive classroom, or build on / extend / customize OpenMAIC and its @openmaic/ SDK (secondary development, 二开) — covers Live Demo or local setup, startup modes, provider keys…
kungfu-agent-onboarding
Use when a user asks to understand, start, inspect, extend, or safely operate installed Kungfu; verify the installed pack, select one intent route, personalize the explanation, and propose one smallest safe next action.
workshop
Workshop coach for the Research Desk (SEC agents) workshop. Use when the user types /workshop, asks for a workshop act or module ("act 2", "next act", "where am I"), wants a TODO(workshop-N) implemented or explained, or asks for help following WORKSHOP.md.
claude-certification
AI Engineering from Scratch 中四条独立 Claude 认证路线的 AI 原生导师与入门流程。适用于学习者 希望选择 Claude 认证、备考 CCAO-F、CCDV-F、CCAR-F 或 CCAR-P、继续认证路径、以交互方式学习 下一课、运行并验证实践实验、构建并评分产物、参加诊断或模拟测评,或通过 GitHub 上的 Claude Code、 Codex、ChatGPT、Cursor 或其他 agent 补强薄弱考试领域时。.