Lunch and Learn — Session 2
OpenAI Codex
Google Gemini CLI
Anthropic Claude Code
All three are AI agents with tools — not chatbots. This session focuses on Claude Code and Claude Desktop, but the concepts (skills, connectors, iteration) transfer to any agent platform.
Chat (Analysis)
Cowork
Code
The Code tab in Claude Desktop and the terminal command claude use the same engine. Code mode gives Claude direct access to your machine — no sandbox, no VM, no upload step.
What makes it universal
Gmail MCP Connector
“Are there any events in my emails that should be added to my calendars? If so, add them.”
“Are there any emails that I need to reply to?”
“Draft an email to [person] about [topic] saying [key points].”
Rice’s security policy makes merging email accounts difficult, but it doesn’t restrict API access. Claude can read and manage both accounts from a single conversational interface.
One fewer app to manage
There are many to-do apps, but it simplifies things to do everything inside Claude Code. The way all of personal computing will soon work, I think.
Version Control
File Search
AI-Powered Search
NotebookLM
Plan Mode
~/.claude/plans/ — persisted on diskModel Building
Planning is as important as execution. For substantial projects, invest in the plan — then clear context so implementation has a clean slate. The plan file is Claude’s instructions to itself.
Data Acquisition
Large Datasets
Claude samples data to understand structure, then writes a script to process the full dataset. It never loads everything into the context window. DuckDB + Parquet is the modern stack for research data — fast, portable, and free.
From verbal description to publication-ready output
Start rough, review, refine. Reference style authorities by name — Claude knows Kieran Healy’s Data Visualization, Tufte’s principles, and journal-specific formatting requirements.
Drafting & Editing
\includegraphics and table environments referencing your generated outputsRevision Workflows
Writing is thinking — be deliberate about what you offload. Use the LLM as an editor and collaborator, not a ghostwriter. 1977 IBM: “A computer can never be held accountable, therefore a computer must never make a management decision.”
VS Code with file explorer, Python editor, LaTeX editor, LaTeX preview, and Claude Code terminal
Setup
curl -fsSL https://claude.ai/install.sh | bashclaude in the VS Code terminalWhat This Gets You
📋 Plan Shift+Tab for plan mode. Research, ask questions, architect before coding.
⚙️ Execute Clear context after planning. Implementation starts fresh with the plan file.
🔍 Evaluate Run the critique skill. Three parallel reviewers catch what you’d miss.
Trust but verify: Know your expected output so you can catch errors — e.g., 30 firms × 4 years = ~120 rows. Resist the “drinking bird” temptation of blindly hitting “yes.” Claude is a remarkable programmer but makes mistakes on edge cases.
What They Are
Gotchas
Context Window Management
/compact — summarizes conversation to free spaceKey Shortcuts
Treat Claude Code’s access like Dropbox
Claude Code runs on your machine but sends context to Anthropic’s servers. The same caution you’d use with Dropbox or email applies here. Be deliberate about what enters the conversation.
Reviewer 1: Correctness
Reviewer 2: Clarity
Reviewer 3: Devil’s Advocate
Sycophancy warning: Claude’s feedback on your work will be relentlessly positive — even the weakest argument gets praised. Push hard: “Be harsh. What would a skeptical reviewer attack?” The critique skill helps by assigning an explicit devil’s-advocate role.
✏️ Create Claude writes the document, code, or slides
🔄 Render Compile, execute, or build the output
👁️ Review Claude inspects the rendered result visually
🔧 Fix & Repeat Edit and re-render until no issues remain
Don’t review AI’s first draft. Let it critique itself and revise autonomously. Repeat until stable. Then review the final version. Your time is expensive — AI’s time is a few cents per cycle.
This loop applies to everything: LaTeX papers, slide decks, code output, figures. Claude creates, renders, inspects, and fixes without prompting. You review a final draft instead of a first draft.
Beamer (LaTeX)
PowerPoint
Quarto → reveal.js
The autonomous review loop applies to all three formats. The key difference is how Claude sees the output: PNGs for PDF-based formats, the browser tool for HTML. Claude creates → renders → reviews → fixes → repeats until satisfied.
Embedded Code Blocks
.qmd fileInteractive Plotly Slides
Quarto + Plotly turns static lecture slides into interactive data exploration. Claude writes the code blocks, renders the slides, views them in the browser, and iterates. These slides are a Quarto deck that Claude built.
VS Code with file explorer, Quarto source, rendered slide preview, and Claude Code terminal
CLAUDE.md
~/.claude/CLAUDE.md)Skills
/skill_name or let Claude decide automaticallyThink of CLAUDE.md as standing instructions for a research assistant. Skills are specialized playbooks for recurring tasks. Both are just text files — nothing to install.
Chat Exercises
NotebookLM for Research Papers
These approaches work for any course. The chat exercise takes zero preparation — just a topic and ten minutes. NotebookLM Audio Overviews turn dense papers into accessible pre-class listening.
Setup
What Claude Can Do
FERPA compliance: Anonymize submissions before grading. Claude strips student identity, grades against the rubric, then de-anonymizes to upload scores. Test with a dummy gradebook first.
📄 Upload Student submits slides (PDF)
🔍 Pre-Analysis AI identifies key claims, gaps, question areas
🎙️ Voice Exam 10–12 adaptive questions via voice AI
📊 Grading Council Three AI models grade independently, then deliberate
Why oral examination?
How It Works
What It Solves
Cost
Fairness
Validation Plan
AI Lab
test_student / jgsbaiXYZ Corp
test_student / jgsbaiPresentation Examiner