MGMT 675: Generative AI for Finance
When Claude Code handles a complex task, it can spin up sub-agents — separate Claude instances that work on subtasks in parallel or in sequence, then report back.
Orchestrator
Sub-Agent
Sub-agents allow Claude to work in parallel and to keep each subtask focused — the orchestrator stays high-level while sub-agents do the detailed work.
Claude Code decides on its own when a task warrants sub-agents. You do not have to ask.
You will see a notice when Claude spawns a sub-agent. Each sub-agent has its own tool permissions and context window, so it starts fresh — it does not inherit your conversation history.
You can explicitly ask Claude to use a sub-agent for any task:
This is especially useful when you want a task isolated from the main context — for example, a long web search or a large file analysis that would otherwise fill the context window.
The /critique skill in the exercise below is a worked example: it spawns three parallel sub-agents (correctness, clarity, devil’s advocate) and has the orchestrator synthesize their findings.
Claude Desktop — Chat tab
Claude Desktop — Code tab
~/.claude/skills/ for custom skills/skill-nameThe Code tab and the terminal CLI are the same engine. Everything covered in this module applies equally to both.
Use the native installer — npm is deprecated as of 2026.
Then launch from any project folder:
The native installer auto-updates in the background and requires no Node.js. After installing, run claude doctor to verify everything is working.
Anthropic ships four document skills with every Claude product. No setup required.
Excel
Word
PowerPoint
Desktop chat / claude.ai
/ command neededClaude Code (CLI or Desktop Code tab)
/xlsx, /docx, /pptxBoth surfaces
~/.claude/skills/ like the CLIIn Claude Code, skills are plain text files stored in ~/.claude/skills/. You can read the full /xlsx skill at:
C:\Users\yourname\.claude\skills\xlsx\SKILL.md~/.claude/skills/xlsx/SKILL.mdIt instructs Claude to use live Excel formulas instead of hardcoded values, specifies a standard workflow (create, format, save, recalculate, verify), and includes financial modeling standards.
Claude Desktop and claude.ai use the same skill logic, but the files are managed by Anthropic — you cannot browse them on your machine.
The /skill-creator skill is a guide for building your own skills.
/ commandWe will use /skill-creator in the exercise below to build a personal task manager skill.
The built-in document skills are always on. You can also add your own custom skills.
Desktop chat / claude.ai
SKILL.md fileClaude Code (CLI or Desktop Code tab)
SKILL.md into ~/.claude/skills//skill-name or let Claude load it from context.claude/skills/ inside your repoThe description in your SKILL.md tells Claude when to invoke the skill, so make it specific. Custom skills are private to your account.
Create a /critique skill that reviews work Claude has produced by spawning three parallel reviewer agents:
Correctness
Clarity
Devil’s Advocate
The skill should synthesize findings, present them ranked by severity, and offer to apply revisions. Ask Claude to create it.
Use /skill-creator to build a tasks skill that manages personal and school to-do lists. The skill should:
personal.md, school.md)This should work fine without typing /skill-creator because Claude knows about the skill-creator skill via the CLAUDE.md.