Vibe Coding
Chat, Coding Agents and Work
Industrial AI Lab, KAIST
1
Vibe Coding
2
Three Ways to Vibe Code
3
| Who Runs the Code | What It Remembers | What It Delivers |
Chat (Gemini, ChatGPT, Claude) | Human | This conversation only | Code snippets |
Coding Agent CLI (Claude Code, Codex, Gemini CLI) | Agent | Project rule files | Working code and results |
Work (Claude Cowork, ChatGPT Work) | Agent | Projects and memory | Reports and other work products |
MNIST database
4
Problem: Handwritten Digit Classification with MNIST
5
Chat
6
Human Runs the Code
7
Chat
Q
Human
LLM
Code
Human
runs in Colab, edits, asks again
Prompt
8
Prompt
9
Prompt
10
Strengths and Limits
11
The AI writes the code; the human runs it and checks the result
Coding Agent CLI
12
Agent = LLM + Tools + Loop
13
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
Agent = LLM + Tools + Loop
14
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
Agent = LLM + Tools + Loop
15
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
Tools You Can Use Today
16
Claude Code
Anthropic
Codex
OpenAI
Gemini CLI
Claude Code CLI
Installing Claude Code
17
① Download for Windows
② Run the installer
Other Ways to Run Claude Code
18
① Terminal (CLI)
② Inside the editor (Extension)
Folder to Work On
19
① New folder: SciML HW
Choosing the Folder
20
① Select it
② Select Folder
Session Screen
21
① Folder
② Prompt
③ Permission mode
④ Model and effort
Choosing the Model
22
① Used in this demo
② Older models
Setting the Effort
23
① Now High
② Slider
Permission Modes
24
Default: Claude decides, risky actions blocked
Asks before every change
Edits files without asking
Plans first, changes nothing
Leave off
CLAUDE.md / AGENTS.md
25
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
CLAUDE.md
every start
Never download data and never modify anything in `data/`.
Flatten → Linear(784, hidden) → ReLU → Linear(hidden, 10)
… do not silently reduce epochs, data, or configurations.
demo/mnist-hw/CLAUDE.md
First Prompt
26
① This folder
② The task
③ Opus 5.5, High
File Written by Claude
27
Inside CLAUDE.md
28
Skill
29
Goal
Human
Goal
Human
LLM
LLM
Without
a skill
With
a skill
1. Write train.py (hidden size, epochs, lr, seed)
2. Run each setting, one subagent each
3. Write summary.md and comparison.png
4. Reply with the table and the file paths
typed into the prompt every time
/mnist-experiment
Compare hidden sizes 100, 256, and 512 for our MNIST homework model.
one command, typed once
SKILL.md
the same 4 steps,
written once
loaded
SKILL.md
30
always in context
loaded when called
Creating a Skill
31
Where to save it
Name, when to load it
The procedure
Skill Folder
32
① Your .claude\skills
② New skill
‘homework-solver’ Skill
33
Always in context
Loaded when used
Using the Skill
34
① Homework notebook
② The prompt
Claude at Work
35
① A command failed
② It changes its approach
③ It finds the nine red problems
Claude at Work
36
④ Runs on a copy first
⑤ Finds its own mistake
A Solution in the Notebook
37
① Explanation
② Equations
A Solution in the Notebook
38
Checking the Results
39
① A real error, found and fixed
Tips for Your First Tasks
40
Subagent
41
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
mnist-trainer
h = 100
97.48 %
mnist-trainer
h = 256
97.58 %
mnist-trainer
h = 512
97.84 %
task out,
summary back
MCP (Model Context Protocol)
42
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
Google Drive
Notion
GitHub
MCP servers
MCP
Plugin
43
Goal
Human
Large Language Model
Tools
Files
>_
Terminal
Python
Result
Check
Report
Revise
Plugin: ml-homework (example)
CLAUDE.md
Skill
MCP server
Marketplace
User
/plugin
Demo: MNIST with a Coding Agent
44
Where It Runs
45
Agent: Strengths and Limits
46
Agents can run experiments, evaluate results, and improve the model automatically
Work
47
Project, Memory and Folder Access
48
Concept | What It Does | In the MNIST Homework |
Project | Folders, instructions and material grouped per course or assignment | One project per course |
Memory | Context kept across sessions, per project | Course rules and earlier results remembered |
Folder access | Reads a chosen local folder and saves results there | Reads the results folder of the coding agent run |
Work: Agents for the Whole Task
49
Project
Work: Strengths and Limits
50
Human sets the goal, AI does the work
Which One When
51
Chat
Coding Agent
Work
understand
experiment
report
Which One When
52
Chat
Coding Agent
Work
understand
experiment
report
Choose the right tool for your goal and cost
Models and Effort
53
Source: https://artificialanalysis.ai/models
Raising the Effort
54
Source: https://www.anthropic.com/claude-opus-5-5
Higher Is Not Always Better
55
Source: https://www.anthropic.com/claude-opus-5-5
Time per Task
56
Source: https://artificialanalysis.ai/models
Choosing the Effort
57
Thank you
58