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

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

module-1 is a skill for Claude Code from brevdev/workshop-build-an-agent. It costs 199 tokens per session (2,691 once invoked), scanned A, original, Apache-2.0.

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 Code

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

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-1/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-1

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brevdev/workshop-build-an-agent/module-1"><img src="https://agentmods.dev/badge/skills/brevdev/workshop-build-an-agent/module-1.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 111
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.00199 $0.02691
Opus 5.5 $0.00080 $0.01076
Sonnet 5.5 $0.00040 $0.00538
Haiku 4.5 $0.00020 $0.00269

Measured 1mo ago against content hash 3e5ca582dd78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (151 stars, last pushed 16d ago), licensed Apache-2.0. It adds 199 tokens to every session and 2,691 once invoked, about $0.0008 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