Unique Genius Warrior Session

Claude Code and Codex:
set up your client workspace right.

How to structure folders, instruction files and sessions so your AI agent knows each client from the first message.

Presented byPaul Gregorio, Paul AI
ForUnique Genius Strategic Partners
LevelBasics
Paul AI
Today
Today in three parts

Understand it. Build it with the agent. Use it daily.

01

The concept

What Claude Code and Codex are, and why a structured folder of instruction files beats a long prompt.

02

Build it with the agent

Copy-paste prompts that make Claude or Codex interview you and write your AGENTS.md, CLAUDE.md and MEMORY.md.

03

Work in sessions

Start, hand off and resume work so nothing is lost between days.

Claude Code and Codex Basics
Paul AI
Part 1
01

The concept

What these tools are, and the folder of files that makes them know your client.

Claude Code and Codex Basics
Paul AI
The concept
Meet the tools

Two coding agents. Same idea underneath.

Both read your files, run commands and make edits inside the folder you open them in. Both take standing instructions from a Markdown file.

Claude CodeCodex
Made byAnthropicOpenAI
Where it runsTerminal, VS Code, desktop and webTerminal, VS Code, desktop and web
Start itclaude inside your foldercodex inside your folder
Instruction fileCLAUDE.mdAGENTS.md
Create a starter file/init/init
Pick up yesterday's chatclaude --continue or claude --resumecodex resume
Claude Code and Codex Basics
Paul AI
The concept
The one idea to remember

Every session starts with zero memory.
Your files are its memory.

The agent does not remember your client, your rules or last Tuesday. It reads the instruction files in the folder you open. Good structure beats a long prompt, every single time.

Claude Code and Codex Basics
Paul AI
The concept
Instruction files

One source of truth for both tools.

AGENTS.md

The real instructions. Codex reads it automatically, and it is the shared standard many other agents follow too.

CLAUDE.md

One line that imports AGENTS.md, so Claude Code reads the exact same rules.

Why bother

You maintain one file. Switch tools and nothing gets out of sync.

# Claude Code reads this file automatically.
# The @ line pulls in the shared instructions.
@AGENTS.md
# Acme Roofing: client instructions

## Who they are
Residential roofing, Dallas TX. POC: Dana (Ops).

## Rules for every task here
- Draft only. I send. Nothing goes to the client.
- Never put passwords or API keys in any file.
- Flag anything uncertain as [VERIFY].
Claude Code and Codex Basics
Paul AI
The concept
The structure

Four layers, from broad to specific.

The agent reads every layer from where you started it up to the top. The closer file is more specific, so it wins on detail.

1
Global (you)
How you work on every client: tone, habits, never-do rules.
~/.claude/CLAUDE.md
~/.codex/AGENTS.md
2
Workspace
Rules for all your client work: folder map, UG rules, EOD habits.
workspace/AGENTS.md
3
Client
Who the client is, people, tools, voice, standing rules.
clients/acme/AGENTS.md
4
Project
One piece of work: goal, scope, decisions, definition of done.
clients/acme/projects/
nurture-build/AGENTS.md
Claude Code and Codex Basics
Paul AI
The concept
ug-workspace/
├── AGENTS.md              # layer 2: rules for all clients
├── CLAUDE.md              # @AGENTS.md
├── _templates/            # copy these for every new client
│   ├── client-AGENTS.md
│   └── project-AGENTS.md
└── clients/
    └── acme-roofing/
        ├── AGENTS.md          # layer 3: the client brief
        ├── CLAUDE.md          # @AGENTS.md
        ├── context/           # brand, people, offers, SOPs
        ├── projects/
        │   └── 2026-10-nurture-build/
        │       ├── AGENTS.md  # layer 4: the job ticket
        │       ├── CLAUDE.md
        │       ├── PLAN.md    # the approved plan
        │       ├── SESSION.md # where we stopped
        │       └── output/
        └── archive/
The folder map

One home for every client.

  • One folder per client. Never mix two clients in one folder.
  • One folder per project inside it, dated so they sort in order.
  • context/ holds reference material the agent can read when needed.
  • _templates/ means a new client takes five minutes, not an hour.
Claude Code and Codex Basics
Paul AI
The concept
The supporting cast

Each file has one job.

FileIts jobWho updates it, and when
AGENTS.mdStanding rules and facts that rarely changeYou, when a rule or fact changes
PLAN.mdThe approved plan for this projectThe agent drafts, you approve before any build
SESSION.mdWhere we stopped: Confirmed, Next, Do not yetThe agent, at the end of every session
MEMORY.mdLessons and gotchas learned about this clientThe agent when it learns something, you review
context/Reference material: brand, offers, SOPs, exportsYou, as material arrives
output/Everything the agent producesThe agent. Nothing leaves until you read it.
Claude Code and Codex Basics
Paul AI
The concept
AGENTS.md vs MEMORY.md

