By the end of this lesson you can
- Give Claude a memory, so every run starts with your context
- Set what Claude must never do, and check it's in place
- Add a reviewer that checks every output, and prove it works
The idea
Three things make a workflow you can rely on:
| What it does | Where it lives | |
|---|---|---|
| Memory | Your terms, people and standards, read at the start of every run | CLAUDE.md in your folder |
| A never list | Actions Claude Code checks against your rules before it acts | Your project's settings |
| A reviewer | A second agent that checks every output before you see it | .claude/agents/ in your folder |
Skill or agent? A skill is a procedure: the steps Claude follows. An agent (Claude Code calls it a subagent) is a specialist Claude hands work to, with its own instructions, its own tools and limits, and a separate context, so it judges the work fresh and reports back.
| Skill | Agent | |
|---|---|---|
| What it is | A written procedure | A specialist with its own context |
| Use it when | The job is the same steps each time | The job needs independent judgement, like checking someone else's work |
| In this lesson | Your weekly report | The reviewer that checks it |
Your skill builds, the reviewer checks, you approve: preparer, reviewer, approver. While you're learning, leave the mode selector next to the prompt box on Manual, so Claude asks before it edits a file or runs a command you haven't already allowed.
Build it
01Give it a memory (7 min).
Create a CLAUDE.md for this project from MY-TASK.md. Interview me about anything missing: the people involved and what each needs, the exact terms we use, our formatting standards, and the rules that never change. Keep it under one page.
The margin route's check-your-work download has a finished CLAUDE.md to compare with. Keep client names and personal data out: anyone you share the folder with reads it.
Keep progress separate from instructions. CLAUDE.md holds what never changes; a handover file holds what does:
Create HANDOFF.md: what's done, what's in progress, open issues and the next step, with an owner for each. Then add a line to CLAUDE.md: "At the start of every session, read HANDOFF.md first. Before we finish, update it."
02Write your never list (6 min).
Add permission rules so this project is blocked from: deleting files, reading files that could hold passwords or keys, sending email, or [anything that must never happen in my task]. Put them in the project settings, covering PowerShell as well as Bash on Windows. Then show me the rules, explain each one in a sentence, and tell me what they can't prevent.
When Claude asks to do something harmless, like reading your data folder, choose always allow. Routine prompts stop.
03Create the reviewer (9 min).
Create a project agent called margin-report-reviewer. It checks a draft margin report before I see it: every figure matches the source export; Net Exposure equals IM plus VM with the right sign; every Disputed or Failed call is listed; every Restricted or Breached position is listed; status names use our exact terms. It returns PASS or a numbered list of problems with the fix. Read-only tools; it never edits the report.
Create a project agent called breaks-reviewer. It checks a draft breaks report before I see it: re-match every trade_id in both files; every listed break is a real break under tolerances.md; nothing within tolerance is reported; every value matches the source files. It returns PASS or a numbered list of problems with the fix. Read-only tools; it never edits the report.
Create a project agent called status-update-reviewer. It checks a draft status update before I see it: every claim is supported by a note or a ticket; done-this-week lists only tickets closed this week; every risk and decision in the notes appears; conflicts between sources are flagged, not resolved. It returns PASS or a numbered list of problems with the fix. Read-only tools; it never edits the update.
Ask "Show me the agent file." Its tools line should list only reading tools. A good finding looks like this:
| Source | Expected | Draft says | Verdict |
|---|---|---|---|
| margin-export-2026-10-12.csv, Client 1 | Net Exposure 4,180,000 | 4,810,000 | FIX: figure transposed; correct it from the source |
Then wire it in: "Update my skill: after drafting, hand the draft to the reviewer. Fix what it finds and review again, at most twice. If it still fails, mark the draft FAILED, say why, and stop."
04Test it (10 min).
Run /clear for a fresh start, then run your skill without explaining anything: it should use your terms from CLAUDE.md. Then test the reviewer the way you'd test a new colleague, with four copies of the draft:
| Test | What you change in the draft | It should say |
|---|---|---|
| Correct draft | Nothing | PASS |
| Wrong sign | Flip one Net Exposure figure | FIX, naming the figure |
| Missing exception | Delete one Disputed or Failed call | FIX, naming the call |
| Unsupported claim | Add a sentence no source supports | FIX, asking for the source |
On the reconciliation route, use a wrong quantity and a missing break; on the product route, a ticket closed last week and a missing risk. Check each verdict yourself. Change the draft, never the source file, or the reviewer will reconcile to the wrong value and pass. If it misses one, add that check to its checklist and rerun all four.
05Your turn (10 min).
Do steps 1 to 4 for your own workflow: CLAUDE.md, your never list, a reviewer with a checklist a careful colleague would use, and all four tests passing.
Going furtherModes, Plan, commands and picking up later
Modes. Accept edits lets Claude edit files and run simple file commands without asking. Plan reads and proposes a plan without changing anything; use it before any change to several files, then switch back to approve. Auto, if your plan offers it, skips routine prompts with a background safety check.
Commands. /clear starts fresh; /compact summarises a long conversation; /memory shows your memory files and auto memory.
Picking up later. Reopen a session from the desktop sidebar; HANDOFF.md tells it where you were.
Across tools and firms. If you also use another assistant, such as Codex, shared rules can live in AGENTS.md; recent versions of Claude Code read it when there's no CLAUDE.md. IT can deploy a company-wide CLAUDE.md; your own notes go in CLAUDE.local.md, which you leave out when sharing.
An investigator. For "why" questions, a second agent can investigate: in the margin pack, ask one to explain why Client 1 moved to Breached using risk-policy.md and counterparty-notes.md, separating what the data shows, likely causes and missing evidence.
What just happened
Memory means every run starts with your context; HANDOFF.md means progress survives between sessions. The never list turns "never" into a check before any action. The reviewer didn't write the draft and can't change it, and the four tests showed what it catches and what it lets through correctly. It's a strong check, not proof: you still approve.
Check yourself
Why give the reviewer read-only tools?
So it can't change what it checks. If it could quietly fix things, you'd lose the record of what was wrong, and nobody would check its fixes.
The reviewer passes an output you then find an error in. What do you do?
Add that check to its checklist, then rerun all four tests. Each miss makes the checklist better.
Done when
- After
/clear, your skill runs with your context - You've seen your never list in the project settings, and HANDOFF.md is in your folder
- Your own reviewer passes the correct draft and catches all three planted problems
Part 2 complete. Next: lesson 5 runs it without you.