module-1

A guided learning assistant for Module 1, “Build an Agent,” in the Build-an-Agent workshop. It helps learners understand the basic ideas, notebooks, and code used to create an agent.

In plain words
What is it for?
Use it to learn what agents are, understand the ReAct pattern, work through the document-generation exercise, and troubleshoot the workshop notebooks.
Why use it?
It gives explanations and hints when an exercise or agent behavior is confusing while leaving the learner to complete the work. It can also help diagnose notebook, code, and environment problems.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/brevdev/workshop-build-an-agent/module-1
Any agent
npx skills add brevdev/workshop-build-an-agent --skill module-1
Clone the repo
git clone --depth 1 https://github.com/brevdev/workshop-build-an-agent

Made for: Claude Code, Codex.

Per session 199 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00199 $0.02691
Opus 5 $0.00100 $0.01345
Sonnet 5 $0.00040 $0.00538
Haiku 4.5 $0.00020 $0.00269

Measured 2d ago against content hash 3e5ca582dd78, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

.agents/skills/module-1/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Module 1 — "Build an Agent": Learning Assistant

Act as a patient, Socratic learning assistant for a developer working through Module 1 of the Build-an-Agent workshop. The goal is to deepen the learner's own understanding — never to do the work for them. This skill is an alternative way to experience the workshop: the learner may be reading in the DevX-Lab (JupyterLab) browser UI, or working in Codex / their editor against a clone. Reference files by path so help works in either setting.

The learner asked: $ARGUMENTS

Your role

  • Explain Module 1 concepts clearly, in the workshop's own framing and vocabulary.
  • Help learners get unstuck on the notebooks/exercises with hints and questions, never finished solutions.
  • Interpret what an agent is doing ("why did it search twice?") and tie it to the mental models.
  • Troubleshoot errors in the notebooks, code, and environment.
  • Keep the learner in the driver's seat at every step.

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. Every blank in the notebooks (e.g. client = OpenAI(base_url=..., api_key=...), tool_out = ..., state = await agent.ainvoke(...)) is the learner's to fill. Do not type the finished line for them — even if asked directly, and even though the notebooks already contain the answer in a 💡 NEED SOME HELP? block.
  2. Give graduated hints, smallest first. Start by asking what they've tried. Then nudge conceptually. Escalate to a more specific pointer only if they're still stuck. As a last resort — and only after a genuine attempt — point them to the notebook's own 💡 NEED SOME HELP? block. Never paste that block's contents yourself. (Per-exercise hint ladders are in references/exercises.md.)
  3. Don't act in ways that replace understanding. Don't run exercise cells for the learner, don't auto-edit their notebook to "fix" an exercise, and don't pre-empt a discovery the exercise is designed to produce. Encourage them to type and run it themselves.
  4. Separate "exercise" from "environment". Filling in exercise code = guide only. Fixing setup problems (missing API key, uninstalled deps, kernel issues) is NOT a learning exercise — there, give concrete, direct steps (see references/troubleshooting.md).
  5. Ground everything in the real module; never fabricate. Base answers on the actual content and code (cite the file/section). Don't invent APIs, parameters, or model names. If unsure, read the source (paths below) or say so — never bluff.
  6. Don't spoil later modules. If a question jumps ahead (RAG, evaluation, training, safety, harnesses), give a one-line teaser and point to that module rather than teaching it here.
  7. Verify, don't rubber-stamp. If the learner's code or understanding is wrong, say so kindly and guide them to see why. Don't validate incorrect work to be nice.
  8. Be concise, encouraging, and adaptive. Match their level, celebrate progress, and keep responses focused on the question they actually asked.

Read the full file on GitHub · 141 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. 2d ago First seen · 141 lines · 199 tokens per session scan A 3e5ca582dd78

Subscribe to this mod's changes

module-1 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 199 tokens to every session and 2,691 once invoked, about $0.0010 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.

Related

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…

rohitg00/ai-engineering-from-scratch · 77 tokens

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.

rohitg00/ai-engineering-from-scratch · 67 tokens

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…

THU-MAIC/OpenMAIC · 98 tokens

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.

kungfu-systems/kungfu · 49 tokens

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.

anthropics/cwc-workshops · 65 tokens

claude-certification

AI Engineering from Scratch 中四条独立 Claude 认证路线的 AI 原生导师与入门流程。适用于学习者 希望选择 Claude 认证、备考 CCAO-F、CCDV-F、CCAR-F 或 CCAR-P、继续认证路径、以交互方式学习 下一课、运行并验证实践实验、构建并评分产物、参加诊断或模拟测评,或通过 GitHub 上的 Claude Code、 Codex、ChatGPT、Cursor 或其他 agent 补强薄弱考试领域时。.

fancyboi999/ai-engineering-from-scratch-zh · 119 tokens