Rules go in AGENTS.md. Lessons go in MEMORY.md.

AGENTS.md

How to work here. Written on day one, changes rarely. "Draft only. Mark approves customer copy."

MEMORY.md

What we learned along the way. Grows every week. "The CRM rejects phone numbers without +1."

Important

Neither tool opens MEMORY.md on its own. One line in AGENTS.md tells it to.

# Acme Roofing: memory

## Decisions
- 2026-10-02: Weekly report goes out Fridays, not Mondays
- 2026-10-07: Dana approved the nurture copy

## Lessons and gotchas
- Phone numbers must start with +1 or the CRM rejects them
- Mark is on site Tuesdays, so expect slow replies

## Preferences we learned
- Dana wants the summary first, details after

# And in AGENTS.md:
Read MEMORY.md before every task.
Claude Code and Codex Basics
Paul AI
What good looks like
# Acme Roofing

## Snapshot
Residential roofing and gutters, Dallas TX.
My role: CRM and automation VA. POC: Dana (Ops).
Client timezone: America/Chicago.

## People
- Dana, Ops lead. Wants bullets, not paragraphs.
- Mark, owner. Approves anything customer-facing.

## Tools and accounts
- CRM: GoHighLevel, location id in context/accounts.md
- Logins: in the password manager. Never here.

## Voice
Warm, direct, no emojis, no em dashes.

## Standing rules
- Draft only. Mark approves customer copy.
- Mark unclear names, dates, amounts as [VERIFY].
Client file

The brief you wish every client sent you.

Belongs here
  • Business snapshot and your role
  • Who is who, and how each likes to receive things
  • Tools used, with IDs but never passwords
  • Voice, formatting and approval rules
Test it

"Read AGENTS.md. Tell me in five bullets who this client is and the two rules I must never break."

Claude Code and Codex Basics
Paul AI
What good looks like
Project file

The job ticket the agent cannot drift from.

Scope written down is scope the agent respects. Out of scope written down is even more important.

Goal

One sentence. What done looks like.

Scope

In and out, as two lists.

Decisions

Locked choices, with the date.

Done when

Checks that prove it works.

# Project: new-lead SMS and email nurture

## Goal
New web leads get a 5-day follow-up sequence.

## In scope
- 3 SMS + 3 emails, one workflow
## Out of scope
- Ads, website changes, old leads

## Locked decisions
- 2026-10-07: Dana approved the copy in PLAN.md
- 2026-10-08: Sends stop when a lead books

## Done when
- Test contact receives every message in order
- Booking a call stops the sequence

## Status
See SESSION.md for where we stopped.
Claude Code and Codex Basics
Paul AI
Part 2
02

Build it with the agent

You do not write these files from scratch. You prompt Claude or Codex to interview you and draft them, then you review.

Claude Code and Codex Basics
Paul AI
Build it
The method

Let the agent interview you. You stay the editor.

01
Create a folder

An empty folder for your workspace. Open the terminal there.

02
Start the agent

Type claude or codex.

03
Paste a prompt

The prompts on the next slides. Fill in the brackets.

04
Answer questions

It asks one at a time. Short answers are fine.

05
Review and save

Read the draft. Correct it. Approve the file.

Why this works

You know the client. The agent knows how to structure a file. Asking questions one at a time means nothing important is left out, and you never stare at a blank page.

Claude Code and Codex Basics
Paul AI
Build it
What it looks like

A short interview, then a draft.

An example of the conversation. Ten to fifteen minutes per client is normal.

YouHelp me create the client file for Acme Roofing. Interview me one question at a time.
AgentQuestion 1 of 10: In one sentence, what does Acme Roofing do and where?
YouResidential roofing and gutters in Dallas.
AgentQuestion 2 of 10: Who is your main point of contact, and how do they like to receive updates?
YouDana, Ops lead. Bullets only, end of day.
Agent...After question 10: here is the draft of clients/acme-roofing/AGENTS.md. Two items are marked [VERIFY]. Shall I save it?
Claude Code and Codex Basics
Paul AI
Build it
Prompt 1 · once, on day one

Set up your workspace.

Run this in an empty folder. It builds the skeleton and your personal rules.

What you get
  • AGENTS.md with your working rules
  • CLAUDE.md that points to it
  • clients/ and _templates/ folders
I am a Unique Genius Strategic Partner. Set up my
AI workspace in this folder.

1. Interview me first, one question at a time,
   max 8 questions: my role, my timezone, my
   clients' hours, my writing style, and what
   you must never do.
2. Write AGENTS.md with my working rules and a
   folder map: clients/[client]/projects/.
3. Create CLAUDE.md containing only: @AGENTS.md
4. Create clients/ and _templates/ with a
   client-AGENTS.md and project-AGENTS.md that
   contain headings only.

Show me each file before you save it.
Claude Code and Codex Basics
Paul AI
Build it
Prompt 2 · once per client

Create a client file by interview.

Run this from the workspace folder. Swap in your client name.

What you get
  • clients/[client]/AGENTS.md, the client brief
  • Its CLAUDE.md pointer
  • [VERIFY] tags on anything you were unsure of
Help me create the client file for [Client name].

Interview me one question at a time, max 12:
what they do, my role, who is who and how each
likes updates, tools we use, voice and format
rules, what needs approval, and what to never do.

Then create clients/[client-name]/ with:
- AGENTS.md, using _templates/client-AGENTS.md
- CLAUDE.md containing only: @AGENTS.md

Rules: never write passwords, API keys or ID
numbers. If I give you one, refuse and remind me.
Mark anything I was unsure about as [VERIFY].
Keep AGENTS.md under 80 lines.
Claude Code and Codex Basics
Paul AI
Build it
Shortcut

Already have notes? Start from them.

Drop your onboarding notes, SOPs or the client brief into context/. The agent drafts from them and only asks about the gaps.

What you get
  • A draft built from real material
  • A list of questions only you can answer
  • Fewer typos and missed details
Read every file in clients/[client-name]/context/.

Draft clients/[client-name]/AGENTS.md from them,
using _templates/client-AGENTS.md.

Then list what is still missing or unclear as
numbered questions. Ask me them one at a time and
update the draft as I answer.

Do not copy any passwords, card numbers or ID
numbers from the files. Tell me if you find any so
I can remove them.
Claude Code and Codex Basics
Paul AI
Build it
Prompt 3 · once per client

Give the client a memory.

Creates the notebook and the rule that makes the agent use it.

What you get
  • MEMORY.md with three sections
  • A rule in AGENTS.md to read it every time
  • The agent proposes new lessons, you approve
In clients/[client-name]/, create MEMORY.md with
three sections:
- Decisions (each line dated YYYY-MM-DD)
- Lessons and gotchas
- Preferences we learned

Then add this to that client's AGENTS.md:
"Read MEMORY.md before every task. When we learn
something that will matter next time, propose one
line for MEMORY.md and wait for my OK before
adding it."

Show me both changes before saving.
Claude Code and Codex Basics
Paul AI
Build it
Prompt 4 · per task or project

Turn a task into a project folder.

Paste the task from ClickUp, Slack or email. The agent sets up the job ticket.

What you get
  • AGENTS.md: goal, scope, done when
  • PLAN.md: proposed steps, not started
  • SESSION.md: ready for the first handoff
New project for [client-name]. Here is the task:
[paste the task, message or email]

Create clients/[client-name]/projects/
[YYYY-MM-short-name]/ with:
- AGENTS.md: goal, in scope, out of scope and
  done when, using _templates/project-AGENTS.md
- PLAN.md: your proposed steps
- SESSION.md: empty Confirmed, Next and
  Do not yet sections

Ask me about anything unclear first.
Do not start the work itself.
Claude Code and Codex Basics
Paul AI
Build it
Company or client

Same pattern, whoever you work for.

Supporting clients

clients/
├── acme-roofing/
│   ├── AGENTS.md  MEMORY.md
│   └── projects/
└── bright-dental/
    ├── AGENTS.md  MEMORY.md
    └── projects/

One folder per client. Never mix two clients.

Inside one company

areas/
├── sales/
│   ├── AGENTS.md  MEMORY.md
│   └── projects/
└── operations/
    ├── AGENTS.md  MEMORY.md
    └── projects/

One folder per department or area. The company rules live in the top AGENTS.md.

Tip: in the prompts, swap "client" for "area" and the agent builds the company version.

Claude Code and Codex Basics
Paul AI
Build it
Review before you trust it

The agent drafts. You sign off.

Read every line and check
  • Facts are right: names, roles, tools, timezones
  • No secrets: no passwords, keys, card or ID numbers
  • Rules are specific: "Bullets only, end of day" beats "be clear"
  • Short: AGENTS.md under about 80 lines, the rest in context/
  • [VERIFY] items: confirmed with the client or removed
Read AGENTS.md and MEMORY.md.
In five bullets: who this client
is, who I report to, how they
like updates, and the two rules
I must never break.
Do not change any files.

Vague answer? The file is too thin. Add detail and ask again.

Claude Code and Codex Basics
Paul AI
Part 3
03

Work in sessions

The files are the memory. Sessions are the workdays. Here is how to start, pause and pick up without losing anything.

Claude Code and Codex Basics
Paul AI
Sessions
What a session is

One conversation, one task, one folder.

1

It has a limit

A session can only hold so much. Very long ones get summarised and details fall out. Fresh sessions are sharper.

2

Start in the right place

Open the terminal inside the project folder, then start the agent. That is how all four layers load.

3

One task per session

New task, new session. Mixing a report, a workflow and an email in one chat is how clients get mixed up.

# Always start like this
$ cd ug-workspace/clients/acme-roofing/projects/2026-10-nurture-build
$ claude          # or: codex
Claude Code and Codex Basics
Paul AI
Sessions
End every session with a handoff

SESSION.md: three sections, every time.

Tomorrow's session, or a teammate, reads this first. No re-explaining, no repeated work.

Confirmed

What is done, with proof: file names, IDs, test results.

Next

The single next step. One line.

Do not yet

What must wait, and why. Protects you from a rushed restart.

Update SESSION.md with Confirmed (with
evidence), Next (one step) and Do not yet.
Keep it short.
$ claude --continue   # last session here
$ claude --resume     # choose from a list
$ codex resume        # Codex equivalent
Claude Code and Codex Basics
Paul AI
Workflow
The daily loop

Seven steps, every task.

01
Open

cd into the project folder, start the agent.

02
Orient

"Read AGENTS.md and SESSION.md. Where are we?"

03
Plan

Ask for a plan first. No edits yet.

04
Approve

You read it, correct it, say go.

05
Build

The agent works. You approve each change.

06
Verify

Check the real result, not the summary.

07
Hand off

Update SESSION.md. Close the session.

The step people skip

Step 4. An unapproved plan is how agents build the wrong thing fast. Claude Code has a plan mode for exactly this: press Shift+Tab to cycle into it.

Claude Code and Codex Basics
Paul AI
Non-negotiable
Non-negotiable

Rules before tools.

Never in any file or prompt
  • Passwords, API keys, login details
  • Card or bank account numbers
  • SSNs, tax IDs, government IDs
  • Medical details with names attached
  • Anything the client said to keep off AI
Always
  • Get the client's written OK before pointing AI at their data
  • One client per folder, one client per session
  • Keep approval prompts on. Read each change before you accept it
  • Treat every output as a draft until you have checked it
  • Note AI-assisted work honestly in your EOD
Claude Code and Codex Basics
Paul AI
Avoid these
Common mistakes

Six ways beginners lose a day.

Starting in the wrong folder

The agent sees no client file, so it guesses.

One giant AGENTS.md

Move reference material into context/ and link to it.

Rules only in the chat

If you said it twice, it belongs in a file.

Never ending a session

Long sessions get blurry. Hand off and start fresh.

Skipping SESSION.md

Tomorrow you repeat or undo yesterday's work.

Secrets in files

Use the password manager. Files can be shared, synced and read.

Claude Code and Codex Basics
Paul AI
Your turn
Hands-on, 20 minutes

Build your workspace with the agent.

Use your real assigned client. No sensitive data, just the facts you already know.

  1. 1
    Make a folder called ug-workspace, open the terminal in it, start claude or codex.
  2. 2
    Run Prompt 1 and answer the workspace questions.
  3. 3
    Run Prompt 2 for your client and review the draft.
  4. 4
    Run Prompt 3 to add MEMORY.md.
  5. 5
    Prove it. Start a new session in the client folder and run the five-bullet test.
Claude Code and Codex Basics
Paul AI
Cheat sheet
Daily prompts

Four prompts for every working day.

Read AGENTS.md and SESSION.md.
Tell me where we are and the next step.
Do not change any files yet.
Write a plan in PLAN.md for this task.
List what you will change and how we test it.
Wait for my approval.
Add this as a standing rule in the client
AGENTS.md: [rule]. Show me the edit.
Update SESSION.md: Confirmed (with evidence),
Next (one step), Do not yet. Keep it short.
Claude Code and Codex Basics
Paul AI

Structure once.
Every session starts smart.

AGENTS.md holds the rules MEMORY.md holds the lessons The agent interviews, you review Hand off in SESSION.md

Questions?

Paul AI
Arrows to move · N notes · F fullscreen